CN110780894B - Thermal upgrade processing method and device and electronic equipment - Google Patents

Thermal upgrade processing method and device and electronic equipment Download PDF

Info

Publication number
CN110780894B
CN110780894B CN201810856341.7A CN201810856341A CN110780894B CN 110780894 B CN110780894 B CN 110780894B CN 201810856341 A CN201810856341 A CN 201810856341A CN 110780894 B CN110780894 B CN 110780894B
Authority
CN
China
Prior art keywords
upgrade
cloud product
dependency relationship
cloud
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810856341.7A
Other languages
Chinese (zh)
Other versions
CN110780894A (en
Inventor
柴壮
曾裕盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810856341.7A priority Critical patent/CN110780894B/en
Publication of CN110780894A publication Critical patent/CN110780894A/en
Application granted granted Critical
Publication of CN110780894B publication Critical patent/CN110780894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a thermal upgrade processing method, a thermal upgrade processing device and electronic equipment, wherein the method comprises the following steps: acquiring upgrade description information of a first cloud product to be upgraded; according to the upgrade description information, acquiring a cloud product dependency relationship and version conditions; and generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path. According to the embodiment of the invention, the upgrading path meeting the dependency relationship and version condition of the cloud product can be formed, so that the cloud product can be upgraded in a reasonable upgrading order, and the thermal upgrading of the cloud product is realized.

Description

Thermal upgrade processing method and device and electronic equipment
Technical Field
The application relates to a thermal upgrading processing method and device and electronic equipment, and belongs to the technical field of computers.
Background
With development of cloud technology, cloud service providers have huge cloud computing resources, and thus provide cloud services to users such as enterprises or individuals. Taking a proprietary cloud service as an example, a proprietary cloud resource (a proprietary cloud storage space, a cloud server and other resources) can be provided for a cloud user, and the cloud user can deploy a cloud product required by the cloud user in the proprietary cloud according to own requirements. In many cases, these cloud products need to provide various services without interruption. For example, an e-commerce company providing an online shopping service rents a private cloud provided by a cloud service provider as a cloud user and deploys various related cloud products of an online shopping platform, so that the online shopping service can be provided for clients (consumers) of the e-commerce company, and in general, the online shopping service is uninterrupted for 24 hours.
In the field of cloud service, updating and upgrading of cloud products are common requirements, and in order to enable services provided by the cloud products to be capable of continuously providing services for clients, it is hoped that operation of the cloud products can be not influenced as much as possible in the upgrading process of the cloud products, and thermal upgrading is achieved.
Disclosure of Invention
The embodiment of the invention provides a thermal upgrade processing method, a thermal upgrade processing device and electronic equipment, so as to realize thermal upgrade of cloud products.
In order to achieve the above object, an embodiment of the present invention provides a thermal upgrade processing method, including:
acquiring upgrade description information of a first cloud product to be upgraded;
acquiring a cloud product dependency relationship and version conditions according to the upgrade description information;
generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship.
The embodiment of the invention also provides a device for processing the thermal upgrade of the cloud product, which comprises the following steps:
the first acquisition module is used for acquiring upgrade description information of a first cloud product to be upgraded;
the second acquisition module is used for acquiring the cloud product dependency relationship and version conditions according to the upgrade description information;
the hot upgrade scheme generating module is used for generating a hot upgrade scheme according to the cloud product dependency relationship and the version condition, wherein the hot upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship.
And the thermal upgrade scheme execution module is used for executing the thermal upgrade scheme.
The embodiment of the invention also provides electronic equipment, which is characterized by comprising:
a memory for storing a program;
a processor coupled to the memory for executing the program for processing as follows:
acquiring upgrade description information of a first cloud product to be upgraded;
acquiring a cloud product dependency relationship and version conditions according to the upgrade description information;
generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship.
According to the thermal upgrading processing method, the thermal upgrading processing device and the electronic equipment, after cloud products to be upgraded of cloud users are determined, upgrading content is analyzed, cloud product dependency relationships and version conditions related to thermal upgrading are determined, and then a thermal upgrading scheme is generated. The thermal upgrade scheme comprises upgrade paths meeting the dependency relationship and version conditions of the cloud product, so that the cloud product can be upgraded in a reasonable upgrade order to realize thermal upgrade of the cloud product.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Fig. 1 is a schematic diagram of an application environment of a thermal upgrade technical solution according to an embodiment of the present invention.
Fig. 2 is a flow chart of a thermal upgrade processing method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a thermal upgrade apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Under the environment of a proprietary cloud, a cloud user can deploy various cloud products in the proprietary cloud according to own requirements, and each cloud product can provide cloud services of various aspects for the cloud user, so that various business functions required by the cloud user are realized.
With the change of the service demand of the cloud user or some BUGs (code defects) of the cloud product itself, the cloud product needs to be continuously upgraded, and in order not to affect the uninterrupted service provided by the cloud product, it is desirable to upgrade by adopting a hot upgrade mode. Under the distributed cloud architecture, services provided by cloud products can be realized through a plurality of distributed nodes, and the basic principle of thermal upgrading is that only cloud products in part of the distributed nodes are upgraded at a time, and other distributed nodes can still provide services, so that the cloud product upgrading of all the distributed nodes is gradually completed.
Because of the reasons of business logic correlation among cloud products or correlation of software code execution logic and the like, a certain dependency relationship exists among cloud products, and upgrading of a certain cloud product can involve a plurality of cloud products with the dependency relationship. For example, in a private cloud of a certain cloud user, a cloud product A for data acquisition of user data is deployed, and at the same time, a cloud product B for data mining of massive user data is also deployed. If the two cloud products have stronger dependency relationship, when upgrading the cloud product B, whether the cloud product B after upgrading can be compatible or matched with the current acquired cloud product or not needs to be considered, and if the cloud product B cannot be compatible or matched with the current acquired cloud product, the cloud product A needs to be upgraded first.
In many cases, each cloud product may have multiple versions, and due to the reason of an upgrade period or the reason of a cloud user requirement, each cloud product may not be in the latest version, for example, the cloud product a described above has two versions V1 and V2, but the cloud product B after upgrade may only operate based on the version V2 of the cloud product a, and if the current cloud product a uses the version V1, it is necessary to upgrade the cloud product a to the version V2 first, and then upgrade the cloud product B, so as to ensure the normal operation of the cloud product B after upgrade, so as to implement the thermal upgrade of the product.
The technical principle of the embodiment of the invention is as follows: in the process of executing the thermal upgrade of the cloud product, the dependency relationship and the version condition of the cloud product are analyzed, and a reasonable upgrade path is made according to the dependency relationship and the version condition.
Specifically, upgrade description information (such as repairing a certain BUG or adding a cloud product function) of a cloud product to be upgraded is obtained first, and then, on a system platform of a cloud service provider, a dependency relationship and version conditions for cloud product upgrade are searched according to the upgrade description information. Wherein, the version condition refers to: in order to upgrade the cloud product to be upgraded to the target version, it is necessary to satisfy some version conditions, for example, what version is required or what version has to have a function. If the version condition is not met, version upgrading is needed to be carried out on the corresponding cloud product, and then an upgrade file provided by a cloud user can be executed, so that the upgrade requirement of the cloud user is met.
Finally, the elements of two dimensions, namely the dependence relationship and the version condition of the cloud product are integrated to generate a thermal upgrade scheme with a reasonable upgrade path.
Fig. 1 is a schematic view of an application environment of a thermal upgrade technical solution according to an embodiment of the present invention. Taking a thermal upgrade process for cloud products as an example, as shown in fig. 1, a system environment of a cloud service provider includes: the cloud product version library, the baseline library, the cloud product planning platform, the cloud product operation maintenance platform and the proprietary cloud provided by the cloud service provider for cloud users run various cloud products on the proprietary cloud, and the thermal upgrading scheme of the embodiment of the invention can be realized through a thermal upgrading processing device arranged in a system of the cloud service provider.
The base line library stores the dependency relations before the cloud products, and can provide the query of the dependency relations among the cloud products for the thermal upgrading processing device.
The cloud product version library stores version information of each cloud product, and can provide the dependency relationship for the thermal upgrading processing device through interaction with the thermal upgrading processing device, wherein version conditions required by each cloud product in the upgrading process, namely, versions of the cloud product can meet the current upgrading requirement.
The cloud product planning platform can provide upgrade file planning processing for cloud users, so that version conditions required by upgrade are met. When the existing cloud product version is found to lack of the version meeting the upgrading requirement, the corresponding upgrading file can be planned according to the upgrading requirement of the cloud product through interaction with the cloud product planning platform.
The cloud product operation maintenance platform can provide operation state inquiry of the cloud product and execute upgrading files of the cloud product.
Based on the system environment of the cloud service provider, after receiving the upgrade file provided by the cloud user and aiming at a certain cloud product, the thermal upgrade processing device analyzes upgrade description information, interacts with the cloud product version library and the baseline library based on the upgrade description information to obtain the dependency relationship and the version condition, plans the upgrade path and further forms a thermal upgrade scheme. If the cloud product version meeting the version conditions does not exist in the cloud product related to the dependency relationship in the process of forming the thermal upgrading scheme, the cloud product version meeting the version conditions is planned through a cloud product planning platform, and a corresponding upgrading file is formed.
After the thermal upgrade scheme is formed, the cloud product operation and maintenance platform is submitted to perform thermal upgrade. The upgrading process can execute the upgrading files aiming at each cloud product according to the upgrading path, before each upgrading file is executed, the running state of the cloud product is judged, if the running state of the cloud product is normal, the upgrading file is executed, and if the running state of the cloud product is abnormal, the abnormal processing is required to be executed first, so that the running state of the cloud product is normal, and then the upgrading file is executed.
In summary, according to the technical scheme of the embodiment of the invention, after the cloud product to be upgraded by the cloud user is determined, the upgrade content is analyzed, the cloud product dependency relationship and version condition related to the thermal upgrade are determined, and then the thermal upgrade scheme is generated. The thermal upgrade scheme comprises upgrade paths meeting the dependency relationship and version conditions of the cloud product, so that the cloud product can be upgraded in a reasonable upgrade order to realize thermal upgrade of the cloud product.
The technical scheme of the invention is further described by the following specific examples.
Example 1
Fig. 2 is a schematic flow chart of a thermal upgrade processing method according to an embodiment of the present invention, taking thermal upgrade processing for cloud products as an example, the processing method includes:
s101: and acquiring upgrade description information of the first cloud product to be upgraded. Wherein, the upgrade description information may include: related information of cloud products to be upgraded, upgrade content information, upgrade requirements, and the like. The method for acquiring the upgrade description information may include: according to the first upgrade file of the first cloud product to be upgraded, the upgrade description information is analyzed, and specifically, the upgrade description information can be directly obtained from the upgrade file provided by the cloud user or obtained through analysis of the upgrade code. In addition, upgrade description information may also be collected from cloud users, and in particular, upgrade description information may be formed through testing or investigation of a use site of a cloud product. Of course, a combination of the two approaches may also be used.
S102: and acquiring the dependency relationship and version condition of the cloud product according to the upgrade description information. In this step, the cloud product dependency relationship and version condition can be obtained from the baseline library and the cloud product version library according to the upgrade description information. Specifically, this step may be specifically:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to a first cloud product to be upgraded from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from the cloud product version library according to the upgrade description information and the cloud product dependency relationship.
S103: and generating a thermal upgrading scheme according to the cloud product dependency relationship and the version condition. The hot upgrading scheme comprises a first upgrading file and a second upgrading file which are combined according to an upgrading path, wherein the first upgrading file is used for upgrading a first cloud product, and the second upgrading file is used for upgrading a second cloud product related to a cloud product dependency relationship. Specifically, this step may include:
s1031: and acquiring a first upgrade file of the first cloud product to be upgraded. The first upgrade file has the function of upgrading the current first cloud product to be upgraded to the target version.
S1032: and acquiring a second upgrade file according to the cloud product dependency relationship and the version condition. As mentioned above, the current second cloud product in the dependency may not meet the version condition, and needs to be upgraded, and this second upgrade file can enable the second cloud product to be upgraded to a target version that can meet the version condition. The second upgrade file may or may not already exist, specifically, in this step, whether the second upgrade file exists in the cloud user system may be queried according to the cloud product dependency relationship and the version condition, if so, the second upgrade file is obtained, and if not, the second upgrade file is generated according to the cloud product dependency relationship and the version condition. The process of generating the second upgrade file may be implemented by the cloud product planning platform described above.
S1033: and determining an upgrade path according to the cloud product dependency relationship and the version condition. Determining the upgrade path is primarily to determine the order of execution between upgrade files. Because the dependency relationship and version condition of the cloud product involved in the upgrading process are necessary conditions for generating an upgrading path, sometimes, inaccuracy may exist only according to the information acquired in the baseline library and the version library. Therefore, in the embodiment of the invention, the corresponding version of the cloud product can be simulated and operated through the simulated operation environment, and the upgrade dependency relationship is simulated and analyzed, so that the acquisition of the dependency relationship and the version condition from the baseline library and the version library is corrected. Specifically, this step may be specifically:
and performing dependency relationship simulation test on the first upgrade file and the second upgrade file according to the cloud product dependency relationship and version conditions, and determining an upgrade path according to the test result and the cloud product dependency relationship and version conditions.
S1034: and processing the first upgrade file and the second upgrade file according to the upgrade path to generate a hot upgrade scheme. Specifically, the hot upgrade scheme may be in the form of an executable program script, or may be in the form of an upgrade package formed by a plurality of upgrade files.
S104: a hot upgrade scheme is performed. The execution process of the thermal upgrade scheme can be completed through a cloud product operation maintenance platform, and in the process of executing the thermal upgrade, the operation state of the cloud product needs to be determined when an upgrade file is operated, and the upgrade can be executed under the condition that the operation state is normal. Specifically, this step may be specifically:
and sequentially inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path, and if the running state is normal, sending the first upgrading file or the second upgrading file to the cloud product operation maintenance platform to trigger the cloud product operation maintenance platform to execute cloud product upgrading.
If the running state is abnormal, after the abnormal processing is executed, the processing of inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation and maintenance platform according to the upgrading path is continuously executed.
According to the thermal upgrading processing method, the cloud product dependency relationship and the version condition related to thermal upgrading are determined through analysis of upgrading content, and then a thermal upgrading scheme is generated. The thermal upgrade scheme comprises upgrade paths meeting the dependency relationship and version conditions of the cloud product, so that the cloud product can be upgraded in a reasonable upgrade order to realize thermal upgrade of the cloud product.
Example two
Fig. 3 is a schematic structural diagram of a thermal upgrade apparatus according to an embodiment of the present invention, which may be disposed in the application environment shown in fig. 1. Taking a thermal upgrade process for a cloud product as an example, the processing device includes a first acquisition module 11, a second acquisition module 12, a thermal upgrade scheme generation module 13, and a thermal upgrade scheme execution module 14, where specific functions of the modules are as follows:
the first obtaining module 11 is configured to obtain upgrade description information of a first cloud product to be upgraded. Specifically, the upgrade description information may be analyzed according to a first upgrade file of a first cloud product to be upgraded, and/or the upgrade description information may be collected from a cloud user.
And the second acquisition module 12 is used for acquiring the cloud product dependency relationship and version conditions according to the upgrade description information. The processing of the second acquisition module 12 may specifically be:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to a first cloud product to be upgraded from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from the cloud product version library according to the upgrade description information and the cloud product dependency relationship.
The process of obtaining a specific cloud product may further be specifically: inquiring whether a second upgrade file exists in the cloud user system according to the cloud product dependency relationship and the version condition, if so, acquiring the second upgrade file, and if not, generating the second upgrade file according to the cloud product dependency relationship and the version condition.
And the thermal upgrade scheme generation module 13 is used for generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition. The hot upgrading scheme comprises a first upgrading file and a second upgrading file which are combined according to an upgrading path, wherein the first upgrading file is used for upgrading a first cloud product, and the second upgrading file is used for upgrading a second cloud product related to a cloud product dependency relationship. The processing of the thermal upgrade scheme generation module 13 may specifically be:
acquiring a first upgrading file of a first cloud product to be upgraded;
acquiring a second upgrade file according to the cloud product dependency relationship and version conditions;
and determining an upgrade path according to the cloud product dependency relationship and the version condition. In order to more accurately determine the upgrade path, a dependency simulation test mechanism can be introduced. Specifically, the first upgrade file and the second upgrade file can be subjected to dependency relationship simulation test according to the cloud product dependency relationship and version conditions, and an upgrade path is determined according to the test result and the cloud product dependency relationship and version conditions.
And processing the first upgrade file and the second upgrade file according to the upgrade path to generate a hot upgrade scheme.
A thermal upgrade scheme execution module 14 for executing the thermal upgrade scheme. The implementation of the thermal upgrade scheme may specifically be:
and sequentially inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path, and if the running state is normal, sending the first upgrading file or the second upgrading file to the cloud product operation maintenance platform to trigger the cloud product operation maintenance platform to execute cloud product upgrading. If the running state is abnormal, after the abnormal processing is executed, the processing of inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation and maintenance platform according to the upgrading path is continuously executed.
The above detailed description of the processing procedure, the detailed description of the technical principle and the detailed analysis of the technical effect are described in the foregoing embodiments, and are not repeated herein.
According to the thermal upgrading processing device, the cloud product dependency relationship and the version condition related to thermal upgrading are determined through analysis of the upgrading content, and then a thermal upgrading scheme is generated. The thermal upgrade scheme comprises upgrade paths meeting the dependency relationship and version conditions of the cloud product, so that the cloud product can be upgraded in a reasonable upgrade order to realize thermal upgrade of the cloud product.
Example III
The foregoing embodiments describe a method flow and a device structure of a thermal upgrade processing technology, and functions of the method and the device may be implemented by an electronic device, as shown in fig. 4, which is a schematic structural diagram of the electronic device according to an embodiment of the present invention, and specifically includes: a memory 110 and a processor 120.
A memory 110 for storing a program.
In addition to the programs described above, the memory 110 may also be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, and the like.
The memory 110 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A processor 120, coupled to the memory 110, for executing programs in the memory 110 for performing the following processes:
acquiring upgrade description information of a first cloud product to be upgraded;
according to the upgrade description information, acquiring a cloud product dependency relationship and version conditions;
generating a thermal upgrade scheme according to the cloud product dependency relationship and version conditions, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading a first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship.
The obtaining the cloud product dependency relationship and the version condition required by the upgrade according to the upgrade description information may include:
according to the upgrade description information, the obtaining of the cloud product dependency relationship and version conditions required by the upgrade comprises the following steps:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to a first cloud product to be upgraded from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from the cloud product version library according to the upgrade description information and the cloud product dependency relationship.
Wherein, according to the cloud product dependency relationship and the version condition, generating the thermal upgrade scheme may include:
acquiring a first upgrading file of a first cloud product to be upgraded;
acquiring a second upgrade file according to the cloud product dependency relationship and version conditions;
determining an upgrade path according to the cloud product dependency relationship and version conditions;
and processing the first upgrade file and the second upgrade file according to the upgrade path to generate a hot upgrade scheme.
Wherein, according to the cloud product dependency relationship and the version condition, obtaining the second upgrade file may include:
inquiring whether a second upgrade file exists in the cloud user system according to the cloud product dependency relationship and the version condition, if so, acquiring the second upgrade file, and if not, generating the second upgrade file according to the cloud product dependency relationship and the version condition.
Wherein, executing the thermal upgrade scheme may include:
and sequentially inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path, and if the running state is normal, sending the first upgrading file or the second upgrading file to the cloud product operation maintenance platform to trigger the cloud product operation maintenance platform to execute cloud product upgrading.
Wherein executing the thermal upgrade scheme may further include:
if the running state is abnormal, after the abnormal processing is executed, the processing of inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation and maintenance platform according to the upgrading path is continuously executed.
Wherein, according to the cloud product dependency relationship and the version condition, determining the upgrade path may include:
and performing dependency relationship simulation test on the first upgrade file and the second upgrade file according to the cloud product dependency relationship and version conditions, and determining an upgrade path according to the test result and the cloud product dependency relationship and version conditions.
The obtaining the first cloud product upgrade description information to be upgraded may include:
according to a first upgrade file of a first cloud product to be upgraded, analyzing upgrade description information;
and/or collecting upgrade description information from the cloud user.
The above detailed description of the processing procedure, the detailed description of the technical principle and the detailed analysis of the technical effect are described in the foregoing embodiments, and are not repeated herein.
Further, as shown, the electronic device may further include: communication component 130, power component 140, audio component 150, display 160, and other components. The drawing shows only a part of the components schematically, which does not mean that the electronic device comprises only the components shown in the drawing.
The communication component 130 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The electronic device may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 130 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 130 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
A power supply assembly 140 provides power to the various components of the electronic device. Power supply components 140 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic devices.
The audio component 150 is configured to output and/or input audio signals. For example, the audio component 150 includes a Microphone (MIC) configured to receive external audio signals when the electronic device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 110 or transmitted via the communication component 130. In some embodiments, the audio assembly 150 further includes a speaker for outputting audio signals.
The display 160 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (11)

1. A thermal upgrade processing method, comprising:
acquiring upgrade description information of a first cloud product to be upgraded;
acquiring a cloud product dependency relationship and version conditions according to the upgrade description information;
generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship;
wherein generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition comprises:
acquiring a first upgrade file of the first cloud product;
acquiring the second upgrade file according to the cloud product dependency relationship and the version condition;
determining an upgrade path according to the cloud product dependency relationship and the version condition;
processing the first upgrade file and the second upgrade file according to the upgrade path to generate the thermal upgrade scheme;
wherein determining an upgrade path according to the cloud product dependency relationship and the version condition comprises:
and performing dependency relationship simulation test on the first upgrade file and the second upgrade file according to the cloud product dependency relationship and the version condition, and determining the upgrade path according to a test result, the cloud product dependency relationship and the version condition.
2. The method of claim 1, wherein obtaining cloud product dependencies and version conditions required for an upgrade from the upgrade description information comprises:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to the first cloud product from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from a cloud product version library according to the upgrade description information and the cloud product dependency relationship.
3. The method of claim 2, wherein obtaining a second upgrade file according to the cloud product dependency and the version condition comprises:
inquiring whether the second upgrade file exists in the cloud user system according to the cloud product dependency relationship and the version condition, if so, acquiring the second upgrade file, and if not, generating the second upgrade file according to the cloud product dependency relationship and the version condition.
4. The method of claim 1, wherein executing the thermal upgrade scheme comprises:
and sequentially inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path, and if the running state is normal, sending the first upgrading file or the second upgrading file to the cloud product operation maintenance platform to trigger the cloud product operation maintenance platform to execute cloud product upgrading.
5. The method of claim 4, wherein executing the thermal upgrade scheme further comprises:
if the running state is abnormal, after the abnormal processing is executed, the processing of inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path is continuously executed.
6. The method of claim 1, wherein the obtaining the first cloud product upgrade description information to be upgraded comprises:
according to a first upgrade file of a first cloud product to be upgraded, analyzing upgrade description information;
and/or the number of the groups of groups,
upgrade description information is collected from cloud users.
7. A thermal upgrade processing apparatus, comprising:
the first acquisition module is used for acquiring upgrade description information of a first cloud product to be upgraded;
the second acquisition module is used for acquiring the cloud product dependency relationship and version conditions according to the upgrade description information;
the hot upgrade scheme generating module is used for generating a hot upgrade scheme according to the cloud product dependency relationship and the version condition, wherein the hot upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship;
a thermal upgrade scheme execution module for executing the thermal upgrade scheme;
wherein generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition comprises:
acquiring a first upgrade file of the first cloud product;
acquiring the second upgrade file according to the cloud product dependency relationship and the version condition;
determining an upgrade path according to the cloud product dependency relationship and the version condition;
processing the first upgrade file and the second upgrade file according to the upgrade path to generate the thermal upgrade scheme;
wherein determining an upgrade path according to the cloud product dependency relationship and the version condition comprises:
and performing dependency relationship simulation test on the first upgrade file and the second upgrade file according to the cloud product dependency relationship and the version condition, and determining the upgrade path according to a test result, the cloud product dependency relationship and the version condition.
8. The apparatus of claim 7, wherein obtaining cloud product dependencies and version conditions required for an upgrade from the upgrade description information comprises:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to the first cloud product from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from a cloud product version library according to the upgrade description information and the cloud product dependency relationship.
9. The apparatus of claim 7, wherein performing the thermal upgrade scheme comprises:
and sequentially inquiring the running state of the cloud product corresponding to the first upgrading file or the second upgrading file from the cloud product operation maintenance platform according to the upgrading path, and if the running state is normal, sending the first upgrading file or the second upgrading file to the cloud product operation maintenance platform to trigger the cloud product operation maintenance platform to execute cloud product upgrading.
10. An electronic device, comprising:
a memory for storing a program;
a processor coupled to the memory for executing the program for processing as follows:
acquiring upgrade description information of a first cloud product to be upgraded;
acquiring a cloud product dependency relationship and version conditions according to the upgrade description information;
generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition, and executing the thermal upgrade scheme, wherein the thermal upgrade scheme comprises a first upgrade file and a second upgrade file which are combined according to an upgrade path, the first upgrade file is used for upgrading the first cloud product, and the second upgrade file is used for upgrading a second cloud product related to the cloud product dependency relationship;
wherein generating a thermal upgrade scheme according to the cloud product dependency relationship and the version condition comprises:
acquiring a first upgrade file of the first cloud product;
acquiring the second upgrade file according to the cloud product dependency relationship and the version condition;
determining an upgrade path according to the cloud product dependency relationship and the version condition;
processing the first upgrade file and the second upgrade file according to the upgrade path to generate the thermal upgrade scheme;
wherein determining an upgrade path according to the cloud product dependency relationship and the version condition comprises:
and performing dependency relationship simulation test on the first upgrade file and the second upgrade file according to the cloud product dependency relationship and the version condition, and determining the upgrade path according to a test result, the cloud product dependency relationship and the version condition.
11. The electronic device of claim 10, wherein obtaining cloud product dependencies and version conditions required for an upgrade from the upgrade description information comprises:
according to the upgrade description information, the obtaining of the cloud product dependency relationship and version conditions required by the upgrade comprises the following steps:
according to the upgrade description information, acquiring a cloud product dependency relationship corresponding to the first cloud product from a baseline library;
and determining version conditions required by at least one second cloud product in the cloud product dependency relationship from a cloud product version library according to the upgrade description information and the cloud product dependency relationship.
CN201810856341.7A 2018-07-31 2018-07-31 Thermal upgrade processing method and device and electronic equipment Active CN110780894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810856341.7A CN110780894B (en) 2018-07-31 2018-07-31 Thermal upgrade processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810856341.7A CN110780894B (en) 2018-07-31 2018-07-31 Thermal upgrade processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110780894A CN110780894A (en) 2020-02-11
CN110780894B true CN110780894B (en) 2023-04-28

Family

ID=69382724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810856341.7A Active CN110780894B (en) 2018-07-31 2018-07-31 Thermal upgrade processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110780894B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113495737B (en) * 2020-04-01 2024-05-03 腾讯科技(深圳)有限公司 Software updating method and related equipment
US11422791B2 (en) 2020-12-31 2022-08-23 International Business Machines Corporation Upgrading a sequence of microservices in a cloud computing environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006332A (en) * 2010-12-03 2011-04-06 杭州华三通信技术有限公司 Method and system for software upgrading
CN105099772A (en) * 2015-07-02 2015-11-25 许继集团有限公司 Method and system for upgrading energy efficiency service cloud terminal
CN107179912A (en) * 2017-06-07 2017-09-19 广州市品高软件股份有限公司 A kind of hot upgrade method of distributed structure/architecture software defined network controller
CN108304200A (en) * 2017-01-12 2018-07-20 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of driver upgrade

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9189224B2 (en) * 2013-07-11 2015-11-17 Oracle International Corporation Forming an upgrade recommendation in a cloud computing environment
US10289400B2 (en) * 2016-09-07 2019-05-14 Amplidata N.V. Outdated resource handling and multiple-version upgrade of cloud software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006332A (en) * 2010-12-03 2011-04-06 杭州华三通信技术有限公司 Method and system for software upgrading
CN105099772A (en) * 2015-07-02 2015-11-25 许继集团有限公司 Method and system for upgrading energy efficiency service cloud terminal
CN108304200A (en) * 2017-01-12 2018-07-20 阿里巴巴集团控股有限公司 A kind of method, apparatus and electronic equipment of driver upgrade
CN107179912A (en) * 2017-06-07 2017-09-19 广州市品高软件股份有限公司 A kind of hot upgrade method of distributed structure/architecture software defined network controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Lizhe Wang等."pipsCloud: High performance cloud computing for remote sensing big data management and processing".《Future Generation Computer Systems》.2018,第78卷第353-368页. *
姜文等."基于VXWORKS系统的热补丁技术研究".《计算机技术与发展》.2017,第27卷(第3期),第18-22、28页. *

Also Published As

Publication number Publication date
CN110780894A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
US10310969B2 (en) Systems and methods for test prediction in continuous integration environments
US11163731B1 (en) Autobuild log anomaly detection methods and systems
US11431558B2 (en) Data shipper agent management and configuration systems and methods
US8533691B2 (en) Managing non-common features for program code translation
CN107679113B (en) Light application acquisition method and device and electronic device
CN108255993A (en) Extract method, apparatus, electronic equipment and the storage medium of service fields
CN109857630B (en) Code detection method, system and equipment
CN106790895B (en) Fault processing method and device
US20130297563A1 (en) Timestamp management method for data synchronization and terminal therefor
US20130159529A1 (en) Master data management system for monitoring cloud computing
US20150370616A1 (en) Method and system for recommending computer products on the basis of observed usage patterns of a computational device of known configuration
US20150161616A1 (en) System and Method of Creating and Using a Reference Device Profile
WO2016145009A1 (en) Method and system for rapid deployment and execution of customized functionality across multiple distinct platforms
US9798650B1 (en) Application testing system and method
CN112764792B (en) Method and device for upgrading associated server version application and electronic equipment
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
CN110780894B (en) Thermal upgrade processing method and device and electronic equipment
CN114036439A (en) Website building method, device, medium and electronic equipment
CN113760722A (en) Test system and test method
CN111813685B (en) Automatic test method and device
CN111666079A (en) Method, device, system, equipment and computer readable medium for software upgrading
EP3639138B1 (en) Action undo service based on cloud platform
CN110716914B (en) Database configuration method, system, computer readable storage medium and terminal device
CN110443034B (en) Risk program file identification method and device, computing equipment and medium
CN111796851A (en) Client base library updating method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant