CN106484452A - A kind of unified configuring management method of software platform and device - Google Patents
A kind of unified configuring management method of software platform and device Download PDFInfo
- Publication number
- CN106484452A CN106484452A CN201510549371.XA CN201510549371A CN106484452A CN 106484452 A CN106484452 A CN 106484452A CN 201510549371 A CN201510549371 A CN 201510549371A CN 106484452 A CN106484452 A CN 106484452A
- Authority
- CN
- China
- Prior art keywords
- application
- configuration
- configuration file
- platform
- reading
- 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
Abstract
The invention discloses a kind of unified configuring management method of software platform and device, strong to configuration tool dependency to solve the problems, such as the configuration flow failing to isolate and causing due to platform configuration and the application deployment of software platform.The method is to receive configuration management order first;After determining that configuration management order is effective, read the platform configuration file prestoring, and determine the execution type of configuration management order;Execution type based on configuration management order and the application registry prestoring, the application configuration flow process being related in configuration management order is executed according to the platform configuration file reading, so, the platform configuration and the application deployment that are capable of software platform are mutually isolated, and do not rely on any installation and deployment instrument, support the configuration management to software platform or application-specific, ad-hoc location, in addition, the unified configuring maintenance low cost of this software platform, learning cost is little, more can weaken irreplaceable project resource risk.
Description
Technical field
The present invention relates to computer software application field, the unified configuration management of more particularly, to a kind of software platform
Method and apparatus.
Background technology
For most enterprises software platform, most software supplier adopts software platform to upgrade
Mode comply with the change of business event function.And for larger upgrading measure, mostly using redeploying
Mode solve.According to the rule of software life-cycle, a software platform all can before tending towards stability substantially
Upgraded by the way of redeploying.Due to software platform system bulky complex itself, some inclusions are permitted
Many application series, this makes the various complexity of parameter configuration content of software platform, and artificial participation deployment interaction can
Poor by property, workload is greatly it is easy to cause to upgrade unsuccessfully.But in frequently upgrade job, mostly join
Number configuration content is relatively stable, and in order to change this situation, many software suppliers carry in software platform parameter
Rely on installation tool on the basis of front unified planning, take and disposably configure during deployment, or replace manually real
The mode deployment software platform of existing automatic interaction.
During software platform parametric programming, for avoiding software platform upgrading personnel to the friendship installed during deployment
Mutually |input paramete mistake, takes the mode of unified planning parameter to be carried out unify to configure, in advance by software platform
O&M upgrade personnel planning common parameter and each application special parameter.And platform configuration file includes
Platform-common parameters and application-specific parameter two parts, wherein in platform-common parameters configuration software platform each
The common parameter set of application, such as database information, FTP information etc.;The configuration of application-specific argument section is each
Specific parameter sets in individual application, such as each network monitor port required for application, the internal memory of startup is big
The parameter sets such as little.
The deployment way of existing software platform includes disposably configuring installation packet mode and automatic interaction mode.
Wherein, disposable configuration installation packet mode see shown in Fig. 1, the agreement mainly according to deployment for the which,
It is integral deployment bag by installation tool integrated software platform application series, installation process does not reoffer parameter
Configuration interactive, by installation kit engine according to platform configuration file be automatically performed in whole software platform each
The configuration of application.The principal character of this kind of configuration mode embodies in the following areas:1) deployment of software platform
Bag, by installation and deployment tool making, is bin or exe mode;2) when making deployment package, by customization
Deployment engine script come to configure each application in configuration parameter;3) which different deployment packages (such as includes
Application, several applications) need to customize different deployment engine scripts;4) during deployment, by disposing
Bag engine passes through the configuration content in platform configuration file, automatically configures in the configuration file in all applications
Parameter;5), after installing, each application configuration in software platform finishes.
Wherein, the implementation process of automatic interaction mode see shown in Fig. 2, under this kind of mode, using installation
Deployment tool automatic interaction in installation process, realize in whole software platform each application disposably join
Put.The principal character of this kind of configuration mode embodies in the following areas:1) deployment package of software platform is by installing
Deployment tool makes, and is bin or exe mode;2) portion being applied in strict accordance with each using deployment tool
The different automatic interaction process engine of administration's configuration step customization, then issue corresponding deployment engine instrument;3)
During the deployment that each is applied, there is deployment tool to run automatic interaction engine and carry out automatic interaction, according to
Software platform configuration file, the configuration step according to application completes the configuration 4 of parameter in each application) install
After finishing, each application configuration in software platform finishes.
It follows that existing installation tool and deployment tool mostly extend very limited, and do not support from
Definition extension, easily limited in special applications;To deployment package, producer has high demands, and is making deployment package
When, need to customize the installation engine script of each deployment package, determine which parameter of which application should configure,
Maintenance workload is big, and needs to give study training to deployment tool;Easily human resourcess are made to version
Form irreplaceable dependence, staff redeployment or leaving office will cause deployment package to issue obstacle, and hand over is imitated
Really unreliable;Too strong to deployment tool dependency, if the configuration step change in deployment (was such as configuring
Add new configuration parameter in the middle of journey) or configuration parameter change (as title change etc.), then must change
The deployment script of installation tool, regenerates deployment package, or again customizes automatic interaction engine, again sends out
Cloth deployment engine instrument;Limited by software platform deployment package form, the form that can only be supported with deployment tool is such as
The forms such as exe, bin are just permissible;Above all config update can not be supported, in implementation procedure, if finding
There is configuration parameter mistake in platform configuration file or need to change, whole deployment process will all be cancelled, and
And mistake is difficult to investigate, simultaneously because the restriction of deployment scene is more, lead to redeploy, and for
Commercial software platform, does not accomplish platform configuration and the application deployment isolation of software platform, does not substantially have
Have and really realize one-touch transparent deployment way.
Content of the invention
It is an object of the invention to provide a kind of unified configuring management method of software platform and device, with solve by
In the platform configuration of software platform and application deployment fail to isolate and the configuration flow that causes to configuration tool according to
The problem of Lai Xingqiang.
The purpose of the present invention is achieved through the following technical solutions:
A kind of unified configuring management method of software platform, including:
Receive configuration management order;
After determining that described configuration management order is effective, read the platform configuration file that prestores, and join described in determining
Put the execution type of administration order;
Execution type based on described configuration management order and the application registry prestoring, according to the platform reading
Configuration file executes the application configuration flow process being related in described configuration management order, and described application registry is used for
Types of applications information in configuration software platform, described application message includes Apply Names and application deployment position
Put.
In such manner, it is possible to realizing the platform configuration of software platform and applying deployment mutually isolated, and do not rely on
Any installation and deployment instrument, supports the configuration management to software platform or application-specific, ad-hoc location, joins
The realization putting management is independent of the deployment interactive step of software platform, additionally, the unification of this software platform is joined
Put operation succinctly efficient, maintenance cost is low, and learning cost is little, more can weaken irreplaceable project resource wind
Danger.
Optionally, described platform configuration file includes platform-common parameters and application-specific parameter, described platform
Configuration file is used for common parameter and the application parameter of configuration software platform.
Optionally, the execution type based on described configuration management order and the application registry prestoring, according to reading
The platform configuration file taking executes the application configuration flow process being related in described configuration management order, specifically includes:
When the execution type of described configuration management order is the application type that configuration is specified, in described application registration
The corresponding Apply Names specified of described configuration management order is indexed, to obtain the application deployment position specified in table
Put, in the described application deployed position specified according to the platform configuration file reading and corresponding application configuration literary composition
Part template generation corresponding application configuration file is to complete configuration flow;
When the execution type of described configuration management order is configuration software Platform Type, in described application registry
The all of Apply Names of middle index, to obtain all of application deployed position, in all of application deployed position
Respective according to the application configuration file template parallel generation of the platform configuration file reading and each application
Application configuration file is to complete configuration flow.
Optionally, joined according to the platform configuration file reading and corresponding application in specified application deployed position
Put file template and generate corresponding application configuration file to complete configuration flow, specifically include:
Index and read the application configuration file template in all paths under the application deployed position specified, according to
The platform configuration file reading, the application configuration file template position in the described application deployment specified generates
Corresponding application configuration file is to complete configuration flow.
Optionally, apply deployed position according to the application of the platform configuration file reading and each application all of
Profile template parallel generation respective application configuration file, to complete configuration flow, specifically includes:
Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
Optionally, in application deployed position according to the platform configuration file reading and the life of application configuration file template
Become corresponding application configuration file to complete configuration flow, specifically include:
In application deployed position, corresponding parameter and Radix Scrophulariae numerical value are obtained according to the profile template reading,
The corresponding raw parameter of platform configuration file index reading is worth to new parameter value, and corresponding parameter is former
Parameter value replaces with new parameter value and generates corresponding application configuration file to complete configuration flow.
A kind of unified configuration management device of software platform, including:
Receiving unit, for receiving configuration management order;
Reading unit, after determining that described configuration management order is effective, reads the platform configuration file prestoring,
And determine the execution type of described configuration management order;
Dispensing unit, for the execution type based on described configuration management order and the application registry prestoring,
The application configuration flow process being related in described configuration management order is executed according to the platform configuration file reading, described
Application registry is used for the types of applications information in configuration software platform, and described application message includes Apply Names
With application deployed position.
In such manner, it is possible to realizing the platform configuration of software platform and applying deployment mutually isolated, and do not rely on
Any installation and deployment instrument, supports the configuration management to software platform or application-specific, ad-hoc location, joins
The realization putting management is independent of the deployment interactive step of software platform, additionally, the unification of this software platform is joined
Put operation succinctly efficient, maintenance cost is low, and learning cost is little, more can weaken irreplaceable project resource wind
Danger.
Optionally, described platform configuration file includes platform-common parameters and application-specific parameter, described platform
Configuration file is used for common parameter and the application parameter of configuration software platform.
Optionally, the execution type based on described configuration management order and the application registry prestoring, according to reading
When the platform configuration file taking executes the application configuration flow process being related in described configuration management order, described configuration
Unit specifically for:
When the execution type of described configuration management order is the application type that configuration is specified, in described application registration
The corresponding Apply Names specified of described configuration management order is indexed, to obtain the application deployment position specified in table
Put, in the described application deployed position specified according to the platform configuration file reading and corresponding application configuration literary composition
Part template generation corresponding application configuration file is to complete configuration flow;
When the execution type of described configuration management order is configuration software Platform Type, in described application registry
The all of Apply Names of middle index, to obtain all of application deployed position, in all of application deployed position
Respective according to the application configuration file template parallel generation of the platform configuration file reading and each application
Application configuration file is to complete configuration flow.
Optionally, joined according to the platform configuration file reading and corresponding application in specified application deployed position
When putting the file template corresponding application configuration file of generation to complete configuration flow, described dispensing unit is specifically used
In:
Index and read the application configuration file template in all paths under the application deployed position specified, according to
The platform configuration file reading, the application configuration file template position in the described application deployment specified generates
Corresponding application configuration file is to complete configuration flow.
Optionally, apply deployed position according to the application of the platform configuration file reading and each application all of
When profile template parallel generation respective application configuration file is to complete configuration flow, described configuration
Unit specifically for:
Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
Optionally, in application deployed position according to the platform configuration file reading and the life of application configuration file template
When becoming corresponding application configuration file to complete configuration flow, described dispensing unit specifically for:
In application deployed position, corresponding parameter and Radix Scrophulariae numerical value are obtained according to the profile template reading,
The corresponding raw parameter of platform configuration file index reading is worth to new parameter value, and corresponding parameter is former
Parameter value replaces with new parameter value and generates corresponding application configuration file to complete configuration flow.
Brief description
Fig. 1 is existing disposable configuration installation kit implementation process schematic diagram;
Fig. 2 is the implementation process schematic diagram of existing automatic interaction mode;
Fig. 3 is the structural representation of Framework in the embodiment of the present invention;
Fig. 4 is platform configuration file schematic diagram in the embodiment of the present invention;
Fig. 5 is application registry schematic diagram in the embodiment of the present invention;
Fig. 6 A and Fig. 6 B generates corresponding answering for one in the embodiment of the present invention in profile template position
Process schematic with configuration file;
Fig. 7 A is the high-level schematic functional block diagram of Framework in the embodiment of the present invention;
Fig. 7 B is configuration order distribution function implementation procedure schematic diagram in the embodiment of the present invention;
Fig. 7 C is to specify application configuration function executing process schematic in the embodiment of the present invention;
Fig. 7 D is software platform configuration feature implementation procedure schematic diagram in the embodiment of the present invention;
Fig. 7 E is to configure perform function implementation procedure schematic diagram in the embodiment of the present invention;
Fig. 8 A and Fig. 8 B is the deployment schematic diagram of two kinds of Framework in the embodiment of the present invention;
Fig. 9 is the unified configuring management method schematic flow sheet of software platform in the embodiment of the present invention;
Figure 10 is the unified configuration management apparatus structure schematic diagram of software platform in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by it is clear that described embodiment is only a part of embodiment of the present invention, be not
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that obtained, broadly fall into the scope of protection of the invention.
Framework (Framework) application defined in the embodiment of the present invention, using cross-platform Java language
Exploitation, provides for software platform reliable efficient, operates succinct unified configuring management method, in order to improve
The work efficiency of operation maintenance personnel, reduces work difficulty, and the primary structure of Framework is as shown in Figure 3:
From the figure 3, it may be seen that Framework is by platform configuration file, application registry, configuration management executes mould
Block, profile template specification four part forms, and wherein functions are as follows respectively:
In embodiments of the present invention, as shown in figure 4, platform configuration file and use at present the platform in technology
Configuration file is consistent, the common parameter in order to configuration software platform and application parameter, equally supports software platform
Parameter unified planning, be one of core document of Framework.
In embodiments of the present invention, as shown in figure 5, application registry needs also exist for before software platform is disposed
Unified planning, for each application message in configuration software platform, mainly includes Apply Names and corresponding portion
Administration position, is one of core document of Framework.In the actual motion of Framework configures, should
Configuration with registration table is more flexible, the application of specified location can be carried out with config update or answer
Portion, Apply Names now will be the another name of an ad-hoc location, appoints therefore, it is possible to be adapted to
What disposes the software platform of form.
In embodiments of the present invention, profile template specification belongs to the specification that a software platform follows about
Fixed, if Framework needs one software platform of configuration management, in this platform all application configuration literary compositions
Part should be existed with the form of profile template in deployment package, can be according to flat in order to Framework
Platform configuration file and profile template, generate the application configuration file of software platform.Concrete norm specifies such as
Under:
1) profile template title must be with " application configuration filename "+" .framework.template "
To name, being capable of automatically retrieval in order to Framework.
2) in profile template, the application parameter value needing Framework configuration must be with " $ "+" flat
Parameter name in platform configuration file " is representing.
3) corresponding application configuration file can be generated in the position of profile template.
To illustrate how to generate corresponding answering in the position of profile template with a specific example below
Use configuration file.
Understand refering to Fig. 6 A:Platform configuration file is Platform.properties, and the inside has the parameter to be
Country=China;If desired generate application configuration file list.properties, and need parameter
The value of countryName is value China of country in platform configuration file, then arranged according to specification, should
The profile template title of configuration file should be:List.properties.framework.template, and
The value of parameter countryName should be country, then, after this application deployment, running Framework is
Corresponding application configuration file can be generated in the position of profile template.In actual moving process,
Framework will search the parameter value making marks in application configuration file template, then in platform configuration literary composition
The corresponding parameter name of this parameter value of lookup in part, draws the parameter value of this parameter name, then updates and joins
Put file template content, generate corresponding application configuration file, detailed process refers to shown in Fig. 6 B.
Configuration management performing module is the nucleus module of Framework, and major function refers to shown in Fig. 7 A:
In this functional module, the main configuration order that includes is distributed, and application-specific configures, and software platform configures and configures
Four functions of perform function.Wherein, configuration order distribution function is mainly and executes life according to Framework
Order is distributed, and determines execution software platform configuration or application-specific configuration, if specifying during execution order
Concrete application, will configure to application-specific, if execution order is software platform configuration, will be to software
Platform is configured, and specifically see shown in Fig. 7 B.Application-specific configuration feature will enter to specified application
Row config update, Framework will index the position of application first in application registry, then to this
Position executes configuration flow, specifically see shown in Fig. 7 C.Software platform configuration feature will be to software platform
In each application carry out overall arrangement, in practical implementation, if software platform has overall positions, now
Software platform can be registered to application registry as a special application, by overall to software platform
Position carries out configured in one piece.If the related application position disunity of software platform, can be in application registry
All applications configured, now Framework will in application registry each application, generate
Multiple applications are concurrently configured, specifically see Fig. 7 D by one independent configuration perform function flow process
Shown.Configuration perform function is the Core Feature of configuration management performing module, it will Auto-matching specified location
Under all paths under all profile templates, and generate corresponding application configuration file, specifically can join
Read shown in Fig. 7 E.
In sum, by the occupation mode of Framework:
1) using only needing planning platform configuration file, basis in software platform deployment package during Framework
The profile template needing in Framework specification Software for producing platform;This can be put down as software
The development specifications of platform is it is stipulated that need the application configuration file of planning and configuration with configuration file mould all in software platform
Presented in plate.
2) Framework mainly supports isolated operation environment is managed for configuration, if software platform is supported
Network installation, then for any one running environment in network installation, the independent environment of conduct that all can be relative
Software platform configuration is completed by Framework.
3) Framework can be used alone deployment and running environment as one, for software platform parameter
Planning, config update uses, as shown in Figure 8 A.
4) Framework, can complete in the last triggering execution of deployment as a software platform part
Configuration to software platform, as shown in Figure 8 B.
5) Framework can work in coordination with deployment tool and use, but to final software platform deployment package lattice
Formula does not have any restriction it might even be possible to be the compressed formats such as currently a popular gzip to be released, by deployment work
Tool makes specific software platform deployment package, is completed the unified configuration of software platform during deployment by Framework
Management.
6) when the configuration of software platform needs to update, execution updates the parameter of platform configuration file, you can
Update the related application configuration file of whole software platform.
Based on above-mentioned Framework structure, refering to shown in Fig. 9, in the embodiment of the present invention, provide a kind of software
The unified configuring management method of platform, idiographic flow is as follows:
Step 900:Receive configuration management order.
Step 901:After determining that configuration management order is effective, read the platform configuration file prestoring, and determine
The execution type of this configuration management order.
Specifically, according to Framework structure, platform configuration file includes platform-common parameters and spy
Determine application parameter, platform configuration file is used for common parameter and the application parameter of configuration software platform.
Step 902:Execution type based on configuration management order and the application registry prestoring, according to reading
Platform configuration file execute the application configuration flow process that is related in configuration management order, application registry is used for joining
Put the types of applications information in software platform, application message includes Apply Names and application deployed position.
Specifically, the execution type based on configuration management order and the application registry prestoring, according to read
Platform configuration file executes the application configuration flow process being related in this configuration management order, specifically includes following two
Situation:
The first situation is:If the execution type of configuration management order is the application type that configuration is specified,
The corresponding Apply Names specified of this configuration management order is indexed, to obtain the application specified in application registry
Deployed position, the application deployed position specified at this is according to the platform configuration file reading and application configuration file
Template generation corresponding application configuration file is to complete configuration flow.
Specifically, joined according to the platform configuration file reading and corresponding application in specified application deployed position
Put file template and generate corresponding application configuration file to complete configuration flow, concrete mistake is referred to as:Index and read
The application configuration file template in all paths under the fixed application deployed position of fetching, the platform according to reading is joined
Put file, the application configuration file template position in the application deployment that this is specified generates corresponding application configuration
File is to complete configuration flow.
Second case is:If the execution type of configuration management order is configuration software Platform Type, answering
With indexing all of Apply Names in registration table, to obtain all of application deployed position, in all of application
Deployed position is each according to the application configuration file template parallel generation of the platform configuration file reading and each application
From corresponding application configuration file to complete configuration flow.
Specifically, apply deployed position according to the application of the platform configuration file reading and each application all of
To complete configuration flow, concrete mistake claims profile template parallel generation respective application configuration file
For:Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
Specifically, in application deployed position according to the platform configuration file reading and the life of application configuration file template
Become corresponding application configuration file to complete configuration flow, concrete mistake is referred to as:In application deployed position according to reading
The profile template taking obtains corresponding parameter and Radix Scrophulariae numerical value, in the platform configuration file index phase reading
The raw parameter answered is worth to new parameter value, and the Radix Scrophulariae numerical value of corresponding parameter is replaced with new parameter value life
Become corresponding application configuration file to complete configuration flow.
Based on above-described embodiment, refering to shown in Figure 10, in the embodiment of the present invention, provide a kind of software platform
Unified configuration management device, including receiving unit 10, reading unit 11 and dispensing unit 12, wherein:
Receiving unit 10, for receiving configuration management order;
Reading unit 11, after determining that described configuration management order is effective, reads the platform configuration literary composition prestoring
Part, and determine the execution type of described configuration management order;
Dispensing unit 12, for the execution type based on described configuration management order and the application registration prestoring
Table, executes, according to the platform configuration file reading, the application configuration flow process being related in described configuration management order,
Described application registry is used for the types of applications information in configuration software platform, and described application message includes applying
Title and application deployed position.
Optionally, described platform configuration file includes platform-common parameters and application-specific parameter, described platform
Configuration file is used for common parameter and the application parameter of configuration software platform.
Optionally, the execution type based on described configuration management order and the application registry prestoring, according to reading
When the platform configuration file taking executes the application configuration flow process being related in described configuration management order, described configuration
Unit 12 specifically for:
When the execution type of described configuration management order is the application type that configuration is specified, in described application registration
The corresponding Apply Names specified of described configuration management order is indexed, to obtain the application deployment position specified in table
Put, in the described application deployed position specified according to the platform configuration file reading and corresponding application configuration literary composition
Part template generation corresponding application configuration file is to complete configuration flow;
When the execution type of described configuration management order is configuration software Platform Type, in described application registry
The all of Apply Names of middle index, to obtain all of application deployed position, in all of application deployed position
Respective according to the application configuration file template parallel generation of the platform configuration file reading and each application
Application configuration file is to complete configuration flow.
Optionally, joined according to the platform configuration file reading and corresponding application in specified application deployed position
When putting the file template corresponding application configuration file of generation to complete configuration flow, described dispensing unit 12 has
Body is used for:
Index and read the application configuration file template in all paths under the application deployed position specified, according to
The platform configuration file reading, the application configuration file template position in the described application deployment specified generates
Corresponding application configuration file is to complete configuration flow.
Optionally, apply deployed position according to the application of the platform configuration file reading and each application all of
When profile template parallel generation respective application configuration file is to complete configuration flow, described configuration
Unit 12 specifically for:
Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
Optionally, in application deployed position according to the platform configuration file reading and the life of application configuration file template
When becoming corresponding application configuration file to complete configuration flow, described dispensing unit 12 specifically for:
In application deployed position, corresponding parameter and Radix Scrophulariae numerical value are obtained according to the profile template reading,
The corresponding raw parameter of platform configuration file index reading is worth to new parameter value, and corresponding parameter is former
Parameter value replaces with new parameter value and generates corresponding application configuration file to complete configuration flow.
In sum, receive configuration management order in the embodiment of the present invention;After determining that configuration management order is effective,
Read the platform configuration file prestoring, and determine the execution type of configuration management order;Based on configuration management life
The execution type of order and the application registry prestoring, according to the platform configuration file execution configuration management life reading
The application configuration flow process being related in order, in such manner, it is possible to realize platform configuration and the application deployment phase of software platform
Mutually isolate, and do not rely on any installation and deployment instrument, support to software platform or application-specific, spy
Position the configuration management put, the realization of configuration management is independent of the deployment interactive step of software platform, additionally,
The unified configuration operation of this software platform is succinctly efficient, and maintenance cost is low, and learning cost is little, more can weaken
Irreplaceable project resource risk.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot
Close the form of the embodiment of software and hardware aspect.And, the present invention can adopt and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (including but not limited to disk memory,
CD-ROM, optical memory etc.) the upper computer program implemented form.
The present invention is to produce with reference to method according to embodiments of the present invention, equipment (system) and computer program
The flow chart of product and/or block diagram are describing.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or the flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embed
The processor of formula datatron or other programmable data processing device is to produce a machine so that passing through to calculate
The instruction of the computing device of machine or other programmable data processing device produces for realizing in flow chart one
The device of the function of specifying in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process and set
So that being stored in this computer-readable memory in the standby computer-readable memory working in a specific way
Instruction produce and include the manufacture of command device, the realization of this command device is in one flow process or multiple of flow chart
The function of specifying in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Obtain and series of operation steps is executed on computer or other programmable devices to produce computer implemented place
Reason, thus the instruction of execution is provided for realizing in flow chart one on computer or other programmable devices
The step of the function of specifying in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to including preferred embodiment and fall into being had altered and changing of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not take off to the embodiment of the present invention
Spirit and scope from the embodiment of the present invention.So, if these modifications of the embodiment of the present invention and modification belong to
Within the scope of the claims in the present invention and its equivalent technologies, then the present invention be also intended to comprise these change and
Including modification.
Claims (12)
1. a kind of unified configuring management method of software platform is it is characterised in that include:
Receive configuration management order;
After determining that described configuration management order is effective, read the platform configuration file that prestores, and join described in determining
Put the execution type of administration order;
Execution type based on described configuration management order and the application registry prestoring, according to the platform reading
Configuration file executes the application configuration flow process being related in described configuration management order, and described application registry is used for
Types of applications information in configuration software platform, described application message includes Apply Names and application deployment position
Put.
2. the method for claim 1 is it is characterised in that described platform configuration file includes platform
Common parameter and application-specific parameter, described platform configuration file be used for configuration software platform common parameter and
Application parameter.
3. method as claimed in claim 1 or 2 is it is characterised in that be based on described configuration management order
Execution type and the application registry that prestores, described configuration management is executed according to the platform configuration file reading
The application configuration flow process being related in order, specifically includes:
When the execution type of described configuration management order is the application type that configuration is specified, in described application registration
The corresponding Apply Names specified of described configuration management order is indexed, to obtain the application deployment position specified in table
Put, in the described application deployed position specified according to the platform configuration file reading and corresponding application configuration literary composition
Part template generation corresponding application configuration file is to complete configuration flow;
When the execution type of described configuration management order is configuration software Platform Type, in described application registry
The all of Apply Names of middle index, to obtain all of application deployed position, in all of application deployed position
Respective according to the application configuration file template parallel generation of the platform configuration file reading and each application
Application configuration file is to complete configuration flow.
4. method as claimed in claim 3 it is characterised in that specified application deployed position according to
Read platform configuration file and corresponding application configuration file template generate corresponding application configuration file with
Complete configuration flow, specifically include:
Index and read the application configuration file template in all paths under the application deployed position specified, according to
The platform configuration file reading, the application configuration file template position in the described application deployment specified generates
Corresponding application configuration file is to complete configuration flow.
5. method as claimed in claim 3 it is characterised in that all of application deployed position according to
The platform configuration file reading and the respective application of application configuration file template parallel generation of each application
Configuration file, to complete configuration flow, specifically includes:
Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
6. the method as described in claim 4 or 5 is it is characterised in that applying deployed position according to reading
The platform configuration file taking and application configuration file template generate corresponding application configuration file to complete to configure
Flow process, specifically includes:
In application deployed position, corresponding parameter and Radix Scrophulariae numerical value are obtained according to the profile template reading,
The corresponding raw parameter of platform configuration file index reading is worth to new parameter value, and corresponding parameter is former
Parameter value replaces with new parameter value and generates corresponding application configuration file to complete configuration flow.
7. a kind of unified configuration management device of software platform is it is characterised in that include:
Receiving unit, for receiving configuration management order;
Reading unit, after determining that described configuration management order is effective, reads the platform configuration file prestoring,
And determine the execution type of described configuration management order;
Dispensing unit, for the execution type based on described configuration management order and the application registry prestoring,
The application configuration flow process being related in described configuration management order is executed according to the platform configuration file reading, described
Application registry is used for the types of applications information in configuration software platform, and described application message includes Apply Names
With application deployed position.
8. device as claimed in claim 7 is it is characterised in that described platform configuration file includes platform
Common parameter and application-specific parameter, described platform configuration file be used for configuration software platform common parameter and
Application parameter.
9. device as claimed in claim 7 or 8 is it is characterised in that be based on described configuration management order
Execution type and the application registry that prestores, described configuration management is executed according to the platform configuration file reading
During the application configuration flow process being related in order, described dispensing unit specifically for:
When the execution type of described configuration management order is the application type that configuration is specified, in described application registration
The corresponding Apply Names specified of described configuration management order is indexed, to obtain the application deployment position specified in table
Put, in the described application deployed position specified according to the platform configuration file reading and corresponding application configuration literary composition
Part template generation corresponding application configuration file is to complete configuration flow;
When the execution type of described configuration management order is configuration software Platform Type, in described application registry
The all of Apply Names of middle index, to obtain all of application deployed position, in all of application deployed position
Respective according to the application configuration file template parallel generation of the platform configuration file reading and each application
Application configuration file is to complete configuration flow.
10. device as claimed in claim 9 it is characterised in that specified application deployed position according to
Read platform configuration file and corresponding application configuration file template generate corresponding application configuration file with
When completing configuration flow, described dispensing unit specifically for:
Index and read the application configuration file template in all paths under the application deployed position specified, according to
The platform configuration file reading, the application configuration file template position in the described application deployment specified generates
Corresponding application configuration file is to complete configuration flow.
11. devices as claimed in claim 9 it is characterised in that all of application deployed position according to
The platform configuration file reading and the respective application of application configuration file template parallel generation of each application
When configuration file is to complete configuration flow, described dispensing unit specifically for:
Index and read the application configuration file template in all paths under all of application deployed position, according to
The platform configuration file reading, the application configuration file template position parallel generation in all of application deployment
Respective application configuration file is to complete configuration flow.
12. devices as described in claim 10 or 11 it is characterised in that application deployed position according to
The platform configuration file reading and application configuration file template generate corresponding application configuration file to complete to join
When putting flow process, described dispensing unit specifically for:
In application deployed position, corresponding parameter and Radix Scrophulariae numerical value are obtained according to the profile template reading,
The corresponding raw parameter of platform configuration file index reading is worth to new parameter value, and corresponding parameter is former
Parameter value replaces with new parameter value and generates corresponding application configuration file to complete configuration flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510549371.XA CN106484452B (en) | 2015-08-31 | 2015-08-31 | unified configuration management method and device for software platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510549371.XA CN106484452B (en) | 2015-08-31 | 2015-08-31 | unified configuration management method and device for software platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106484452A true CN106484452A (en) | 2017-03-08 |
CN106484452B CN106484452B (en) | 2019-12-06 |
Family
ID=58235603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510549371.XA Active CN106484452B (en) | 2015-08-31 | 2015-08-31 | unified configuration management method and device for software platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484452B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402784A (en) * | 2017-07-07 | 2017-11-28 | 北京小米移动软件有限公司 | Application management method and application management device |
CN110377367A (en) * | 2019-07-24 | 2019-10-25 | 广州虎牙科技有限公司 | Arrrangement method, device, electric terminal and computer readable storage medium |
CN112148349A (en) * | 2020-07-03 | 2020-12-29 | 上海金融期货信息技术有限公司 | System for cross-platform instruction and configuration unified interface |
CN114281428A (en) * | 2021-12-28 | 2022-04-05 | 挂号网(杭州)科技有限公司 | Configuration method of service dictionary, electronic equipment and storage medium |
CN114924806A (en) * | 2022-04-07 | 2022-08-19 | 南京慧尔视软件科技有限公司 | Dynamic synchronization method, device, equipment and medium for configuration information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901267A (en) * | 2010-08-02 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for managing configuration files |
CN102073488A (en) * | 2009-11-20 | 2011-05-25 | 中兴通讯股份有限公司 | Methods and devices for integrating and installing software |
CN102455915A (en) * | 2010-10-18 | 2012-05-16 | 卓望数码技术(深圳)有限公司 | Method for automatically configuring distributed system, and server |
-
2015
- 2015-08-31 CN CN201510549371.XA patent/CN106484452B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073488A (en) * | 2009-11-20 | 2011-05-25 | 中兴通讯股份有限公司 | Methods and devices for integrating and installing software |
CN101901267A (en) * | 2010-08-02 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for managing configuration files |
CN102455915A (en) * | 2010-10-18 | 2012-05-16 | 卓望数码技术(深圳)有限公司 | Method for automatically configuring distributed system, and server |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402784A (en) * | 2017-07-07 | 2017-11-28 | 北京小米移动软件有限公司 | Application management method and application management device |
CN110377367A (en) * | 2019-07-24 | 2019-10-25 | 广州虎牙科技有限公司 | Arrrangement method, device, electric terminal and computer readable storage medium |
CN112148349A (en) * | 2020-07-03 | 2020-12-29 | 上海金融期货信息技术有限公司 | System for cross-platform instruction and configuration unified interface |
CN112148349B (en) * | 2020-07-03 | 2024-03-15 | 上海金融期货信息技术有限公司 | Cross-platform instruction and system for configuring unified interface |
CN114281428A (en) * | 2021-12-28 | 2022-04-05 | 挂号网(杭州)科技有限公司 | Configuration method of service dictionary, electronic equipment and storage medium |
CN114924806A (en) * | 2022-04-07 | 2022-08-19 | 南京慧尔视软件科技有限公司 | Dynamic synchronization method, device, equipment and medium for configuration information |
CN114924806B (en) * | 2022-04-07 | 2024-03-26 | 南京慧尔视软件科技有限公司 | Dynamic synchronization method, device, equipment and medium for configuration information |
Also Published As
Publication number | Publication date |
---|---|
CN106484452B (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928529B (en) | Method and system for assisting operator development | |
US9021419B2 (en) | System and method for supporting intelligent design pattern automation | |
CN106484452A (en) | A kind of unified configuring management method of software platform and device | |
CN110058863A (en) | Construction method, device, equipment and the storage medium of Docker container | |
Sandobalin et al. | An infrastructure modelling tool for cloud provisioning | |
CN103268226B (en) | A kind of test script file generates method and device | |
CN107463362A (en) | The method and system of lasting deployment based on multiple Jenkins | |
CN111264048B (en) | Method for defining NSD for NS and instantiating NS and related network node | |
CN109976803B (en) | File generation method and device | |
US11645438B2 (en) | Generating a template-driven schematic from a netlist of electronic circuits | |
CN103309667A (en) | Method for positioning UI (user interface) control and picture modifying position in Android system | |
CN114356351A (en) | Application deployment system and method based on micro-service | |
CN109901872A (en) | A kind of IT application in enterprises series of products version pipe control method | |
CN101303646B (en) | Modeling method based on electric communication field capable of performing meta language | |
KR101409528B1 (en) | Method and apparatus of mda-based authoring application for smart cross-platform | |
CN103678485B (en) | Virtual experiment process node driving and movable packaging system | |
CN110941422B (en) | Code automatic generation method, code generator and readable storage medium | |
CN108287720A (en) | software compilation method, device, equipment and storage medium | |
CN107480050A (en) | A kind of method of testing of automatic test renewal bag | |
CN105867892A (en) | Centralized management method and system of multi-platform development | |
CN114721647B (en) | Object-oriented programming method based on codeless application development | |
CN113220561A (en) | Test case management method, device, equipment and medium | |
CN105867894A (en) | Automatic creating method and system of development environment | |
CN110413285A (en) | Method for deploying cloud service and method for developing cloud service | |
US20220413843A1 (en) | Combining model-driven applications and canvas-type applications with application lifecycle management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |