CN112394972A - 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
CN112394972A
CN112394972A CN201910750668.0A CN201910750668A CN112394972A CN 112394972 A CN112394972 A CN 112394972A CN 201910750668 A CN201910750668 A CN 201910750668A CN 112394972 A CN112394972 A CN 112394972A
Authority
CN
China
Prior art keywords
application
cloud
template
program
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910750668.0A
Other languages
Chinese (zh)
Other versions
CN112394972B (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

Images

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

Abstract

The embodiment of the invention discloses a cloud application publishing method, a cloud application publishing device, cloud application publishing equipment and a storage medium. The cloud application publishing method comprises the following steps: obtaining at least one universal application template, wherein the universal application template comprises: at least one blank item for filling in application attribute information; responding to the application attribute information which is added aiming at the blank items in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application; and responding to an application program registration instruction aiming at the application configuration file, and releasing the cloud application on a cloud platform. According to the technical scheme of 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 computer technology, in particular to a cloud application publishing method, device, equipment and storage medium.
Background
With the rapid development of the industrial internet cloud platform, more and more applications of different types are included in the cloud platform, convenience is brought to users, the applications included in the cloud platform can be created and used by the users at any time, especially for some applications with complex installation processes, the users can create and use the applications by inputting a small amount of relevant information of the cloud applications without complicated installation steps.
However, the application release process on the cloud platform is from application research to front-end and back-end coding to release, which often consumes a lot of time and labor cost, the whole process period is long and the efficiency is low, and in the cloud application release mode in the prior art, when a released application program is updated, a code update program needs to be generated and compiled to an operating environment again to enable the update to take effect, and the process may also need to restart the environment, which affects the use of users.
Disclosure of Invention
The embodiment of the invention provides a cloud application release method, a cloud application release device, cloud application release equipment and a storage medium, which realize rapid development and release of cloud application through a general application template, do not need a large amount of coding work, improve the working efficiency of developers and shorten the release period of the cloud application.
In a first aspect, an embodiment of the present invention provides a cloud application publishing method, where the method includes:
obtaining at least one universal application template, wherein the universal application template comprises: at least one blank item for filling in application attribute information;
responding to the application attribute information which is added aiming at the blank items in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and responding to an application program registration instruction aiming at the application configuration file, and releasing the cloud application on a cloud platform.
In a second aspect, an embodiment of the present invention further provides a cloud application publishing apparatus, where the apparatus includes:
an application template obtaining module, configured to obtain at least one general application template, where the general application template includes: at least one blank item for filling in application attribute information;
the configuration file generating module is used for responding to the application attribute information which is added aiming at the blank items in the at least one universal application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and the cloud application issuing module is used for responding to an application program registration instruction aiming at the application configuration file and issuing the cloud application on a cloud platform.
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 invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the cloud application publishing method provided in any embodiment of the present invention.
According to the technical scheme, at least one universal application template is obtained, the application attribute information matched with the cloud application to be issued is added to the blank items in the universal application template, the application configuration file matched with the cloud application is generated, and finally the cloud application is issued on the cloud platform through the received application program registration instruction aiming at the application configuration file, so that the cloud application is developed by using the universal application template, the cloud application is issued through the application program registration instruction, the workload of developers is reduced, and the cloud application development and issuing efficiency is improved.
Drawings
Fig. 1 is a flowchart of a cloud application publishing method in the first embodiment of the present invention;
fig. 2a is a flowchart of a cloud application publishing method in the second embodiment of the present invention;
FIG. 2b is a diagram of a front-end page provided in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cloud application distribution apparatus 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 present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a cloud application publishing method in an embodiment of the present invention, where the technical solution of this embodiment is suitable for a situation where cloud application development and publishing are performed based on an industrial internet cloud platform, and the method may be executed by a cloud application publishing device, and the device 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 in the application property information.
The generic application templates are generated in advance, each application template includes a field name for representing a basic component element of the cloud application and a blank item for filling application attribute information related to the field name, for example, the field name of the cloud application port definition part may be a target and a protocol, which respectively represent a port number and a communication type used by the cloud application to be published, and the corresponding blank item is used to fill information such as the port number and the communication protocol.
In this embodiment, before a developer issues a cloud application, the universal application template needs to be acquired, so that application attribute information of the cloud application to be issued is added to a blank item of the universal template, and rapid development of the cloud application is realized.
For example, the general application program includes a front-end program for generating a front-end page interacting with a user and a back-end program for implementing a background operation logic and a data saving and reading function, and on the basis, the general application template can be designed into two editable files respectively corresponding to the front-end program and the back-end program.
And step 120, responding to the application attribute information which is added aiming at the blank item in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application.
In this embodiment, when a developer issues a cloud application, the developer first needs to investigate a usage scenario, a deployment manner, and some advanced feature characteristics of the cloud application to be issued to determine some basic attribute information of the cloud application, and after the developer correspondingly adds the basic attribute information of the cloud application to be issued to the general application template, an application configuration file matched with the cloud application to be issued is obtained, where the application configuration file is used to provide the basic attribute information of the cloud application to be issued in a cloud application issuing process. For example, the basic attribute information of the cloud application may be platform resources required by the backend of the cloud application, including usage ports, storage space size, and link information required to return to the foreground of the user.
Step 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 generating the application configuration file matched with the cloud application to be published, the developer publishes the cloud application to be published to the cloud platform using the application registration instruction, specifically, in response to the developer inputting a corresponding application registration instruction, a preset driver matched with the application template is operated, and the application configuration file is automatically parsed into an application matched with a programming language adapted to the cloud platform.
For example, on the basis of designing a general application template into two editable files corresponding to front and back end programs respectively, after adding application attribute information with a release cloud application to a blank item of the template, two configuration files corresponding to the two files of the general application template respectively can be obtained, and after a developer inputs an application program registration instruction for the application configuration files, the two application configuration files are analyzed and processed to generate an application program adapted to a cloud platform to which the application is to be released, so that the release of the cloud application is completed.
According to the technical scheme, at least one universal application template is obtained, the application attribute information matched with the cloud application to be issued is added to the blank item in the universal application template, the application configuration file matched with the cloud application is generated, and finally the cloud application is issued on the cloud platform through the issued application program registration instruction aiming at the application configuration file, so that the cloud application is developed by using the universal application template, the cloud application is issued through the application program registration instruction, the workload of developers is reduced, and the cloud application development and issuing efficiency is improved.
Example two
Fig. 2 is a flowchart of a cloud application publishing method according to a second embodiment of the present invention, which is further detailed based on the above embodiment, and provides specific steps of responding to an application registration instruction for the application configuration file, publishing the cloud application on a cloud platform, and then publishing the cloud application. A cloud application publishing method in the second embodiment of the present invention is described below with reference to fig. 2, including the following steps:
step 210, obtaining at least one general application template, wherein the general application template comprises: at least one blank item for filling in the application property information.
Optionally, the universal application template includes: a back-end server application template;
before acquiring at least one common application template, the method further comprises the following steps:
acquiring basic constituent elements of a backend 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 composition 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 a general application template;
and in the application template of the back-end server, the field value corresponding to at least one back-end field name is a blank item for filling the application attribute information.
The back-end server application template is an editable file containing basic composition elements of a back-end program.
In the above optional embodiment, first, basic component elements required by a backend program of a cloud application that has been published before, such as application metadata, calculation, storage, a network, and the like, are obtained, then, a backend field name that needs to be defined in a backend server template is determined according to the backend program basic component elements, where the backend field name is in one-to-one correspondence with the backend program basic component elements and is used to prompt a developer to add basic attribute information of the cloud application to be published, which corresponds to the field name, in a blank item corresponding to the backend field name, and finally, a backend server application template is constructed by using the backend field name according to a preset generation protocol of a general application template. The preset generation protocol of the universal application template can specify the file number and the file format of the universal application template. For example, a generic application template may be specified to contain 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 ports, storage volume capacity, and link information returned to the user interface.
Illustratively, the backend server application template is of the form:
Figure BDA0002167074430000071
Figure BDA0002167074430000081
the application template of the back-end server defines platform resources required by cloud application release, wherein a ports part comprises two field names target and protocol, and two blank items corresponding to the port names target and protocol are used for inputting a port and a communication protocol 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 a storage volume allocated for the cloud application to be issued; the envs part represents a key value pair of the ROOT password of the cloud application, and the corresponding blank item is used for adding the ROOT password of the cloud application to be released; the endpoints part represents a key value pair of a Uniform Resource Locator (URL) corresponding to the cloud application, the corresponding blank item is used for adding the URL of the cloud application to be released, and the URL is returned to the user interface after the user successfully creates the cloud application. When a developer develops the cloud application according to the template, the application attribute information of the cloud application to be published is only required to be added into the blank item matched with the corresponding field name.
Optionally, the universal application template includes: front-end application templates;
the front-end application template comprises: the application attribute information 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 the application attribute information.
The front-end field name includes at least one of: cloud application name, description, ROOT password, and data volume capacity.
The front-end server application template is an editable file containing basic elements required by a front-end interface.
In this optional embodiment, the front-end application template corresponds to the front-end program and is used to generate a user interface, where the user interface includes relevant information of the cloud application to be created, which needs to be input when the user creates the cloud application.
Illustratively, the front-end application template is of the form:
Figure BDA0002167074430000091
Figure BDA0002167074430000101
Figure BDA0002167074430000111
the above defines that the user needs to input the list of "cloud application name", "description", "ROOT password", "data volume size" and the like when creating the cloud application on the page, and defines the required attributes and the like of these fields. Of course, the field value corresponding to the field name in the front-end application template can be flexibly adjusted according to the content input by the user when the cloud application is created. The front-end application template can be analyzed and generated by a front-end driver to generate a front-end program matched with a cloud platform which is to release the cloud application, the front-end program can be operated to generate a front-end page as shown in fig. 2b, and 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 size (1-20 characters) of a data volume which the cloud application needs to be allocated.
Optionally, the back-end server application template and the front-end application template are both in JSON format.
JSON (JSON Object 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 optional embodiment, the generation protocol for application template matching may define the generic application template format as a JSON format.
Step 220, responding to the application attribute information which is added aiming at the blank item in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application.
Taking development of the MySQL application program as an example, after application attribute information of the MySQL application program is correspondingly added to the application template of the back-end server, a back-end application configuration file is obtained as follows:
Figure BDA0002167074430000112
Figure BDA0002167074430000121
Figure BDA0002167074430000131
the ports in the back-end configuration file define that a port corresponding to the MySQL application is 3306 and a communication protocol is TCP, the volumes defines the storage capacity and the target storage position of a storage volume required by the MySQL application, and the endpoints defines link information returned to a 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 required to be displayed on a front-end page) required 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, is similar to the front-end application template, and is not repeated here.
Step 230, responding to an application program registration instruction for the application configuration file, adopting a driver matched with the application configuration file to analyze the application configuration file, generating an application program matched with a programming language adapted to the cloud platform, and issuing the application program on the cloud platform.
In this embodiment, after a developer inputs an application registration instruction for an application configuration file, a front-end driver and a back-end driver analyze the front-end configuration file and the back-end configuration file respectively to obtain an application program matched with a front-end and back-end programming language adapted to a cloud platform to be published (for example, the front-end configuration file is analyzed to generate an HTML or CSS language, the back-end configuration file is analyzed to generate a Java language or a C + + language, and the like), and 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 man-machine interaction;
wherein, the front end interface comprises: and the application attribute information added aiming at the front-end application template.
In this embodiment, after the front-end program is run, a front-end interface facing a 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 relevant information such as a name (required item), a description (not required item), and a ROOT password of the cloud application on a front-end page, and after the input is completed, a 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 of the embodiment, a back-end server application template and a front-end application template are respectively constructed through the acquired components of the back-end program and the basic components of the front-end program of the published cloud application, an application configuration file matched with the cloud application is generated in response to application attribute information which is added aiming at blank items in the general application template and is matched with the cloud application to be published, finally, a driving program matched with the application configuration file is adopted, the application configuration file is analyzed, the application program matched with a programming language matched with a cloud platform is generated, the application is published on the cloud platform, and a user only needs to input related information of the cloud application to be created on a front-end page to create the cloud application. On one hand, the universal application template and the driver are used, so that the workload of developers is reduced, the cloud application is developed and released quickly, on the other hand, a user can create an application program only by inputting related information, the complex operations of installation, uninstallation or updating 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 in a third embodiment of the present invention, where the cloud application publishing device includes: an application template acquisition module 310, a configuration file generation module 320, and a cloud application publication module 330.
An application template obtaining module 310, configured to obtain at least one general application template, where the general application template includes: at least one blank item for filling in application attribute information;
the configuration file generation module 320 is configured to generate an application configuration file matched with the cloud application to be published in response to application attribute information, which is added to a blank item in the at least one common application template and is matched with the cloud application;
the cloud application publishing module 330 is configured to respond to the application program registration instruction for the application configuration file and publish the cloud application on the cloud platform.
According to the technical scheme, at least one universal application template is obtained, the application attribute information matched with the cloud application to be issued is added to the blank item in the universal application template, the application configuration file matched with the cloud application is generated, and finally the cloud application is issued on the cloud platform through the issued application program registration instruction aiming at the application configuration file, so that the cloud application is developed by using the universal application template, the cloud application is issued through the application program registration instruction, the workload of developers is reduced, and the cloud application development and issuing efficiency is improved.
Optionally, the universal application template includes: a back-end server application template;
the cloud application publishing device further comprises:
the basic component acquiring module is used for acquiring basic component of a backend program of at least one released cloud application in the cloud platform before acquiring at least one universal application template;
a back-end field name determining module, configured to determine 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;
a back-end server application template construction module, configured to construct the back-end server application template by using the at least one back-end field name according to a preset generation protocol matched with a general application template;
and in the application template of the back-end server, the field value corresponding to at least one back-end field name is a blank item for filling the application attribute information.
Optionally, the universal application template includes: front-end application templates;
the front-end application template comprises: the application attribute information comprises at least one front end field name and a field value corresponding to 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 used for filling the application attribute information.
Optionally, the backend field name includes at least one of: the back end port, the storage volume capacity and the link information returned to the user interface;
and/or the presence of a gas in the gas,
the front-end field name includes at least one of: cloud application name, description, ROOT password, and data volume capacity.
Optionally, the cloud application publishing module 330 includes:
and the application program issuing unit is used for responding to an application program registration instruction aiming at the application configuration file, adopting a driving program matched with the application configuration file, analyzing the application configuration file, generating an application program matched with the programming language adapted to 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 a program running instruction matched with the application program after generating the application program matched with the programming language matched with the cloud platform and issuing the application program on the cloud platform, running the application program on the cloud platform and generating a front-end interface for man-machine interaction;
wherein, the front end interface comprises: and the application attribute information added aiming at the front-end application template.
Optionally, the back-end server application template and the front-end application template are both in 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 four
Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, as shown in fig. 4, the electronic device includes a processor 40 and a memory 41; the number of the processors 40 in the electronic device may be one or more, and one processor 40 is 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 other means, and the connection by the bus is exemplified in fig. 4.
The memory 41 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a cloud application publishing method in the embodiment of the present invention (for example, the application template obtaining module 310, the configuration file generating module 320, and the cloud application publishing module 330 in the cloud application publishing device). The processor 40 executes various functional applications and data processing of the electronic device by running software programs, instructions, and modules stored in the memory 41, that is, implements the cloud application distribution method described above.
The method comprises the following steps:
obtaining at least one universal application template, wherein the universal application template comprises: at least one blank item for filling in application attribute information;
responding to the application attribute information which is added aiming at the blank items in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and responding to an application program registration instruction aiming at the application configuration file, and releasing 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, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the 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 over 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
An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, where the computer program is used to execute a cloud application issuing method when executed by a computer processor, and the method includes:
obtaining at least one universal application template, wherein the universal application template comprises: at least one blank item for filling in application attribute information;
responding to the application attribute information which is added aiming at the blank items in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and responding to an application program registration instruction aiming at the application configuration file, and releasing the cloud application on a cloud platform.
Of course, the storage medium provided by the embodiment of the present invention and containing the computer-executable instructions is not limited to the method operations described above, and may also perform related operations in the cloud application issuing method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the cloud application distribution apparatus, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A cloud application publishing method is applied to an industrial Internet cloud platform and comprises the following steps:
obtaining at least one universal application template, wherein the universal application template comprises: at least one blank item for filling in application attribute information;
responding to the application attribute information which is added aiming at the blank items in the at least one item of general application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and responding to an application program registration instruction aiming at the application configuration file, and releasing the cloud application on a cloud platform.
2. The method of claim 1, wherein the generic application template comprises: a back-end server application template;
before acquiring at least one common application template, the method further comprises the following steps:
acquiring basic constituent elements of a backend 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 composition 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 a general application template;
and in the application template of the back-end server, the field value corresponding to at least one back-end field name is a blank item for filling the application attribute information.
3. The method according to claim 1 or 2, wherein the generic application template comprises: front-end application templates;
the front-end application template comprises: the method comprises the steps of obtaining 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.
4. The method of claim 3, wherein the back-end field names comprise at least one of: the back end port, the storage volume capacity and the link information returned to the user interface;
and/or the presence of a gas in the gas,
the front-end field name includes at least one of: cloud application name, description, ROOT password, and data volume capacity.
5. The method of claim 1, wherein publishing the cloud application on a cloud platform in response to application registration instructions for the application profile comprises:
and responding to an application program registration instruction aiming at the application configuration file, adopting a driver matched with the application configuration file to analyze the application configuration file, generating an application program matched with a programming language adapted to the cloud platform, and issuing the application program on the cloud platform.
6. The method of claim 5, after generating an application that matches a programming language adapted to the cloud platform and publishing on the cloud platform, further comprising:
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 man-machine interaction;
wherein, the front end interface comprises: and the application attribute information added aiming at the front-end application template.
7. The method of claim 3, wherein the back-end server application template and the front-end application template are both in JSON format.
8. A cloud application publishing device, comprising:
an application template obtaining module, configured to obtain at least one general application template, where the general application template includes: at least one blank item for filling in application attribute information;
the configuration file generating module is used for responding to the application attribute information which is added aiming at the blank items in the at least one universal application template and is matched with the cloud application to be issued, and generating an application configuration file matched with the cloud application;
and the cloud application issuing module is used for responding to an application program registration instruction aiming at the application configuration file and issuing the cloud application on a cloud platform.
9. An electronic device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the cloud application publication method of any of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud application publishing method as claimed in any one of claims 1 to 7.
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 true CN112394972A (en) 2021-02-23
CN112394972B 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)

