Cross-platform cloud edge collaborative application deployment method, system, equipment and medium

By adopting a cloud-edge collaborative application deployment method, the automated distribution of application packages and the fully automated installation at edge sites were achieved, solving the efficiency and security issues of application deployment at converter stations and improving the performance and reliability of the system.

CN119011580APending Publication Date: 2024-11-22STATE GRID ECONOMIC TECH RES INST CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411092650.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The application deployment of converter stations suffers from problems such as low performance, low development efficiency, low code reusability, difficulty in expansion, and poor fault tolerance. Furthermore, the traditional copy-and-installation method cannot meet the needs of rapid iteration and multi-site deployment.

Method used

A cross-platform cloud-edge collaborative application deployment method is adopted. Through the coordinated cooperation of the cloud management system and the site management system, the application package is automatically distributed and the installation and deployment of edge sites are fully automated, including application review, permission management and site management.

Benefits of technology

It improved the efficiency of application development and improvement, reduced the burden on operation and maintenance personnel, simplified the operation process, and ensured the security and reliability of application deployment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011580A_ABST
    Figure CN119011580A_ABST
Patent Text Reader

Abstract

The invention relates to a cross-platform cloud edge collaborative application deployment method, system, device and medium, and the system comprises a cloud management system which is used for carrying out the unified management of an application deployment package and edge sites, including application racking, application publishing, application authority management, site management, site authority management and the like; the station end management system is used for each edge station to manage application deployment tasks, including subscription downloading of applications, execution of the application deployment tasks, recording and reporting of deployment task states and the like; through cooperation of the cloud management system and the station management system, the to-be-deployed application package can be automatically distributed from the cloud to the edge site needing to be deployed, and application cross-platform full-automatic installation and deployment can be realized at the edge site. The method can be widely applied to the technical field of application management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of application management technology, and in particular relates to a cross-platform cloud-edge collaborative application deployment method, system, device and medium. Background Art

[0002] The converter station is constantly exploring and reforming in terms of digital transformation, and actively strengthening the information construction of the power system. After more than ten years of construction, the converter station has built a large number of information systems with rich functions, supporting the rapid development of power grid business. The digital transformation of the converter station requires the support of the underlying hardware and software applications that can meet the needs. Therefore, the deployment of applications is an important part of the digitalization of the converter station. In the future, with the expansion of the converter station business, the construction of the application system will inevitably face a series of demands such as richer business scenarios, shorter system delivery cycles, and higher quality requirements. How to ensure the security, efficiency and reliability of the application deployment process is a problem that must be solved in the digital transformation of the converter station.

[0003] At present, there are two key problems in the deployment of edge site applications: on the one hand, most system technical architectures still use the traditional monolithic application framework, and the monolithic application architecture system has limitations such as low performance, low development efficiency, low code reuse rate, difficulty in expansion, and poor fault tolerance. On the other hand, the edge site application deployment method is still the traditional copy installation, which requires the application installer to copy the application installation package into the station in an offline manner, and then deploy, install and debug. With the increase in the number of deployment sites and applications, and the acceleration of application update iterations, the traditional deployment method can no longer meet the needs of converter station application deployment. Research on the distributed architecture technology and cross-platform automated deployment methods of converter station applications is of great significance to improve the efficiency of application research and development, reduce the burden on operation and maintenance personnel, achieve stable operation of converter stations, and simplify operation procedures. Summary of the invention

[0004] In response to the above problems, the purpose of the present invention is to provide a cross-platform cloud-edge collaborative application deployment method, system, device and medium.

[0005] To achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a cross-platform cloud-edge collaborative application deployment system, comprising: Cloud management system for unified management of application deployment packages and edge sites; The site management system is used to manage application deployment tasks at each edge site; Through the coordinated cooperation of the cloud management system and the site management system, the application packages to be deployed can be automatically distributed from the cloud management system to the edge sites, and the fully automated installation and deployment of the applications can be achieved at the edge sites.

