CN106469068A - The dispositions method of application program and system - Google Patents
The dispositions method of application program and system Download PDFInfo
- Publication number
- CN106469068A CN106469068A CN201510502683.5A CN201510502683A CN106469068A CN 106469068 A CN106469068 A CN 106469068A CN 201510502683 A CN201510502683 A CN 201510502683A CN 106469068 A CN106469068 A CN 106469068A
- Authority
- CN
- China
- Prior art keywords
- deployment
- task
- resource
- preconfigured template
- template
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of dispositions method of application program and system, methods described includes:Obtain deployment task, form deployment request;Based on described deployment request, it is assembled to form preconfigured template according to predetermined deployment rule;Parse described preconfigured template and execute described deployment task.
Description
Technical field
The present invention relates to areas of information technology, more particularly, to a kind of dispositions method of application program and system.
Background technology
With the fast development of information technology, the application system of use information technology also gets more and more.Business is fast
Also application system is proposed while speed development with the requirement of faster response.Application system upgrading, renewal speed
Increasingly faster, and enterprise upgrades to the renewal of application system flatness, stability requirement also more and more higher.
For example, under the operation mode of information technology (Imformation Technology, IT), application system
System renewal issue work is very frequent, and for telecommunications industry, its IT application system is very many and complicated,
Architecture is each different, release application program of once reaching the standard grade in batches, frequently involves 10 several application systems,
Cover multiple data bases, middleware, operating system, network element interface etc., this situation leads to program renewal to be sent out
It is very loaded down with trivial details that cloth carrys out work, easily malfunctions, and inefficiency.
Therefore in the prior art, the deployment how quickly accurately carrying out application program is urgently to be resolved hurrily one
Problem.
Content of the invention
In view of this, embodiment of the present invention expectation provides a kind of dispositions method of application program and system, at least
The problems such as deployment efficiency that part solves application program is low, deployment is intelligent low and error rate is high.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:Embodiment of the present invention first party
Face provides a kind of dispositions method of application program, and methods described includes:
Obtain deployment task, form deployment request;
Based on described deployment request, it is assembled to form preconfigured template according to predetermined deployment rule;
Parse described preconfigured template and execute described deployment task.
Based on such scheme, described based on described deployment request, according to predetermined deployment rule be assembled to form prewired
Put template, including:
According to incidence relation between resource specified in predetermined deployment rule, formed and include the job list and resource
The described preconfigured template of deployment parameters.
Based on such scheme, the described preconfigured template of described parsing executes described deployment task, including:
Inquiry mapping relations storehouse, verifies the legitimacy of described preconfigured template, forms described the result;
Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
Based on such scheme, the described preconfigured template of described parsing executes described deployment task, including:
Risk control certification is carried out based on described preconfigured template, forms authentication result;
Based on described authentication result, execute described deployment task.
Based on such scheme, the described preconfigured template of described parsing executes described deployment task, also includes:
Resource backup is carried out based on described preconfigured template.
Based on such scheme, methods described, also include:
Based on the operating result executing described task deployment, form audit log.
Based on such scheme, the described preconfigured template of described parsing executes described deployment task, including:
Prepositioned instruction is formed based on described preconfigured template;
Deployment resource is controlled to execute described deployment task based on described prepositioned instruction.
Embodiment of the present invention second aspect provides a kind of deployment system of application program, and described system includes:
Main control module, for obtaining deployment task, forms deployment request;
Load module, for based on described deployment request, being assembled to form pre-configured mould according to predetermined deployment rule
Plate;
Deployment module, executes described deployment task for parsing described preconfigured template.
Based on such scheme, described load module, specifically for according to resource specified in predetermined deployment rule
Between incidence relation, formed and include the described preconfigured template of the job list and resource deployment parameter.
Based on such scheme, described deployment module, specifically for inquiring about mapping relations storehouse, checking is described prewired
Put the legitimacy of template, form described the result;Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
Based on such scheme, described deployment module, it is additionally operable to carry out risk control based on described preconfigured template
Certification, forms authentication result;And it is based on described authentication result, execute described deployment task.
Based on such scheme, described deployment module, it is additionally operable to carry out resource backup based on described preconfigured template.
Based on such scheme, described system, also include:
Audit Module, for based on the operating result executing described task deployment, forming audit log.
Based on such scheme, described deployment module, preset also particularly useful for being formed based on described preconfigured template
Instruction;And control deployment resource to execute described deployment task based on described prepositioned instruction.
The dispositions method of the application program described in the embodiment of the present invention and system, according to deployment task, forming portion
Administration's request, and preconfigured template is assembled into according to predetermined deployment rule, each money is controlled based on preconfigured template
Source completes described deployment task it is achieved that the automatization of deployment task and intellectuality, improves application program
Deployment efficiency, realizes intelligent deployment by electronic equipment, reduces because manually disposing the deployment mistake leading to.
Brief description
Fig. 1 is the schematic flow sheet of the dispositions method of the first application program provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the dispositions method of second application program provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the deployment system of the first application program provided in an embodiment of the present invention;
Fig. 4 is the structural representation of the deployment system of second application program provided in an embodiment of the present invention;
Fig. 5 is the structural representation of self-adaption deployment assembly provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of the dispositions method of the third application program provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with Figure of description and specific embodiment, technical scheme is done and further explain in detail
State.
Embodiment of the method:
As shown in figure 1, the present embodiment provides a kind of dispositions method of application program, methods described includes:
Step S110:Obtain deployment task, form deployment request;
Step S120:Based on described deployment request, it is assembled to form preconfigured template according to predetermined deployment rule;
Step S130:Parse described preconfigured template and execute described deployment task.
Application program described in the present embodiment may include the various programs being applied in electronic equipment, such as safety
The various application programs such as protection software program, office application program, shopping application program, social networking application program.
The dispositions method of described application program, can be applicable in the application system being made up of multiple electronic equipment.
There is N platform office computer in such as one company, if because office demand needs to 200 peaces in N platform computer
Fill a new office software.As installed one by one by webmaster personnel, undoubtedly bothersome laborious;In order to save manpower
Cost, lifting deployment efficiency and intellectuality, the dispositions method of the application program described in available the present embodiment,
Carry out full-automatic installation.
Deployment task will be obtained in step s 110, for example, pass through Man Machine Interface receive user or work people
Member input deployment task, such as install some application program, upgrade some application program or delete a certain
Individual application program.Certainly install, upgrade or delete some application program, all may relate to which electronics
Equipment needs to execute deployment task, is related to the execution object of deployment task.All will obtain in step s 110,
And form corresponding deployment request.
Application program A if desired for P platform electronic equipment in upgrading N platform electronic equipment;Described P is to be not more than
The integer of N;Described N is the integer not less than 1.
Execution step S110, will include instruction upgrade applications A in the deployment request of formation, and indicates liter
The identification information of the P platform electronic equipment of level application A, this identification information may include procotol IP ground
Location etc. has the information of mark action.
Described step S120 will analyze described deployment request, according to described predetermined deployment rule, note splitting institute
Stating deployment request needs the step executing, the ordering relation determining between each step, executes this deployment task
Need to involve deployment parameters of which resource and each operation etc., and then form described preconfigured template.
Again with the described application program A that upgrades as deployment task, after deployment system receives described deployment task,
Can determine that and need the application program deleting legacy version, preserve number of users when deleting old edition application A
According to and install redaction application program A etc. each complete the child-operation of described deployment task.These child-operations
There is certain execution sequence.The resource of execution aforesaid operations may include code, main frame, data base, middleware
Etc. resource, exist between these resources the mutual exclusion in execution operation upper data association, sequentially, rely on and close
And wait various incidence relations.These incidence relations all have embodiment in described predetermined deployment rule.Such
Words, the described preconfigured template of formation also can embody these incidence relations of above-mentioned resource.
Then note carrying out described task deployment operation according to described preconfigured template in step S130, such
Words are it becomes possible to realize described task to unify automatic deployment.
For example, in step S130, described preconfigured template will be parsed taking the described application program A that upgrades as a example,
According to the information in described preconfigured template, find P platform electronic equipment, control electronics redaction
Application program A replaces the application program A of legacy version, realizes the application operating of automatization.
As further improvement of this embodiment, described step S120 may include:
According to incidence relation between resource specified in predetermined deployment rule, formed and include the job list and resource
The described preconfigured template of deployment parameters.
Described the job list may include the collection of the deployment resource of one group of execution each sub-steps of described deployment task
Close, these deployment resources may include code, main frame, data base and middleware etc..These sub-steps are according to one
Executing, this order also can embody in described the job list fixed order.Execution aforesaid operations will be related to
To some parameters, these parameters are described resource deployment parameter.
Like this, just facilitate in step S130 according to the job list in described preconfigured template and Resources Department
Administration's state modulator each resource executes corresponding operation, thus the intelligence of simplicity realize described application program
Deployment.
Described step S130 may include:
Inquiry mapping relations storehouse, verifies the legitimacy of described preconfigured template, forms described the result;
Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
Described mapping relations storehouse internal memory contain application program respectively with main frame, application deployment catalogue, in resource
Pass the mapping relations of catalogue and resource backup catalogue.
The preservation that catalogue is catalogue and correspondence that application program is located journal file is disposed in described application
Catalogue.
Described resource uploads catalogue for disposing application program, the temp directory of foundation;It is typically used in,
After applying corresponding program code upload to finish and verify by application integrity, set up described application deployment
Before catalogue.
The mapping relations of described application program and main frame, have recorded the application program of each main frame installation, described
Application program and application deployment catalogue, have recorded described application program is to install in which application deployment task
's.
Described mapping relations storehouse typically prestores, when implementing, in described mapping relations storehouse
Each mapping relations can carry out increasing according to the practical situation of current application system, change, deleting and
The various routine maintaining operations of song updating, to guarantee the accuracy of various mapping relations in described mapping relations storehouse
And practicality.Certainly the various mapping relations in described mapping relations storehouse can be by receiving sending out of various resources
The information of mapping relations of having sent to form above-mentioned various reflect to set up it is also possible to instruct by receive user
Penetrate relation.
The recordable duplicated record of resource of described resource backup catalogue.
Described step S130, when parsing described preconfigured template, will load described the job list, extract described
The information of the resource of each child-operation is executed in the job list.
Specifically such as, the application program B in electronic equipment A is deleted in instruction;But closed by inquiring about described mapping
It is that storehouse finds just to be fitted without application program B it is clear that this is an illegal operation in electronic equipment A at all.
For another example, the application program B in instruction electronic equipment A, however, it was found that the authority quilt of application program B
Modification, corresponding operation account cannot be carried out changing, and is also so an illegal operation.
Obviously the legitimacy of at this moment described preconfigured template just can't pass, and will be formed and test not over legitimacy
The result of card.When the legitimate verification that the result shows described preconfigured template passes through, just execute
Described deployment task.When described the result shows that the legitimate verification of described preconfigured template is obstructed out-of-date,
The information of the result failure can be formed, return to control device, described control device may include control station etc.
Structure.The reason information of described the result failure may include configured information and the authentication failed of authentication failed
Etc. information.
The proof procedure of described legitimacy may include:
Extract the title of application program and the resource of execution deployment operation from described preconfigured template, based on institute
State mapping relations storehouse described in the name query of application program, inquire about whether described mapping relations storehouse stores correspondence
Application program and the mapping relations of resource, or judge whether described application program and the mapping relations of resource meet
The matching relationship of this operation current, thus form the result.
Further, described step S130 may include:
Risk control certification is carried out based on described preconfigured template, forms authentication result;
Based on described authentication result, execute described deployment task.
After described preconfigured template passes through legitimate verification, be equivalent to and be recognized described deployment request for closing
Method is asked, not illegal request, at this moment just by the certification to preconfigured template, verifies this deployment request
Whether authentication requesting.Here risk control certification may include the authentication of deployment task publisher, authority
Certification and safety analysis certification.Issue a deployment using webmaster A using the user of the second level privileges
Task, the identity of the webmaster A of these deployment task is authenticated, and this when can log according to webmaster A
Account etc. carries out authentication.Carry out Authority Verification and determine whether the operation of specified execution in preconfigured template has
Exceed the operation of the corresponding authority of account of webmaster A.Described safety analysis certification, intellectual analysis as delete or
Whether some level of application of upgrading can lead to corresponding electronic equipment to lose certain some function or make electronic equipment sudden and violent
It is exposed in hazardous environment.For example delete electronic equipments safety security application program, like this can lead to electronics
Equipment is in the network environment of danger, if carrying out the safety analysis strategy of safety analysis certification not in not
In the case that new security protection application program is installed, the certification of the only deletion of execution security protection application program.
Above-mentioned authentication result, only described authentication result table will be executed in the present embodiment in described step S130
When bright described preconfigured template is all by the authentication procedure specified, just each money is controlled based on described the job list
Source executes each deployment operation.
When implementing, as described authentication result shows authentification failure, will timely issue to control station etc.
The control device of deployment request, the return authentication information such as unsuccessfully, it is also possible that authentification failure reason etc. simultaneously
Information, facilitates webmaster or user to be timely adjusted, thus improving the deployment efficiency of application program.
As the improvement again of the present embodiment, described step S130 also includes:Entered based on described preconfigured template
Row resource backup.In order to improve the application security after deployment, also resource will be carried out in the present embodiment standby
Part.To use according to required for each deployment operation of execution is determined in deployment request in described preconfigured template
Resource, in the present embodiment the resource to be disposed to these is backed up, in case the loss of follow-up data.
If after completing backup, it is saved in forming duplicated record file in aforesaid mapping relations storehouse.
If certain backup failure in the present embodiment, timely will return backup to control station equal controller and lose
The message losing, conveniently carries out user and is manually adjusted in time or abnormality processing.
As described in Figure 2, methods described, also includes:
Step S140:Based on the operating result executing described task deployment, form audit log.
Audit log will be generated in the present embodiment, this audit log have recorded each behaviour during task deployment
The execution record made, such as authentication failed or the record being proved to be successful, the record of certification success or failure, backup
The record of success or failure.Like this, by the formation of audit log, conveniently subsequently to task deployment
Audit, thus can achieve the condition monitoring process of task deployment.
The particular content of described audit log may include access date of various resources, request type, request are
No respond successfully, job number, executor, request source IP addresses, request service, request service
The various information such as parameter, error coded or error message, can preserve hereof it is also possible to be saved in data
In storehouse.Here error coded executes the code that mistake in some operation, and described error message may include
Error resolution information of mistake etc. occurs.The service of described request may include newly-increased application program, deletes application
The various service such as program, more new application.Described request source IP addresses may include the described deployment of issue please
The IP address of the electronic equipments such as the control station asked.Due to the possible more than one of the current deployment task issued, can
Can be the deployment task of 2 or more than 2, when carrying out the deployment of above-mentioned application program, correspond to being formed
Job number, convenient follow-up identify.The access date represents the temporal information accessing a resource.
In a word by the record of audit log, facilitate user and management personnel that the deployment of application program is carried out respectively
Plant monitoring afterwards, improve safety and the controllability of task deployment.
Described step S130 may include:
Prepositioned instruction is formed based on described preconfigured template;
Deployment resource is controlled to execute described deployment task based on described prepositioned instruction.
Described prepositioned instruction is the discernible instruction of each resource.What such as host A and host B were installed is not
With application system, what such as host A was installed is Windows system, host B install for Linux system
System, the discernible instruction of this two main frames is just different, in the present embodiment will be based on described preconfigured template
Form the corresponding discernible prepositioned instruction of resource, these instructions are sent to corresponding resource, control these moneys
Source executes corresponding operation.May include the property parameters inquiring about each resource in this process, according to prewired
Put the operation of template contral execution, compareing the property parameters of each resource, to be converted into each resource discernible pre-
Put and instruct and be sent to each resource.
System embodiment:
As shown in figure 3, the present embodiment provides a kind of deployment system of application program, described system includes:
Main control module 110, for obtaining deployment task, forms deployment request;
Load module 120, for based on described deployment request, being assembled to form prewired according to predetermined deployment rule
Put template;
Deployment module 130, executes described deployment task for parsing described preconfigured template.
Described main control module 110 can correspond to one or more processors or process circuit in the present embodiment,
Described deployment task can be obtained, form deployment request, described main control module 110 may include communication interface,
Receive described deployment task or include Man Machine Interface, instructed by receiving user's input and obtain described deployment
Task.Described main control module 110 will form described deployment request according to the deployment task being obtained.
The corresponding structure of load module 120 may correspond to processor or process circuit.Described processor or
Deployment request described in processing circuit processes, forms described preconfigured template according to predetermined deployment rule.Described pre-
Configuration template includes a series of operation, the resource executing these operations and the Resources Department of responses described deployment request
Administration's parameter etc..
The concrete structure of described deployment module 130 may also comprise processor or process circuit, according to described prewired
Put template, form corresponding control instruction, control each resource to execute each according to described resource deployment parameter
Operation.
Processor described in the present embodiment may include application processor AP, central processor CPU, microprocessor
Device MCU, digital signal processor DSP or programmable array PLC etc. have the structure of the information processing function.
Described process circuit may include the structures such as application-specific integrated circuit ASIC.
In a word, the deployment device of application program described in the present embodiment, be capable of application program automatically and
Intelligent deployment, greatly improves the deployment efficiency of application program, reduces the loaded down with trivial details degree of user operation.
Described load module 120 can be specifically for associating pass according to specified in predetermined deployment rule between resource
System, forms the described preconfigured template including the job list and resource deployment parameter.
Described deployment module 130, specifically for inquiring about mapping relations storehouse, verifies the conjunction of described preconfigured template
Method, forms described the result;Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
Described system various treasure-house mapping relations storehouse in the present embodiment, described mapping relations storehouse can be with data base
Presented in or presented in multiple files.
Described deployment module 130 may include the aforementioned processor with the information processing function or process circuit, leads to
Cross and inquire about described mapping relations storehouse, verify the legitimacy of described preconfigured template, form corresponding the result.
When the result shows to be verified, execute described deployment task.
Deployment module 130 described in the present embodiment passes through described legitimate verification, can avoid APD
The blindness of administration, reduces the error rate of application task deployment, improves the deployment accuracy and precisely of application program
Degree.
Further, described deployment module 130, is additionally operable to carry out risk control based on described preconfigured template
Certification, forms authentication result;And it is based on described authentication result, execute described deployment task.The present embodiment institute
State deployment module 130 and be additionally operable to risk control certification, so can realize before carrying out application deployment
Prior Control, reduces the risk of application deployment, improves the safety of application deployment.
Additionally, described deployment module 130, it is additionally operable to carry out resource backup based on described preconfigured template.
Described system, also includes Audit Module;Described Audit Module, for based on the described task deployment of execution
Operating result, formed audit log.
Deployment module 130 described in the present embodiment also will be used for forming audit log, described audit log, side
Just subsequent user is checked, is deployed in row condition monitoring process to application program.The particular content of described audit log
Can be referring particularly to embodiment of the method, here is not just repeated.
On the other hand, described deployment module 130, preset also particularly useful for being formed based on described preconfigured template
Instruction;And control deployment resource to execute described deployment task based on described prepositioned instruction.
There is provided several specific examples below in conjunction with above-mentioned any embodiment:
Example one:
As shown in figure 4, this example is supplied to a kind of deployment system of application program;Described deployment system includes
Control station 101, assembly line device 102, self-adaption deployment assembly 103 and instruction control unit 104 etc..
Control station 101, for by sending control instruction, calling assembly line device, self-adaption deployment group
Part, instruction control unit provide the related service of application deployment, and echo service call state.Herein
Described control station is equivalent to described main control unit 110.Described control instruction can be the group of aforementioned deployment request
Become part.
Assembly line device 102, for by predetermined deployment rule, determine Job execution order, the cycle,
Relation and resource deployment parameter, are allocated and are organized the division of labor to operation, control the production plan of streamline.
Operation is the set of one group of resource deployment task, and the resource of automatic assembly line deployment has demand, code, master
Machine, data base, middleware etc., exist between these resources various mutual exclusions, sequentially, rely on, merge etc. close
System, in preconfigured template, the relation between resource will define one by one, to ensure that application program has prelude
Administration.
Assembly line device 102 is connected with control station 101, self-adaption deployment assembly 103:For being responsible for connecing
Receive the call request of control station 101, and generate preconfigured template.During concrete implementation, described stream
Waterline assembler can be treated deployment resource according to the post staff of task deployment and be assembled.Assembly line device
The deployment task reached the standard grade can automatically be selected, and assembly line work, assembly line device are generated according to deployment task
After the completion of assembling, returning result is returned to control station with data set form.Described assembly line device can root
According to the priority of the on-line time of deployment task and the urgency level of deployment task, automatically select the deployment reached the standard grade
Task.Assembly line device described in the present embodiment can be equivalent to aforesaid assembly unit 120.
Self-adaption deployment assembly 103, for storing application program and main frame, application deployment catalogue, resource
Pass catalogue, the mapping relations of resource backup catalogue, save which which resource can access in mapping relations
A little main frames or directory service.
Self-adaption deployment assembly is connected with control station, assembly line device:Being responsible for calling of reception control station please
Ask, read the preconfigured template assembled in streamline assembler including the job list and resource deployment parameter,
And the mapping of catalogue, resource backup catalogue is uploaded according to application program and main frame, application deployment catalogue, resource
Relation, automatization's backup, upload, each application resource of deployment, after the completion of resource deployment, knot will be returned
Fruit returns to control station with data set form.
Instruction control unit 104, for storing the mapping relations of instruction and application program, main frame, in mapping
The prepositioned instruction which application program can call which main frame is saved in relation.
Instruction stops including but not limited to application program and enabled instruction, timed task instruction, data backup refer to
Make, systematic function monitors instruction etc..
Instruction control unit 104 is connected with control station 101, self-adaption deployment assembly 103:It is responsible for receiving and control
The call request of platform 101, reads in streamline assembler and has assembled including the job list and resource deployment parameter
Preconfigured template, and mapping relations according to application program and main frame, control described main frame automatically to execute pre-
Put instruction, if prepositioned instruction execution is unsuccessful, by the wrong returning result of instruction control unit with data set shape
Formula returns to control station, calls auditable unit record audit log simultaneously;If prepositioned instruction runs succeeded, will
Returning result returns to control station 101 with data set form.Described instruction control unit 104 herein with described
Self-adaption deployment assembly 103 all can be used as the ingredient of described deployment module 130.
As shown in figure 5, self-adaption deployment assembly 103 include mapping relations arranging unit, mapping relations storehouse,
Assembler template resolution unit, mapping relations judging unit, security risk control unit and automatization's backup are single
First auditable unit.
Assembler template resolution unit and mapping relations judging unit, mapping relations library unit connect, for bearing
Duty receives the deployment request of control station, assembly line preconfigured template is parsed, loads pre-configured mould
The job list in plate.Assembler template resolution unit is additionally operable to ask mapping relations judging unit to be applied
Program disposes legitimate verification, if not legitimate request, then by the wrong returning result of self-adaption deployment assembly
Control station is returned to data set form it is desirable to ressemble preconfigured template, call auditable unit to remember simultaneously
Record audit log;If legitimate request, then by the returning result of assembler template analysis service with data set shape
Formula returns to control station, and calls auditable unit record audit log.
The application program that is stored with mapping relations storehouse uploads catalogue, money with main frame, application deployment catalogue, resource
The mapping relations of Source backups catalogue, save in mapping relations which resource can access which main frame or mesh
Record service.
Mapping relations judging unit and assembler template resolution unit, mapping relations storehouse connect, for receiving dress
The application name that orchestration template resolution unit passes over, and service parameter to be called, lookup is reflected
Whether the relation storehouse of penetrating has coupling record, and lookup result is returned to assembler template resolution unit.
Mapping relations arranging unit, for being responsible for safeguarding mapping relations storehouse, to application program in mapping relations storehouse
With main frame, application deployment catalogue, resource uploads catalogue, the mapping relations of resource backup catalogue carry out increasing,
The attended operations such as modification, deletion.
Security risk control unit and mapping relations judging unit, automatization's backup units connect, for receiving
The deployment request of control station, carries out user identity legitimacy certification, power to legal application deployment task
Limit certification, safety analysis.If safety certification is not passed through, self-adaption deployment assembly is by wrong returning result with number
Return to control station according to collection form, call auditable unit record audit log simultaneously;If safety certification is passed through,
The returning result then passed through security risk control certification returns to control station with data set form, and calls careful
Meter unit record audit log.
Automatization's backup units and security risk control unit, automatically dispose unit connect, for receiving control
The deployment request of platform processed, standby with main frame, application deployment catalogue, resource according to application program in mapping relations storehouse
The mapping relations of part catalogue, treat deployment resource and back up one by one, backup file is saved in mapping relations storehouse and reflects
In the resource backup catalogue penetrated.If resource backup is unsuccessful, the mistake backup of self-adaption deployment assembly is returned
Return result and control station is returned to data set form, call auditable unit record audit log simultaneously;If resource
Back up successfully, then by backing up successfully returning result, control station is returned to data set form, and call audit single
Unit's record audit log.
Automatically dispose unit and automatization's backup units connect, for receiving the call request of control station, root
Upload the mapping relations of catalogue according to application program in mapping relations storehouse and main frame, application deployment catalogue, resource,
Resource to be disposed is disposed one by one and executed, if resource deployment is unsuccessful, by the mistake of self-adaption deployment assembly
Returning result returns to control station with data set form by mistake, calls auditable unit record audit log simultaneously;If
Resource deployment success, then return to control station by the returning result of automatization's backup services with data set form,
And call auditable unit record audit log.
Auditable unit, for logging console request.Audit log can preserve hereof, also can be saved in
In data base.Log content include accessing date, request whether success, assembly line work numbering, executor,
Request source IP addresses, the service of request, the service parameter of request, error coded, error message etc..
Data set form in the application is the information including multiple data, such as includes returning result and leads to phase
The reason answer returning result etc..
Example two:
As shown in fig. 6, this example be supplied to a kind of based on the application program of deployment system described in example one
Dispositions method, methods described includes:
Step S1:The deployment task reached the standard grade is extracted according to the plan of reaching the standard grade, and provides the deployment task inventory reached the standard grade.
Step S2:Disposed and assembly line for the task in deployment task inventory, assembling is according to pre-
Fixed deployment rule, forms preconfigured template.To be disposed resources-type of each application program will be specified in this step
The information such as type, the host address of deployment, the deployment path of application program and other configuration parameter are added to described
In preconfigured template.
Step S3:Self-adaption deployment assembly extracts resource file of reaching the standard grade, configuration foot automatically according to pipeline configuration
Presents, and carry out carrying out legitimate verification and security risk control based on the mapping relations in mapping relations storehouse
Certification.
Step S4:If passed through by legitimate verification and risk control certification, carry out the portion of each resource
The operation such as administration and backup, forms corresponding configuration file and backup file etc..
Step S5:After the completion of deployment, form audit log.
It should be understood that disclosed equipment and method in several embodiments provided herein,
Can realize by another way.Apparatus embodiments described above are only schematically, for example,
The division of described module, only a kind of division of logic function, actual can have other division when realizing
Mode, such as:Multiple module or components can combine, or is desirably integrated into another system, or some are special
Levy and can ignore, or do not execute.In addition, the coupling each other of shown or discussed each ingredient,
Or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of equipment or module or logical
Letter connects, and can be electrical, machinery or other forms.
The above-mentioned module illustrating as separating component can be or may not be physically separate, make
For the part that module shows can be or may not be physical module, you can with positioned at a place,
Can also be distributed on multiple mixed-media network modules mixed-medias;Can select therein part or all of according to the actual needs
Module is realizing the purpose of this embodiment scheme.
In addition, each functional module in various embodiments of the present invention can be fully integrated into a processing module
In or each module individually as a module it is also possible to two or more module collection
In Cheng Yi module;Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ
The form that hardware adds software function module is realized.
One of ordinary skill in the art will appreciate that:Realize all or part of step of said method embodiment
Can be completed by the related hardware of programmed instruction, aforesaid program can be stored in a computer-readable
Take in storage medium, this program upon execution, executes the step including said method embodiment;And it is aforementioned
Storage medium include:Movable storage device, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various
Can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art the invention discloses technical scope in, can be easily
Expect change or replacement, all should be included within the scope of the present invention.Therefore, the protection of the present invention
Scope should be defined by described scope of the claims.
Claims (14)
1. a kind of dispositions method of application program is it is characterised in that methods described includes:
Obtain deployment task, form deployment request;
Based on described deployment request, it is assembled to form preconfigured template according to predetermined deployment rule;
Parse described preconfigured template and execute described deployment task.
2. method according to claim 1 it is characterised in that
Described based on described deployment request, according to predetermined deployment rule be assembled to form preconfigured template, including:
According to incidence relation between resource specified in predetermined deployment rule, formed and include the job list and resource
The described preconfigured template of deployment parameters.
3. method according to claim 1 and 2 it is characterised in that
The described preconfigured template of described parsing executes described deployment task, including:
Inquiry mapping relations storehouse, verifies the legitimacy of described preconfigured template, forms described the result;
Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
4. method according to claim 3 it is characterised in that
The described preconfigured template of described parsing executes described deployment task, including:
Risk control certification is carried out based on described preconfigured template, forms authentication result;
Based on described authentication result, execute described deployment task.
5. method according to claim 1 and 2 it is characterised in that
The described preconfigured template of described parsing executes described deployment task, also includes:
Resource backup is carried out based on described preconfigured template.
6. method according to claim 1 and 2 it is characterised in that
Methods described, also includes:
Based on the operating result executing described task deployment, form audit log.
7. method according to claim 1 and 2 it is characterised in that
The described preconfigured template of described parsing executes described deployment task, including:
Prepositioned instruction is formed based on described preconfigured template;
Deployment resource is controlled to execute described deployment task based on described prepositioned instruction.
8. a kind of deployment system of application program is it is characterised in that described system includes:
Main control module, for obtaining deployment task, forms deployment request;
Load module, for based on described deployment request, being assembled to form pre-configured mould according to predetermined deployment rule
Plate;
Deployment module, executes described deployment task for parsing described preconfigured template.
9. system according to claim 8 it is characterised in that
Described load module, specifically for according to incidence relation between resource specified in predetermined deployment rule,
Form the described preconfigured template including the job list and resource deployment parameter.
10. system according to claim 8 or claim 9 it is characterised in that
Described deployment module, specifically for inquiring about mapping relations storehouse, verifies the legitimacy of described preconfigured template,
Form described the result;Based on described the result, execute described deployment task;
Wherein, be stored with described mapping relations storehouse accessible resource and the mapping relations of service catalogue.
11. systems according to claim 10 it is characterised in that
Described deployment module, is additionally operable to carry out risk control certification based on described preconfigured template, forms certification
Result;And it is based on described authentication result, execute described deployment task.
12. systems according to claim 8 or claim 9 it is characterised in that
Described deployment module, is additionally operable to carry out resource backup based on described preconfigured template.
13. systems according to claim 8 or claim 9 it is characterised in that
Described system, also includes:
Audit Module, for based on the operating result executing described task deployment, forming audit log.
14. systems according to claim 8 or claim 9 it is characterised in that
Described deployment module, forms prepositioned instruction also particularly useful for based on described preconfigured template;And based on institute
Stating prepositioned instruction controls deployment resource to execute described deployment task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510502683.5A CN106469068B (en) | 2015-08-14 | 2015-08-14 | Application program deployment method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510502683.5A CN106469068B (en) | 2015-08-14 | 2015-08-14 | Application program deployment method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106469068A true CN106469068A (en) | 2017-03-01 |
CN106469068B CN106469068B (en) | 2020-11-03 |
Family
ID=58214670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510502683.5A Active CN106469068B (en) | 2015-08-14 | 2015-08-14 | Application program deployment method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106469068B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678754A (en) * | 2017-09-11 | 2018-02-09 | 深圳供电局有限公司 | A kind of IT resource deliveries system and method |
CN109101242A (en) * | 2018-07-19 | 2018-12-28 | 汉能移动能源控股集团有限公司 | Automatic database deployment method and device |
CN109144522A (en) * | 2017-06-19 | 2019-01-04 | 中兴通讯股份有限公司 | Using dispositions method, device, equipment and computer readable storage medium |
CN109621406A (en) * | 2018-12-06 | 2019-04-16 | 网易(杭州)网络有限公司 | A kind of generation method and device of configuration file |
CN109905263A (en) * | 2017-12-11 | 2019-06-18 | 上海逸云信息科技发展有限公司 | A kind of automation O&M deployment system |
CN110244951A (en) * | 2018-03-09 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Using dissemination method and device |
CN110515698A (en) * | 2019-08-16 | 2019-11-29 | 济南浪潮数据技术有限公司 | A kind of resource application method, system and electronic equipment and storage medium |
CN110543301A (en) * | 2019-09-06 | 2019-12-06 | 中国工商银行股份有限公司 | Method and device for generating jenkins code file |
CN112099879A (en) * | 2020-11-23 | 2020-12-18 | 成都新希望金融信息有限公司 | Configuration information management method and device, computer equipment and storage medium |
CN114240369A (en) * | 2021-12-17 | 2022-03-25 | 中国工商银行股份有限公司 | Pipeline deployment method and device, computer equipment and storage medium |
CN117289951A (en) * | 2023-11-22 | 2023-12-26 | 华信咨询设计研究院有限公司 | Software system multi-application automatic deployment method based on recursion principle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453367A (en) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | Software deployment method and system, software deployment server and user server |
CN102915248A (en) * | 2012-09-28 | 2013-02-06 | 用友软件股份有限公司 | Automatic deploying system and automatic deploying method of application system |
US8561058B2 (en) * | 2007-06-20 | 2013-10-15 | Red Hat, Inc. | Methods and systems for dynamically generating installation configuration files for software |
CN104079657A (en) * | 2014-07-07 | 2014-10-01 | 用友软件股份有限公司 | Configurable cluster deployment device and method based on templates |
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
-
2015
- 2015-08-14 CN CN201510502683.5A patent/CN106469068B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8561058B2 (en) * | 2007-06-20 | 2013-10-15 | Red Hat, Inc. | Methods and systems for dynamically generating installation configuration files for software |
CN101453367A (en) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | Software deployment method and system, software deployment server and user server |
CN102915248A (en) * | 2012-09-28 | 2013-02-06 | 用友软件股份有限公司 | Automatic deploying system and automatic deploying method of application system |
CN104079657A (en) * | 2014-07-07 | 2014-10-01 | 用友软件股份有限公司 | Configurable cluster deployment device and method based on templates |
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144522B (en) * | 2017-06-19 | 2023-08-01 | 中兴通讯股份有限公司 | Application deployment method, device, equipment and computer readable storage medium |
CN109144522A (en) * | 2017-06-19 | 2019-01-04 | 中兴通讯股份有限公司 | Using dispositions method, device, equipment and computer readable storage medium |
CN107678754A (en) * | 2017-09-11 | 2018-02-09 | 深圳供电局有限公司 | A kind of IT resource deliveries system and method |
CN107678754B (en) * | 2017-09-11 | 2020-11-17 | 深圳供电局有限公司 | IT (information technology) resource delivery system and method |
CN109905263A (en) * | 2017-12-11 | 2019-06-18 | 上海逸云信息科技发展有限公司 | A kind of automation O&M deployment system |
CN110244951A (en) * | 2018-03-09 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Using dissemination method and device |
CN110244951B (en) * | 2018-03-09 | 2024-03-12 | 阿里巴巴集团控股有限公司 | Application publishing method and device |
CN109101242A (en) * | 2018-07-19 | 2018-12-28 | 汉能移动能源控股集团有限公司 | Automatic database deployment method and device |
CN109101242B (en) * | 2018-07-19 | 2019-11-19 | 汉能移动能源控股集团有限公司 | Data base automatic dispositions method and device |
CN109621406A (en) * | 2018-12-06 | 2019-04-16 | 网易(杭州)网络有限公司 | A kind of generation method and device of configuration file |
CN110515698A (en) * | 2019-08-16 | 2019-11-29 | 济南浪潮数据技术有限公司 | A kind of resource application method, system and electronic equipment and storage medium |
CN110543301A (en) * | 2019-09-06 | 2019-12-06 | 中国工商银行股份有限公司 | Method and device for generating jenkins code file |
CN110543301B (en) * | 2019-09-06 | 2023-04-25 | 中国工商银行股份有限公司 | Method and device for generating jenkins code file |
CN112099879A (en) * | 2020-11-23 | 2020-12-18 | 成都新希望金融信息有限公司 | Configuration information management method and device, computer equipment and storage medium |
CN114240369A (en) * | 2021-12-17 | 2022-03-25 | 中国工商银行股份有限公司 | Pipeline deployment method and device, computer equipment and storage medium |
CN117289951A (en) * | 2023-11-22 | 2023-12-26 | 华信咨询设计研究院有限公司 | Software system multi-application automatic deployment method based on recursion principle |
CN117289951B (en) * | 2023-11-22 | 2024-04-02 | 华信咨询设计研究院有限公司 | Software system multi-application automatic deployment method based on recursion principle |
Also Published As
Publication number | Publication date |
---|---|
CN106469068B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106469068A (en) | The dispositions method of application program and system | |
US10470148B2 (en) | Mobile device management | |
CN109889503B (en) | Identity management method based on block chain, electronic device and storage medium | |
CA3131079A1 (en) | Test case generation method and device, computer equipment and storage medium | |
CN110795709B (en) | Method and device for performing business operation, electronic equipment and storage medium | |
US20160179494A1 (en) | Integration of an arbitrary server installed as an extension of a computing platform | |
CN106656927A (en) | Method and device for enabling Linux account to be added to AD domain | |
CN110088744A (en) | A kind of database maintenance method and its system | |
CN112039868A (en) | Firewall policy verification method, device, equipment and storage medium | |
CN112738138B (en) | Cloud security hosting method, device, equipment and storage medium | |
CN105487556A (en) | Flight control method and flight control device of unmanned aircraft | |
CN113312064A (en) | Installation configuration method and device of physical machine and computer readable medium | |
CN110063042A (en) | A kind of response method and its terminal of database failure | |
CN110889108B (en) | spark task submitting method and device and server | |
CN112463203A (en) | SELinux management configuration method, system, equipment and medium | |
CN109992295B (en) | Version management method and server | |
US7962789B2 (en) | Method and apparatus for automated testing of a utility computing system | |
CN111124591A (en) | Mirror image transmission method and device, electronic equipment and storage medium | |
CN116627595A (en) | Virtual machine creation method and related components | |
EP4130982A1 (en) | Network-based solution module deployment platform | |
CN112367339B (en) | System security login management method and device | |
CN115859253A (en) | Service access control method, device, equipment and medium | |
CN113987455A (en) | BS architecture-based industrial control system multi-factor authentication login method and system | |
CN114816965A (en) | Data verification method and device | |
CN110389938B (en) | Method for improving safety of relay protection equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |