CN107943543A - A kind of method and computer equipment of WEB application heat deployment - Google Patents
A kind of method and computer equipment of WEB application heat deployment Download PDFInfo
- Publication number
- CN107943543A CN107943543A CN201711228422.4A CN201711228422A CN107943543A CN 107943543 A CN107943543 A CN 107943543A CN 201711228422 A CN201711228422 A CN 201711228422A CN 107943543 A CN107943543 A CN 107943543A
- Authority
- CN
- China
- Prior art keywords
- web application
- application function
- renewal
- files
- configuration information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of method of WEB application heat deployment, and the configuration information of WEB application function is stored using JSON formatted files, and each WEB application function has unique numbering;The JSON formatted files of each WEB application function are exported as into compressed file;It is online to import compressed file, and specified directory is decompressed to by server-side;Call background service to scan the catalogue, WEB application function is uniquely numbered as Key to store the configuration information of WEB application function, and be cached in server memory;When WEB application function has renewal, necessary compliance inspection is carried out to the JSON files of the WEB application function of renewal, detection is errorless, then completes the renewal of WEB application program.The invention enables WEB application in deployment, it is not necessary to restart running environment server middleware, the online WEB application bag that imports can complete the deployment or renewal of WEB application.
Description
Technical field
The present invention relates to a kind of method and computer equipment of WEB application heat deployment.
Background technology
So-called heat deployment, exactly upgrades software when application is currently running, and is applied without restarting.At present
The deployment of WEB application, such as .NET frameworks or J2EE frameworks, are required for first stopping server middleware, then renewal application
Installation kit, then starts server middleware, and WEB application can access, because to stop server middleware, can cause answering
It is longer with deployment or reproducting periods, the time that service can not be provided.
The content of the invention
The technical problem to be solved in the present invention, is to provide a kind of method of WEB application heat deployment so that WEB application exists
During deployment, it is not necessary to restart running environment server middleware, the online WEB application bag that imports can complete the deployment of WEB application
Or renewal.
What the present invention was realized in:A kind of method of WEB application heat deployment, including:
Step S1, the configuration information of WEB application function, each WEB application function tool are stored using JSON formatted files
There is unique numbering;
Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, the root mesh of the compressed file
Record entitled WEB application function uniquely to number, the content under catalogue is the JSON formatted files of WEB application function;
Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had, there are mesh
Record, then the All Files under overlay directory;
Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered as Key to store
The configuration information of WEB application function, and be cached in server memory;
Step S5, when WEB application function has renewal, the JSON files progress to the WEB application function of renewal is necessary
Compliance inspection, detection is errorless, then completes the renewal of WEB application program.
Further, the configuration information of each WEB application function includes HTML displayings content, data script and business
Logic script.
The present invention also provides a kind of computer equipment, including memory, processor and storage on a memory and can located
The computer program run on reason device, the processor realize following steps when performing described program:
Step S1, the configuration information of WEB application function, each WEB application function tool are stored using JSON formatted files
There is unique numbering;
Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, the root mesh of the compressed file
Record entitled WEB application function uniquely to number, the content under catalogue is the JSON formatted files of WEB application function;
Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had, there are mesh
Record, then the All Files under overlay directory;
Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered as Key to store
The configuration information of WEB application function, and be cached in server memory;
Step S5, when WEB application function has renewal, the JSON files progress to the WEB application function of renewal is necessary
Compliance inspection, detection is errorless, then completes the renewal of WEB application program.
Wherein, the configuration information of each WEB application function includes HTML displayings content, data script and service logic
Script.
The invention has the advantages that:The invention enables WEB application in deployment, it is not necessary to restart running environment server
Middleware, so as to uninterruptedly provide service when supporting that WEB application daily 24 is small;The online peace for importing WEB application compressed file
Dress bag can complete the deployment or renewal of WEB application, so as to support rapid deployment and the renewal of WEB application.
Embodiment
The method of the WEB application heat deployment of the present invention, including:
Step S1, the configuration information of WEB application function, each WEB application function tool are stored using JSON formatted files
There is unique numbering;The configuration information of each WEB application function includes HTML displayings content, data script and service logic
Script;Each WEB application function corresponds to multiple JSON formatted files, each WEB application program installation kit is by these
The application function file of JSON forms is formed.
Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, which is
WEB application program installation kit, it can be zip forms or extended formatting, the entitled WEB application function of root of the compressed file
Unique to number, the content under catalogue is the JSON formatted files of WEB application function;
Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had, there are mesh
Record, then the All Files under overlay directory;
Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered as Key to store
The configuration information of WEB application function, and be cached in server memory;
Step S5, when WEB application function has renewal, the JSON files progress to the WEB application function of renewal is necessary
Compliance inspection, including numbering whether be empty, function title whether be sky etc. inspection, after detecting errorless, then completing WEB should
With the renewal of program.
The present invention also provides a kind of computer equipment, including memory, processor and storage on a memory and can located
The computer program run on reason device, the processor realize following steps when performing described program:
Step S1, the configuration information of WEB application function, each WEB application function tool are stored using JSON formatted files
There is unique numbering;The configuration information of each WEB application function includes HTML displayings content, data script and service logic
Script;Each WEB application function corresponds to multiple JSON formatted files, each WEB application program installation kit is by these
The application function file of JSON forms is formed.
Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, which is
WEB application program installation kit, it can be zip forms or extended formatting, the entitled WEB application function of root of the compressed file
Unique to number, the content under catalogue is the JSON formatted files of WEB application function;
Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had, there are mesh
Record, then the All Files under overlay directory;
Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered as Key to store
The configuration information of WEB application function, and be cached in server memory;
Step S5, when WEB application function has renewal, the JSON files progress to the WEB application function of renewal is necessary
Compliance inspection, including numbering whether be empty, function title whether be sky etc. inspection, after detecting errorless, then completing WEB should
With the renewal of program.
For the present invention by setting WEB application middleware, this middleware can perform the HTML displaying contents of WEB application,
Data script and service logic script;Then HTML displayings content, data script and the service logic script of WEB application are packaged in
In WEB application program installation kit;WEB application middleware is responsible for the deployment of WEB application program bag, renewal;Should the invention enables WEB
During used in deployment, it is not necessary to running environment server middleware is restarted, so as to uninterruptedly be carried when supporting that WEB application daily 24 is small
For service;The online installation kit for importing WEB application compressed file can complete the deployment or renewal of WEB application, so as to support WEB
The rapid deployment of application and renewal.
Although the foregoing describing the embodiment of the present invention, those familiar with the art should manage
Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, are familiar with this
The equivalent modification and change that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's
In scope of the claimed protection.
Claims (4)
- A kind of 1. method of WEB application heat deployment, it is characterised in that:Including:Step S1, the configuration information of WEB application function is stored using JSON formatted files, each WEB application function has only One numbering;Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, the root name of the compressed file Uniquely numbered for WEB application function, the content under catalogue is the JSON formatted files of WEB application function;Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had there are catalogue, All Files under overlay directory;Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered and is answered as Key to store WEB With the configuration information of function, and it is cached in server memory;Step S5, when WEB application function has renewal, necessary conjunction rule are carried out to the JSON files of the WEB application function of renewal Property inspection, detection it is errorless, then complete WEB application program renewal.
- A kind of 2. method of WEB application heat deployment according to claim 1, it is characterised in that:Each WEB application work( The configuration information of energy includes HTML displayings content, data script and service logic script.
- 3. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the processor realizes following steps when performing described program:Step S1, the configuration information of WEB application function is stored using JSON formatted files, each WEB application function has only One numbering;Step S2, the JSON formatted files of each WEB application function are exported as into compressed file, the root name of the compressed file Uniquely numbered for WEB application function, the content under catalogue is the JSON formatted files of WEB application function;Step S3, compressed file is imported online, and specified directory is decompressed to by server-side, if had there are catalogue, All Files under overlay directory;Step S4, call background service to scan the catalogue, WEB application function is uniquely numbered and is answered as Key to store WEB With the configuration information of function, and it is cached in server memory;Step S5, when WEB application function has renewal, necessary conjunction rule are carried out to the JSON files of the WEB application function of renewal Property inspection, detection it is errorless, then complete WEB application program renewal.
- 4. computer equipment according to claim 3, it is characterised in that:The configuration information of each WEB application function Include HTML displayings content, data script and service logic script.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711228422.4A CN107943543B (en) | 2017-11-29 | 2017-11-29 | WEB application hot deployment method and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711228422.4A CN107943543B (en) | 2017-11-29 | 2017-11-29 | WEB application hot deployment method and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107943543A true CN107943543A (en) | 2018-04-20 |
CN107943543B CN107943543B (en) | 2022-01-14 |
Family
ID=61946682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711228422.4A Active CN107943543B (en) | 2017-11-29 | 2017-11-29 | WEB application hot deployment method and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107943543B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992290A (en) * | 2019-03-21 | 2019-07-09 | 深圳点猫科技有限公司 | The programming realization method and system that a kind of pair of desktop end program Intelligent hot updates |
CN110300109A (en) * | 2019-06-28 | 2019-10-01 | 合肥高维数据技术有限公司 | A kind of management method of server-side to client |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154239A1 (en) * | 2002-01-11 | 2003-08-14 | Davis Andrew Thomas | Java application framework for use in a content delivery network (CDN) |
US20080288547A1 (en) * | 2007-05-18 | 2008-11-20 | International Business Machines Corporation | Apparatus, system, and method for a data server-managed web services runtime |
US20120013931A1 (en) * | 2010-07-15 | 2012-01-19 | Sharp Kabushiki Kaisha | Multifunction apparatus |
CN102402427A (en) * | 2010-09-09 | 2012-04-04 | 阿里巴巴集团控股有限公司 | Method and device for updating Java application program |
US20140215452A1 (en) * | 2013-01-28 | 2014-07-31 | Red Hat, Inc. | Deployment Optimization for High Availability in a Multi-Tenant Platform-as-a-Service (PaaS) System |
CN104102502A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Processing method and device for realizing hot deployment and server |
CN104216700A (en) * | 2013-09-10 | 2014-12-17 | 侯金涛 | Cloud-computing-based HTML5 application packaging, installation, unloading and operation method and system |
CN104598277A (en) * | 2015-01-13 | 2015-05-06 | 北京中交兴路车联网科技有限公司 | Method for building mobile terminal applications, mobile terminal and system |
CN107133064A (en) * | 2017-03-16 | 2017-09-05 | 武汉斗鱼网络科技有限公司 | The hot update method of the page and device of native applications |
-
2017
- 2017-11-29 CN CN201711228422.4A patent/CN107943543B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030154239A1 (en) * | 2002-01-11 | 2003-08-14 | Davis Andrew Thomas | Java application framework for use in a content delivery network (CDN) |
US20080288547A1 (en) * | 2007-05-18 | 2008-11-20 | International Business Machines Corporation | Apparatus, system, and method for a data server-managed web services runtime |
US20120013931A1 (en) * | 2010-07-15 | 2012-01-19 | Sharp Kabushiki Kaisha | Multifunction apparatus |
CN102402427A (en) * | 2010-09-09 | 2012-04-04 | 阿里巴巴集团控股有限公司 | Method and device for updating Java application program |
US20140215452A1 (en) * | 2013-01-28 | 2014-07-31 | Red Hat, Inc. | Deployment Optimization for High Availability in a Multi-Tenant Platform-as-a-Service (PaaS) System |
CN104102502A (en) * | 2013-04-09 | 2014-10-15 | 腾讯科技(深圳)有限公司 | Processing method and device for realizing hot deployment and server |
CN104216700A (en) * | 2013-09-10 | 2014-12-17 | 侯金涛 | Cloud-computing-based HTML5 application packaging, installation, unloading and operation method and system |
CN104598277A (en) * | 2015-01-13 | 2015-05-06 | 北京中交兴路车联网科技有限公司 | Method for building mobile terminal applications, mobile terminal and system |
CN107133064A (en) * | 2017-03-16 | 2017-09-05 | 武汉斗鱼网络科技有限公司 | The hot update method of the page and device of native applications |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992290A (en) * | 2019-03-21 | 2019-07-09 | 深圳点猫科技有限公司 | The programming realization method and system that a kind of pair of desktop end program Intelligent hot updates |
CN110300109A (en) * | 2019-06-28 | 2019-10-01 | 合肥高维数据技术有限公司 | A kind of management method of server-side to client |
CN110300109B (en) * | 2019-06-28 | 2022-08-09 | 合肥高维数据技术有限公司 | Method for managing client by server |
Also Published As
Publication number | Publication date |
---|---|
CN107943543B (en) | 2022-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104793946B (en) | Dispositions method and system are applied based on cloud computing platform | |
CN107704356B (en) | Exception stack information acquisition method, device and computer readable storage medium | |
US9471474B2 (en) | Cloud deployment infrastructure validation engine | |
CN106610839B (en) | Method for issuing upgrade package, lightweight upgrade method, device and system | |
CN105446868B (en) | System compatibility test method, testing case management and relevant apparatus | |
CN110851756A (en) | Page loading method and device, computer readable storage medium and terminal equipment | |
CN105574416A (en) | Detection method and device of browser bug | |
CN113868126A (en) | Application debugging method, device and storage medium of equipment | |
US11748235B2 (en) | Framework for providing binary release isolation for parts of a web application | |
CN105468373A (en) | Branch merging method and device | |
CN107943543A (en) | A kind of method and computer equipment of WEB application heat deployment | |
CN109684125A (en) | A kind of method, apparatus, equipment and storage medium for repairing DDR physical damage | |
CN108170453A (en) | A kind of MIT method for upgrading system, storage medium and terminal device | |
CN105447349A (en) | Method and device for protecting derived symbol in so file | |
CN105700917A (en) | Method and apparatus for synchronizing DLL and database | |
CN110838929A (en) | System error checking method and system error checking device | |
CN103136036A (en) | System and method for function module order management | |
CN104750553A (en) | Application operating method and device | |
CN109144524B (en) | Version release method of subject game on education platform and electronic equipment | |
CN116028108A (en) | Method, device, equipment and storage medium for analyzing dependent package installation time | |
CN105446785A (en) | Method and system for unloading application program | |
CN106911634A (en) | A kind of login method and equipment | |
US8793663B2 (en) | Smart cache for a server test environment in an application development tool | |
CN109145000B (en) | Industrial real-time database OPC UA data interface implementation method | |
CN102981919B (en) | Memory management method of quickly positioning sources of errors |
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 | ||
CB02 | Change of applicant information |
Address after: 350000 unit 03, 21 / F, building 7, Fuzhou Software Park, No. 89, software Avenue, Gulou District, Fuzhou City, Fujian Province Applicant after: Yousuyun (Fujian) Technology Co.,Ltd. Address before: Room 513, building 11, area B, Fuzhou Software Park, 89 software Avenue, Gulou District, Fuzhou City, Fujian Province 350000 Applicant before: FUZHOU ZHIJIE INFORMATION TECHNOLOGY CO.,LTD. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |