CN108388440A - A kind of method that web application systems automatically update - Google Patents

A kind of method that web application systems automatically update Download PDF

Info

Publication number
CN108388440A
CN108388440A CN201810404752.2A CN201810404752A CN108388440A CN 108388440 A CN108388440 A CN 108388440A CN 201810404752 A CN201810404752 A CN 201810404752A CN 108388440 A CN108388440 A CN 108388440A
Authority
CN
China
Prior art keywords
server
updated
program
web application
application
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
Application number
CN201810404752.2A
Other languages
Chinese (zh)
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.)
Beijing Chen Sen Century Polytron Technologies Inc
Original Assignee
Beijing Chen Sen Century Polytron Technologies Inc
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 Beijing Chen Sen Century Polytron Technologies Inc filed Critical Beijing Chen Sen Century Polytron Technologies Inc
Priority to CN201810404752.2A priority Critical patent/CN108388440A/en
Publication of CN108388440A publication Critical patent/CN108388440A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The invention discloses a kind of methods that web application systems automatically update, including:Receive the more new command of web application systems, obtain web application systems program bag to be updated, obtain the corresponding server address of the program bag to be updated pre-saved, web application systems program bag to be updated is uploaded to server according to the server address, detects whether the program on the server is updated successfully.It solves and updates web application systems under the prior art manually there are efficiency low, the technical issues of being easy error.

Description

