CN103970579B - Application version deploying method and application version deploying device - Google Patents
Application version deploying method and application version deploying device Download PDFInfo
- Publication number
- CN103970579B CN103970579B CN201410236378.1A CN201410236378A CN103970579B CN 103970579 B CN103970579 B CN 103970579B CN 201410236378 A CN201410236378 A CN 201410236378A CN 103970579 B CN103970579 B CN 103970579B
- Authority
- CN
- China
- Prior art keywords
- file
- environment
- application version
- type
- target environment
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The application of the invention discloses an application version deploying method and an application version deploying device. The deploying method comprises the following steps: compiling in a building environment of a mainframe computer to generate an application version; finding a corresponding operation mode according to the type of a file in the application version; according to the practical situation of a target environment, processing the file in the found operation mode, thereby enabling the application version to become effective in the target environment, wherein the target environment refers to another logic environment which is located at the same logic partition together with the building environment. By virtue of the technical scheme disclosed by the application, the human resources can be saved and the deploying efficiency can be enhanced.
Description
Technical field
The application is related to field of computer technology, more particularly to a kind of application version dispositions method and device.
Background technology
Mainframe (being also called large scale computer, main frame, mainframe computer etc.) is referred to using special processor instruction set, behaviour
Make system and application software, for processing the machine of Large Volume Data.Mainframe and our common PC, servers
Or minicomputer is different, its operating system is also with common Windows, Linux or UNIX operating system very much not
It is identical, run middleware thereon, database software, application software also unique.The data processing energy of mainframe
The performances such as power, reliability, safety are all good than common computer.Therefore, current mainframe has been dispersed throughout global numerous large-scale
Enterprise, is widely used in the industries such as bank, security, insurance, telecommunications, aviation.Such as:Core is all built using mainframe by bank
Heart information system.
At present, when new application version being installed in mainframe or original application version is updated, it is required to professional skill
The application version is disposed in art personnel each logic environment on the host, professional and technical personnel's application deployment version needs
One by one file is processed with recording one by one, causes the efficiency of application deployment version low, and this deployment way is to professional and technical personnel
Technical requirements it is higher.
Because mainframe is professional very strong, mainframe professional technician is less, causes current this artificial deployment
The higher and artificial operation rate of human cost of mode is relatively low.Therefore, low cost, height how are realized in mainframe application
Speed ground application deployment version becomes the wide variety of difficult problem of mainframe.
The content of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of application version dispositions method and device, to realize
The automatically dispose of application version, the mode of this automatically dispose is operated without the need for professional and technical personnel, can be in mainframe
Realize low cost, expeditiously application version deployment.
In a first aspect, embodiments providing a kind of application version dispositions method, methods described includes:
The compiling under the constructing environment of mainframe generates application version;
According to the corresponding mode of operation of type search of file in the application version;
According to the practical situation of target environment, searched mode of operation is utilized to process file, so that the application version
Come into force under the target environment, the target environment refers to other logic boxs with the constructing environment in same logical partition
Border.
Preferably, the target environment includes:Assembling test environment, System Integration Test environment, automatic test environment
Or Training Environment.
Preferably, the corresponding mode of operation of the type search according to file in the application version, including:
The type of file is recognized according to the suffix name of file in the application version, the type of the file includes:Can hold
Row code, job stream, script or parameter;
In the mapping table for pre-saving, according to the corresponding operation side of the type search of the file for being recognized
Formula, the mode of operation includes:Replicate, resource increases or deletes or change, customization or online executable code come into force.
Preferably, the practical situation according to target environment, utilizes searched mode of operation to process file, including:
When the type of the file is executable code, first file is copied to into the target environment, then realize it is online can
Actuating code comes into force;
When the type of the file is job stream, first file is copied to into the target environment, further according to target environment
Carry out customization process;
When the type of the file is script, first file is copied to into the target environment, is entered further according to target environment
Row customization process and resource increase or delete or exception processes;
When the type of the file is parameter, file is copied to into the target environment.
Preferably, the compiling under the constructing environment of mainframe generates application version, including:
The partial compilation for compiling is needed to generate executable code in the program source code that will be put in storage from development environment;
The executable code and the program source code that need not be compiled are packaged into into an application version.
Second aspect, embodiments provides a kind of application version deployment device, and described device includes:
Compilation unit, for the compiling under the constructing environment of mainframe application version is generated;
Searching unit, for according to the corresponding mode of operation of the type search of file in the application version;
Deployment unit, for according to the practical situation of target environment, utilizing searched mode of operation to process file, so that
The application version comes into force under the target environment, and the target environment is referred to the constructing environment in same logical partition
Other logic environments.
Preferably, the target environment includes:Assembling test environment, System Integration Test environment, automatic test environment
Or Training Environment.
Preferably, the searching unit includes:
Identification subelement, for recognizing the type of file, the file according to the suffix name of file in the application version
Type include:Executable code, job stream, script or parameter;
Search subelement, in the mapping table for pre-saving, according to the type search of the file for being recognized with
Its corresponding mode of operation, the mode of operation includes:Replicate, resource increase delete or change, customization or it is online can
Actuating code comes into force.
Preferably, the deployment unit includes:
First deployment subelement, for when the type of the file is executable code, first file being copied to into the mesh
Mark environment, then realize that online executable code comes into force;
Second deployment subelement, for when the type of the file is job stream, first file being copied to into the target
Environment, further according to target environment customization process is carried out;
3rd deployment subelement, for when the type of the file is script, first file being copied to into the target ring
Border, carrying out customization process and resource further according to target environment increases or deletion or exception processes;
4th deployment subelement, for when the type of the file is parameter, file being copied to into the target environment.
Preferably, the compilation unit includes:
Compiling subelement, can for the partial compilation for compiling will be needed to generate in the program source code put in storage from development environment
Actuating code;
Packing subelement, for the executable code and the program source code that need not be compiled to be packaged into one and apply version
This.
The technical scheme that the embodiment of the present application is provided, the compiling under the constructing environment of mainframe generates application version;Root
According to the corresponding mode of operation of type search of file in the application version;According to the practical situation of target environment, using being looked into
The mode of operation looked for processes file so that the application version comes into force under the target environment, the target environment refer to
Other logic environments of the constructing environment in same logical partition.The program pre-sets document classification in application version
The corresponding mode of operation of every kind of file type, when deployment is needed, only need to call corresponding operation side according to the type of file
Formula come realize deployment.Whole process saves human cost all without the need for the participation of professional and technical personnel, and procedure treatment is improved
Deployment efficiency.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, can be obtaining other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of embodiment of the present invention application version dispositions method;
Fig. 2 is the application scenario diagram of embodiment of the present invention application version dispositions method;
Fig. 3 is the structure chart that embodiment of the present invention application version disposes device.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real
The accompanying drawing in example is applied, clear, complete description is carried out to the technical scheme in the embodiment of the present invention, it is clear that described enforcement
Example is only a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained, should all belong to the scope of protection of the invention.
Refering to Fig. 1, the flow chart of the embodiment of the present invention application version dispositions method for illustrating, methods described includes:
Step 101, the compiling under the constructing environment of mainframe generates application version.
First, carrier mainframe is introduced to be realized to the present embodiment.
From for physical angle, large-scale machine architecture can be divided to two kinds of standalone architecture and multimachine structure, and multimachine structure leads to
Overcoupling technology connection multiple stage mainframe is formed, and multimachine structure may be regarded as the large scale computer of a higher configuration.
From for logical perspective, either unit or multimachine structure, can serve as a logical partition or are drawn
It is divided into multiple logical partitions.Shared processor between different logical partitions, but memorizer is exclusive, i other words each logic
Subregion possesses independent data storage and data operation, Different Logic subregion can concurrent working and be independent of each other, each other may be used
By network communication, and not directly across regional addressing, therefore, each logical partition can be regarded as one it is independent large-scale
Machine.Same logical partition shared processor and memorizer.
For same logical partition, multiple application systems can be simultaneously installed again, one is put into serial production the application for using
System we can be regarded as a product.Different application systems can be the application version of diverse product, Ke Yishi
The different application example of same product (the Asia-Pacific example of such as overseas core system, Europe-Africa example), can be same product
Each stage (exploitation, structure, assembling, survey of exploitation residing for the different application version of product, or same application version
Examination, examination, operation etc.).On logic level, these application systems are completely self-contained, are patrolled with independent data and computing
Volume, and on physical layer, actually shared disk space, so there is also the wind that access is strayed into by other application system
Danger.It is main artificially to specify that different application systems use different file prefix names, to guarantee the independence between them, in reality
In the production environment of border, a logical partition only allows to install an application system.
One application system, is normally based on middleware to develop.Such as CICS (CICS), it is
On-line transaction provides various services and manages control;Data base management system (DB2), for application system data are provided
Access and management.Therefore each logical partition is required for installing a set of CICS and DB2 systems in advance.
The organic assembling of one complete application system, really all kinds of large scale computer files and database table.
One mass file is made up of one or more record.Record is the ultimate unit of large scale computer data storage,
Data line is referred to as a record.
The file system of large scale computer, supports multi-layer folders unlike PC, and each file is directly to catalogue
To root, file can directly be accessed by filename.Therefore in same logic environment, each filename is only one
Without two, need by certain naming rule, to reach the purpose distinguished application system, distinguish file application function.
It is described below, the logic environment under same logical partition.
Mainframe applications system from exploitation, build, assembling, test, check and accept, to operation, for different instances, different ranks
Section, builds respectively corresponding development environment, constructing environment, assembling test environment, System Integration Test environment, automatic test ring
Border, to supply different librarian uses (check and accept and production environment is responsible for by information centre).Each environment application target is as follows:
Development environment:Supply large scale computer developer modification source code and debugging.
Constructing environment:Supply version manager generates application version.
Assembling test environment:Supply mainframe applications system subsystems close beta.
System Integration Test environment:Supply mainframe applications system subsystems between and with other peripheral systems it
Between joint test.
Automatic test environment:The system automation test of supply mainframe applications.
Training Environment:Supply start-up use.
In actual application scenarios, refering to Fig. 2, the application scenario diagram of the application version dispositions method for illustrating.When large-scale
When host computer system proposes upgrade requirement, the source code being related to is copied to exploitation ring from constructing environment by version manager first
Border, developer completes modification debugging, then the source code of new edition is copied back into constructing environment by version manager, while to difference
The source code of type carries out customization, generates the operation such as executable code, and the file that constructing environment is had altered forms one should
Use version;Or, when needing to dispose other application version in system, generation source generation is write under development environment by developer
Code, then copies constructing environment to source code, and All Files packing is generated into an application version.
Mainframe system needs to be updated a certain application version, then need to the whole in the application version or
Subprogram is modified renewal, and research staff needs to write corresponding source program under development environment, then, by these source journeys
Sequence is compiled under constructing environment, so as to these source programs are disposed under other logic environments come into force.Due to the modification of some programs
May cause and call other programs for changing program to change.Based on this, the compiling under the constructing environment of mainframe is generated
Application version, it may include following steps:
The partial compilation for compiling is needed to generate executable code in the program source code that will be put in storage from development environment;
The executable code and the program source code that need not be compiled are packaged into into an application version.
Mainframe system needs to dispose a new application version, then research staff needs to write this under development environment
All source programs of application version, have in these programs some need to be compiled into executable code could in other logic environments quilt
Deployment, has some then without the need for compiling, accordingly, it would be desirable to the part for needing to compile in these source programs is compiled under constructing environment
Executable code, so as to these source programs are disposed in other logic environments come into force.
Generally, research staff writes the source program code of application version according to practical application request, the source program
Code is except including needing to be compiled into the source code of executable code, it is also possible to including files such as job stream, script, parameters, and
These files need not be compiled directly can be disposed in the logic environment of system;Therefore, above-mentioned packaging operation is substantially exactly
Executable code after compiling and other kinds of file are packaged into into together an application version.Therefore, the application after packing
Version includes:Executable code and other kinds of file.
Step 102, according to the corresponding mode of operation of type search of file in the application version.
One or more file may be included in application version, different files belongs to different types;Actually should
With in, generally can judge which kind of class this document is belonging to from the suffix of filename according to the function of file to file designation
Type.For example:File name is " Prefix.BTCH.LOAD ", it is known that the suffix of this document is " .LOAD ",
It is known that this document is executable code by this suffix.
In order to ensure the normal operating of the step, deployment tool (deployment software or hardware) needs to pre-set each
Mode of operation corresponding to individual file type, meanwhile, set the corresponding relation between file type and mode of operation;Need first
The type of Study document is wanted, the file of each type is then analyzed again should arrange file type using which kind of mode of operation
Corresponding relation between mode of operation.
Optionally, the step may be accomplished by, including:
The type of file is recognized according to the suffix name of file in the application version, the type of the file includes:Can hold
Row code, job stream, script or parameter;
In the mapping table for pre-saving, according to the corresponding operation side of the type search of the file for being recognized
Formula, the mode of operation includes:Replicate, resource increases or deletes or change, customization or online executable code come into force.
Generally, the mode of operation is to replicate;Can also first replicate, then carry out resource increase or delete or become
More process;Can also first replicate, then carry out customization process;Can also be and first replicate, then carry out online executable code and come into force
Process.Certainly, in actual applications, corresponding other modes of operation can be pre-set according to file type.
In actual applications, file type further can also be distinguished according to demand;For example by job stream, script
Make further classification etc. type, for different classification corresponding deployment operation mode is given.Such as:
Job stream is further divided into Row control code job stream and management control routine job stream;
For Row control code job stream, arranging its corresponding mode of operation is:First it is copied in target environment,
Then customization process is carried out according to target environment.
For managing control routine job stream, polytype can also be further classified as, be set for each type
Put corresponding mode of operation;Such as file type can be distinguished according to the suffix of the title of file:
If file name suffix is INSTLIB.UTL, arranging its corresponding mode of operation is:First it is copied to target
In environment, then customization process is carried out according to target environment, finally, database resource is increased newly and is either deleted or is become
More process.
If file name suffix is DEFCNTL.UTL, arranging its corresponding mode of operation is:First it is copied to target
In environment, then customization process is carried out according to target environment, finally, to virtual storage management data set (VSAM)/generation number
Increased newly according to collection (GDG) file and either deleted or exception processes.
When file name suffix is CSD.UTL, then arranging its corresponding mode of operation is:First it is copied to target environment
In, then customization process is carried out according to target environment, then CICS (CICS) resource is carried out it is newly-increased or
Delete or exception processes, finally, restart CICS.
When file name suffix is .UTL, then arranging its corresponding mode of operation is:First it is copied in target environment,
Then customization process is carried out according to target environment.
When file name suffix is .DB2TRIG.UTL, then arranging its corresponding mode of operation is:First it is copied to target
In environment, then customization process is carried out according to target environment, finally, define database trigger.
When file name suffix is .BASEDDL.PRM, then arranging its corresponding mode of operation is:It is copied to target ring
In border.
When file name suffix is .BINDCARD.PRM, then arranging its corresponding mode of operation is:First it is copied to target
In environment, then customization process is carried out according to target environment, finally, bind the target environment database resource.
When file name suffix is .DB2DDL.PRM, then arranging its corresponding mode of operation is:First it is copied to target ring
In border, then customization process is carried out according to target environment, finally database table is carried out to increase/delete/exception processes newly.
When file name suffix is .PRM, then arranging its corresponding mode of operation is:First it is copied in target environment, so
Afterwards customization process is carried out according to target environment.
Certainly, foregoing description is only distinguishing file type, according to different types it to be arranged by taking file name suffix as an example
Corresponding mode of operation, in actual applications, the corresponding relation between file type and mode of operation is saved, so as to portion
Search operation is performed during administration.Except distinguishing file type with file name suffix, it would however also be possible to employ other modes distinguishing, no matter
Any mode distinguishes file type, is required to arrange its corresponding mode of operation according to different types.
The concrete function of above-mentioned each mode of operation is explained below.
Replicate:By the file copy in application version to target environment.
Customization:It is often referred to need the environment prefix that will occur in file, the character string of database prefixes to replace with target
The environment prefix of environment and database prefixes;Other special customizations refer to system installation manual.
Resource increases/deletes/change:Increase including VSAM files/GDG files/CICS resources/database resource etc.,
Delete or change.Wherein, database resource includes that table, synonym, trigger, table data load control card, public serial number
Deng.
Binding data base resource (BIND):By the executable code for being related to database manipulation and the database resource of target environment
Binding is got up.
Online executable code comes into force (NewCopy):In the case where CICS systems are not restarted, will be newest online executable
Code is reloaded in CICS environment.For system, if restarting CICS, CICS can automatically load newest can perform
Code, therefore this step can be omitted.
Restart CICS:Increase/delete when CICS resources/change when, or be not NewCopy and wish to reload online
During executable code, it is necessary to restart CICS.
Step 103, according to the practical situation of target environment, utilizes searched mode of operation to process file, so that described
Application version comes into force under the target environment, the target environment refer to the constructing environment same logical partition its
His logic environment.
When to update in system or dispose an application version, all portion under all of logic environment is needed in system
Administration one time, therefore, in order to realize automatically dispose, successively application version to be disposed can be deployed to into other logic environments,
Or, concurrently application version can also be deployed to into each logic environment.
The logic environment often having in system includes:Development environment, constructing environment, assembling test environment, System Integration Test
Environment, automatic test environment and Training Environment.Because application version is generated under constructing environment, therefore without the need in the present context
Deployment, so target environment can be assembling test environment, System Integration Test environment, automatic test environment or training ring
Border.Certainly, different logic environments may be included in different systems, therefore, target environment specifically what logic environment can
According to the actual requirements determining.
Above-mentioned steps analyze successively the type of each file and corresponding mode of operation, or, concurrently analyze each
The type of individual file and corresponding mode of operation.Then, using this step each file is processed successively, or can be simultaneously
Row ground is processed each file.This step is actually to be deployed in corresponding file according to the mode of operation searched
In target environment, to realize automatic deployment.
The step may be accomplished by, including:
When the type of the file is executable code, first file is copied to into the target environment, then realize it is online can
Actuating code comes into force;
When the type of the file is job stream, first file is copied to into the target environment, further according to target environment
Carry out customization process;
When the type of the file is script, first file is copied to into the target environment, is entered further according to target environment
Row customization process and resource increase or delete or exception processes;
When the type of the file is parameter, file is copied to into the target environment.
In actual applications, when the type of file is executable code, if executable code is related to data base, need it
In bound targets environment;If executable code is related to online program, need to be reloaded on CICS.
By above-described embodiment it can be seen that:Using the application version dispositions method of the present invention, it is no longer necessary to professional technique
One by one going of recording one by one of file is processed personnel, but utilizes software function, first analyzes the type of file in application version, then root
Corresponding mode of operation is searched according to file type, finally, utilizes searched mode of operation to process corresponding file, so processed
Deployment of the application version in logic environment can be just automatically performed, human resourcess are saved, while improve deployment efficiency.
Below in a concrete implementation mode as an example, the application version dispositions method of the present invention is further explained
Explanation.One application system is normally based on middleware to develop.It is online such as CICS (CICS)
Transaction provides various services and manages control;Data base management system (DB2), for the access that application system provides data
And management.Therefore, in order to ensure the normal work of application system, each logical partition is required for installing a set of CIC in advance
S and DB2 systems.
If there is following article part to put in storage to constructing environment from development environment, these files are developers under development environment
The program code write, one brick of each file representative:
CON1OCS.COM.LIBRYATM.CPY (CPY1)
CON1OCS.COM.COB.SRC (SRC1)
CON1OCS.BTCH.COB.SRC (SRC2)
CON1OCS.ONL.COB.SRC (SRC3)
CON1OCS.COM.DB2DDL.PRM (TBL1)
CON1OCS.COM.BASEDDL.PRM (TBL1)
CON1OCS.INSTLIB.UTL (DSYN1)
CON1OCS.INSTLIB.CSD.UTL (FCT1)
CON1OCS.COM.DEFCNTL.UTL (DEFUTL1)
CON1OCS.COM.DEFDATA.PRM (DEFPRM1)
CON1OCS.BTCH.AA00.JCL (JCL1)
CON1OCS.COM.PROCLIB (PROC1)
CON1OCS.COM.DBIOLIST.PRM
The part for compiling will be needed in said procedure source code first to generate executable code, then obtained after process of compilation
Version file is as follows:
CON1OCS.COM.DBRM.LOAD (SRC1)
CON1OCS.ONL.SUB.LOAD (SRC1)
CON1OCS.BTCH.SUB.LOAD (SRC1)
CON1OCS.BTCH.LOAD (SRC2)
CON1OCS.ONL.LOAD (SRC3)
CON1OCS.BTCH.LOAD (SRC4)
CON1OCS.ONL.LOAD (SRC5)
CON1OCS.BTCH.LOAD (SRC6)
CON1OCS.ONL.LOAD (SRC7)
CON1OCS.BTCH.DBIO.LOAD (DBIOTBL1)
CON1OCS.ONL.DBIO.LOAD (DBIOTBL1)
CON1OCS.COM.DBRM.LOAD (DBIOTBL1)
CON1OCS.COM.DB2DDL.PRM (TBL1)
CON1OCS.COM.BASEDDL.PRM (TBL1)
CON1OCS.INSTLIB.UTL (DSYN1)
CON1OCS.INSTLIB.CSD.UTL (FCT1)
CON1OCS.COM.DEFCNTL.UTL (DEFUTL1)
CON1OCS.COM.DEFDATA.PRM (DEFPRM1)
CON1OCS.BTCH.AA00.JCL (JCL1)
CON1OCS.COM.PROCLIB (PROC1)
CON1OCS.COM.DBIOLIST.PRM
Above-mentioned version file is packaged into into application version (being referred to as a Hosts file) BACKUPP1.
CON1OCS.DMP.BOCS.D140401, is used with supplying other logic environments.
According to the inventory of above-mentioned application version, successively by the file copy in application version to each target environment.Then,
Corresponding mode of operation is called according to the type of each file, to realize automatic deployment of the application version in target environment.When
When system processing power is stronger, application version can also be realized while coming into force in multiple target environment, i.e. in a parallel fashion
Realize version automatic deployment.
In addition, present invention also offers a kind of application version deployment device, the device is corresponding with said method.Root below
The inside each unit function and annexation of the device are further explained according to the operation principle of the device.
Refering to Fig. 3, the embodiment of the present invention application version for illustrating disposes the structure chart of device, and the device may include:
Compilation unit 201, for the compiling under the constructing environment of mainframe application version is generated;
Searching unit 202, for according to the corresponding mode of operation of the type search of file in the application version;
Deployment unit 203, for according to the practical situation of target environment, utilizing searched mode of operation to process file,
So that the application version comes into force under the target environment, the target environment is referred to the constructing environment in same logic
Other logic environments of subregion.
Optionally, the target environment includes:Assembling test environment, System Integration Test environment or automatic test ring
Border.
Optionally, the searching unit includes:
Identification subelement, for recognizing the type of file, the file according to the suffix name of file in the application version
Type include:Executable code, job stream, script or parameter;
Search subelement, in the mapping table for pre-saving, according to the type search of the file for being recognized with
Its corresponding mode of operation, the mode of operation includes:Replicate, resource increase delete or change, customization or it is online can
Actuating code comes into force.
Optionally, the deployment unit includes:
First deployment subelement, for when the type of the file is executable code, first file being copied to into the mesh
Mark environment, then realize that online executable code comes into force;
Second deployment subelement, for when the type of the file is job stream, first file being copied to into the target
Environment, further according to target environment customization process is carried out;
3rd deployment subelement, for when the type of the file is script, first file being copied to into the target ring
Border, carrying out customization process and resource further according to target environment increases or deletion or exception processes;
4th deployment subelement, for when the type of the file is parameter, file being copied to into the target environment.
Optionally, the compilation unit includes:
Compiling subelement, can for the partial compilation for compiling will be needed to generate in the program source code put in storage from development environment
Actuating code;
Packing subelement, for the executable code and the program source code that need not be compiled to be packaged into one and apply version
This.
By above-described embodiment as can be seen that disposing device using the application version of the present invention, can be according to application version
The corresponding mode of operation of type search of middle file, according to the corresponded manner searched file is processed, and realizes application version oneself
Dynamic deployment, without the need for professional and technical personnel's process file that one by one file is recorded one by one, saves human resourcess, while improve portion
Administration's efficiency.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposit between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those
Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
For device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.Device embodiment described above is only schematic, wherein making
Unit for separating component explanation can be or may not be physically separate.It can according to the actual needs be selected
In some or all of module realizing the purpose of the present invention program.Those of ordinary skill in the art are not paying creative labor
In the case of dynamic, you can to understand and implement.
A kind of application version dispositions method provided by the present invention and device are described in detail above, herein should
The principle and embodiment of the present invention are set forth with specific embodiment, the explanation of above example is only intended to help
Understand the method for the present invention;For simultaneously for those skilled in the art, before without departing from the application principle
Put, some improvements and modifications can also be made, these improvements and modifications also should be regarded as the protection domain of the application.
Claims (8)
1. a kind of application version dispositions method, it is characterised in that methods described includes:
The compiling under the constructing environment of mainframe generates application version;
According to the corresponding mode of operation of type search of file in the application version;
Wherein, the corresponding mode of operation of the type search according to file in the application version, including:
The type of file is recognized according to the suffix name of file in the application version, the type of the file includes:Executable code,
Job stream, script or parameter;And,
In the mapping table for pre-saving, according to the corresponding mode of operation of the type search of the file for being recognized, institute
Stating mode of operation includes:Replicate, resource increases or deletes or change, customization or online executable code come into force;
According to the practical situation of target environment, searched mode of operation is utilized to process file, so that the application version is in institute
State and come into force under target environment, the target environment refers to other logic environments with the constructing environment in same logical partition.
2. method according to claim 1, it is characterised in that the target environment includes:Assembling test environment, system collection
Into test environment, automatic test environment or Training Environment.
3. method according to claim 1, it is characterised in that the practical situation according to target environment, using being looked into
The mode of operation looked for processes file, including:
When the type of the file is executable code, first file is copied to into the target environment, then is realized online executable
Code comes into force;
When the type of the file is job stream, first file is copied to into the target environment, is carried out further according to target environment
Customization is processed;
When the type of the file is script, first file is copied to into the target environment, further according to target environment visitor is carried out
Familyization process and resource increase or delete or exception processes;
When the type of the file is parameter, file is copied to into the target environment.
4. method according to claim 1, it is characterised in that the compiling under the constructing environment of mainframe is generated should
With version, including:
The partial compilation for compiling is needed to generate executable code in the program source code that will be put in storage from development environment;
The executable code and the program source code that need not be compiled are packaged into into an application version.
5. a kind of application version disposes device, it is characterised in that described device includes:
Compilation unit, for the compiling under the constructing environment of mainframe application version is generated;
Searching unit, for according to the corresponding mode of operation of the type search of file in the application version;
Wherein, the searching unit includes:Identification subelement and lookup subelement;
Identification subelement, for recognizing the type of file, the class of the file according to the suffix name of file in the application version
Type includes:Executable code, job stream, script or parameter;
Subelement is searched, it is right with it according to the type search of the file for being recognized in the mapping table for pre-saving
The mode of operation answered, the mode of operation includes:Replicate, resource increases or deletes or change, customization or online executable
Code comes into force;
Deployment unit, for according to the practical situation of target environment, utilizing searched mode of operation to process file, so that described
Application version comes into force under the target environment, the target environment refer to the constructing environment same logical partition its
His logic environment.
6. device according to claim 5, it is characterised in that the target environment includes:Assembling test environment, system collection
Into test environment, automatic test environment or Training Environment.
7. device according to claim 5, it is characterised in that the deployment unit includes:
First deployment subelement, for when the type of the file is executable code, first file being copied to into the target ring
Border, then realize that online executable code comes into force;
Second deployment subelement, for when the type of the file is job stream, first file being copied to into the target environment,
Customization process is carried out further according to target environment;
3rd deployment subelement, for when the type of the file is script, first file being copied to into the target environment, then
Carrying out customization process and resource according to target environment increases or deletion or exception processes;
4th deployment subelement, for when the type of the file is parameter, file being copied to into the target environment.
8. device according to claim 5, it is characterised in that the compilation unit includes:
Compiling subelement, it is executable for the partial compilation for compiling will to be needed to generate in the program source code put in storage from development environment
Code;
Packing subelement, for the executable code and the program source code that need not be compiled to be packaged into into an application version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410236378.1A CN103970579B (en) | 2014-05-29 | 2014-05-29 | Application version deploying method and application version deploying device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410236378.1A CN103970579B (en) | 2014-05-29 | 2014-05-29 | Application version deploying method and application version deploying device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103970579A CN103970579A (en) | 2014-08-06 |
CN103970579B true CN103970579B (en) | 2017-05-03 |
Family
ID=51240116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410236378.1A Active CN103970579B (en) | 2014-05-29 | 2014-05-29 | Application version deploying method and application version deploying device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103970579B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331665B (en) * | 2014-10-29 | 2017-08-08 | 中国农业银行股份有限公司 | A kind of generation method for reviewing object code and target code generator can be reviewed |
CN105159982A (en) * | 2015-08-28 | 2015-12-16 | 浪潮(北京)电子信息产业有限公司 | Method and system for connecting DB2 databases in Unix operation system |
CN105701195A (en) * | 2016-01-12 | 2016-06-22 | 深圳市创维电器科技有限公司 | Method and system for implementing automatic sorted storing according to file types |
CN107038352A (en) * | 2016-02-03 | 2017-08-11 | 上海思立微电子科技有限公司 | Intranet security access method, device and terminal |
CN110119393B (en) * | 2016-04-29 | 2021-04-09 | 清华大学 | Code version management system and method |
CN106407125B (en) * | 2016-11-15 | 2019-02-05 | 中国银行股份有限公司 | Mainframe environment detection method and device |
CN107943692B (en) * | 2017-11-17 | 2021-08-17 | 中国银行股份有限公司 | Automatic test method and device for downloading batch original tables |
CN109634687A (en) * | 2018-12-19 | 2019-04-16 | 恒为科技(上海)股份有限公司 | The starting method and apparatus of application software in a kind of embedded Linux system |
CN109918340B (en) * | 2019-03-18 | 2021-07-02 | 维沃移动通信有限公司 | File processing method and terminal equipment |
CN110275872A (en) * | 2019-07-18 | 2019-09-24 | 中国银行股份有限公司 | Version automatic deployment method, device, computer equipment and storage medium |
CN111158704B (en) * | 2020-01-02 | 2023-08-22 | 中国银行股份有限公司 | Model building method, deployment flow generating method, device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101968741A (en) * | 2009-07-27 | 2011-02-09 | 阿里巴巴集团控股有限公司 | Method, server and system for data update |
CN101978366A (en) * | 2008-03-20 | 2011-02-16 | 微软公司 | Application management within deployable object hierarchy |
CN102521134A (en) * | 2011-12-21 | 2012-06-27 | 中国工商银行股份有限公司 | Test information detecting method and test information detecting device based on mainframe |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2360584B1 (en) * | 2010-01-13 | 2017-06-21 | Software AG | Mainframe data stream proxy and method for caching communication between emulators and mainframes |
CN102662705B (en) * | 2012-03-31 | 2015-06-03 | 中国工商银行股份有限公司 | System and method for upgrading system environment of computer cluster |
-
2014
- 2014-05-29 CN CN201410236378.1A patent/CN103970579B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101978366A (en) * | 2008-03-20 | 2011-02-16 | 微软公司 | Application management within deployable object hierarchy |
CN101968741A (en) * | 2009-07-27 | 2011-02-09 | 阿里巴巴集团控股有限公司 | Method, server and system for data update |
CN102521134A (en) * | 2011-12-21 | 2012-06-27 | 中国工商银行股份有限公司 | Test information detecting method and test information detecting device based on mainframe |
Non-Patent Citations (1)
Title |
---|
"云计算的自动部署服务在银行Power系统上的应用研究";戴琪;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130715(第07期);I138-409 * |
Also Published As
Publication number | Publication date |
---|---|
CN103970579A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103970579B (en) | Application version deploying method and application version deploying device | |
US10671630B2 (en) | External access to database container artifacts | |
US8490082B2 (en) | System and method for representing user processes as software packages in a software package management system | |
US7831569B2 (en) | Preserving a query plan cache | |
US20040205179A1 (en) | Integrating design, deployment, and management phases for systems | |
JP2007524889A (en) | Server integration data model | |
WO2003085526A1 (en) | Using disassociated images for computer and storage resource management | |
US20200326936A1 (en) | System and method for code synchronization between mainframe environment and distributed environment | |
US20160062754A1 (en) | Coordinating Application Deployment with a Platform Tier | |
Strijkers et al. | Toward Executable Scientific Publications. | |
US20110321063A1 (en) | Application settings migration using virtualization | |
US11086724B1 (en) | Single step merging of a virtual hard disk chain | |
Ormenisan et al. | Implicit provenance for machine learning artifacts | |
CN113296891A (en) | Multi-scene knowledge graph processing method and device based on platform | |
Berthou et al. | Ghost process: a sound basis to implement process duplication, migration and checkpoint/restart in linux clusters | |
Appuswamy et al. | Flexible, modular file volume virtualization in Loris | |
US20230093197A1 (en) | Generating executables for target operational environments | |
Paro | Elasticsearch 8. x Cookbook: Over 180 recipes to perform fast, scalable, and reliable searches for your enterprise | |
KR102019799B1 (en) | Method and apparatus for establishing virtual cluster by mounting of readable and writable virtual disks | |
Borisov et al. | Rapid experimentation for testing and tuning a production database deployment | |
Dawes et al. | OCA: Oracle 10g Administration I Study Guide (1Z0-042) | |
US10419547B1 (en) | Method and system for composing and executing server migration process | |
Sayed | Hadoop Cluster Implementation | |
Barrett et al. | Staging for z/OS Optimization | |
Jones et al. | Design, Implementation, and Experiences of Third-Party Software Administration at the ORNL NCCS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Zhao Xufu Inventor after: Han Yuzhong Inventor after: Chen Yuanfeng Inventor after: Zhang Yuanqin Inventor before: Zhao Xufu |