[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112394972B - Cloud application publishing method, device, equipment and storage medium - Google Patents

Cloud application publishing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112394972B
CN112394972B CN201910750668.0A CN201910750668A CN112394972B CN 112394972 B CN112394972 B CN 112394972B CN 201910750668 A CN201910750668 A CN 201910750668A CN 112394972 B CN112394972 B CN 112394972B
Authority
CN
China
Prior art keywords
application
cloud
template
program
matched
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
CN201910750668.0A
Other languages
Chinese (zh)
Other versions
CN112394972A (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201910750668.0A priority Critical patent/CN112394972B/en
Publication of CN112394972A publication Critical patent/CN112394972A/en
Application granted granted Critical
Publication of CN112394972B publication Critical patent/CN112394972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The embodiment of the invention discloses a cloud application publishing method, device, equipment and storage medium. The cloud application publishing method comprises the following steps: obtaining at least one general application template, wherein the general application template comprises the following steps: at least one blank item for filling application attribute information; generating an application configuration file matched with the cloud application to be distributed according to application attribute information matched with the cloud application to be distributed, wherein the application attribute information is added for blank items in the at least one general application template; and responding to an application program registration instruction aiming at the application configuration file, and issuing the cloud application on a cloud platform. According to the technical scheme provided by the embodiment of the invention, the problems of complicated cloud application release process and long period in the prior art are solved by designing the universal application template, the workload of developers is reduced, and the cloud application development and release efficiency is improved.

Description

Cloud application publishing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to a computer technology, in particular to a cloud application publishing method, device, equipment and storage medium.
Background
Along with the rapid development of the industrial Internet cloud platform, the cloud platform contains more and more different types of applications, so that convenience is brought to a user, the user can create and use the applications contained in the cloud platform at any time, and particularly for some applications with complicated installation processes, the user can create and use the applications without complex installation steps by inputting a small amount of relevant information of the cloud applications.
However, the application publishing process on the cloud platform is from application investigation to front-end and back-end coding and then to publishing, so that a great deal of time and labor cost are required to be consumed, the whole process period is long and the efficiency is low, when a published application program is updated, a code updating program is required to be generated in the cloud application publishing mode in the prior art, and the compiled code updating program is recompiled to an operating environment to enable the updating to be effective, and the process is very likely to further need to restart the environment, so that the use of users is affected.
Disclosure of Invention
The embodiment of the invention provides a cloud application publishing method, device, equipment and storage medium, which realize the rapid development and publishing of cloud applications through a general application template, do not need a large amount of coding work, improve the working efficiency of developers and shorten the publishing period of cloud applications.
In a first aspect, an embodiment of the present invention provides a cloud application publishing method, where the method includes:
obtaining at least one general application template, wherein the general application template comprises the following steps: at least one blank item for filling application attribute information;
generating an application configuration file matched with the cloud application to be distributed according to application attribute information matched with the cloud application to be distributed, wherein the application attribute information is added for blank items in the at least one general application template;
and responding to an application program registration instruction aiming at the application configuration file, and issuing the cloud application on a cloud platform.
In a second aspect, an embodiment of the present invention further provides a cloud application publishing device, where the device includes:
the application template acquisition module is used for acquiring at least one general application template, and the general application template comprises the following components: at least one blank item for filling application attribute information;
the configuration file generation module is used for responding to the application attribute information which is added for the blank items in the at least one general application template and is matched with the cloud application to be distributed, and generating an application configuration file matched with the cloud application;
and the cloud application issuing module is used for issuing the cloud application on a cloud platform in response to an application program registration instruction aiming at the application configuration file.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the cloud application publishing method provided by any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements the cloud application publishing method provided by any embodiment of the present invention.
According to the technical scheme, the application attribute information matched with the cloud application to be distributed is added to the blank item in the universal application template to generate the application configuration file matched with the cloud application, and finally the cloud application is distributed on the cloud platform through the received application program registration instruction aiming at the application configuration file, so that development of the cloud application by using the universal application template and distribution of the cloud application through the application program registration instruction are realized, workload of developers is reduced, and development and distribution efficiency of the cloud application are improved.
Drawings
FIG. 1 is a flow chart of a cloud application publishing method in accordance with a first embodiment of the present invention;
fig. 2a is a flowchart of a cloud application publishing method in a second embodiment of the present invention;
FIG. 2b is a front end page diagram provided in a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud application publishing device in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a cloud application publishing method in a first embodiment of the present invention, where the technical solution of the present embodiment is suitable for a case of cloud application development and publishing based on an industrial internet cloud platform, and the method may be executed by a cloud application publishing device, which may be implemented by software and/or hardware and may be integrated in various general purpose computer devices, and specifically includes the following steps:
step 110, obtaining at least one general application template, wherein the general application template comprises: at least one blank item for filling application attribute information.
The universal application templates are pre-generated, each application template comprises field names used for representing basic elements of the cloud application and blank items used for filling application attribute information related to the field names, for example, the field names of the cloud application port definition part can be a target and a protocol, the port numbers and the communication types used by the cloud application to be released are respectively represented, and the corresponding blank items are used for filling information such as the port numbers, the communication protocols and the like.
In this embodiment, before a developer issues a cloud application, the general application template needs to be acquired, so that application attribute information of the cloud application to be issued is added in blank items of the general application template, and rapid development of the cloud application is achieved.
The general application program includes a front-end program for generating a front-end page for interaction with a user and a back-end program for implementing a background running logic and a data saving and reading function, and on the basis thereof, the general application template may be designed as two editable files corresponding to the front-end program and the back-end program, respectively.
And 120, generating an application configuration file matched with the cloud application in response to the application attribute information matched with the cloud application to be distributed and added for the blank item in the at least one general application template.
In this embodiment, when a developer performs cloud application publishing, firstly, a usage scenario, a deployment manner and some advanced feature characteristics of a cloud application to be published need to be studied to determine some basic attribute information of the cloud application, and when the developer adds the basic attribute information of the cloud application to be published to the general application template correspondingly, an application configuration file matched with the cloud application to be published is obtained, where the application configuration file is used to provide the basic attribute information of the cloud application to be published in the cloud application publishing process. For example, the basic attribute information of the cloud application may be platform resources required by the back end of the cloud application, including a usage port, a storage space size, and link information required to be returned to the user foreground.
And 130, responding to an application program registration instruction aiming at the application configuration file, and issuing the cloud application on a cloud platform.
In this embodiment, after an application configuration file matched with a cloud application to be issued is generated, a developer issues the cloud application to be issued to a cloud platform by using an application registration instruction, specifically, a preset driver matched with an application template is operated in response to input of a corresponding application registration instruction by the developer, and the application configuration file is automatically parsed into an application matched with a programming language adapted to the cloud platform.
The application attribute information of the cloud application to be released is added to the blank item of the template, so that two configuration files corresponding to the two files of the general application template can be obtained.
According to the technical scheme, the application attribute information matched with the cloud application to be distributed is added to the blank item in the universal application template to generate the application configuration file matched with the cloud application, and finally the cloud application is distributed on the cloud platform through the issued application program registration instruction aiming at the application configuration file, so that development of the cloud application by using the universal application template and distribution of the cloud application by using the application program registration instruction are realized, workload of developers is reduced, and development and distribution efficiency of the cloud application are improved.
Example two
Fig. 2 is a flowchart of a cloud application publishing method in a second embodiment of the present invention, where the embodiment is further refined on the basis of the foregoing embodiment, and specific steps of publishing the cloud application on a cloud platform and subsequent steps are provided in response to an application registration instruction for the application configuration file. The following describes a cloud application publishing method in a second embodiment of the present invention with reference to fig. 2, including the following steps:
step 210, obtaining at least one general application template, where the general application template includes: at least one blank item for filling application attribute information.
Optionally, the universal application template includes: the back-end server applies the template;
before obtaining the at least one generic application template, further comprising:
acquiring basic constituent elements of a back-end program of at least one published cloud application in the cloud platform;
determining at least one back-end field name included in the back-end server application template according to the basic constituent elements of the back-end program;
constructing the back-end server application template by using the at least one back-end field name according to a preset generation protocol matched with the general application template;
and the field value corresponding to at least one back-end field name in the back-end server application template is a blank item for filling application attribute information.
The back-end server application template is an editable file containing basic constituent elements of the back-end program.
In the above optional embodiment, first, basic constituent elements required by a back-end program of a previously published cloud application, for example, application metadata, calculation, storage, network, and the like, then, determining a back-end field name to be defined in a back-end server template according to the back-end program basic constituent elements, where the back-end field name is in one-to-one correspondence with the back-end program basic constituent elements, and is used to prompt a developer to add basic attribute information of the cloud application to be published corresponding to the field name in a blank item corresponding to the back-end field name, and finally, according to a preset generation protocol of a general application template, constructing the back-end server application template by using the back-end field name. The preset generation protocol of the universal application template can specify the number of files and the file format of the universal application template. For example, it may be provided that the generic application template contains two text formatted files corresponding to the front-end and back-end programs, respectively.
Optionally, the backend field name includes at least one of: back end port, storage volume capacity, and link information returned to the user interface.
Illustratively, the backend server application template is of the form:
the back-end server application template defines platform resources required by cloud application release, wherein ports part comprises two field names target and protocol, and two blank items corresponding to the ports are used for inputting ports and communication protocols allocated for the cloud application to be released; two blank items respectively corresponding to two field names size and target contained in the volume part are used for inputting the capacity and the storage target position of the storage volume allocated for the cloud application to be distributed; the envs part represents a key value pair of a cloud application ROOT password, and a blank item corresponding to the key value pair is used for adding the ROOT password of the cloud application to be issued; the points part represents a key value pair of a uniform resource locator (Uniform Resource Locator, URL) corresponding to the cloud application, a blank item corresponding to the key value pair is used for adding the URL of the cloud application to be published, and when a user successfully creates the cloud application, the URL is returned to the user interface. When a developer develops the cloud application according to the template, the application attribute information of the cloud application to be distributed is only added into blank items matched with the corresponding field names.
Optionally, the universal application template includes: a front end application template;
the front-end application template includes: the system comprises at least one front-end field name and a field value corresponding to the at least one front-end field name, wherein the field value corresponding to the at least one front-end field name is a blank item for filling application attribute information.
The front end field name includes at least one of: cloud application name, description, ROOT password, and volume capacity.
Wherein the front-end server application template is an editable file containing the basic elements required by the front-end interface.
In this optional embodiment, the front-end application template corresponds to a front-end program, and is used for generating a user interface, where the interface includes relevant information to be created of the cloud application that needs to be input when the user creates the cloud application.
Illustratively, the front-end application template is of the form:
the above definition requires that the user create a cloud application on a page, input a form such as "cloud application name", "description", "ROOT password", "data volume size", etc., and defines the required attributes of these fields, etc. Of course, the field value corresponding to the field name in the front-end application template can be flexibly adjusted according to the content which needs to be input by the user when the cloud application is created. The front-end application template can be analyzed by a front-end driver to generate a front-end program adapted to a cloud platform for releasing the cloud application, and running the front-end program can generate a front-end page as shown in fig. 2b, wherein the page requires a user to input a cloud application name (3-20 characters), description information (0-200 characters) of the cloud application, a ROOT password (3-20 characters) of the cloud application and a data volume size (1-20 characters) of the cloud application to be distributed.
Optionally, the back-end server application template and the front-end application template are both JSON format.
Among them, JSON (JavaScript Object Notation, JS object numbered musical notation) is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language.
In this alternative embodiment, the generation protocol of the application template matching may define the generic application template format as JSON format.
Step 220, generating an application configuration file matched with the cloud application in response to the application attribute information matched with the cloud application to be distributed and added for the blank item in the at least one general application template.
Taking the development of MySQL application program as an example, after application attribute information of the MySQL application program is correspondingly added to a back-end server application template, a back-end application configuration file is obtained as follows:
the ports part in the back-end configuration file defines that the port corresponding to the MySQL application program is 3306, the communication protocol is TCP, the volumes part defines the storage capacity and the target storage position of the storage volume required by the MySQL application program, and the end part defines the link information returned to the user interface after the Mysql is successfully created.
Because the front-end configuration file only needs to add, delete and modify corresponding contents according to related information (information that needs to be displayed on a front-end page) which needs to be input when a user creates a cloud application on the basis of the front-end application template, the front-end configuration file is generated and is similar to the front-end application template, and details are not repeated here.
And 230, responding to an application program registration instruction aiming at the application configuration file, analyzing the application configuration file by adopting a driver matched with the application configuration file, generating an application program matched with a programming language matched with the cloud platform, and publishing on the cloud platform.
In this embodiment, after an application registration instruction for an application configuration file is input by a developer, a front end driver and a back end driver parse the front end configuration file and the back end configuration file to obtain an application program matched with a front end programming language and a back end programming language (for example, the front end configuration file parses to generate HTML or CSS language, the back end configuration file parses to generate Java language or c++ language, etc.) adapted to a cloud platform to be published, and then the application program is published on the cloud platform.
Step 240, responding to a program running instruction matched with the application program, running the application program on the cloud platform, and generating a front-end interface for human-computer interaction;
wherein, the front end interface comprises: and the application attribute information is added for the front-end application template.
In this embodiment, after the front-end program is run, a front-end interface facing the cloud application user is generated, and the user needs to input information corresponding to some fields to create the current application, in a specific example, as shown in fig. 2b, when the user creates the cloud application, the user needs to input related information such as a cloud application name (necessary entry), a description (unnecessary entry) and a ROOT password in a front-end page, and after the input is completed, the URL defined by the back-end program can be obtained, and at this time, the cloud application is created successfully.
According to the technical scheme, through the acquired components of the back-end program and the basic component elements of the front-end program of the published cloud application, a back-end server application template and a front-end application template are respectively constructed, application attribute information matched with the cloud application to be published is added in response to blank items in a general application template, an application configuration file matched with the cloud application is generated, finally, a driver matched with the application configuration file is adopted, the application configuration file is analyzed, an application program matched with a programming language adapted to a cloud platform is generated, the publishing is carried out on the cloud platform, and a user only needs to input relevant information of the cloud application to be created in a front-end page to create the cloud application. On one hand, the use of the general application template and the driver reduces the workload of developers, realizes the rapid development and release of cloud application, and on the other hand, a user can create an application program by inputting relevant information, so that complicated installation, unloading or updating operations are omitted, and the working efficiency of the user is improved.
Example III
Fig. 3 is a schematic structural diagram of a cloud application publishing device according to a third embodiment of the present invention, where the cloud application publishing device includes: an application template acquisition module 310, a profile generation module 320, and a cloud application publication module 330.
An application template obtaining module 310, configured to obtain at least one generic application template, where the generic application template includes: at least one blank item for filling application attribute information;
a profile generation module 320, configured to generate an application profile matched with a cloud application to be deployed in response to application attribute information that is added for blank items in the at least one generic application template and matched with the cloud application to be deployed;
and the cloud application publishing module 330 is configured to publish the cloud application on a cloud platform in response to an application registration instruction for the application configuration file.
According to the technical scheme, the application attribute information matched with the cloud application to be distributed is added to the blank item in the universal application template to generate the application configuration file matched with the cloud application, and finally the cloud application is distributed on the cloud platform through the issued application program registration instruction aiming at the application configuration file, so that development of the cloud application by using the universal application template and distribution of the cloud application by using the application program registration instruction are realized, workload of developers is reduced, and development and distribution efficiency of the cloud application are improved.
Optionally, the universal application template includes: the back-end server applies the template;
the cloud application publishing device further comprises:
the basic component element acquisition module is used for acquiring basic component elements of a back-end program of at least one published cloud application in the cloud platform before acquiring at least one general application template;
the back-end field name determining module is used for determining at least one back-end field name included in the back-end server application template according to basic constituent elements of the back-end program;
the back-end server application template construction module is used for constructing the back-end server application template by using the at least one back-end field name according to a preset generation protocol matched with the universal application template;
and the field value corresponding to at least one back-end field name in the back-end server application template is a blank item for filling application attribute information.
Optionally, the universal application template includes: a front end application template;
the front-end application template includes: the system comprises at least one front-end field name and a field value corresponding to the at least one back-end field name, wherein the field value corresponding to the at least one back-end field name is a blank item for filling application attribute information.
Optionally, the backend field name includes at least one of: back end port, storage volume capacity, and link information returned to the user interface;
and/or the number of the groups of groups,
the front end field name includes at least one of: cloud application name, description, ROOT password, and volume capacity.
Optionally, the cloud application publishing module 330 includes:
and the application program issuing unit is used for responding to the application program registration instruction aiming at the application configuration file, analyzing the application configuration file by adopting a driver program matched with the application configuration file, generating an application program matched with a programming language adapted by the cloud platform, and issuing the application program on the cloud platform.
Optionally, the cloud application publishing device further includes:
the application program running module is used for responding to the program running instruction matched with the application program to run the application program on the cloud platform after generating the application program matched with the programming language matched with the cloud platform and issuing the application program on the cloud platform, and generating a front-end interface for performing man-machine interaction;
wherein, the front end interface comprises: and the application attribute information is added for the front-end application template.
Optionally, the back-end server application template and the front-end application template are both JSON format.
The cloud application publishing device provided by the embodiment of the invention can execute the cloud application publishing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, and as shown in fig. 4, the electronic device includes a processor 40 and a memory 41; the number of processors 40 in the electronic device may be one or more, one processor 40 being taken as an example in fig. 4; the processor 40 and the memory 41 in the electronic device may be connected by a bus or otherwise, in fig. 4 by way of example.
The memory 41 is used as a computer readable storage medium, and may be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to a cloud application publishing method in an embodiment of the present invention (for example, an application template obtaining module 310, a configuration file generating module 320, and a cloud application publishing module 330 in a cloud application publishing device). The processor 40 executes various functional applications of the electronic device and data processing, that is, implements the cloud application publishing method described above, by running software programs, instructions, and modules stored in the memory 41.
The method comprises the following steps:
obtaining at least one general application template, wherein the general application template comprises the following steps: at least one blank item for filling application attribute information;
generating an application configuration file matched with the cloud application to be distributed according to application attribute information matched with the cloud application to be distributed, wherein the application attribute information is added for blank items in the at least one general application template;
and responding to an application program registration instruction aiming at the application configuration file, and issuing the cloud application on a cloud platform.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 41 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example five
A fifth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program for executing a cloud application publishing method when executed by a computer processor, the method comprising:
obtaining at least one general application template, wherein the general application template comprises the following steps: at least one blank item for filling application attribute information;
generating an application configuration file matched with the cloud application to be distributed according to application attribute information matched with the cloud application to be distributed, wherein the application attribute information is added for blank items in the at least one general application template;
and responding to an application program registration instruction aiming at the application configuration file, and issuing the cloud application on a cloud platform.
Of course, the storage medium provided by the embodiments of the present invention and including the computer executable instructions is not limited to the method operations described above, and may also perform the related operations in the cloud application publishing method provided by any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the cloud application publishing device, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (7)

1. The cloud application publishing method is characterized by being applied to an industrial Internet cloud platform and comprising the following steps of:
obtaining at least one general application template, wherein the general application template comprises the following steps: at least one blank item for filling application attribute information;
generating an application configuration file matched with the cloud application to be distributed according to application attribute information matched with the cloud application to be distributed, wherein the application attribute information is added for blank items in the at least one general application template;
issuing the cloud application on a cloud platform in response to an application registration instruction for the application configuration file;
the universal application template comprises: the back-end server applies the template;
before obtaining the at least one generic application template, further comprising:
acquiring basic constituent elements of a back-end program of at least one published cloud application in the cloud platform;
determining at least one back-end field name included in the back-end server application template according to the basic constituent elements of the back-end program;
constructing the back-end server application template by using the at least one back-end field name according to a preset generation protocol matched with the general application template;
the field value corresponding to at least one back-end field name in the back-end server application template is a blank item for filling application attribute information;
the responding to the application program registration instruction for the application configuration file, the cloud application is issued on a cloud platform, and the method comprises the following steps:
responding to an application program registration instruction aiming at the application configuration file, analyzing the application configuration file by adopting a driver matched with the application configuration file, generating an application program matched with a programming language adapted by the cloud platform, and publishing on the cloud platform;
after the application program matched with the programming language adapted by the cloud platform is generated and released on the cloud platform, the method further comprises the steps of:
responding to a program running instruction matched with the application program, running the application program on the cloud platform, and generating a front-end interface for human-computer interaction;
wherein, the front end interface comprises: and the application attribute information is added for the universal application template.
2. The method of claim 1, wherein the generic application template comprises: a front end application template;
the front-end application template includes: the system comprises at least one front-end field name and a field value corresponding to the at least one front-end field name, wherein the field value corresponding to the at least one front-end field name is a specified item of a front-end page.
3. The method of claim 2, wherein the backend field names comprise at least one of: back end port, storage volume capacity, and link information returned to the user interface;
and/or the number of the groups of groups,
the front end field name includes at least one of: cloud application name, description, ROOT password, and volume capacity.
4. The method of claim 2, wherein the back-end server application template and the front-end application template are both JSON format.
5. A cloud application publishing device, comprising:
the application template acquisition module is used for acquiring at least one general application template, and the general application template comprises the following components: at least one blank item for filling application attribute information;
the configuration file generation module is used for responding to the application attribute information which is added for the blank items in the at least one general application template and is matched with the cloud application to be distributed, and generating an application configuration file matched with the cloud application;
the cloud application issuing module is used for issuing the cloud application on a cloud platform in response to an application program registration instruction aiming at the application configuration file;
the universal application template comprises: the back-end server applies the template;
the cloud application publishing device further comprises:
the basic component element acquisition module is used for acquiring basic component elements of a back-end program of at least one published cloud application in the cloud platform before acquiring at least one general application template;
the back-end field name determining module is used for determining at least one back-end field name included in the back-end server application template according to basic constituent elements of the back-end program;
the back-end server application template construction module is used for constructing the back-end server application template by using the at least one back-end field name according to a preset generation protocol matched with the universal application template; the field value corresponding to at least one back-end field name in the back-end server application template is a blank item for filling application attribute information;
the cloud application publishing module comprises:
an application program issuing unit, configured to respond to an application program registration instruction for the application configuration file, analyze the application configuration file by using a driver program matched with the application configuration file, generate an application program matched with a programming language adapted by the cloud platform, and issue the application program on the cloud platform;
the cloud application publishing device further comprises:
the application program running module is used for responding to the program running instruction matched with the application program to run the application program on the cloud platform after generating the application program matched with the programming language adapted to the cloud platform and issuing the application program on the cloud platform, and generating a front-end interface for performing man-machine interaction;
wherein, the front end interface comprises: and the application attribute information is added for the universal application template.
6. An electronic device, the device comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the cloud application publishing method of any of claims 1-4.
7. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the cloud application distribution method according to any of claims 1-4.
CN201910750668.0A 2019-08-14 2019-08-14 Cloud application publishing method, device, equipment and storage medium Active CN112394972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910750668.0A CN112394972B (en) 2019-08-14 2019-08-14 Cloud application publishing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910750668.0A CN112394972B (en) 2019-08-14 2019-08-14 Cloud application publishing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112394972A CN112394972A (en) 2021-02-23
CN112394972B true CN112394972B (en) 2023-12-19

Family

ID=74601497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910750668.0A Active CN112394972B (en) 2019-08-14 2019-08-14 Cloud application publishing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112394972B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265652B (en) * 2021-12-14 2023-10-31 阿里巴巴(中国)有限公司 UI interface display method and device, cloud server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161799A1 (en) * 2017-03-08 2018-09-13 中兴通讯股份有限公司 Cloud application deployment method and system
CN108733374A (en) * 2018-05-22 2018-11-02 深圳壹账通智能科技有限公司 Application program homepage development approach and terminal device
CN109213478A (en) * 2018-09-13 2019-01-15 国云科技股份有限公司 A method of the self-defined template based on cloudy platform creates application
CN109271142A (en) * 2018-07-24 2019-01-25 武汉空心科技有限公司 Exploitation cloud platform based on template component
CN109614138A (en) * 2018-12-03 2019-04-12 湖南舜康信息技术有限公司 A kind of application integration and dissemination method and system based on container cloud

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140280484A1 (en) * 2013-03-15 2014-09-18 Oliver Klemenz Dynamic Service Extension Infrastructure For Cloud Platforms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161799A1 (en) * 2017-03-08 2018-09-13 中兴通讯股份有限公司 Cloud application deployment method and system
CN108733374A (en) * 2018-05-22 2018-11-02 深圳壹账通智能科技有限公司 Application program homepage development approach and terminal device
CN109271142A (en) * 2018-07-24 2019-01-25 武汉空心科技有限公司 Exploitation cloud platform based on template component
CN109213478A (en) * 2018-09-13 2019-01-15 国云科技股份有限公司 A method of the self-defined template based on cloudy platform creates application
CN109614138A (en) * 2018-12-03 2019-04-12 湖南舜康信息技术有限公司 A kind of application integration and dissemination method and system based on container cloud

Also Published As

Publication number Publication date
CN112394972A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
EP3876116B1 (en) Method and apparatus for running mini program, electronic device, and storage medium
CN107402746B (en) Method and device for automatically generating code file
CN106997298B (en) Application resource acquisition method and device
US20150128110A1 (en) Mobile application development and deployment
CN110990008B (en) Page updating method and device, storage medium and electronic equipment
CN103294598A (en) Method and device for source code inspection
CN111414350A (en) Service generation method and device
US20220284371A1 (en) Method, device and medium for a business function page
US20180025162A1 (en) Application program analysis apparatus and method
CN110727429B (en) Front-end page generation method, device and equipment
CN116028028B (en) Request function generation method, device, equipment and storage medium
CN112394972B (en) Cloud application publishing method, device, equipment and storage medium
CN112130830A (en) Interface generation method and device and electronic equipment
CN111767096A (en) Interface document generation method, device, equipment and computer readable storage medium
CN111857656A (en) Data processing method and device, electronic equipment and storage medium
CN111125597A (en) Webpage loading method, browser, electronic equipment and storage medium
CN113760266B (en) Method and device for creating function module file and electronic equipment
CN112632333A (en) Query statement generation method, device, equipment and computer readable storage medium
Wassyng et al. To do or not to do: If the requirements engineering payoff is so good, why aren't more companies doing it?
CN113239328B (en) Service function acquisition method and device, electronic equipment and storage medium
CN117008920A (en) Engine system, request processing method and device, computer equipment and storage medium
CN115292641A (en) Page generation method, device, server and storage medium
CN107506299A (en) A kind of code analysis methods and terminal device
CN109783134B (en) Front-end page configuration method and device and electronic equipment
CN114090002A (en) Front-end interface construction method and device, electronic equipment and storage medium

Legal Events

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