[0006] Furthermore, the cloud management system is provided with an application management unit and an edge site management unit; The application management unit is used for the administrator to conduct a normative review of the application deployment package put on the shelf by the application provider according to the preset review process to ensure that the put on shelf application deployment package meets the application function, performance and deployment specification requirements; The edge site management unit is used to register and manage edge sites, ensure the legitimacy of the connected edge sites, and avoid illegal site access.

[0007] Further, the application management unit includes an application warehouse module, an application authority management module and an application publishing module; The application warehouse module is used to provide an application listing interface for application providers so that application providers can list the developed application deployment packages and save them in the application warehouse; The application rights management module is used by the administrator to conduct a normative review of the application deployment packages on the shelves according to the pre-examination and review process; The application publishing module is used to modify the application status of the application deployment package according to the audit results. If the audit is passed, the relevant application status is modified to published, so that the edge site can subscribe and download the application or component with acquisition permission according to actual needs for application deployment. If the audit fails, the application status is marked as rejected, and the backup in the application warehouse is cleared. The edge site is also unable to browse, view and subscribe to the rejected application.

[0008] Further, the edge site management unit includes a site management module and a site authority management module; The site management module is used to register and manage edge sites; The site authority management module is used to assign corresponding authority to each edge site and verify the legitimacy of the edge site.

[0009] Further, the station management system includes an application request module, an application deployment module and a status information upload module; The application request module is used to browse and subscribe to the list of applications published in the cloud through the front-end interface, and receive the address of the cloud application warehouse returned by the cloud management system; The application deployment module is used to download the application deployment package from the application warehouse address, parse the configuration file, and generate the corresponding application deployment task to deploy the application; The status information uploading module is used to report the status information of the edge site application deployment task to complete the deployment of the application.

[0010] In a second aspect, the present invention provides a cross-platform cloud-edge collaborative application deployment method, comprising the following steps: The cloud management system performs compliance checks on the application deployment packages launched by application service providers and manages each edge site; The edge management system downloads the application deployment package from the cloud management system according to actual needs, and deploys the application according to the deployment model specifications.

[0011] Furthermore, after the cloud management system performs a compliance check on the application deployment package, the published application deployment package model includes four files, namely, application description, application package directory, deployment configuration and variable definition file.

[0012] Furthermore, the edge management system downloads the application deployment package from the cloud management system according to actual needs, and deploys the application according to the deployment model specification, including: The edge site deployment service downloads the application deployment package of the application to be deployed from the cloud management system and decompresses it to obtain the application description, application package directory, deployment configuration, and variable definition file of the application to be deployed; Parse the application description file of the application to be deployed, obtain the component list of the application to be deployed, and the application package location and deployment configuration location information of all components; Deploy all components one by one, and determine whether the application package and deployment configuration file of the component to be deployed exist. If the deployment configuration file does not exist, it means that the application deployment package is incomplete and the deployment will fail. If it exists, the value of the site variable and the configuration script are obtained in combination with the variable definition file to deploy the component. If the component is deployed successfully, the next component will be deployed in sequence until all components are deployed, and the deployment task success information will be uploaded to the cloud management system. If any component fails to be deployed, the deployment task failure information will be uploaded to the cloud management system.

[0013] In a third aspect, the present invention provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by a computing device, cause the computing device to perform any method.

[0014] In a fourth aspect, the present invention provides a computing device, comprising: one or more processors and a memory, wherein the memory stores one or more programs and is configured to be executed by the one or more processors, and the one or more programs include instructions for executing any method.

[0015] Due to the adoption of the above technical scheme, the present invention has the following advantages: the present invention utilizes the cloud management system to uniformly manage application deployment packages and edge sites, and the site management system manages the application deployment tasks of each edge site. Through the collaboration of the cloud management system and the site management system, the application packages to be deployed are automatically distributed from the cloud to the edge sites that need to be deployed, and the fully automated installation and deployment of applications across platforms is realized at the edge sites, realizing the entire process of a series of management, control and maintenance of applications from development, upgrade, installation to management.