A kind of method that web application systems automatically update
Technical field
This application involves the O&M fields of computer system, and in particular to a kind of method that web application systems automatically update. The application is related to the device that a kind of and web application systems automatically update simultaneously.
Background technology
The application of computer system has spread all over the every field of social life, is changing traditional work, study And life style, the development of society is pushed, often covers and suffers from server in varying numbers behind computer system to ensure meter The stable operation of calculation machine system and continual provide service.Do not stop to increase with computer system user group, in order to full The access of sufficient day different huge user group, needs to put into more servers to ensure the stable operation of computer system.For The web application systems of a user group of mean people generally also include active and standby two sets of servers.And mainframe computer web application systems are by more A different program composition, each program is responsible for completing different functions, and each program of computer web system understands portion simultaneously In multiple servers, the geographical location of server can also be distributed in different places for administration.It is more complete in order to be provided to society simultaneously Face, more stable service, computer web system all can constantly carry out upgrading update.System manager under the prior art Using telnet server, the upgrading update operation of web application systems is manually completed.If necessary to newer number of servers It is huge, it is necessary to which that several system managers, which cooperate, to complete.And in upgrading updates operating process, unskilled situation is being operated Under, the newer efficiency of web application systems is low and easy error, influences the normal use of user.
Therefore, it can be seen from the prior art that there are efficiency is low for update web application systems manually, it is easy error Technical problem.
Invention content
The application provides a kind of newer method of web application systems, to solve to update web applications system manually under the prior art Uniting, it is low that there are efficiency, the technical issues of being easy to malfunction.
This application provides a kind of newer methods of web application systems, including:
The more new command for receiving web application systems, obtains web application systems program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Web application systems program bag to be updated is uploaded to server according to the server address;
Detect whether the program on the server is updated successfully.
Preferably, web application systems program's source code to be updated is compiled and is packaged by packaged service device, is generated Web application systems program bag to be updated;
Web application systems program bag to be updated is stored in packaged service device;
Packaged service device sends the more new command of the web application systems.
Preferably, described to obtain web application systems program bag to be updated, refer to being obtained from packaged service device Web application systems program bag to be updated.
Preferably, described to obtain the corresponding server address of the program bag to be updated pre-saved, refer to from data Library or configuration file obtain the list of server addresses of the program deployment to be updated.
Preferably, the list of server addresses, specially:The corresponding clothes of program are realized by the program that python writes The maintenance of business device address list.
Preferably, further include:
The server that first data of the list of server addresses is recorded is as current newer server;
Judge whether the application service of the current newer server starts;
If the application service of the server has been turned on, stop the application service of the server.
Preferably, further include:Receiving, application service that the current newer server returns is not actuated or stopped After message only, the newest program bag of application system is uploaded to the current newer server.
Preferably, described that application system program bag to be updated is uploaded to by service according to the server address Device further includes:If old program bag is replaced with new program bag by current newer server there are old program bag.
Preferably, whether the program on the detection server is updated successfully, including:
Whether the application service of newer program starts success on the current newer server of detection.
Preferably, detected in detection newer program on the server application service whether start successful step it Before, including:
After receiving the message that the newest program bag of application system that the current newer server returns uploads completion, The instruction for starting application service is sent to the current newer server;
Receive the information for the startup application service implementing result that the current newer server returns.
Preferably, the information for receiving the startup application service implementing result that the current newer server returns, Including:
It is current newer if receiving the successful information of startup application service that the current newer server returns Server update success;
Continue to send out to the next server according to next server address of the server data list records Send application system newer instruction;Using the next server as current newer server;
Above-mentioned steps are repeated, until the Servers-all recorded in the server data list is all updated successfully, Prompt application system is updated successfully.
Preferably, the information for restarting application service implementing result for receiving the current newer server and returning, Further include:
If receiving the information for starting application service failure that the current server returns at no point in the update process, stop The update of the application system and the instruction of alert or version rollback.
Preferably, in the step for updating the simultaneously instruction of alert or version rollback for stopping the web application systems After rapid, further include:
Again the more new command for receiving web application systems executes update operation.
The application provides a kind of device that web application systems automatically update simultaneously, including:
Instruction reception unit is updated, the more new command for receiving web application systems obtains the web application systems and waits for Newer program bag;
Server address acquiring unit, for obtaining the corresponding server address of program bag to be updated pre-saved;
Application program update unit, for according to the server address by web application systems program to be updated It wraps and reaches server;
Whether application program update detection unit, the program for detecting on the server are updated successfully.
The application provides a kind of electronic equipment that web application systems automatically update simultaneously, including:
Processor;
Memory, the program for storing the method that web application systems automatically update, described program is by the processor When reading execution, following operation is executed:
The more new command for receiving web application systems, obtains web application systems program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Web application systems program bag to be updated is uploaded to server according to the server address;
Detect whether the program on the server is updated successfully.
The application also provides a kind of method that application system program automatically updates simultaneously, including:
The more new command for receiving application system, obtains application system program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Application system program bag to be updated is uploaded to server according to the server address.
Detect whether the program on the server is updated successfully.
Compared with prior art, the method that web application systems provided by the present application automatically update, by receiving web applications The more new command of system obtains web application systems program bag clothes corresponding with the program bag to be updated pre-saved to be updated It is engaged in device address, program bag to be updated being uploaded to corresponding server, whether then detects program on corresponding server It is updated successfully.Web application systems are updated under the prior art manually to solve, it is low that there are efficiency, and the technology for being easy error is asked Topic.
Description of the drawings
Fig. 1 is a kind of method schematic diagram that web application systems automatically update that the application first embodiment provides;
Fig. 2 is a kind of schematic device that web application systems automatically update that the application first embodiment provides;
Fig. 3 is a kind of electronic equipment schematic diagram that web application systems automatically update that the application first embodiment provides;
Fig. 4 is the flow diagram that the chains programs that the application first embodiment provides automatically update.
Specific implementation mode
Many details are elaborated in the following description in order to fully understand the application.But the application can be with Much implement different from other manner described here, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
Fig. 1 is please referred to, Fig. 1 is the method that the web application systems that the application first embodiment provides automatically update.
Step S101 receives the more new command of web applications, the program bag for taking the web application systems to be updated.
This step starts web application systems more for receiving the web application systems more new command that packaged service device is sent out New process.
A set of software is finally delivering user in use, it is generally necessary to by multiple mistakes such as design, exploitation, test, publications Journey, each process be it is closely coupled connect, if lack which link or which link do it is not in place, all can be It is delivered for use or when later maintenance is susceptible to problem, for example, in publication, due to Version Control confusion, could not upload in time Newest source code causes the source code version of program to lag, or due to the variation of personnel, source code is caused to be lost, and is delivering user It after use, needs to change if there is problem, developer will take user's version currently in use from oss server first Source code, but due to Version Control confusion, developer does not take the source code of needs, at this moment, after just affecting software Phase safeguards and user uses.Meanwhile each development process can be subdivided into multiple points of processes again, for example, the development process of software Including general structure design, module design, programming, debugging of software etc. divide process, the issuing process of software to be also classified into multiple mistakes Journey has typically entered the process of publication after the test of software passes through, it is necessary first to upload the program's source code by test To oss server, oss server is used for storing the source code of each version of software, the exploit person that both conveniently can be newly added Member obtains source code and starts to work, and can preserve the source code of each version, if gone wrong in issuing process, also may be used Rolling back action is carried out easily to obtain old version from oss server.Oss server can use SVN (Subversion Abbreviation, be the version control system of an open source code) management that carries out source code version, by the source code of program to be updated After being uploaded to oss server, after packaged service device has the source code of program to be updated to upload on receiving oss server, from The source code that oss server obtains program to be updated is compiled and is packaged, and oss server can be in the source code of program to be updated After the completion of upload, the instruction of compiling and packing is sent to packaged service device.Packaged service device can also be periodically to oss server The source code for waiting for recent program is obtained, does not need the instruction that oss server sends compiling and is packaged, such as could be provided as every 10 Minute checks whether an oss server has the source code for uploading program to be updated, and the source code for having program to be updated is found when checking When upload, the source code that program to be updated at this moment will be obtained from oss server is compiled and is packaged, and finds do not have when checking When the source code of program to be updated uploads, it would not execute from oss server and obtain the mistake that newest source code is compiled and is packaged Journey.Packaged service device can certainly obtain newest source code to oss server manually, and still, automatic obtain is a kind of preferred Scheme, the purpose that the application automatically updates be exactly reduce manual operation.The process of compiling will exactly be designed using advanced procedures The program's source code of written is compiled into the binary language that computer can identify.After source code compiles successfully, work is reused Tool carries out packing processing to it, for example, source code is the weblication developed using Java language, application name is known as chains.After source code is compiled and is packaged by packaged service device, ultimately produces the file packet of a War and be stored in packing clothes Business device.This file packet is exactly source code after compiling and packing, the program bag to be updated that can be used for disposing of generation.
After program bag to be updated generates, following packaged service device will send the more new command of a web application system, For example, being updated to chains programs, specific renewal process can be referring to Fig. 4, then packaged service device will generate web applications The program bag to be updated for the chains programs that system can be used for disposing, then after the more new command of chains programs is sent, Indicate the renewal process for starting web application system chains program bags.If the source code uploaded is in the mistake for compiling and being packaged Cheng Zhong goes wrong, and could not generate the program bag to be updated for the chains programs that application system can be used for disposing, then being packaged clothes Business device would not send the more new command of web application system chains program bags, would not also start web application systems chains The renewal process of program.
In above step, after the source code of chains programs is compiled and is packaged by packaged service device, generating can The program bag to be updated of chains programs for deployment, and the update for having sent web application system chains program bags refers to It enables, after receiving the more new command of web application system chains program bags of packaged service device transmission, next just from packing Server obtains the newest program bags of web application systems chains.
Step S102 obtains the corresponding server address of the program bag to be updated pre-saved.
This step is used to inquire and obtain the Servers-all address of program bag deployment to be updated.
In previous step, refer in the update for the web application system chains program bags for receiving the transmission of packaged service device After order, also just obtain and need newer program name, i.e., newer program name is chains, next just to database or The corresponding server data list of chains programs is obtained in configuration file, is at least had recorded using journey in server data list The server address of sequence title deployment corresponding with the application program, that is, server ip address.
When server increase and decrease or server address change, it is necessary to be safeguarded to server data list, to clothes Safeguarding for business device data list can be realized by the one section of program write.It is used for for example, writing one section using python language The program of safeguard service device data list can pass through python when the quantity of the address of server or server changes The program that language is write modifies to the database or configuration file that preserve server address.For example, when newly increasing a clothes When business device, it is necessary to the server address newly increased be added in server data list, and portion will be corresponded on server The application name of administration is corresponding with server address, is recorded in list of server addresses.Python be it is a kind of towards The explanation type computer programming language of object is similar to script, without compiling, can directly run, use python The address list of the corresponding server of program is safeguarded, the efficiency of system maintenance work is improved.So system manager is only Need the address list for safeguarding the corresponding server of program, when program is updated, be directed toward manually without system manager Program server list to be updated is just inquired and is obtained to the address list of server automatically by program name to be updated Then the corresponding list of server addresses of program to be updated carries out subsequent update operation.
Under normal conditions, for the server of large-scale application system in order to cope with huge visit capacity, application program understands portion simultaneously Administration is on multiple servers, and multiple servers can also be deployed in different address locations, in this way, the access of user can be assigned to On different servers, while different servers can be also distributed according to the geographical location of user, thus program to be updated from The server that acquisition is inquired in server data list is multiple under normal conditions.And when system upgrade updates, sometimes for Better offer service, can increase server, and increased server can dispose the running environment of program, then distribution service The IP address of device, then the program write by python language safeguard server data list, by newly-increased server It is added to server data list.Running environment of the newly-increased server due to only deploying program, without program bag, so It, under normal conditions will be by service stopping in the case that running environment test passes through.
In the program write using python language by program name chains to be updated to server data list Inquiry, obtains the corresponding server data list of chains programs, inquires the server in the server data list of acquisition There can be two kinds of application service states, that is, the server that the old program bags of chains are provided out web application services is used With the newly-increased server for disposing chains program bags to be updated, the application service of the server of the latter is generally in pass Closed state.The server ip address recorded in the first data of the corresponding server data list of chains programs is taken, by this Server is as current newer server, and then whether the application service of the chains programs of the current newer server of judgement It is in operating status, if the application service of the chains programs of current newer server is in normal operating condition, to this Server sends the instruction for stopping chains program application services, what the server where receiving chains programs returned After the stopped information of chains program application services, the instruction for uploading program bag to be updated is then sent to the server. If the application service of the chains programs of current newer server is closed, it is possible to it is newly-increased server, Application service is not turned on, then the instruction for stopping chains program application services need not be sent to the server, but directly The instruction for uploading program bag to be updated is sent to the server.In this step only to the corresponding server data of chains programs The server recorded in first data of list is updated, if the application service of the chains programs of the server is in fortune Row state then only stops the application service of this server, and is then sent to the server and upload program bag to be updated Instruction, rather than the Servers-all recorded in the corresponding server data list of chains programs is all updated, particularly The application service for the server for disposing chains programs is all stopped, then is sent to the Servers-all of deployment chains programs Pass the instruction of program bag to be updated, use newer method one by one does not influence the normal use for accessing user because it is current only The server of a deployment chains program is stopped, user has just been pointed to other and has carried when accessing chains programs For the chains servers of application service, and after the completion of update, the application service of current update server will be started, then Next server is updated again, in this way, in the case where user normally accesses, so that it may to complete to update.If worked as Preceding server update failure, nor affects on the normal access of user, also because other servers are being provided to provide a user and answered With service.If the application service for the Servers-all for disposing chains programs all stopped, within the newer period Application service cannot be provided a user.Once update failure, server are restored, then server stops application The time of service will extend, and certainly will influence user's normal use.
Server needs to upgrade, then old program bag will be replaced by new program bag, is waited for more receiving chains After the uploading instructions of new procedures packet, according to the path of the program bag of specified chains deployment by the program bag portions to be updated chains Administration is on current server.If current newer server is before the update, it is being provided out application service, then usually In the case of, the program bag haveing been friends in the past is stored in the path of specified program bag deployment, old chains program bags will be replaced, because It is that program's source code is compiled and is packaged generation by packaged service device for program bag, have program stored therein packet on packaged service device Source program, so on current server need not the program bag old to chains retained or backed up, can directly delete It removes.If needing to obtain by version number using the program bag that chains is old on current server if necessary The corresponding source code of the old program bags of chains, then re-start compiling and can be used after being packaged.Or from packaged service device The old program bags of chains are obtained by version number to be used.
Program bag to be updated replaces old program bag and needs a period of time, and uplink time is to be updated by what is generated The size and net spee of program bag determine, during upload, if current newer server ran old chains Program bag, then needing to delete old chains program bags, after the completion of deleting old chains program bags, then Chains program bags to be updated are just uploaded automatically, can monitor the process of upload in real time, for example, can monitor old The deletion progress of process and entire degree packet that file in chains program bags is deleted one by one, can also monitor to be updated The progress that the process and program bag that file in chains program bags uploads one by one entirely upload.In entire chains to be updated Program bag is completed after uploading, and the message for uploading and completing will be sent, the step of to continue next update.
Step S104, detects whether the program on the server is updated successfully.
This step is used for after program bag to be updated to be uploaded to current newer server, and detection is when current newer Whether the program on server is updated successfully.
In previous step, the program bag to be updated of chains has sent one after completing to upload on current server Item uploads the message completed, and is next exactly the clothes for starting present procedure update and completing after receiving the message for uploading and completing The application service of chains program bags on business device, because chains programs are a web application journey developed using Java language Sequence, so also needing to start the application service of chains programs.Starting the result meeting that application service executes, there are two types of situations to occur, One is starting successfully, another is exactly to start failure.Start successfully, illustrates that updated weblication can be normal Application service is provided, since program bag to be updated all have passed through test before publication, so if on current server Application service restart successfully, then illustrating the deployment success under the running environment of current server.However, by the end of mesh Before, the program bag to be updated of chains only has updated on a server, that is, the corresponding server list of chains programs First server, First server update success after, next also need to in server list other service Device is updated, then the step of just having come back to the corresponding server list of reading chains programs at this time, by server The second data in list, that is, second server are used as current newer server, more to second server Whether since new step can start judge the application service of current newer server, if application service has been turned on, that Just application service is stopped, then current server is executed and replaces program bag, start chains application services, is then checked The implementation procedure whether program on current newer server is updated successfully, this process is a process repeated, After the update of current server operates successfully, the next server address that will be successively read in server list, and to it Newer process is executed, until reading the last one server address, when in the corresponding server list of chains programs Servers-all all deploys program bag to be updated, and when Servers-all normally can externally provide application service, says The update of bright chains programs is completed.Then the message that web application system chains programs are updated successfully is sent out.At this point, The entire renewal process of chains programs successfully completes, and exits update operation.
In the renewal process of system, the application service that also will appear current newer server starts the case where failing, Another situation of startup application service implementing result namely described above, starting the case where application service fails may There is any server at no point in the update process, if starting application service failure, illustrates occur during newer Problem, causes application service that can not normally provide application service, once there is the case where startup application service failure, The newer process of web application systems will be terminated, and to system manager's alert, prompt system administrator program exists It there is a problem during newer, need to stop updating, next need to handle the case where update failure, search more It the reason of new failure, although chains program bags to be updated have passed through stringent test before publication, may also deposit In some unpredictable situations, for example, test environment and actual motion environment have differences, caused compatibility issue to Newer server application service is caused to start failure, it is also possible to which application service caused by some other factors, which starts, loses It loses.The reason of will likely being caused unsuccessfully according to the error indication for starting failure is needed to arrange one by one the lookup of update failure cause It removes, to solve the problems, such as.But the lookup for updating failure cause needs the time, and the time is unpredictable, so in order to more preferable Offer service, need to carry out version rollback processing to newer server is completed, version rollback processing is exactly that will update Server program version return back to update before legacy version to continue provide application service, without influence user it is normal It accesses.Legacy version obtain can by the corresponding source code of version number of old program bag, then re-start compiling and be packaged after just It can use.Or old program bag is obtained by version number from packaged service device and is used.Version rollback processing is one Kind updates a kind of alternative processing mode under failure scenarios in program, neither influences the normal access of user, also reduces journey simultaneously Economy or otherwise loss caused by sequence update failure.
By starting the lookup of failure cause to application service, the reason of causing application service to start failure has been locked, from And solve the problems, such as, the renewal process of program to be updated next can be restarted, it is corresponding to the new program bag of generation Server is updated, to complete the update operation of program to be updated.
In the above-described embodiment, a kind of method that application system automatically updates, corresponding, the application are provided A kind of device that application system automatically updates is provided simultaneously, please refers to Fig. 2.
The device that a kind of application system provided in this embodiment automatically updates, including:
Instruction reception unit 201 is updated, the more new command for receiving web application systems obtains described using web system Program bag to be updated;
Server address acquiring unit 202, for obtaining the corresponding server of program bag to be updated pre-saved Location;
Application program update unit 203, for according to the server address by web application systems journey to be updated Sequence, which is wrapped, reaches server;
Whether application program update detection unit 204, the program for detecting on the server are updated successfully.
The application provides a kind of electronic equipment that application system automatically updates simultaneously, please refers to Fig. 3.
The electronic equipment that a kind of application system that the application provides simultaneously automatically updates, including:
Processor 301;
Memory 302, for the program for the method that storage application system automatically updates, described program is by the processor When reading execution, following operation is executed:
The more new command for receiving application system, obtains application system program bag to be updated;
Obtain the server address of the program bag to be updated of the server list record pre-saved;
Application system program bag to be updated is uploaded to server according to the server address;
Detect whether the program on the server is updated successfully.
The application goes back while providing a kind of method that application system automatically updates, including:
The more new command for receiving application system, obtains application system program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Application system program bag to be updated is uploaded to server according to the server address.
Detect whether the program on the server is updated successfully.
The chains programs that first embodiment enumerates are weblication, and judging whether chains programs are updated successfully can Whether can be actuated for judging from the application service of chains, but the application is applicable not only to web applications, applies also for Others application, the process of being simply updated are slightly different.It, can be with during newer for example, a kind of update of client software Packed program is mounted in a specified equipment, if can normally start updated client-side program, is just recognized To be updated successfully.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application Shield range should be subject to the range that the application claim defined.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
1, computer-readable medium can be by any side including permanent and non-permanent, removable and non-removable media Method or technology realize information storage.Information can be computer-readable instruction, data structure, the module of program or other numbers According to.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or Other magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), is such as modulated Data-signal and carrier wave.
2, it will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program production Product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It can be used in the computer that one or more wherein includes computer usable program code moreover, the application can be used The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Form.

