CN116055321A - Cloud product updating method and device suitable for private cloud and storage medium - Google Patents
Cloud product updating method and device suitable for private cloud and storage medium Download PDFInfo
- Publication number
- CN116055321A CN116055321A CN202310118715.6A CN202310118715A CN116055321A CN 116055321 A CN116055321 A CN 116055321A CN 202310118715 A CN202310118715 A CN 202310118715A CN 116055321 A CN116055321 A CN 116055321A
- Authority
- CN
- China
- Prior art keywords
- cloud
- product
- cloud product
- private
- ota server
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 230000008569 process Effects 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 13
- 238000007689 inspection Methods 0.000 claims description 8
- 238000012795 verification Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 7
- 238000011900 installation process Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 230000001419 dependent effect Effects 0.000 claims description 3
- 238000007726 management method Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000000275 quality assurance Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a cloud product updating method and device suitable for private cloud and a storage medium, wherein the cloud product updating method comprises the following steps: pushing the cloud product to an online OTA server by using a DevOps pipeline according to configuration information of the cloud product; the private cloud platform at the user configures an OTA server address, so that the cloud product market in the private cloud platform can acquire information of all cloud products from the OTA server based on the OTA server address; selecting and acquiring cloud products through a cloud product market, and downloading corresponding cloud products from an OTA server to a private cloud platform at a user based on cloud product request data; and installing and/or updating the cloud product of the private cloud according to the deployment information of the cloud product statement. According to the cloud product management method and system, different cloud products are released to the cloud to form a cloud product market, so that a user can remotely access, download and update the cloud products in the cloud product market, and the user can download new cloud products or update old cloud products according to the needs of the user.
Description
Technical Field
The present invention relates to the field of cloud product management technologies, and in particular, to a cloud product updating method and device suitable for private cloud, and a storage medium.
Background
At present, a large enterprise data center is mostly built in a private cloud mode, and the private cloud is a distributed cloud computing platform built for independent use of an enterprise client. Unlike public clouds, private clouds have all of their hardware and software owned by the enterprise. Different enterprises can adopt different schemes for their cloud strategies based on business objectives and industry competition, meanwhile, the enterprises face increasingly competitive markets and continuously rising costs, and new business requirements can be continuously put forward, so that no single type of private cloud deployment can continuously meet all business requirements.
Therefore, a scheme is needed to continuously update the private cloud according to market demands.
Disclosure of Invention
The embodiment of the invention provides a cloud product updating method, a cloud product updating device and a storage medium suitable for private cloud, which can build a cloud product market, and different users can download and update cloud products in the cloud product market, thereby being convenient and quick.
In a first aspect of the embodiment of the present invention, a cloud product updating method applicable to a private cloud is provided, including:
pushing the cloud product to an online OTA server by using a DevOps pipeline according to configuration information of the cloud product;
configuring an OTA server address on a private cloud platform at a user so that a cloud product market in the private cloud platform can acquire information of all cloud products from the OTA server based on the OTA server address;
selecting and acquiring cloud products through the cloud product market, and downloading corresponding cloud products from the OTA server to a private cloud platform at a user based on the cloud product acquisition request data;
and installing and/or updating the cloud product of the private cloud according to the deployment information and the configuration declaration information of the cloud product declaration.
Optionally, in one possible implementation manner of the first aspect, pushing, according to configuration information of a cloud product, the cloud product to an online OTA server using a DevOps pipeline includes:
according to the configuration information of the cloud product, constructing a mirror image and a resource file on which the cloud product depends;
packaging, processing and signing the mirror image and the resource file to obtain a cloud product package, and pushing the cloud product package to the online OTA server;
and the online OTA server performs analysis, verification and storage operations on the cloud product package and updates the downloading index information of the cloud product package.
Optionally, in one possible implementation manner of the first aspect, the private cloud platform at the user configures an OTA server address, so that a cloud product market in the private cloud platform can obtain information of all cloud products from the OTA server based on the OTA server address, including:
according to the private cloud platform architecture information, cloud product data of a corresponding architecture are obtained from the OTA server address;
and incrementally acquiring cloud product data according to the OTA server address in a lazy loading mode, and caching the cloud product resource file to the local.
Optionally, in one possible implementation manner of the first aspect, selecting and acquiring a cloud product through the cloud product market, downloading a corresponding cloud product from the OTA server to a private cloud platform at a user based on the acquired cloud product request data, including:
the cloud product request data acquisition comprises purchase or trial information;
downloading according to the OTA server network speed limiting configuration in the cloud product downloading process;
and dynamically calculating a download speed limit value of the cloud product according to the following formula:
s is a network speed limit value dynamically adjusted by each cloud product, S 0 For a preset network speed limit configuration value, N is the number of cloud products in downloading, and at most 10 cloud products are downloaded simultaneously according to the preset network speed limit configuration value S 0 And the number N of cloud products in the current download, dynamically advancing the cloud products in each downloadAnd (5) adjusting a line network speed limit value.
Optionally, in one possible implementation manner of the first aspect, installing and/or updating the cloud product of the private cloud according to the deployment information and the configuration declaration information of the cloud product declaration includes:
the resources required to deploy the cloud product are calculated by the following formula:
r is a space resource required by a cloud product, wherein R is obtained by summing the resource requirements of N objects N in the cloud product and the resource requirements of an object gamma on which the N objects N depend, and a Req () function is used for calculating the resource requirements of the objects;
and generating a cloud product configuration file according to the configuration information, and using the configuration file to install and/or update the cloud product of the private cloud.
Optionally, in one possible implementation manner of the first aspect, generating a cloud product configuration file according to the configuration information, and installing and/or updating the cloud product of the private cloud by using the configuration file includes:
judging whether the cloud product is installed in the private cloud platform or not;
if not, starting an installation process, wherein the installation process opens up a new space for the private cloud platform, and cloud product resource creation, service registration and configuration generation are performed in the new space.
If so, starting an updating process, wherein the updating process is to start updating operation after the cloud product passes through environment and resource inspection, and the updating operation comprises importing a newly downloaded cloud product into a private cloud platform for upgrading an old version of the cloud product and updating the cloud product resources and service configuration
In a second aspect of the embodiment of the present invention, a cloud product updating apparatus applicable to a private cloud is provided, including:
the pushing module is used for pushing the cloud product to the online OTA server according to the configuration information of the cloud product;
the acquisition module is used for acquiring cloud product information from the OTA server;
the processing module is used for downloading the cloud product from the OTA server to the private cloud platform according to the cloud product acquisition request;
and the delivery module is used for installing and/or updating the cloud product according to the cloud product deployment information and the configuration statement information.
Optionally, in one possible implementation manner of the second aspect, the pushing module includes:
the construction unit is used for constructing images and resource files on which the cloud products depend, packaging the images and the resource files, processing the images and the resource files and signing the images and the resource files to obtain the publishable cloud products;
the pushing unit is used for pushing the publishable cloud product acquired by the construction unit to the online OTA server;
and the updating unit is used for executing analysis, verification and storage operations on the cloud product package and updating the downloading index information of the cloud product package.
Optionally, in one possible implementation manner of the second aspect, the processing module includes:
inspection unit: the cloud product service management method comprises the steps of checking whether a private cloud environment state is healthy or not, and whether cloud product service dependence is met or not;
the downloading unit is used for downloading the cloud product package from the OTA server;
the verification unit is used for verifying the cloud product signature and the data consistency;
and the importing unit is used for importing the cloud product image and the resource file into the private cloud platform.
In a third aspect of the embodiments of the present invention, there is provided a readable storage medium having stored therein a computer program for implementing the method of the first aspect and the various possible designs of the first aspect when the computer program is executed by a processor.
According to the cloud product updating method, device and storage medium suitable for private cloud, cloud product production and release can be carried out based on a DevOps assembly line, then a cloud product market is built based on an online OTA server, the private cloud platforms of different users can acquire cloud products according to needs through the cloud product market, so that the users can select according to needs, and the use scenes and modes of the cloud products are enriched. The installation or updating of the cloud product can be completed in a few minutes, so that the cloud product is convenient and quick, and the cost of delivery and operation and maintenance is greatly reduced.
Drawings
FIG. 1 is a flow chart of a first embodiment of a cloud product update method applicable to private clouds;
fig. 2 is a flow chart of a first embodiment of a cloud product update apparatus suitable for use with a private cloud.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein.
It should be understood that, in various embodiments of the present invention, the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present invention, "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present invention, "plurality" means two or more. "and/or" is merely an association relationship describing an association object, and means that three relationships may exist, for example, and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. "comprising A, B and C", "comprising A, B, C" means that all three of A, B, C comprise, "comprising A, B or C" means that one of the three comprises A, B, C, and "comprising A, B and/or C" means that any 1 or any 2 or 3 of the three comprises A, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponding to B", or "B corresponding to a" means that B is associated with a, from which B can be determined. Determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information. The matching of A and B is that the similarity of A and B is larger than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection" depending on the context.
For better understanding and description of the embodiments of the present application, some technical terms related to the embodiments of the present application are briefly described below:
DevOps pipeline: the DevOps is a combination of Development and Operations, is a methodology, is a generic term for a set of processes, methods and systems, and is used to facilitate communication, collaboration and integration between application Development, application operation and Quality Assurance (QA) departments. In an effort to break barriers and gaps between traditional development and operation. The DevOps pipeline refers to the construction, testing and release of cloud products by automating the flow of "software delivery" and "architecture change".
OTA (Over-the-Air): over-the-Air Technology (Over-the-Air Technology) was first applied to the field of communications, implementing remote management Over a network, and providing new product download functionality.
Cloud product: computing, storage, networking, etc. may be independently delivered to the cloud platform's products, including IaaS, paaS, saaS, etc. different levels of service.
Private cloud platform: the cloud platform deployed in the private data center of the user has different forms from the public cloud platform, and private delivery deployment needs to be realized from hardware to software.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
The invention provides a cloud product updating method suitable for private cloud, as shown in a flow chart of FIG. 1, comprising the following steps:
and step S110, pushing the cloud product to an online OTA server by using a DevOps pipeline according to configuration information of the cloud product. The cloud product is produced through the DevOps pipeline and then pushed to the online OTA server.
In step S120, the private cloud platform at the user configures an OTA server address, so that the cloud product market in the private cloud platform can obtain information of all cloud products from the OTA server based on the OTA server address. The method and the device can configure the OTA server address at the private cloud platform of the user, so that the user can directly access the OTA server through the private cloud platform, and further browse cloud products online.
And step S130, selecting and acquiring cloud products through the cloud product market, and downloading corresponding cloud products from the OTA server to a private cloud platform at a user based on the cloud product acquisition request data. An administrator at the user can select a corresponding cloud product according to requirements after browsing the cloud product, and can select two modes of direct purchase or trial when acquiring the cloud product, and finally the cloud product can be downloaded to a private cloud platform at the user from an OTA.
And step 140, installing and/or updating the cloud product of the private cloud according to the deployment information and the configuration declaration information of the cloud product declaration. After receiving the cloud product, the private cloud platform at the user installs and/or updates the cloud product according to the deployment information and the configuration statement information of the cloud product.
Through the steps, online cloud product connection can be achieved, cloud product providers and cloud product purchasers are connected through the online OTA server, cloud product providers directly release cloud products to the online OTA server, cloud product purchasers can access the online OTA server, cloud product purchase or trial can be conducted through the online OTA server directly according to requirements, popularization cost of the cloud products is reduced, users can select cloud products according to requirements, and the cloud product online cloud product connection system is convenient, fast and high in practicality.
In one possible implementation, the cloud product is a plurality of cloud products, and a plurality of cloud products of different providers exist on the online OTA server, and the cloud product provider can add or update the cloud products to the online OTA server according to the situation.
The cloud product package is signed before the cloud product is sent to the online OTA server, so that the cloud product content is prevented from being tampered, and the cloud product package can be tracked and traced.
After the cloud product is released to the OTA server, if a user needs to download the corresponding cloud product based on the OTA server, a downloading path of the cloud product can be determined through the index, and the downloading of the cloud product is completed;
and dynamically calculating a download speed limit value of the cloud product according to the following formula:
s is a network speed limit value dynamically adjusted by each cloud product, S 0 For a preset network speed limit configuration value, N is the number of cloud products in downloading, and at most 10 cloud products are downloaded simultaneously according to the preset network speed limit configuration value S 0 And the number of cloud products currently being downloadedAnd (5) dynamically adjusting the network speed limit value for each downloaded cloud product.
By dynamically calculating the download speed limit value of each cloud product, the cloud product updating speed and process are similar when the cloud product is updated, and the cloud product updating synchronism is ensured.
In an actual application scenario, the user may directly purchase the cloud product, or may purchase the cloud product after trying the cloud product and reaching a certain approval degree.
And after the cloud product is directly purchased, the cloud product is installed according to the purchased license information.
After selecting the trial cloud product, installing the cloud product may be limited to conditional use of the cloud product by the user, for example, a trial for a period of time, or only opening a part of functions of the cloud product, and so on.
The purchase list and the trial list can be preconfigured, the purchase list is included in the cloud product purchase data, and the trial list is included in the cloud product trial data. Each list has different dimensions including time, functionality, etc. For example, a purchase list in cloud product purchase data, a time dimension in the purchase list may be long-term, a function may be all, a trial list in cloud product trial data, a time dimension in the trial list may be one month, one week, a function may be a partial function, and so on. The invention does not limit the realization mode of cloud product purchase and trial.
In one possible embodiment, the method further comprises:
judging whether the cloud product is installed in the private cloud platform or not;
if not, starting an installation process, wherein the installation process opens up a new space for the private cloud platform, and performs cloud product resource demand and dependent service inspection according to cloud product deployment information to provide space and resources required by cloud product deployment.
The resources required to deploy the cloud product are calculated by the following formula:
r is a space resource required by the cloud product, wherein R is obtained by summing the resource requirements of N objects N in the cloud product and the resource requirements of the object gamma on which the N objects N depend, and the Req () function is used for calculating the resource requirements of the objects.
By calculating the resources required by each cloud product during deployment, each cloud product can be ensured to be deployed and operated smoothly, and the problem that the cloud product cannot be deployed and operated smoothly after being downloaded is avoided.
And carrying out cloud product resource creation, service registration and configuration generation in the new space.
If so, starting an updating process, wherein the updating process is to start updating operation after the cloud product passes through environment and resource inspection, and the updating operation comprises importing a newly downloaded cloud product into a private cloud platform for upgrading an old version of the cloud product and updating the cloud product resource and service configuration.
The embodiment of the invention provides a cloud product updating device suitable for private cloud, as shown in a schematic structure diagram of fig. 2, comprising:
the pushing module is used for pushing the cloud product to the online OTA server according to the configuration information of the cloud product;
the acquisition module is used for acquiring cloud product information from the OTA server;
the processing module is used for downloading the cloud product from the OTA server to the private cloud platform according to the cloud product acquisition request;
and the delivery module is used for installing and/or updating the cloud product according to the cloud product deployment information and the configuration statement information.
In one possible embodiment, the pushing module includes:
the construction unit is used for constructing images and resource files on which the cloud products depend, packaging the images and the resource files, processing the images and the resource files and signing the images and the resource files to obtain the publishable cloud products;
the pushing unit is used for pushing the publishable cloud product acquired by the construction unit to the online OTA server;
and the updating unit is used for executing analysis, verification and storage operations on the cloud product package and updating the downloading index information of the cloud product package.
In one possible embodiment, the processing module includes:
inspection unit: the cloud product service management method comprises the steps of checking whether a private cloud environment state is healthy or not, and whether cloud product service dependence is met or not;
the downloading unit is used for downloading the cloud product package from the OTA server;
the verification unit is used for verifying the cloud product signature and the data consistency;
and the importing unit is used for importing the cloud product image and the resource file into the private cloud platform. .
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). In addition, the ASIC may reside in a user device. The processor and the readable storage medium may reside as discrete components in a communication device. The readable storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tape, floppy disk, optical data storage device, etc.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, the execution instructions being executed by the at least one processor to cause the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
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 (10)
1. A cloud product update method applicable to private cloud, comprising:
pushing the cloud product to an online OTA server by using a DevOps pipeline according to configuration information of the cloud product;
configuring an OTA server address on a private cloud platform at a user so that a cloud product market in the private cloud platform can acquire information of all cloud products from the OTA server based on the OTA server address;
selecting and acquiring cloud products through the cloud product market, and downloading corresponding cloud products from the OTA server to a private cloud platform at a user based on the cloud product acquisition request data;
and installing and/or updating the cloud product of the private cloud according to the deployment information and the configuration declaration information of the cloud product declaration.
2. The cloud product updating method applicable to private cloud as claimed in claim 1, wherein pushing the cloud product to an online OTA server using a DevOps pipeline according to configuration information of the cloud product comprises:
according to the configuration information of the cloud product, constructing a mirror image and a resource file on which the cloud product depends;
packaging, processing and signing the mirror image and the resource file to obtain a cloud product package, and pushing the cloud product package to the online OTA server;
and the online OTA server performs analysis, verification and storage operations on the cloud product package and updates the downloading index information of the cloud product package.
3. The cloud product updating method applicable to private clouds according to claim 1, wherein the private cloud platform at the user configures an OTA server address so that a cloud product market in the private cloud platform can acquire information of all cloud products from the OTA server based on the OTA server address, comprising:
according to the private cloud platform architecture information, cloud product data of a corresponding architecture are obtained from the OTA server address;
and incrementally acquiring cloud product data according to the OTA server address in a lazy loading mode, and caching the cloud product resource file to the local.
4. The cloud product updating method applicable to private cloud according to claim 1, wherein cloud products are selected and acquired through the cloud product market, and corresponding cloud products are downloaded from the OTA server to a private cloud platform at a user based on the acquired cloud product request data, comprising:
the cloud product request data acquisition comprises purchase or trial information;
downloading according to the OTA server network speed limiting configuration in the cloud product downloading process;
and dynamically calculating a download speed limit value of the cloud product according to the following formula:
s is a network speed limit value dynamically adjusted by each cloud product, S 0 For a preset network speed limit configuration value, N is the number of cloud products in downloading, and at most 10 cloud products are downloaded simultaneously according to the preset network speed limit configuration value S 0 And the number N of the cloud products in the current download, and dynamically adjusting the network speed limit value for each cloud product in the download.
5. The cloud product updating method applicable to the private cloud according to claim 1, wherein installing and/or updating the cloud product of the private cloud according to the deployment information and the configuration declaration information of the cloud product declaration comprises:
according to the deployment information, cloud product resource requirements and dependent service inspection are carried out, space and resources required by cloud product deployment are provided, and the resources required by cloud product deployment are calculated through the following formula:
r is a space resource required by a cloud product, wherein R is obtained by summing the resource requirements of N objects N in the cloud product and the resource requirements of an object gamma on which the N objects N depend, and a Req () function is used for calculating the resource requirements of the objects;
and generating a cloud product configuration file according to the configuration information, and using the configuration file to install and/or update the cloud product of the private cloud.
6. The cloud product updating method applicable to private cloud as claimed in claim 5, wherein a cloud product configuration file is generated according to the configuration information, and the cloud product of the private cloud is installed and/or updated by using the configuration file, and further comprising:
judging whether the cloud product is installed in the private cloud platform or not;
if not, starting an installation process, wherein the installation process opens up a new space for the private cloud platform, and cloud product resource creation, service registration and configuration generation are performed in the new space;
if so, starting an updating process, wherein the updating process is to start updating operation after the cloud product passes through environment and resource inspection, and the updating operation comprises importing a newly downloaded cloud product into a private cloud platform for upgrading an old version of the cloud product and updating the cloud product resource and service configuration.
7. Cloud product updating device suitable for private cloud, characterized by comprising:
the pushing module is used for pushing the cloud product to the online OTA server according to the configuration information of the cloud product;
the acquisition module is used for acquiring cloud product information from the OTA server;
the processing module is used for downloading the cloud product from the OTA server to the private cloud platform according to the cloud product acquisition request;
and the delivery module is used for installing and/or updating the cloud product according to the cloud product deployment information and the configuration statement information.
8. The cloud product updating apparatus applicable to private cloud as claimed in claim 7, wherein the pushing module comprises:
the construction unit is used for constructing images and resource files on which the cloud products depend, packaging the images and the resource files, processing the images and the resource files and signing the images and the resource files to obtain the publishable cloud products;
the pushing unit is used for pushing the publishable cloud product acquired by the construction unit to the online OTA server;
and the updating unit is used for executing analysis, verification and storage operations on the cloud product package and updating the downloading index information of the cloud product package.
9. The cloud product updating apparatus for private cloud as claimed in claim 7, wherein said processing module comprises:
inspection unit: for checking if the private cloud environment state is healthy;
the downloading unit is used for downloading the cloud product package from the OTA server;
the verification unit is used for verifying the cloud product signature and the data consistency;
and the importing unit is used for importing the cloud product image and the resource file into the private cloud platform.
10. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program for implementing the method of any of claims 1 to 6 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310118715.6A CN116055321B (en) | 2023-01-30 | 2023-01-30 | Cloud product updating method and device suitable for private cloud and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310118715.6A CN116055321B (en) | 2023-01-30 | 2023-01-30 | Cloud product updating method and device suitable for private cloud and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116055321A true CN116055321A (en) | 2023-05-02 |
CN116055321B CN116055321B (en) | 2023-10-27 |
Family
ID=86123705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310118715.6A Active CN116055321B (en) | 2023-01-30 | 2023-01-30 | Cloud product updating method and device suitable for private cloud and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116055321B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170201427A1 (en) * | 2014-06-27 | 2017-07-13 | Hewlett Packard Enterprise Development Lp | Testing a cloud service component on a cloud platform |
CN111580833A (en) * | 2019-02-18 | 2020-08-25 | 北京京东尚科信息技术有限公司 | Application updating method and system, local management agent device and cloud server |
US20220015016A1 (en) * | 2020-07-08 | 2022-01-13 | T-Mobile Usa, Inc. | Mechanism to provide updates to nb-iot devices |
CN115525301A (en) * | 2022-09-21 | 2022-12-27 | 中国工商银行股份有限公司 | Application program code packaging method, device, equipment, medium and program product |
-
2023
- 2023-01-30 CN CN202310118715.6A patent/CN116055321B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170201427A1 (en) * | 2014-06-27 | 2017-07-13 | Hewlett Packard Enterprise Development Lp | Testing a cloud service component on a cloud platform |
CN111580833A (en) * | 2019-02-18 | 2020-08-25 | 北京京东尚科信息技术有限公司 | Application updating method and system, local management agent device and cloud server |
US20220015016A1 (en) * | 2020-07-08 | 2022-01-13 | T-Mobile Usa, Inc. | Mechanism to provide updates to nb-iot devices |
CN115525301A (en) * | 2022-09-21 | 2022-12-27 | 中国工商银行股份有限公司 | Application program code packaging method, device, equipment, medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN116055321B (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10447814B2 (en) | Joint servicing of software packages | |
US20060265630A1 (en) | Method, system and computer program for distributing software patches | |
US20050262501A1 (en) | Software distribution method and system supporting configuration management | |
CN106921731B (en) | Vulnerability repair method and device | |
CN110688232A (en) | Application program calling method, terminal device and computer readable storage medium | |
CN110959165A (en) | Techniques for automatically verifying functionality of offers in a cloud service broker system | |
WO2022000869A1 (en) | Batch processing method and apparatus for mini programs, and electronic device and readable storage medium | |
US12032939B2 (en) | Automated machine deployment and configuration | |
WO2019029451A1 (en) | Method for publishing mobile applications and electronic apparatus | |
CN113946323A (en) | Online development method, device, equipment and storage medium based on micro-service system | |
CN112015448A (en) | System upgrading method and device based on over-the-air technology | |
CN116055321B (en) | Cloud product updating method and device suitable for private cloud and storage medium | |
US11347533B2 (en) | Enhanced virtual machine image management system | |
KR102610132B1 (en) | Method and apparatus for providing platform-integrated sdk capable of developing multiple platforms with a single source code | |
CN112882733B (en) | Application updating method and device, electronic equipment and storage medium | |
CN111666219B (en) | Service function verification method and device, computer system and storage medium | |
CN103475694A (en) | Parallel configuration method of cloud computing system | |
CN113741868A (en) | Business calculation task processing method and device, computer equipment and storage medium | |
CN113535221A (en) | Method and device for managing application version | |
CN116245607B (en) | Configuration method and device suitable for cloud product and storage medium | |
CN110908726B (en) | Data management method, device, equipment and computer readable storage medium | |
CN113971051B (en) | Plug-in based development method, device and storage medium | |
CN117034233B (en) | Application management method and device based on permission, computing equipment and storage medium | |
US20230259347A1 (en) | Container based generation of inputs for generic functions | |
CN113377400A (en) | Software upgrading method and device, storage medium and electronic equipment |
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 |