[0016] Therefore, the present invention can be widely applied in the field of application management technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings: Figure 1 A flow chart of a cross-platform application deployment method based on cloud-edge collaboration provided by an embodiment of the present invention; Figure 2 An application deployment package model provided for an embodiment of the present invention; Figure 3 A schematic diagram of the station-side application deployment process provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0019] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0020] In some embodiments of the present invention, a cross-platform cloud-edge collaborative application deployment system is provided, which adopts a cloud-edge collaborative architecture and aims to realize the whole process of a series of control and maintenance of applications from development, upgrade, installation to management. Specifically, it includes: a cloud management system and a station management system. The cloud management system is used to uniformly manage application deployment packages and edge sites, including application listing, application publishing, application permissions, site management, site permission management, etc.; the station management system is used for each edge site to manage application deployment tasks, including application subscription download, application deployment task execution, deployment task status recording and reporting, etc.; through the collaboration of the cloud management system and the station management system, the application packages to be deployed are automatically distributed from the cloud to the edge sites that need to be deployed, and the fully automated installation and deployment of applications across platforms is realized at the edge sites.

[0021] Correspondingly, in other embodiments of the present invention, a cross-platform cloud-edge collaborative application deployment method, device and medium are provided.

[0022] Example 1 This embodiment provides a cross-platform cloud-edge collaborative application deployment system, which involves two endpoints and three roles. The two endpoints are the cloud and the station. The cloud acts as the output and management end of the application, while the station is the user end of the application. The three roles are publishers, managers, and subscribers. Among them, the manager is responsible for formulating the deployment requirements and rules of the application, and managing the release, uninstallation, permissions, and site information of the application. The publisher uploads the packaged application or component to the application warehouse in the cloud according to the application deployment requirements set by the manager. Subscribers subscribe to and download applications or components with access permissions for application deployment.

[0023] Specifically, this embodiment includes: Cloud management system, used for unified management of application deployment packages and edge sites, including application listing, application publishing, application permission management, site management, site permission management, etc.; The site management system is used by each edge site to manage application deployment tasks, including application subscription and download, application deployment task execution, and deployment task status recording and reporting; Through the coordinated cooperation of the cloud management system and the site management system, the application packages to be deployed can be automatically distributed from the cloud to the edge sites that need to be deployed, and fully automated installation and deployment of applications across platforms can be achieved at the edge sites.

[0024] Furthermore, the cloud management system is provided with an application management unit and an edge site management unit. The application management unit is used by the administrator to conduct a normative review of the application deployment package put on the shelves by the application provider according to the preset review process to ensure that the put-on application deployment package meets the requirements of application functions, performance and deployment specifications; the edge site management unit is used to register and manage edge sites to ensure the legitimacy of the docking edge sites and avoid illegal site access.

[0025] Furthermore, the application management unit includes an application warehouse module, an application rights management module and an application publishing module. Among them, the application warehouse module is used to provide an application listing interface for application providers, so that application providers can list the developed application deployment packages and save them in the application warehouse; the application rights management module is used by administrators to conduct normative reviews of the listed application deployment packages according to the pre-examination and review process; the application publishing module is used to modify the application status of the application deployment package according to the review results. If the review is passed, the relevant application status is modified to published, so that the edge site can subscribe and download the application or component with the access permission according to actual needs for application deployment. If the review is not passed, the application status is marked as rejected, and the backup in the application warehouse is cleared at the same time, and the edge site cannot browse, view and subscribe to the rejected application.

[0026] Furthermore, the edge site management unit includes a site management module and a site authority management module. The site management module is used to register and manage edge sites; the site authority management module is used to assign corresponding authority to each edge site and verify the legitimacy of the edge site to prevent illegal site access.

[0027] Furthermore, the edge application deployment task management system is mainly used for edge site users to select the applications they need to deploy from the cloud management system and perform fully automated application deployment task management. Specifically, it includes an application request module, an application deployment module, and a status information upload module. Among them, the application request module is used to browse and subscribe to the list of published applications on the cloud through the front-end interface, and receive the cloud application warehouse address returned by the cloud management system to ensure the privacy and security of the link; the application deployment module is used to download the application deployment package from the application warehouse address, parse the configuration file, and generate the corresponding application deployment task for application deployment; the status information upload module is used to report the status information of the edge site application deployment task to complete the deployment of the application.