Claims (10)

1. a kind of method that web application systems automatically update, which is characterized in that including:
The more new command for receiving web application systems, obtains web application systems program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Web application systems program bag to be updated is uploaded to server according to the server address;
Detect whether the program on the server is updated successfully.
2. the method that web application systems according to claim 1 automatically update, which is characterized in that receiving web applications system Before the more new command step of system, further include:
Web application systems program's source code to be updated is compiled and is packaged by packaged service device, generates web application systems Program bag to be updated;
Web application systems program bag to be updated is stored in packaged service device;
Packaged service device sends the more new command of the web application systems.
3. the method that web application systems according to claim 1 automatically update, which is characterized in that the acquisition is protected in advance The corresponding server address of the program bag to be updated deposited, refers to obtaining the journey to be updated from database or configuration file The list of server addresses of prelude administration.
4. the method that web application systems according to claim 3 automatically update, which is characterized in that further include:
The server that first data of the list of server addresses is recorded is as current newer server;
Judge whether the application service of the current newer server starts;
If the application service of the server has been turned on, stop the application service of the server.
5. the method that web application systems according to claim 1 or 3 automatically update, which is characterized in that further include:It is connecing It receives after application service that the current newer server returns is not actuated or stopped message, to the current update Server upload the newest program bag of application system.
6. the method that web application systems according to claim 1 automatically update, which is characterized in that the detection clothes Whether the program on business device is updated successfully, including:
Whether the application service of newer program starts success on the current newer server of detection.
7. the method that web application systems according to claim 6 automatically update, which is characterized in that described in detection detection Before whether the application service of newer program starts successful step on server, including:
After receiving the message that the newest program bag of application system that the current newer server returns uploads completion, to institute It states current newer server and sends the instruction for starting application service;
Receive the information for the startup application service implementing result that the current newer server returns.
8. the method that web application systems according to claim 7 automatically update, which is characterized in that work as described in the reception The information for the startup application service implementing result that preceding newer server returns, including:
If receiving the successful information of startup application service that the current newer server returns, current newer service Device is updated successfully;
Continue to answer to next server transmission according to next server address of the server data list records With the instruction of system update;Using the next server as current newer server;
Above-mentioned steps are repeated, until the Servers-all recorded in the server data list is all updated successfully, are prompted Application system is updated successfully.
9. the method that web application systems according to claim 8 automatically update, which is characterized in that work as described in the reception The information for restarting application service implementing result that preceding newer server returns further includes:
If receiving the information for starting application service failure that the current server returns at no point in the update process, described in stopping The update of application system and the instruction of alert or version rollback.
10. a kind of method that application system program automatically updates, which is characterized in that including:
The more new command for receiving application system, obtains application system program bag to be updated;
Obtain the corresponding server address of the program bag to be updated pre-saved;
Application system program bag to be updated is uploaded to server according to the server address.
Detect whether the program on the server is updated successfully.
CN201810404752.2A 2018-04-28 2018-04-28 A kind of method that web application systems automatically update Pending CN108388440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810404752.2A CN108388440A (en) 2018-04-28 2018-04-28 A kind of method that web application systems automatically update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810404752.2A CN108388440A (en) 2018-04-28 2018-04-28 A kind of method that web application systems automatically update

