CN110336695A - A kind of method and server of deployment and maintenance application - Google Patents
A kind of method and server of deployment and maintenance application Download PDFInfo
- Publication number
- CN110336695A CN110336695A CN201910543779.4A CN201910543779A CN110336695A CN 110336695 A CN110336695 A CN 110336695A CN 201910543779 A CN201910543779 A CN 201910543779A CN 110336695 A CN110336695 A CN 110336695A
- Authority
- CN
- China
- Prior art keywords
- publication
- instruction
- file
- packet
- issued
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to application management fields, more particularly to the method and server of a kind of deployment and maintenance application.Wherein, this method comprises: the logging request at customer in response end, exports operational administrative interface according to the logging request;It receives the publication for file destination triggered at the operational administrative interface to instruct, the publication instruction includes increment publication instruction and full dose publication instruction;Receive the publication packet that client is uploaded according to the publication instruction;The file destination that last time success is issued is updated using the publication packet.Therefore, client can directly realize a plurality of types of file distributions by the instruction of trigger action administration interface, simplify publication process visualization and, improve efficiency for issuing.
Description
Technical field
The invention mainly relates to application management field, a kind of method more particularly to deployment and maintenance application and
Server.
Background technique
In soft project, JAVA application program is typically deployed at global wide area network (World Wide Web, Web) application
In server.Application server for disposing and managing JAVA application program has very much, wherein Tomcat server conduct
A kind of Web server of lightweight, is used by more and more medium-sized and small enterprises.
It needs to complete by operation maintenance personnel currently, the deployment way of JAVA application is substantially, and needs to carry out big
The early period of amount is disposed, such as needs to prepare various environment and data (such as Web application, script).
In the implementation of the present invention, discovery the relevant technologies have the following problems inventor: when carrying out using deployment,
Process is more complicated, not enough intuitively.
Summary of the invention
The embodiment of the present invention provides the method and server of a kind of deployment and maintenance application, and which solve prior art deployment
Using when more complicated, not intuitive enough the technical problem of process.
In order to solve the above technical problem, the present invention provides following technical schemes:
In a first aspect, the embodiment of the present invention provides the method for a kind of deployment and maintenance application, comprising:
The logging request at customer in response end exports operational administrative interface according to the logging request;
It receives the publication for file destination triggered at the operational administrative interface to instruct, the publication instruction includes increasing
Amount publication instruction and full dose publication instruction;
Receive the publication packet that client is uploaded according to the publication instruction;
The file destination that last time success is issued is updated using the publication packet.
Optionally, the publication instruction is increment publication instruction, and the publication packet is increment publication packet, then the method packet
It includes:
Instruction output file, which is issued, according to the increment imports interface;
It receives and imports the path setting instruction triggered on interface in the file, instruction setting institute is arranged according to the path
State the issuing path of increment publication packet.
It is optionally, described that the file destination that last time success is issued is updated using the publication packet, comprising:
Back up the increment publication packet that last time success in the issuing path is issued;
The increment is issued into packet decompression and is covered to the issuing path.
Optionally, the publication instruction is that full dose issues instruction, and the publication packet is that full dose publication is wrapped, described in the utilization
Publication packet updates the file destination that last time success is issued, comprising:
The full dose file for the file destination that the publication packet is issued with last time success is compared, text is contrasted
Part, so that client carries out publication verification;
The full dose file for the file destination that backup last time success is issued;
The full dose is issued into the full dose file that packet decompresses and covers the file destination that last time success is issued.
Optionally, the method also includes:
The successful publishing log for being directed to the file destination is generated, for the file destination is checked and retracted.
Optionally, the method also includes:
Receive the log for the file destination triggered at the operational administrative interface checks instruction, according to described
Check that instruction generates publishing log list;
Response be directed to the list back-off instruction, according to the back-off instruction by the corresponding backup file of the list more
The newly file destination that primary success is issued to the end;
The successful rollback log for being directed to the file destination is generated, is checked for retract to the file destination.
Optionally, the application file disposed on the server is shown on the operational administrative interface.
Optionally, the operational administrative interface is web interface.
In second aspect, the embodiment of the present invention provides a kind of server, and the server includes:
At least one processor;And
With the memory of at least one processing communication connection;Wherein, the memory be stored with can by it is described at least
The instruction repertorie that one processor executes, described instruction program is executed by least one described processor, so that described at least one
A processor executes above-mentioned method.
In the third aspect, the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence, when the computer program is executed by processor the step of the realization above method.
Based on the above-mentioned technical proposal, the embodiment of the present application provides the method for a kind of deployment and maintenance application, passes through client
End sends logging request, and server exports operational administrative interface in client according to the logging request received, and client passes through
It is instructed on trigger action administration interface for the publication of file destination, publication instruction includes that increment publication instruction and full dose publication refer to
It enables, the file issued will be needed to be packaged and be sent to server, the publication that server by utilizing receives according to publication instruction
Packet updates the file destination that last time success is issued.Therefore, client can directly pass through the finger of trigger action administration interface
Enable to realize a plurality of types of file distributions, simplify publication process visualization and, improve efficiency for issuing.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is that the embodiment of the present invention provides the structural block diagram of a kind of deployment and maintenance application system;
Fig. 2 is the flow diagram of the method for a kind of deployment provided in an embodiment of the present invention and maintenance application;
Fig. 3 is operational administrative interface schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the flow diagram that back-off procedure is applied in embodiment of the present invention method;
Fig. 5 is the structural schematic diagram of the device of a kind of deployment provided in an embodiment of the present invention and maintenance application;
Fig. 6 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.
Fig. 1 is the structural block diagram of the system of rapid deployment provided by the embodiments of the present application and maintenance application, shown in the figure
The system of rapid deployment and maintenance application can be used to implement the side of rapid deployment and maintenance application provided by the embodiments of the present application
Method please refers to Fig. 1, which includes server 10 and at least one client 20.
Server 10 is located at network side to provide the service equipment of service for user, may be multiple servers composition
Server cluster, it is also possible to single server, in the present embodiment, be mainly used to realize driver and application program etc.
The publication of product new version, the issuing process about product new version new version may refer to the following description.
Client 20 can be the user equipmenies such as tablet computer, laptop, smart phone.In the application practical application
In, it is communicated to connect by being established with server 10, user can access server 10 by client 20, realize client 20
Various functions.
In some embodiments, client 20 can be mounted in the application program in equipment as described above, exploit person
After member completes the compiler test of new version, publication packet to be released can be uploaded onto the server by the client 20, so that
The method that server 10 describes according to the following examples realizes the publication of the publication packet.
Wherein, when needing the products such as the application program to client, driver or operating system to carry out upgrading update
When, corresponding new version information can be downloaded from server 10 by Internet of Things, upgrading be completed, to realize to master this product
The improvement of function and the repairing of loophole.
In practical applications, deployment provided by the present application and maintenance scheme can be realized in delivery system, wherein publication
System, can be by logging in the publication system for applicating developing technology personnel by being made of server, network, client etc.
System, publication is using new version or safeguards the work etc. that original version is applied, it can be seen that, which may be considered one
The method of application platform, rapid deployment provided by the present application and maintenance application can be realized in the application platform, and the application
The rapid deployment of offer and the system of maintenance application are readily applicable to the application platform, and the application is to the specific of the application platform
Composed structure is without limitation.
Please refer to it is shown in Fig. 2 it is a kind of deployment and maintenance application method flow diagram, this method may include with
Lower step:
Step 102, the logging request at customer in response end export operational administrative interface according to the logging request;
After the compiler test for completing application software, the application file for generating compiling is needed to be published to server to carry out more
New and management.Developer can send logging request in user end to server to connect server, and received server-side arrives
After logging request, operational administrative interface is exported to client, so that user carries out operation control.The application is to transmission logging request
Mode without limitation, such as can by browser send logging request, can also by order line to server transmission step on
Record request, this implementation are no longer described in detail one by one herein.
In some embodiments, the application file disposed on the server is shown on operational administrative interface.
After receiving logging request, the whole application files of deployment on it are shown in the form of a list and are being grasped by server
Make administration interface, that is to say, that developer can by directly by login in a manner of check all deployment answering on the server
With.
In further embodiments, operational administrative interface is web interface.
Web operational administrative shown in Fig. 3 interface is please referred to, multiple functions button is provided on the interface, passes through the interface
The application of deployment on the server can not only be managed, moreover it is possible to direct management server, for example can carry out restarting server, or
Stop server, and or check the state of server, but be not limited to interface content shown in Fig. 3.
Step 104 receives the publication instruction for file destination triggered at the operational administrative interface, and the publication refers to
Enable includes increment publication instruction and full dose publication instruction;
The application file of deployment on the server is listed in operational administrative interface, developer can be according to publication need
It asks, corresponding application file is selected to be issued as file destination, after developer selects the application file issued,
Also the bibliographic structure that the application file is located on server is just obtained, which is to issue to wrap preset publication road
Publication packet after server receives the publication packet of client transmission, is stored in the bibliographic structure by diameter according to issuing path.
Wherein, publication instruction includes increment publication instruction and full dose publication instruction, receives hair according to different publication instructions
The type of cloth bag is also variant.If developer has modified such as class file, textual resources or figure on the basis of file destination
Piece resource etc., after the completion of compiling, system by automatic packaging at the compressed file of JAR (JAVA ARchive) format, and or
Have modified static page HTML (Hyper Text Markup Language), after the completion of compiling, system also by automatic packaging at
The compressed file of JSP (JAVA Server Page) format is issued at this point, developer can choose increment publication instruction
The publication of packet, the file of both types all can serve as deployment file deployment on the server.Full dose publication instruction is will be objective
The full dose file mergences of family end application is issued at the publication packet of WAR (Web archive) format, and the publication of WAR format includes
All the elements of application program.
Client instructs according to publication after the publication instruction for file destination that operational administrative interface is triggered and enters text
Part imports interface.
In some embodiments, publication instruction is increment publication instruction, and publication packet is increment publication packet, then the method is also
Include:
Step 1041 issues instruction output file importing interface according to increment;
When developer is carried out using increment publication instruction using publication according to the selection of publication demand, server is according to instruction
At the importing interface of client output increment file, client receives server and instructs about the importing of delta file, into visitor
The corresponding document catalogue at family end selects the JAR compressed file and/or JSP compressed file to be issued, and file is sent to
Server.
Step 1042 receives the path setting instruction triggered on file importing interface, is arranged according to the path
The issuing path of the increment publication packet is arranged in instruction.
It states and arrives in above-mentioned step, developer needs first to select a target text when carrying out publication packet publication
Part also just obtains the issuing path of full dose file to be issued for this file destination.It is issued and is instructed due to increment
It is to be issued to the single or several file in application file, so needing answering the single or several file issued
Detailed path in is configured.Therefore, after server is connected to increment publication instruction, instruction is issued according to increment and imports hair
While cloth bag, the detailed path of setting publication packet in the server is also needed.
For example developer needs increment to issue two files of 1.jar and 2.jsp, both of these documents are in the detailed of server
Path is respectively WEB-INF/lib/1.jar, WEB-INF/page/2.jsp, then, server receives client transmission
After publication packet, by decompression is disposed automatically under the detailed path of publication packet deposit server.
It is the hair by the full dose file mergences of client application at WAR format if publication instruction is full dose publication instruction
Cloth bag is issued, therefore, when developer is issued using full dose publication instruction, it is only necessary to after selection target file,
The bibliographic structure publication packet for file destination received being stored in where file destination.
Step 106 receives the publication packet that client is uploaded according to the publication instruction;
Client uploads publication corresponding with publication instruction according to publication instruction and wraps, and publication instruction includes increment publication instruction
It issues and instructs with full dose, publication packet is according to the difference of publication instruction, and the type of the publication packet of upload is also variant, and increment publication refers to
Enabling corresponding publication packet is increment publication packet, and it is full dose publication packet that full dose publication, which instructs corresponding publication packet,.Increment publication packet
Type is mainly the compressed file of JAR format and/or the compressed file of JSP format, and the type of full dose publication packet is WAR format
Compressed file, it includes all the elements for having application program, thus its may also include JAR format compressed file and/or
The compressed file of JSP format.
Step 108 updates the file destination that last time success is issued using the publication packet.
After received server-side to the publication packet uploaded according to the publication instruction, publication packet is updated and arrives corresponding target
In file.
In the occasion that publication instruction is increment publication instruction, then update what last time success was issued using increment publication packet
File destination, comprising the following steps:
The increment that last time success is issued in step 1081, backup issuing path issues packet;
After server receives increment publication packet, the detailed issuing path of increment publication packet is obtained according to step 1042, it will
The file that last time corresponding with increment publication APMB package is successfully issued in detailed issuing path is backed up, backup path and
The file catalogue of detailed issuing path is identical.For example, two files of 1.jar and 2.jsp in increment publication packet, both of these documents
It is respectively WEB-INF/lib/1.jar, WEB-INF/page/2.jsp in the detailed path of server, then, carrying out increment
File catalogue when publication packet backup is respectively WEB-INF/lib/ and WEB-INF/page/.In this application, standby to file
The mode of part without limitation, can be pressed from both sides to alternative document using the file copy for issuing last time success and be backed up,
This is no longer described in detail one by one.
Increment is issued packet decompression and covered to the issuing path by step 1082.
After corresponding last time success file publishing is backed up successfully, increment publication packet is decompressed automatically, and handle
File after decompression replaces the file successfully issued to last time corresponding with increment publication packet in detailed issuing path.
In the occasion that publication instruction is full dose publication instruction, then update what last time success was issued using full dose publication packet
File destination, comprising the following steps:
Step 1081a, the full dose file for the file destination that full dose publication packet is issued with last time success is compared, is formed
Documents, so that client carries out publication verification;
The full dose file of application is contained in the full dose publication packet that server receives, wherein also includes source code text
Part, in order to improve the accuracy of publication, the method for using comparison in this application, i.e., by the source code text in full dose publication packet
The full dose file for the file destination that part and server last time success are issued carries out full dose comparison, and will form difference section height
Bright display so that developer can identify at a glance whether be this publication publication content.Wherein, the file of increment publication
Type, i.e. JAR format compression file and/or JSP format compression file, will not be compared with server file.
In order to improve the validity of publication, in above-mentioned comparison process, if it find that the content of file is wrong in publication packet,
Then developer can cancel this publishing process, and the full dose publication packet received is deleted.
Step 1082a, the full dose file for the file destination that the success of backup last time is issued;
After being compared with file destination, according to the issuing path of the full dose file acquired in above-mentioned steps 104,
Full dose file destination in issuing path is backed up, in this application, without limitation to the mode of file backup, can be used
Full dose file copy to alternative document folder in issuing path is backed up, and is no longer described in detail one by one herein.
Step 1083a, full dose is issued into the full dose that packet decompresses and covers the file destination that last time success is issued
File.
After the full dose file destination issued that will succeed for the last time in issuing path is backed up, full dose publication packet is carried out
Automatic decompression, and the full dose file after decompression is replaced to the full dose file of successful publication for the last time in issuing path.
In conclusion in the present embodiment, developer as needed issues software application, connected by logging in
Server, server export at operational administrative interface to client according to logging request, so that client is to being deployed in server
On whole application files carry out operate and application deployment, and provide increment publication and full dose publication etc. a variety of published methods,
To adapt to the publication demand of developer, at the same simplify issuing process visualize and, improve efficiency for issuing.
In further embodiments, this method is further comprising the steps of:
Step 109 generates the successful publishing log for being directed to the file destination, for checking to the file destination
And rollback.
After the publication for completing publication packet by above step, this issuing process is generated into corresponding success publishing log,
So that developer can check and retract according to publishing log in the exploitation and maintenance process of product, product is improved
The stability of function.
Backup file in the publishing log and issuing process of generation establishes corresponding relationship, i.e. corresponds in a publishing log
There is backup file.Increment publishing log is generated when increment is issued, increment publishing log is backed up when being corresponding with increment publication
Delta file, i.e., last time success file publishing corresponding with increment publication packet are detailed when backup path is issued with increment
The file catalogue of issuing path is identical.Full dose publishing log is generated when full dose publication instruction, full dose publishing log is corresponding with full dose
The full dose file destination that last time success is issued in the full dose file backed up when publication, i.e. issuing path.
Developer enters operational administrative interface by the request of login service device, and can be according to the publishing log pair of generation
The application of deployment on the server carries out software rollback.
In some embodiments, software rollback is carried out to the application of deployment on the server according to the publishing log of generation,
The flow diagram shown in Fig. 4 using backing method is please referred to, method includes the following steps:
Step 202, receive the log for the file destination triggered at the operational administrative interface check instruction,
Check that instruction generates publishing log list according to described;
Developer enters operational administrative interface by the request of login service device, is directed to file destination on trigger action interface
Log check instruction, server checks instruction according to what is received, will be directed to the publishing log of the file destination, including increment
Publishing log and full dose publishing log are loaded into publishing log list, so that developer selects and checks.
Step 204, response are directed to the back-off instruction of the list, according to the back-off instruction that the list is corresponding standby
Part file updates the file destination that primary success is issued to the end;
According to the publishing log list that server is loaded into, developer is according to rollback demand to deployment answering on the server
It is retracted with apply.
When determining that developer retracts according to a certain item increment publishing log, comprising the following steps:
Step 2041 backs up delta file corresponding with backup file in the file destination, the backup text
Part is incremental backup file corresponding with this increment publishing log;
Step 2042, the file destination for issuing the backup file according to its backup path, update last time success.
When determining that developer retracts according to a certain item full dose publishing log, comprising the following steps:
Step 2041a, the full dose file that the last time in the file destination is successfully issued is backed up;
Step 2042a, it using the corresponding full backup file of this full dose publishing log, updates last time and successfully issues
Full dose file destination.
Wherein, about to file destination backup and renewal process be referred to the description of above-described embodiment corresponding portion,
Details are not described herein for the present embodiment.
Step 206 generates the successful rollback log for being directed to the file destination, for retracting to the file destination
It checks.
In conclusion in the present embodiment, server will be instructed according to publication, process in publication each time is generated into hair
Cloth log, and backup file in issuing process is corresponding with publishing log, form complete publishing log list.Developer
The application of deployment on the server can be retracted repeatedly, according to publishing log list so as to have evidence using back off procedure
It can follow.
Fig. 5 be the embodiment of the present invention provide it is a kind of deployment and maintenance application device structural schematic diagram, as shown in figure 5,
The device 30 includes response login module 301, command reception module 302, data reception module 303 and data update module 304.
The logging request that login module 301 is used for customer in response end is responded, operational administrative interface is exported according to the logging request.Refer to
Enable receiving module 302 for receiving the publication instruction for file destination in operational administrative interface triggering, the publication
Instruction includes increment publication instruction and full dose publication instruction.Data reception module 303 is for receiving client according to the publication
Instruct the publication packet uploaded.Data update module 304 is used to issue using the publication packet update last time success described
File destination.
It in some embodiments, should when the publication instruction that determine instruction receiving module 302 receives is increment publication instruction
Device 30 further includes the first data import modul 305 and path import modul 306.First data import modul is used for according to
Increment publication instruction output file imports interface.Path import modul, which is used to receive, imports the road triggered on interface in the file
The issuing path that the increment publication packet is arranged in instruction is arranged according to the path in diameter setting instruction.Data update module 304 wraps
Data backup unit 3041 and data replacement unit 3042 are included, data backup unit 3041 is for backing up in the issuing path most
The increment that primary success is issued afterwards issues packet, and data replacement unit 3042 is used to issuing the increment into packet and decompresses and cover
In to the issuing path.
It in some embodiments, should when the publication instruction that determine instruction receiving module 302 receives is full dose publication instruction
Device 30 further includes the second data import modul 307, and the second data import modul 307 is used for defeated according to full dose publication instruction
File imports interface out.Data update module 304 includes that data comparison unit 3041a, data backup unit 3042a and data are replaced
Change unit 3043a.Data comparison unit 3041a is used for the file destination for issuing the publication packet with last time success
Full dose file comparison, be contrasted file.Data backup unit 3042a is used to back up the mesh that last time success is issued
Mark the full dose file of file.Data replacement unit 3043a is used to issue the full dose packet and decompresses and cover last time success
The full dose file of the file destination of publication.
In the present embodiment, developer as needed issues software application, connects server by logging in, clothes
Business device exports at operational administrative interface to client according to logging request, so that client answers the whole of deployment on the server
Operate with file and application is disposed, and provide a variety of published methods such as increment publication and full dose publication, to adapt to develop
The publication demand of personnel, at the same simplify issuing process visualize and, improve efficiency for issuing.
In some embodiments, which further includes that log generation module 308, log are checked module 309 and responded back
Move back module 3010.Log generation module 308 is used to generate the successful publishing log for the file destination, for the mesh
Mark file is checked and is retracted.Log checks module 309 for receiving in operational administrative interface triggering for described
Instruction is checked in the log of file destination, checks that instruction generates publishing log list according to described.Rollback module 3010 is responded to use
It is directed to the back-off instruction of the list in response, is updated the corresponding backup file of the list to most according to the back-off instruction
The file destination that primary success is issued afterwards.
In the present embodiment, server will be instructed according to publication, and process in publication each time is generated publishing log, and
Backup file in issuing process is corresponding with publishing log, form complete publishing log list.Developer can basis
Publishing log list is retracted the application of deployment on the server, repeatedly so as to have something to base on using back off procedure.
Fig. 6 is that the embodiment of the present invention provides a kind of hardware structural diagram of server.As shown in Fig. 6, the electronic equipment
40 include one or more processors 401 and memory 402.Wherein, in Fig. 6 by taking a processor 401 as an example.
Processor 401 can be connected with memory 402 by bus or other modes, to be connected by bus in Fig. 6
For.
Memory 402 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, such as the method pair of deployment and maintenance application in the embodiment of the present invention
Program instruction/the module (for example, attached modules shown in fig. 5) answered.Processor 401 is stored in memory 402 by operation
In non-volatile software program, instruction and module, thereby executing the various function application and data processing of server, i.e.,
Realize that above method embodiment disposes the function with the method for maintenance application and the modules of above-mentioned apparatus embodiment.
Memory 402 may include high-speed random access memory, can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 402
Optional includes the memory remotely located relative to processor 401, these remote memories can pass through network connection to processing
Device 401.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Described program instruction/module is stored in the memory 402, when by one or more of processors 401
When execution, the method for executing the deployment and maintenance application in above-mentioned any means embodiment, for example, executing Fig. 2 described above
With each step shown in Fig. 4;It can also realize modules described in Fig. 5.
The embodiment of the invention also provides a kind of nonvolatile computer storage media, the computer storage medium storage
There are computer executable instructions, which is executed by one or more processors, such as at one in Fig. 6
Device 401 is managed, may make said one or multiple processors that deployment and maintenance application in above-mentioned any means embodiment can be performed
Method, for example, the method for executing the deployment and maintenance application in above-mentioned any means embodiment, for example, executing above description
Fig. 2 and each step shown in Fig. 4;It can also realize modules described in Fig. 5.
Device or apparatus embodiments described above is only schematical, wherein it is described as illustrated by the separation member
Unit module may or may not be physically separated, and the component shown as modular unit can be or can also
Not to be physical unit, it can it is in one place, or may be distributed on multiple network module units.It can basis
It is actual to need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology
Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer
Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions to
So that computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or
Method described in certain parts of embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
It under the thinking of invention, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with
It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have
Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field
Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill
Art feature is equivalently replaced;And these are modified or replaceed, each reality of the application that it does not separate the essence of the corresponding technical solution
Apply the range of a technical solution.
Claims (10)
1. a kind of method of deployment and maintenance application, is used for server characterized by comprising
The logging request at customer in response end exports operational administrative interface according to the logging request;
It receives the publication for file destination triggered at the operational administrative interface to instruct, the publication instruction includes that increment is sent out
Cloth instruction and full dose publication instruction;
Receive the publication packet that client is uploaded according to the publication instruction;
The file destination that last time success is issued is updated using the publication packet.
2. the method according to claim 1, wherein publication instruction is increment publication instruction, the publication
Packet be increment publication packet, then the method also includes:
Instruction output file, which is issued, according to the increment imports interface;
It receives and imports the path setting instruction triggered on interface in the file, instruction is arranged according to the path, the increasing is set
The issuing path of amount publication packet.
3. according to the method described in claim 2, it is characterized in that, described updated using publication packet is successfully sent out for the last time
The file destination of cloth, comprising:
Back up the increment publication packet that last time success in the issuing path is issued;
The increment is issued into packet decompression and is covered to the issuing path.
4. the method according to claim 1, wherein publication instruction is full dose publication instruction, the publication
Packet is full dose publication packet, then described that the file destination that last time success is issued is updated using the publication packet, comprising:
The full dose file for the file destination that the publication packet is issued with last time success is compared, file is contrasted,
So that client carries out publication verification;
The full dose file for the file destination that backup last time success is issued;
The full dose is issued into the full dose file that packet decompresses and covers the file destination that last time success is issued.
5. the method according to claim 1, wherein the method also includes:
The successful publishing log for being directed to the file destination is generated, for the file destination is checked and retracted.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Receive the log for the file destination triggered at the operational administrative interface checks instruction, is checked according to described
Instruction generates publishing log list;
Response is directed to the back-off instruction of the publishing log list, according to the back-off instruction that the back-off instruction is corresponding standby
Part file updates the file destination that primary success is issued to the end;
The successful rollback log for being directed to the file destination is generated, is checked for retract to the file destination.
7. the method according to claim 1, wherein being shown on the server on the operational administrative interface
The application file of deployment.
8. the method according to the description of claim 7 is characterized in that the operational administrative interface is web interface.
9. a kind of server, which is characterized in that the server includes:
At least one processor;And
With the memory of at least one processing communication connection;Wherein, the memory be stored with can by it is described at least one
The instruction repertorie that processor executes, described instruction program executed by least one described processor, so that described at least one
It manages device perform claim and requires method described in any one of 1-8.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of claim 1-8 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910543779.4A CN110336695A (en) | 2019-06-21 | 2019-06-21 | A kind of method and server of deployment and maintenance application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910543779.4A CN110336695A (en) | 2019-06-21 | 2019-06-21 | A kind of method and server of deployment and maintenance application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110336695A true CN110336695A (en) | 2019-10-15 |
Family
ID=68142299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910543779.4A Pending CN110336695A (en) | 2019-06-21 | 2019-06-21 | A kind of method and server of deployment and maintenance application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336695A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049909A (en) * | 2019-12-17 | 2020-04-21 | 昆山华东信息科技有限公司 | Software release method |
CN111770361A (en) * | 2020-05-29 | 2020-10-13 | 北京沃东天骏信息技术有限公司 | Picture processing method, device and equipment and computer readable storage medium |
CN111796855A (en) * | 2020-07-22 | 2020-10-20 | 大箴(杭州)科技有限公司 | Incremental version updating method and device, storage medium and computer equipment |
CN112416427A (en) * | 2020-12-11 | 2021-02-26 | 推想医疗科技股份有限公司 | Method and device for releasing module management package, electronic equipment and storage medium |
CN112988482A (en) * | 2021-02-08 | 2021-06-18 | 网易(杭州)网络有限公司 | Server operation management method, device, terminal, server and storage medium |
CN114138285A (en) * | 2022-01-24 | 2022-03-04 | 统信软件技术有限公司 | Application deployment method, computing device and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561816A (en) * | 2009-05-27 | 2009-10-21 | 武汉大学 | Method for releasing geospatial data incremental information |
CN103530137A (en) * | 2013-11-05 | 2014-01-22 | 中国联合网络通信集团有限公司 | Java web application deploying method and device |
US20140282379A1 (en) * | 2011-05-31 | 2014-09-18 | Accenture Global Services Limited | Computer-implemented method, system and computer program product for displaying a user interface component |
US20160378462A1 (en) * | 2015-05-22 | 2016-12-29 | Huawei Technologies Co., Ltd. | Method, Apparatus, and System for Implementing JAVA Application Installation by Means of Cloud Compilation |
CN108874409A (en) * | 2017-05-09 | 2018-11-23 | 腾讯科技(深圳)有限公司 | A kind of information updating method, device, server and system |
-
2019
- 2019-06-21 CN CN201910543779.4A patent/CN110336695A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101561816A (en) * | 2009-05-27 | 2009-10-21 | 武汉大学 | Method for releasing geospatial data incremental information |
US20140282379A1 (en) * | 2011-05-31 | 2014-09-18 | Accenture Global Services Limited | Computer-implemented method, system and computer program product for displaying a user interface component |
CN103530137A (en) * | 2013-11-05 | 2014-01-22 | 中国联合网络通信集团有限公司 | Java web application deploying method and device |
US20160378462A1 (en) * | 2015-05-22 | 2016-12-29 | Huawei Technologies Co., Ltd. | Method, Apparatus, and System for Implementing JAVA Application Installation by Means of Cloud Compilation |
CN108874409A (en) * | 2017-05-09 | 2018-11-23 | 腾讯科技(深圳)有限公司 | A kind of information updating method, device, server and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049909A (en) * | 2019-12-17 | 2020-04-21 | 昆山华东信息科技有限公司 | Software release method |
CN111049909B (en) * | 2019-12-17 | 2024-04-02 | 昆山华东信息科技有限公司 | Software release method |
CN111770361A (en) * | 2020-05-29 | 2020-10-13 | 北京沃东天骏信息技术有限公司 | Picture processing method, device and equipment and computer readable storage medium |
CN111770361B (en) * | 2020-05-29 | 2023-03-07 | 北京沃东天骏信息技术有限公司 | Picture processing method, device and equipment and computer readable storage medium |
CN111796855A (en) * | 2020-07-22 | 2020-10-20 | 大箴(杭州)科技有限公司 | Incremental version updating method and device, storage medium and computer equipment |
CN111796855B (en) * | 2020-07-22 | 2023-06-09 | 大箴(杭州)科技有限公司 | Incremental version updating method and device, storage medium and computer equipment |
CN112416427A (en) * | 2020-12-11 | 2021-02-26 | 推想医疗科技股份有限公司 | Method and device for releasing module management package, electronic equipment and storage medium |
CN112988482A (en) * | 2021-02-08 | 2021-06-18 | 网易(杭州)网络有限公司 | Server operation management method, device, terminal, server and storage medium |
CN112988482B (en) * | 2021-02-08 | 2023-12-12 | 网易(杭州)网络有限公司 | Server operation management method, device, terminal, server and storage medium |
CN114138285A (en) * | 2022-01-24 | 2022-03-04 | 统信软件技术有限公司 | Application deployment method, computing device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110336695A (en) | A kind of method and server of deployment and maintenance application | |
JP7011737B2 (en) | Systems and methods for connector development and integrated channel deployment | |
EP2633400B1 (en) | Stateful applications operating in a stateless cloud computing environment | |
US20220004381A1 (en) | Integration of containers with external elements | |
CN105468362B (en) | Using dispositions method and cloud computing system | |
CN103608773B (en) | For the deployment system of multinode application | |
EP2820539B1 (en) | Distribution of application files | |
US11042471B2 (en) | System and method for providing a test manager for use with a mainframe rehosting platform | |
JP6463393B2 (en) | Tenant data recovery across tenant migration | |
CN110851167B (en) | Container environment updating method, device, equipment and storage medium | |
US20130326487A1 (en) | Emulating cloud functioning of applications locally | |
CN104793946A (en) | Application deployment method and system based on cloud computing platform | |
CN104899047B (en) | Web page frame dispositions method and system | |
CN104067276A (en) | Client-side minimal download and simulated page navigation features | |
CN108874409B (en) | Information updating method, device, server and system | |
US8839223B2 (en) | Validation of current states of provisioned software products in a cloud environment | |
CN110515628A (en) | Application deployment method and device | |
CN112860645B (en) | Processing method, device, computer equipment and medium for offline compressed file | |
CN107807859A (en) | A kind of FaaS frameworks and its method of work, the system of exploitation O&M FaaS frameworks | |
CN108563440A (en) | The automatic adding method of List Controller code, device and readable storage medium storing program for executing | |
US20220103555A1 (en) | Service deployment method, device, system, and computer-readable storage medium | |
CN109672534A (en) | Processing method, device, storage medium and the electronic device of Internet resources | |
CN116069341A (en) | Automatic deployment method, equipment and storage medium for application program | |
Bhardwaj et al. | Serving mobile apps: A slice at a time | |
CN113535254A (en) | Micro-service processing method, micro-service deployment method and related device |
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: 20191015 |