[0028] Example 2 like Figure 1 As shown, this embodiment provides a cross-platform cloud-edge collaborative application deployment method, including the following steps: 1) The cloud management system performs compliance checks on the application deployment packages launched by the application service provider and manages each edge site; 2) The edge management system downloads the application deployment package from the cloud management system according to actual needs, and deploys the application according to the deployment model specifications.

[0029] Further, in the above step 1), if Figure 2 As shown, after the cloud management system performs a compliance check on the application deployment package, the published application deployment package model includes four files, namely application description, application package directory, deployment configuration, and variable definition file.

[0030] Among them, the application description configuration defines metadata information related to the application itself, mainly including the name, author, license, homepage information, etc. of the application; specifies the resource information that the application depends on when it is deployed, that is, whether the associated application is deployed on a virtual machine platform or a container platform; it also includes the number of modules to be deployed in the application, the location and name of the deployment module in the deployment package, and the type of resources deployed.

[0031] Application package directory: This directory name is used to store container image packages and virtual machine deployment packages provided by users. The package name must be consistent with the name of the application defined in the application description file.

[0032] Deployment configuration: The deployment configuration contains deployment configuration scripts for all components to be deployed. These configuration scripts are used to create deployment resources and deploy application packages for each module.

[0033] Variable setting file: configures the personalized configuration definitions common to each site, such as site ID, proxy service IP, K8S cluster IP and other variables, to facilitate component installation, positioning and connection reference, and also to distinguish different deployment environments.

[0034] The application deployment model supports cross-platform deployment of virtual machine applications and containerized applications. When the application deployment package model packages the application deployment package, virtual machine applications and container applications can be mixed.

[0035] Further, if Figure 3 As shown, the following steps are included: 2.1) The edge site deployment service downloads the application deployment package of the application to be deployed from the cloud management system and decompresses it to obtain the application description, application package directory, deployment configuration, and variable definition file of the application to be deployed; 2.2) Parse the application description file of the application to be deployed, obtain the component list of the application to be deployed, and the application package location and deployment configuration location information of all components; 2.3) Deploy all components one by one, and determine whether the application package and deployment configuration file of the component to be deployed exist. If the deployment configuration file does not exist, it means that the application deployment package is incomplete and the deployment will fail. If it exists, the value of the site variable and the configuration script are obtained in combination with the variable definition file to deploy the component; 2.4) If the component is deployed successfully, repeat step 2.3) to deploy the next component until all components are deployed. The deployment task is successful and the deployment task success information is uploaded to the cloud management system. If any component fails to be deployed, the entire deployment task fails and the deployment task failure information is uploaded to the cloud management system.

[0036] Example 3 This embodiment provides a processing device corresponding to the cross-platform cloud-edge collaborative application deployment method provided in this embodiment 1. The processing device can be a processing device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of embodiment 1.

[0037] The processing device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The memory stores a computer program that can be run on the processor, and the processor executes the cross-platform cloud-edge collaborative application deployment method provided in this embodiment 1 when running the computer program.

[0038] Preferably, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.

[0039] Preferably, the processor may be a central processing unit (CPU), a digital signal processor (DSP) or other general-purpose processors of various types, which are not limited here.

[0040] Example 4 The cross-platform cloud-edge collaborative application deployment method of this embodiment 1 can be specifically implemented as a computer program product. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for executing the cross-platform cloud-edge collaborative application deployment method described in this embodiment 1 are loaded.

[0041] Computer readable storage media can be tangible devices that hold and store instructions used by instruction execution devices. Computer readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof.

[0042] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 One or more processes and / or boxes Figure 1 A function specified in one or more boxes. These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0043] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A cross-platform cloud-edge collaborative application deployment system, characterized in that: include: Cloud management system for unified management of application deployment packages and edge sites; The site management system is used to manage application deployment tasks at each edge site; Through the coordinated cooperation of the cloud management system and the site management system, the application packages to be deployed can be automatically distributed from the cloud management system to the edge sites, and the fully automated installation and deployment of the applications can be achieved at the edge sites.