Publications (1)

Publication Number Publication Date
CN108388440A true CN108388440A (en) 2018-08-10

Family

ID=63065200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810404752.2A Pending CN108388440A (en) 2018-04-28 2018-04-28 A kind of method that web application systems automatically update

Country Status (1)

Country Link
CN (1) CN108388440A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343880A (en) * 2018-09-29 2019-02-15 武汉斗鱼网络科技有限公司 RN packet updating method, RN packet updating device and readable storage medium
CN109388405A (en) * 2018-10-25 2019-02-26 北京大米未来科技有限公司 A kind of task processing method, device, electronic equipment and medium
CN112925544A (en) * 2021-02-26 2021-06-08 湖南强智科技发展有限公司 Method and device for updating application program, electronic equipment and computer storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827126A (en) * 2010-03-11 2010-09-08 青岛海信电器股份有限公司 Software upgrade method of television terminal, television terminal and software upgrade system
CN102595384A (en) * 2012-02-07 2012-07-18 惠州Tcl移动通信有限公司 Method and device for software updating, mobile terminal and system thereof
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN103544041A (en) * 2013-11-12 2014-01-29 迈普通信技术股份有限公司 Method and system for deploying software
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN104899116A (en) * 2015-06-11 2015-09-09 北京京东尚科信息技术有限公司 Data backup method, source server, target server and system
CN105471979A (en) * 2015-11-19 2016-04-06 中国建设银行股份有限公司 Application program update method, server and application program update system
CN105487889A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Application interface updating method and device
CN105511914A (en) * 2015-12-01 2016-04-20 百度在线网络技术(北京)有限公司 Application update method, device and system
CN105653325A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for updating data packet in test environment and electronic equipment
US20170272420A1 (en) * 2016-03-21 2017-09-21 Vmware, Inc. Web client plugin manager in vcenter managed object browser

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827126A (en) * 2010-03-11 2010-09-08 青岛海信电器股份有限公司 Software upgrade method of television terminal, television terminal and software upgrade system
CN103283209A (en) * 2011-04-18 2013-09-04 北京新媒传信科技有限公司 Application service platform system and implementation method thereof
CN102595384A (en) * 2012-02-07 2012-07-18 惠州Tcl移动通信有限公司 Method and device for software updating, mobile terminal and system thereof
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103544041A (en) * 2013-11-12 2014-01-29 迈普通信技术股份有限公司 Method and system for deploying software
CN104836843A (en) * 2015-03-31 2015-08-12 北京奇虎科技有限公司 Client application program updating method and device
CN104899116A (en) * 2015-06-11 2015-09-09 北京京东尚科信息技术有限公司 Data backup method, source server, target server and system
CN105471979A (en) * 2015-11-19 2016-04-06 中国建设银行股份有限公司 Application program update method, server and application program update system
CN105487889A (en) * 2015-11-26 2016-04-13 小米科技有限责任公司 Application interface updating method and device
CN105511914A (en) * 2015-12-01 2016-04-20 百度在线网络技术(北京)有限公司 Application update method, device and system
CN105653325A (en) * 2015-12-29 2016-06-08 北京金山安全软件有限公司 Method and device for updating data packet in test environment and electronic equipment
US20170272420A1 (en) * 2016-03-21 2017-09-21 Vmware, Inc. Web client plugin manager in vcenter managed object browser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周奇等: "《计算机网络技术基础应用教程》", 31 August 2009 *
青岛东合信息技术有限公司: "《JAVA SE程序设计》", 31 May 2012 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343880A (en) * 2018-09-29 2019-02-15 武汉斗鱼网络科技有限公司 RN packet updating method, RN packet updating device and readable storage medium
CN109388405A (en) * 2018-10-25 2019-02-26 北京大米未来科技有限公司 A kind of task processing method, device, electronic equipment and medium
CN112925544A (en) * 2021-02-26 2021-06-08 湖南强智科技发展有限公司 Method and device for updating application program, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US20210081193A1 (en) System and method for supporting patching in a multitenant application server environment
US10394550B2 (en) System and method for supporting patching in a multitenant application server environment
US10824521B2 (en) Generating predictive diagnostics via package update manager
US9436556B2 (en) Customizable storage system for virtual databases
CN107562513B (en) Intelligent contract life cycle management method based on JAVA
US8209564B2 (en) Systems and methods for initiating software repairs in conjunction with software package updates
CN111610989B (en) Application publishing/updating method and system for offline container cloud environment
CN109360029B (en) Self-management method of remote terminal advertising machine
CN106648741A (en) Method and device for deploying application system
US20080301668A1 (en) Managing Different Versions of Server Components Regarding Compatibility With Collaborating Servers
US20060156157A1 (en) Checkpoint restart system and method
US8661418B2 (en) Setting program, workflow creating method, and work flow creating apparatus
US20110214018A1 (en) Systems and methods for diagnostic notification via package update manager
CN108388440A (en) A kind of method that web application systems automatically update
CN111651304B (en) Software recovery method and device based on double-core intelligent ammeter and computer equipment
CN110365641A (en) Cross-site scripting attack leak detection method, equipment and computer-readable medium
CN110063042A (en) A kind of response method and its terminal of database failure
WO2017198156A1 (en) Service deployment method, apparatus and system
CN109939441B (en) Application multi-disk verification processing method and system
US20070185929A1 (en) Method and apparatus for processing monitoring
CN113032183A (en) System management method, device, computer equipment and storage medium
CN115080309A (en) Data backup system, method, storage medium, and electronic device
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment
CN115562933A (en) Processing method and device of operation monitoring data, storage medium and electronic equipment
CN115145596A (en) OTA (over the air) upgrading method and device for robot upgrading package

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810