CN116055321B - 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 PDF

Info

Publication number
CN116055321B
CN116055321B CN202310118715.6A CN202310118715A CN116055321B CN 116055321 B CN116055321 B CN 116055321B CN 202310118715 A CN202310118715 A CN 202310118715A CN 116055321 B CN116055321 B CN 116055321B
Authority
CN
China
Prior art keywords
cloud
product
cloud product
ota server
private
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
CN202310118715.6A
Other languages
Chinese (zh)
Other versions
CN116055321A (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.)
Beijing Easy Star Technology Development Co ltd
Original Assignee
Beijing Easy Star Technology Development Co 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 Beijing Easy Star Technology Development Co ltd filed Critical Beijing Easy Star Technology Development Co ltd
Priority to CN202310118715.6A priority Critical patent/CN116055321B/en
Publication of CN116055321A publication Critical patent/CN116055321A/en
Application granted granted Critical
Publication of CN116055321B publication Critical patent/CN116055321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application 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

Cloud product updating method and device suitable for private cloud and storage medium
Technical Field
The present application 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 application 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 application, 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 the cloud products in the current download, and dynamically adjusting the network speed limit value for each cloud product in the download.
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 application, 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 application, 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 application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
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 application 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 application, 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 application.
It should be understood that in the present application, "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 application, "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 application, "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 application 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 application 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 N of the cloud products in the current download, and dynamically adjusting the network speed limit value for each cloud product in the download.
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 application 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 application 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 application 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 application 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 application, and not for limiting the same; although the application 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 application.

Claims (7)

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;
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;
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, comprising:
according to the private cloud platform architecture information, cloud product data of a corresponding architecture are obtained from the OTA server address;
according to the OTA server address, incremental acquisition of cloud product data is achieved in a lazy loading mode, and cloud product resource files are cached to the local;
selecting and acquiring cloud products through the cloud product market, 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 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 cloud products in the current download, and dynamically adjusting the network speed limit value for each cloud product in the download;
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, wherein the method comprises the following steps:
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.
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 cloud according to claim 1, 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.
4. 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;
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;
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, comprising:
according to the private cloud platform architecture information, cloud product data of a corresponding architecture are obtained from the OTA server address;
according to the OTA server address, incremental acquisition of cloud product data is achieved in a lazy loading mode, and cloud product resource files are cached to the local;
selecting and acquiring cloud products through the cloud product market, 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 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 cloud products in the current download, and dynamically adjusting the network speed limit value for each cloud product in the download;
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, wherein the method comprises the following steps:
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.
5. The cloud product updating apparatus applicable to private cloud as claimed in claim 4, 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.
6. The cloud product updating apparatus for private cloud as claimed in claim 4, 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.
7. A readable storage medium, characterized in that it has stored therein a computer program for implementing the method of any of claims 1 to 3 when being executed by a processor.
CN202310118715.6A 2023-01-30 2023-01-30 Cloud product updating method and device suitable for private cloud and storage medium Active CN116055321B (en)

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 CN116055321A (en) 2023-05-02
CN116055321B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580833A (en) * 2019-02-18 2020-08-25 北京京东尚科信息技术有限公司 Application updating method and system, local management agent device and cloud server
CN115525301A (en) * 2022-09-21 2022-12-27 中国工商银行股份有限公司 Application program code packaging method, device, equipment, medium and program product

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015199744A1 (en) * 2014-06-27 2015-12-30 Hewlett-Packard Development Company, L.P. Testing a cloud service component on a cloud platform
US11425632B2 (en) * 2020-07-08 2022-08-23 T-Mobile Usa, Inc. Mechanism to provide updates to NB-IoT devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580833A (en) * 2019-02-18 2020-08-25 北京京东尚科信息技术有限公司 Application updating method and system, local management agent device and cloud server
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
CN116055321A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US10447814B2 (en) Joint servicing of software packages
US7937697B2 (en) Method, system and computer program for distributing software patches
US20050262501A1 (en) Software distribution method and system supporting configuration management
US7685598B1 (en) Desktop application framework
US10656939B2 (en) Modeling lifetime of hybrid software application using application manifest
CN110959165A (en) Techniques for automatically verifying functionality of offers in a cloud service broker system
CN109032620A (en) The configuration file generation method and device of application program
CN113946323A (en) Online development method, device, equipment and storage medium based on micro-service system
EP4182786A1 (en) Configuration files for multiple devices
CN116783581A (en) Deploying software release on a data center configured in a cloud platform
CN116055321B (en) Cloud product updating method and device suitable for private cloud and storage medium
US20230161604A1 (en) Automatic machine deployment and configuration
US20230127273A1 (en) Method and system for selling personal content using value evaluation
CN112990991A (en) Method and device for merging invoices
WO2011054957A1 (en) Information integrity rules framework
WO2022000869A1 (en) Batch processing method and apparatus for mini programs, and electronic device and readable storage medium
CN111666219B (en) Service function verification method and device, computer system and storage medium
US11347533B2 (en) Enhanced virtual machine image management system
CN103475694A (en) Parallel configuration method of cloud computing system
CN113282303A (en) Application management method and device based on double-core intelligent electric meter and computer equipment
CN113741868A (en) Business calculation task processing method and device, computer equipment and storage medium
CN116245607B (en) Configuration method and device suitable for cloud product and storage medium
CN113971051B (en) Plug-in based development method, device and storage medium
KR102610132B1 (en) Method and apparatus for providing platform-integrated sdk capable of developing multiple platforms with a single source code
CN117034233B (en) Application management method and device based on permission, computing 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