2. A cross-platform cloud-edge collaborative application deployment system as described in claim 1, characterized in that: The cloud management system is provided with an application management unit and an edge site management unit; The application management unit is used for the administrator to conduct a normative review of the application deployment package put on the shelf by the application provider according to the preset review process to ensure that the put-on application deployment package meets the application function, performance and deployment specification requirements; The edge site management unit is used to register and manage edge sites, ensure the legitimacy of the connected edge sites, and avoid illegal site access.

3. A cross-platform cloud-edge collaborative application deployment system as described in claim 2, characterized in that: The application management unit includes an application warehouse module, an application authority management module and an application publishing module; The application warehouse module is used to provide an application listing interface for application providers so that application providers can list the developed application deployment packages and save them in the application warehouse; The application rights management module is used by the administrator to conduct a normative review of the application deployment package on the shelf according to the pre-examination and review process; The application publishing module is used to modify the application status of the application deployment package according to the audit results. If the audit is passed, the relevant application status is modified to published, so that the edge site can subscribe and download the application or component with acquisition permission according to actual needs for application deployment. If the audit fails, the application status is marked as rejected, and the backup in the application warehouse is cleared. The edge site is also unable to browse, view and subscribe to the rejected application.

4. A cross-platform cloud-edge collaborative application deployment system as described in claim 2, characterized in that: The edge site management unit includes a site management module and a site authority management module; The site management module is used to register and manage edge sites; The site authority management module is used to assign corresponding authority to each edge site and verify the legitimacy of the edge site.

5. A cross-platform cloud-edge collaborative application deployment system as described in claim 2, characterized in that: The station management system includes an application request module, an application deployment module and a status information upload module; The application request module is used to browse and subscribe to the list of applications published in the cloud through the front-end interface, and receive the address of the cloud application warehouse returned by the cloud management system; The application deployment module is used to download the application deployment package from the application warehouse address, parse the configuration file, and generate the corresponding application deployment task to deploy the application; The status information uploading module is used to report the status information of the edge site application deployment task to complete the deployment of the application.

6. An application deployment method based on the cross-platform cloud-edge collaborative application system as claimed in any one of claims 1 to 5, characterized in that: The following steps are involved: The cloud management system performs compliance checks on the application deployment packages launched by the application service provider and manages each edge site; The edge management system downloads the application deployment package from the cloud management system according to actual needs, and deploys the application according to the deployment model specifications.

7. The method according to claim 6, characterized in that After the cloud management system performs a compliance check on the application deployment package, the published application deployment package model includes four files, namely, application description, application package directory, deployment configuration and variable definition file.

8. The method according to claim 7, characterized in that: The edge management system downloads the application deployment package from the cloud management system according to actual needs, and deploys the application according to the deployment model specification, including: The edge site deployment service downloads the application deployment package of the application to be deployed from the cloud management system and decompresses it to obtain the application description, application package directory, deployment configuration, and variable definition file of the application to be deployed; Parse the application description file of the application to be deployed, obtain the component list of the application to be deployed, and the application package location and deployment configuration location information of all components; Deploy all components one by one, and determine whether the application package and deployment configuration file of the component to be deployed exist. If the deployment configuration file does not exist, it means that the application deployment package is incomplete and the deployment will fail. If it exists, the value of the site variable and the configuration script are obtained in combination with the variable definition file to deploy the component. If the component is deployed successfully, the next component will be deployed in sequence until all components are deployed, and the deployment task success information will be uploaded to the cloud management system. If any component fails to be deployed, the deployment task failure information will be uploaded to the cloud management system.

9. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computing device, cause the computing device to perform any one of the methods of claims 6 to 8.

10. A computing device, characterized in that include: One or more processors and a memory, wherein the memory stores one or more programs and is configured to be executed by the one or more processors, wherein the one or more programs include instructions for executing any one of the methods described in claims 6 to 8.