Cited By (1)

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

Citations (6)

* 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
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

Patent Citations (6)

* 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
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN112394972B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
EP3876116B1 (en) Method and apparatus for running mini program, electronic device, and storage medium
US7613716B2 (en) Partitioning for model-based design
CN106997298B (en) Application resource acquisition method and device
CN107402746B (en) Method and device for automatically generating code file
CN111045655A (en) Page rendering method and device, rendering server and storage medium
AU2017254506B2 (en) Method, apparatus, computing device and storage medium for data analyzing and processing
CN103164191A (en) Method and device of webpage element dragging
CN110955410A (en) Automatic code generation method, device, equipment and medium
CN110990008B (en) Page updating method and device, storage medium and electronic equipment
CN112528619A (en) Page template file generation method and device, electronic equipment and storage medium
CN115756445A (en) Component generation method and device, electronic equipment and computer storage medium
CN112130830A (en) Interface generation method and device and electronic equipment
CN114064026A (en) Business processing model generation method and device, electronic equipment and storage medium
CN112394972B (en) Cloud application publishing method, device, equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
EP3885955A2 (en) Method and apparatus for identifying user, storage medium, and electronic device
CN114661402A (en) Interface rendering method and device, electronic equipment and computer readable medium
CN111857656B (en) Data processing method, device, electronic equipment and storage medium
US20130124686A1 (en) System and a Method for Sharing Computing Resources Associated to Scientific Publications
CN111580821B (en) Script binding method and device, electronic equipment and computer readable storage medium
CN117270838B (en) Method, device, equipment and medium for generating universal formula script
CN103544017A (en) Method and device for achieving LAMMPS calculation tasks
CN111444285A (en) Operation data configuration method and device
CN113239328B (en) Service function acquisition method and device, electronic equipment and storage medium
CN114817793B (en) Page generation method, device, 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