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 PDF

Info

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
Application number
CN201711228422.4A
Other languages
Chinese (zh)
Other versions
CN107943543B (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.)
Fuzhou Zhi Jie Mdt Infotech Ltd
Original Assignee
Fuzhou Zhi Jie Mdt Infotech 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 Fuzhou Zhi Jie Mdt Infotech Ltd filed Critical Fuzhou Zhi Jie Mdt Infotech Ltd
Priority to CN201711228422.4A priority Critical patent/CN107943543B/en
Publication of CN107943543A publication Critical patent/CN107943543A/en
Application granted granted Critical
Publication of CN107943543B publication Critical patent/CN107943543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

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

A kind of method and computer equipment of WEB application heat deployment
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)

  1. 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.
  2. 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. 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. 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.
CN201711228422.4A 2017-11-29 2017-11-29 WEB application hot deployment method and computer equipment Active CN107943543B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
CN103150231B (en) The method of computer booting and computer system
CN102929656B (en) Use method and the client of ActiveX plug-in in browser
WO2018227822A1 (en) Acquisition method and apparatus for abnormal stack information, and computer readable storage medium
CN105446868B (en) System compatibility test method, testing case management and relevant apparatus
CN103559065B (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN106610839B (en) Method for issuing upgrade package, lightweight upgrade method, device and system
CN102841780B (en) A kind ofly create and call the method and apparatus of general purpose module
CN110874315B (en) Test method, test device, electronic equipment and storage medium
CN105786538A (en) Software upgrading method and device based on Android system
CN104468777A (en) Data operating method and device
CN110851756A (en) Page loading method and device, computer readable storage medium and terminal equipment
CN105468373A (en) Branch merging method and device
CN105574416A (en) Detection method and device of browser bug
CN109806592A (en) A kind of monitoring method and device of game resource
CN107943543A (en) A kind of method and computer equipment of WEB application heat deployment
CN104346342A (en) Method and apparatus for loading Flash plug-in
CN105447349A (en) Method and device for protecting derived symbol in so file
CN102037448A (en) Device emulation support within a host data processing apparatus
CN103136036A (en) System and method for function module order management
CN104750553A (en) Application operating method and device
CN104239112B (en) A kind of installation method of device drive program and device
CN114003421B (en) Virtual machine timeout mechanism testing method, system, terminal and storage medium
CN113590052B (en) Information storage method, device, equipment and storage medium
CN106911634A (en) A kind of login method and equipment
CN102063365B (en) Method and device for recording operation information of single plate

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