CN104301338A - Cloud platform based automatic deploying method for application system - Google Patents
Cloud platform based automatic deploying method for application system Download PDFInfo
- Publication number
- CN104301338A CN104301338A CN201310295517.3A CN201310295517A CN104301338A CN 104301338 A CN104301338 A CN 104301338A CN 201310295517 A CN201310295517 A CN 201310295517A CN 104301338 A CN104301338 A CN 104301338A
- Authority
- CN
- China
- Prior art keywords
- project
- web server
- application
- path
- application system
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The present invention presents a cloud platform based automatic deploying method for an application system, the method comprising steps as follows: a user building a new project application by adding a self-defined function module based on a project application template provided by a cloud platform, and submitting a project issuing request after building; a cloud server automatically creating a project issuing path corresponding to the newly built project application after receiving the project issuing request, and meanwhile installing a web server to the path and assigning a port for the web server; storing the project issuing path and port information; packing the newly built project application into a deployable file and copying to the corresponding project issuing path; activating the web server to load the deployable file and issuing the project application as an accessible application system. To implement the present invention, the user only needs to consider how to design own application system better without considering the problem about installation and deployment, thereby greatly improving the service capability of a cloud design platform and user experiences.
Description
Technical field
The present invention relates to field of cloud calculation, particularly relate to the application system automatic deployment method based on cloud platform.
Background technology
The customized software demand of enterprise is the problem that traditional software service provider is difficult to balance always, in the face of the software user of " it is difficult to cater for all tastes ", software service providers have to drop into resource and the strength such as some research and development, maintenances individually for each customization demand, so go round and begin again and result in traditional software to be absorbed in market larger, drop into larger vicious circle.Cloud computing universal accelerates the understanding and use that people share for software and hardware resources, PAAS (Platform as a Service, namely platform serves) as the intermediate level of cloud computing service, merge IAAS (Infrastructure as a Service, namely infrastructure serve) and the software and hardware resources advantage of SAAS (Software as a Service), research/development platform is supplied to user as one service, allows software service providers seek a kind of good approach how solving product diversification and customization.
But the professional research staff in the user general main software-oriented field of existing PAAS platform, to facilitate the customization of product veritably, allows the software user of enterprise in person participate in customizing selection best beyond doubt.Be limited to the ability of amateur research staff, PAAS platform service provider needs the research and development service providing automation more, and is equipped with the deployment services of automation thereupon, is just ensured carrying out smoothly of product customization.
Summary of the invention
Based on above-mentioned background, the present invention proposes a kind of application system automatic deployment method based on cloud platform, and being intended to provides a kind of easy, effective method for carrying out based on the application system of cloud platform automatically issuing.
Main technical schemes of the present invention is:
Based on the application system automatic deployment method of cloud platform, comprise the following steps:
A. the project application template that provides based on cloud platform of user, builds new project application by adding self-defining functional module, has built rear submission project and has issued request;
B. after cloud server receives project issue request, automatically create and apply corresponding project issuing path with grassroot project, a web server is installed under this path simultaneously, and distribute port for it;
C. project issuing path and port information is preserved;
D. being packaged into by newly-built project application can deployment file under being copied to corresponding project issuing path;
E. start web server and load deployment file, project application is issued as addressable application system.
Further, in described step b, the corresponding web server of each newly-built project application.
Further, in described step b, for web server distribute port comprise: according to the port information preserved be web server distribute current unappropriated port.
Further, in described steps d, described newly-built project application to be comprised: the public module entirety user-defined functional module and project application template provided is packed.
Further, described application system within a certain period of time with described web server without after data interaction, temporary close web server.
Further, described web server comprises: the lightweight web server with automatic deployment function.
In this technical scheme, each self-defined application system on cloud platform has oneself exclusive web server, multiple application can not be there is when sharing a web server, affect the normal problem used of other application because certain application and trouble causes web server to stop service.Consider that project application and the man-to-man relation of web server may bring the problem of resource consumption or high cost, the technical program selects lightweight web server, and temporary close is long-time not by the web server used, to reduce resource occupation, cost-saving.Therefore, implementing the present invention, as long as user is concerned about the application system how designing oneself better, and without the need to considering installation and deployment problem, improve service ability and the Consumer's Experience of PAAS platform better.
Accompanying drawing explanation
The flow chart of the application system automatic deployment method based on cloud platform that Fig. 1 provides for the embodiment of the present invention;
The flow chart carrying out automatic deployment using Tomcat7 as web server that Fig. 2 provides for the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiments and the drawings, the present invention is set forth further.
Shown in Figure 1, the application system automatic deployment method based on cloud platform provided by the invention mainly comprises following step:
In step 101, the project application template provided based on cloud platform sets up new project application.Based on the project application template that user provides by cloud platform, add the personalized function module of designed, designed, thus build self-defining project application;
In step 102, judge whether user issues newly-built project application.User selects to issue, and performs step 103; Otherwise, return step 101 and continue edit item application;
In step 103, after cloud server receives project issue request, be that it creates the folder path for issuing automatically, and web server be installed under this path;
In step 104, cloud server according to the port information preserved, for web server distributes current unoccupied port.And preserve current issuing path and port information;
In step 105, newly-built project application is packaged into by cloud server can deployment file, and under being copied to corresponding issuing path.The file of packing comprises public module and user-defined functional module that project application template provides;
In step 106, start web server and load deployment file.
Cloud server starts web server by order, and the rear web server of startup loads the deployment file under issuing path automatically, and carries out configuration automatically and issue.
After automatic deployment completes, newly-built project application is issued as the application system can accessed at local client (as browser etc.).
What needs further illustrated is, in the present embodiment, whenever a newly-built project application, just for it installs a web server, to ensure that this project application normally runs, many application can not be produced when sharing a web server, affect the normal problem used of other application because a certain application and trouble causes web server to stop service.
Further, in the present embodiment, within a certain period of time, with the web server of application system without data interaction, temporarily closed, until the request that cloud server receives access application system is started, thus reduced resource occupation risk when many application run again.
Further, space size when considering that web server is run needed for self and resource consumption situation in conjunction with the technical scheme of the present embodiment, that the present embodiment chooses lightweight and there is the web server of automatic deployment function, such as Tomcat7 etc.
Fig. 2 is the flow chart of the specific embodiment carrying out automatic deployment using Tomcat7 as web server.
Tomcat is the open source projects that Apache Software Foundation (Apache Software Foundation) supports lower multiple companies engineering participation, due to its stable performance, advanced technology, light and handy installation kit and free, become web application server popular at present, 7.x is version up-to-date at present, and compared to version before, the new features of Tomcat7 to the web technology of current main-stream have had better support.
The present embodiment specifically comprises the following steps:
In step 201, based on the project application template that user provides by cloud platform, add the personalized function module of designed, designed, build self-defining B/S project application ProApp1;
In step 202, judge whether user issues newly-built project application ProApp1.If user selects to issue, perform step 203; Otherwise, return step 201 and continue edit item application ProApp1;
In step 203, after cloud server receives project issue request, be that it creates the folder path for issuing, such as %Server Path% ProApp1 automatically.Meanwhile, under Tomcat7 file bag being copied to this path;
The Tomcat7 that the present embodiment is selected is non-installation version, and the start file in direct startup file bag can start Tomcat.
In step 204, cloud server according to the port information preserved, for %Server Path% ProApp1 Tomcat under path distribute current unoccupied port;
Cloud server is the port address section that newly-built project application divides certain limit, such as from 10000, suppose that ProApp1 is the project application that on cloud server, first is issued, Tomcat7 distribution end port address 10001 then belonging to it, when the newly-built sundry item application of user, then dynamically increase, as 10002,10003 etc.For written-off project application, its port address should be reclaimed, to be dynamically assigned to the application of other grassroot projects.When cloud server is project application distribution port, whether occupiedly needs to detect the port distributed, if taken, then redistribute.
The issuing path of current project and port information are saved to the memory cell such as database or configuration file, to facilitate information inquiry and management.
In step 205, project application ProApp1 is packaged into by cloud server can deployment file, such as .war file, and be copied to %Server Path% ProApp1 under Tomcat7 under path specifies issuing path, be generally %Tomcat_Home% webapps.The file of packing comprises public module and user-defined functional module that project application template provides;
In step 206, after file copy completes, cloud server starts Tomcat7 by order, then Tomcat7 loads the deployment file under webapps path automatically, and automatically performs publish function and carry out project issue.
After automatic deployment completes, user can pass through browser access ProApp1 application system.
Cloud server regularly detects the data interaction state of the multiple Tomcat servers run, if there is the long-time and application system Tomcat without data interaction, then by its temporary close, until started again when receiving the access application system request that user sends.
What needs further illustrated is, those skilled in the art should recognize, the tomcat server used in the present embodiment and described collocation method are only illustrated to more clearly set forth technical scheme of the present invention, but not limitation of the present invention, technical scheme of the present invention is not limited in this.
The above, be only the present invention's preferably embodiment, to those skilled in the art, any do not depart from the present invention design prerequisite under, the some distortion made and improvement, all should be encompassed within protection scope of the present invention.
Claims (6)
1., based on the application system automatic deployment method of cloud platform, it is characterized in that, comprise the following steps:
A. the project application template that provides based on cloud platform of user, builds new project application by adding self-defining functional module, has built rear submission project and has issued request;
B. after cloud server receives project issue request, automatically create and apply corresponding project issuing path with grassroot project, a web server is installed under this path simultaneously, and distribute port for it;
C. project issuing path and port information is preserved;
D. being packaged into by newly-built project application can deployment file under being copied to corresponding project issuing path;
E. start web server and load deployment file, project application is issued as addressable application system.
2. method according to claim 1, is characterized in that, in described step b, and the corresponding web server of each newly-built project application.
3. method according to claim 1, is characterized in that, in described step b, distributes port comprise for web server:
According to the port information preserved be web server distribute current unappropriated port.
4. method according to claim 1, is characterized in that, in described steps d, describedly to be comprised by newly-built project application:
The public module entirety user-defined functional module and project application template provided is packed.
5. method according to claim 1, is characterized in that, described application system within a certain period of time with described web server without after data interaction, temporary close web server.
6. the method according to any one of claim 1,2,3,5, it is characterized in that, described web server comprises:
There is the lightweight web server of automatic deployment function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310295517.3A CN104301338A (en) | 2013-07-16 | 2013-07-16 | Cloud platform based automatic deploying method for application system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310295517.3A CN104301338A (en) | 2013-07-16 | 2013-07-16 | Cloud platform based automatic deploying method for application system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104301338A true CN104301338A (en) | 2015-01-21 |
Family
ID=52320906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310295517.3A Pending CN104301338A (en) | 2013-07-16 | 2013-07-16 | Cloud platform based automatic deploying method for application system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104301338A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224358A (en) * | 2015-09-07 | 2016-01-06 | 浪潮集团有限公司 | Under a kind of cloud computing software automatically pack dispose system and method |
WO2018161799A1 (en) * | 2017-03-08 | 2018-09-13 | 中兴通讯股份有限公司 | Cloud application deployment method and system |
CN108600282A (en) * | 2017-11-30 | 2018-09-28 | 深圳市牛鼎丰科技有限公司 | Micro services dissemination method, device, storage medium and computer equipment |
CN109542538A (en) * | 2018-11-22 | 2019-03-29 | 郑州云海信息技术有限公司 | A kind of management subsystem method and system |
CN110502228A (en) * | 2019-08-19 | 2019-11-26 | 上海艾卡士网络科技有限公司 | A method of VR content creation and generation VR application program based on cloud platform |
CN110502220A (en) * | 2018-05-16 | 2019-11-26 | 北京理工大学 | A kind of packaging method of cloud application |
WO2020020187A1 (en) * | 2018-07-23 | 2020-01-30 | Huawei Technologies Co., Ltd. | Application defined packaging |
US10684839B2 (en) | 2016-06-15 | 2020-06-16 | Red Hat Israel, Ltd. | Plugin for software deployment |
CN111931103A (en) * | 2020-07-09 | 2020-11-13 | 北京皮尔布莱尼软件有限公司 | Website deployment method |
CN113312040A (en) * | 2021-06-15 | 2021-08-27 | 浪潮云信息技术股份公司 | Method for realizing application release of low-code development platform and storage medium |
CN113821225A (en) * | 2021-09-02 | 2021-12-21 | 天津同阳科技发展有限公司 | Project module separate deployment method |
CN114546418A (en) * | 2022-04-22 | 2022-05-27 | 湖南云畅网络科技有限公司 | application platform of aPaaS all-in-one machine |
WO2024012514A1 (en) * | 2022-07-14 | 2024-01-18 | 华为云计算技术有限公司 | Cloud service-based practical operation evaluation method and related device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090241104A1 (en) * | 2008-03-20 | 2009-09-24 | Microsoft Corporation | Application management within deployable object hierarchy |
CN102200918A (en) * | 2010-03-23 | 2011-09-28 | 中兴通讯股份有限公司 | Method and device for deploying application program in server |
CN102236554A (en) * | 2011-07-18 | 2011-11-09 | 国家电网公司 | Construction platform, construction system and construction method of on-line application software |
CN102915248A (en) * | 2012-09-28 | 2013-02-06 | 用友软件股份有限公司 | Automatic deploying system and automatic deploying method of application system |
-
2013
- 2013-07-16 CN CN201310295517.3A patent/CN104301338A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090241104A1 (en) * | 2008-03-20 | 2009-09-24 | Microsoft Corporation | Application management within deployable object hierarchy |
CN102200918A (en) * | 2010-03-23 | 2011-09-28 | 中兴通讯股份有限公司 | Method and device for deploying application program in server |
CN102236554A (en) * | 2011-07-18 | 2011-11-09 | 国家电网公司 | Construction platform, construction system and construction method of on-line application software |
CN102915248A (en) * | 2012-09-28 | 2013-02-06 | 用友软件股份有限公司 | Automatic deploying system and automatic deploying method of application system |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224358A (en) * | 2015-09-07 | 2016-01-06 | 浪潮集团有限公司 | Under a kind of cloud computing software automatically pack dispose system and method |
US10684839B2 (en) | 2016-06-15 | 2020-06-16 | Red Hat Israel, Ltd. | Plugin for software deployment |
WO2018161799A1 (en) * | 2017-03-08 | 2018-09-13 | 中兴通讯股份有限公司 | Cloud application deployment method and system |
CN108574702A (en) * | 2017-03-08 | 2018-09-25 | 中兴通讯股份有限公司 | A kind of cloud application dispositions method and system |
CN108600282A (en) * | 2017-11-30 | 2018-09-28 | 深圳市牛鼎丰科技有限公司 | Micro services dissemination method, device, storage medium and computer equipment |
CN110502220A (en) * | 2018-05-16 | 2019-11-26 | 北京理工大学 | A kind of packaging method of cloud application |
WO2020020187A1 (en) * | 2018-07-23 | 2020-01-30 | Huawei Technologies Co., Ltd. | Application defined packaging |
CN109542538A (en) * | 2018-11-22 | 2019-03-29 | 郑州云海信息技术有限公司 | A kind of management subsystem method and system |
CN110502228A (en) * | 2019-08-19 | 2019-11-26 | 上海艾卡士网络科技有限公司 | A method of VR content creation and generation VR application program based on cloud platform |
CN111931103A (en) * | 2020-07-09 | 2020-11-13 | 北京皮尔布莱尼软件有限公司 | Website deployment method |
CN113312040A (en) * | 2021-06-15 | 2021-08-27 | 浪潮云信息技术股份公司 | Method for realizing application release of low-code development platform and storage medium |
CN113312040B (en) * | 2021-06-15 | 2022-09-27 | 浪潮云信息技术股份公司 | Method for realizing application release of low-code development platform and storage medium |
CN113821225A (en) * | 2021-09-02 | 2021-12-21 | 天津同阳科技发展有限公司 | Project module separate deployment method |
CN114546418A (en) * | 2022-04-22 | 2022-05-27 | 湖南云畅网络科技有限公司 | application platform of aPaaS all-in-one machine |
WO2024012514A1 (en) * | 2022-07-14 | 2024-01-18 | 华为云计算技术有限公司 | Cloud service-based practical operation evaluation method and related device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104301338A (en) | Cloud platform based automatic deploying method for application system | |
US10303450B2 (en) | Systems and methods for a policy-driven orchestration of deployment of distributed applications | |
CN106537338B (en) | Self-expanding clouds | |
CN111027921B (en) | Service processing method and device, electronic equipment and storage medium | |
US10447814B2 (en) | Joint servicing of software packages | |
CN102622241B (en) | A kind of method for upgrading software and device | |
CN104951360A (en) | Configuration management mode and device based on Docker | |
US20180253773A1 (en) | Customizing component configurations for utility computing | |
CN112486547B (en) | Application program updating method and device under multi-tenant scene and electronic equipment | |
CN104750555B (en) | Process management method and device in a kind of Android program | |
CN105187500A (en) | Container-based distributed storage system deployment method | |
US20170192773A1 (en) | Mobile applications | |
US10594800B2 (en) | Platform runtime abstraction | |
JP5414814B2 (en) | Customizing space in a network environment | |
CN112417051A (en) | Container arrangement engine resource management method and device, readable medium and electronic equipment | |
CN112230857B (en) | Hybrid cloud system, hybrid cloud disk application method and data storage method | |
CN106502797A (en) | A kind of group system and the dispositions method of group system | |
CN104731568A (en) | Application program operation method and device | |
CN116760705B (en) | Multi-tenant platform isolation management system and method based on comprehensive energy management system | |
CN114706690B (en) | Method and system for sharing GPU (graphics processing Unit) by Kubernetes container | |
CN106484458B (en) | Open type software warehouse management system and management method thereof | |
CN115543548A (en) | Container group configuration method, device, equipment and readable storage medium | |
WO2021062427A1 (en) | Multi-schema version support in data synchronization | |
CN113821307A (en) | Method, device and equipment for quickly importing virtual machine mirror image | |
CN106911741A (en) | A kind of method and NM server for virtualizing webmaster file download load balancing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150121 |
|
WD01 | Invention patent application deemed withdrawn after publication |