CN109491892A - A kind of configuration method and device of project environment - Google Patents
A kind of configuration method and device of project environment Download PDFInfo
- Publication number
- CN109491892A CN109491892A CN201811229014.5A CN201811229014A CN109491892A CN 109491892 A CN109491892 A CN 109491892A CN 201811229014 A CN201811229014 A CN 201811229014A CN 109491892 A CN109491892 A CN 109491892A
- Authority
- CN
- China
- Prior art keywords
- environment
- templates
- line
- project
- test
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of configuration method of project environment and devices, this method can include: be stored in advance at least one exploitation environment templates, at least one test environment templates and at least one line on environment templates, in storage, environment templates on determining target developing environment templates, target detection environment templates and the score to match with project to be built;When receive for project configuration to be built develop environment/test environment/line on environment request when, read environment templates on target developing environment templates/target detection environment templates/score, it is that environment templates define corresponding parameter on target developing environment templates/target detection environment templates/score by visualization interface, generates environment on target developing environment/target detection environment/score.Scheme provided by the invention, which is realized, carries out difference configuration to project varying environment, to effectively improve project development efficiency.
Description
Technical field
The present invention relates to field of computer technology, in particular to the configuration method and device of a kind of project environment.
Background technique
Project environment includes hardware environment and software environment, wherein software environment is divided into the exploitation in project development stage again
Environment, the project testing stage test environment and project it is online after line on environment.It and is that project accurately configures exploitation
Environment on environment, test environment and line just can guarantee that project can operate normally after online.In particular, for cloud backstage
Project has used a large amount of middleware, brings a large amount of configuration information, such as database configuration, redis configuration etc..Due to
Varying environment uses different configurations, that is, develops a kind of configuration, test a kind of configuration, a kind of configuration of environment on line, adds item
Some configurations of mesh itself.Many and diverse configuration is not only time-consuming and laborious, but also will lead to various queer problems, the row of being not easy to
It looks into.
Summary of the invention
The embodiment of the invention provides a kind of configuration method of project environment and device, realize to project varying environment into
Row difference configuration, to effectively improve project development efficiency.
At least one exploitation environment templates, at least one test environment are stored in advance in a kind of configuration method of project environment
Environment templates in template and at least one line, further includes:
At least one exploitation environment templates described in storage, at least one described test environment templates and described at least one
On a line in environment templates, the determining target developing environment templates to match with project to be built, target detection environment templates with
And environment templates on score;
When receive develop the request of environment for the project configuration to be built when, read the target developing environment mould
Plate is that the target developing environment templates define development parameters by visualization interface, generates target developing environment;
When receive test the request of environment for the project configuration to be built when, read the target detection environment mould
Plate is that the target detection environment templates define test parameter by visualization interface, generates target detection environment;
When receiving as the request of environment on the project configuration line to be built, environment mould on the score is read
Plate is that environment templates define on-line parameters on the score by visualization interface, generates environment on score.
Preferably,
It is described be stored in advance at least one exploitation environment templates, at least one test environment templates and at least one line on ring
Border template, comprising: respectively by environment at least one exploitation environment templates, at least one test environment templates and at least one line
Template is stored to different nodes;
Target developing environment templates, target detection environment templates and the target that the determination and project to be built match
Environment templates on line, comprising: for project to be built be respectively configured and call be stored with target developing environment templates first node,
It is stored with the second node of target detection environment templates and is stored with the third node of environment templates on score.
Preferably, the above method further comprises:
For exploitation environment templates described in each, execute:
The exploitation environment templates are cut at least two exploitation environment subtemplates, and develop ring for described at least two
Border subtemplate is stored into different exploitation child nodes;
According to the sequence between at least two exploitations environment subtemplate, the first of the different exploitation child nodes is determined
Calling sequence;
It is described for project configuration to be built and to call and be stored with the first nodes of target developing environment templates, comprising: for
At least two target developing child node of project configuration is constructed, and according to the first calling sequence, calls at least two mesh
Mark exploitation child node, wherein the exploitation environment subtemplate stored in at least two target developings child node forms a mesh
Mark exploitation environment templates.
Preferably, the above method further comprises:
For test environment templates described in each, execute:
The test environment templates are cut at least two test environment subtemplates, and by least two test wrapper
Border subtemplate is stored into different test child nodes;
According to the sequence between at least two tests environment subtemplate, the second of the different test child nodes is determined
Calling sequence;
It is described for project configuration to be built and to call and be stored with the second nodes of target detection environment templates, comprising: for
At least two target detection child node of project configuration is constructed, and according to the second calling sequence, calls at least two mesh
Mapping swab node, wherein the test environment subtemplate stored in at least two target detections child node forms a mesh
Mapping tries environment templates.
Preferably, the above method further comprises:
For environment templates on line described in each, execute:
Environment templates on the line are cut into environment subtemplate at least two lines, and by ring at least two line
Border subtemplate is stored into child node on different lines;
According to the sequence between environment subtemplate at least two line, the third of child node on the different lines is determined
Calling sequence;
It is described for project configuration to be built and to call and be stored with the third nodes of environment templates on score, comprising: for
Child node at least two score of project configuration is constructed, and according to the third calling sequence, calls at least two mesh
Child node on graticule, wherein environment subtemplate forms a mesh on the line stored in child node at least two score
Environment templates on graticule.
Preferably, the above method further comprises:
For exploitation environment templates definition exploitation type of database, exploitation data base management system and exploitation described in each
Distributed application program coordination service;
The weight of the exploitation type of database, the exploitation weight of data base management system and described are defined respectively
The weight of development DDB application Program Coordination service;
And the weight of the exploitation type of database, the weight and the exploitation point of the exploitation data base management system
The weight of cloth application program coordination service meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the power of the exploitation data base management system
Weight;K3Characterize the weight of the development DDB application Program Coordination service;
When not finding the target developing environment templates to match with the project to be built, calculated using following first public
Formula calculates the matching value of each exploitation environment templates;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;The institute that environment templates define is developed when i-th
It states exploitation type of database and meets the project to be built, then SKi=1;The exploitation that environment templates define is developed when i-th
Type of database is unsatisfactory for the project to be built, then SKi=0;The exploitation data that environment templates define are developed when i-th
Base management system meets the project to be built, then GKi=1;The exploitation database that environment templates define is developed when i-th
Management system is unsatisfactory for the project to be built, then GKi=0;It is distributed that the exploitation that environment templates define is developed when i-th
Application program coordination service meets the project to be built, then FKi=1;The exploitation that environment templates define is developed when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FKi=0;
The corresponding exploitation environment templates of maximum matching value are selected, are the close exploitation environment templates of the project to be built;
The close exploitation environment templates are modified by visualization interface, and are modified described by visualization interface
Close exploitation environment templates define development parameters, generate target developing environment.
Preferably, the above method further comprises:
For test environment template definition test database type, test data base management system and test described in each
Distributed application program coordination service;
The weight of the test database type, the weight of the test data base management system and described are defined respectively
The weight of test distributed application program coordination service;
And the weight of the test database type, the weight of the test data base management system and the test point
The weight of cloth application program coordination service meets following weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the power of the test data base management system
Weight;C3Characterize the weight of the test distributed application program coordination service;
When not finding the target detection environment templates to match with the project to be built, calculated using following second public
Formula calculates the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;The institute of environment template definition is tested when i-th
It states test database type and meets the project to be built, then SCi=1;The test of environment template definition is tested when i-th
Type of database is unsatisfactory for the project to be built, then SCi=0;The test data of environment template definition is tested when i-th
Base management system meets the project to be built, then GCi=1;The test database of environment template definition is tested when i-th
Management system is unsatisfactory for the project to be built, then GCi=0;The test distributed of environment template definition is tested when i-th
Application program coordination service meets the project to be built, then FCi=1;The test of environment template definition is tested when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FCi=0;
The corresponding test environment templates of maximum matching value are selected, are the close test environment templates of the project to be built;
The close test environment templates are modified by visualization interface, and are modified described by visualization interface
Close test environment template definition test parameter generates target detection environment.
Preferably, the above method further comprises:
For on data base management system on type of database in environment templates definition wires on line described in each, line and line
Distributed application program coordination service;
The weight of type of database on the line is defined respectively, the weight of data base management system and described on the line
The weight of distributed application program coordination service on line;
And the weight of type of database on the line, on the line on the weight of data base management system and the line point
The weight of cloth application program coordination service meets following weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the power of data base management system on the line
Weight;X3Characterize the weight of distributed application program coordination service on the line;
When not finding environment templates on the score to match with the project to be built, calculated using following thirds public
Formula calculates the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the institute that environment templates define on i-th of line
It states type of database on line and meets the project to be built, then SXi=1;When on the line that environment templates define on i-th of line
Type of database is unsatisfactory for the project to be built, then SXi=0;When data on the line that environment templates define on i-th of line
Base management system meets the project to be built, then GXi=1;When database on the line that environment templates define on i-th of line
Management system is unsatisfactory for the project to be built, then GXi=0;When distributed on the line that environment templates define on i-th of line
Application program coordination service meets the project to be built, then FXi=1;When on the line that environment templates define on i-th of line
Distributed application program coordination service is unsatisfactory for the project to be built, then FXi=0;
Environment templates on the corresponding line of maximum matching value are selected, are environment templates on the phase near line of the project to be built;
Environment templates on the phase near line are modified by visualization interface, and are modified described by visualization interface
Environment templates define on-line parameters on phase near line, generate environment on score.
A kind of configuration device of project environment is applied to cloud server, comprising: determination unit and environment generation unit,
Wherein,
The determination unit, for being stored in the cloud server at least one exploitation environment templates, at least one
It tests on environment templates and at least one line in environment templates, the determining target developing environment mould to match with project to be built
Environment templates on plate, target detection environment templates and score;
The environment generation unit, for when receive develop the request of environment for the project configuration to be built when, read
The target developing environment templates for taking the determination unit to determine, it is fixed for the target developing environment templates by visualization interface
Adopted development parameters generate target developing environment;When receive test the request of environment for the project configuration to be built when, read
The target detection environment templates that the determination unit is determined are target detection environment templates definition by visualization interface
Test parameter generates target detection environment;When receiving as the request of environment on the project configuration line to be built, institute is read
Environment templates on the score that determination unit is determined are stated, are environment templates definition wires on the score by visualization interface
Upper parameter generates environment on score.
Preferably, the determination unit is stored with target developing environment for being respectively configured and calling for project to be built
The first node of template, the second node for being stored with target detection environment templates and it is stored with of environment templates on score
Three nodes.
Preferably, above-mentioned apparatus further comprises: calling sequential build unit, wherein
Sequential build unit is called, at least two exploitation environment for being cut into according to each exploitation environment templates
Sequence between template determines the first calling sequence for being stored with each exploitation child node of the exploitation environment subtemplate;According to
Sequence between at least two test environment subtemplates that each test environment templates is cut into, determination are stored with the test wrapper
The second calling sequence of each test child node of border subtemplate;At least two be cut into according to environment templates on each line
Sequence on line between environment subtemplate determines that the third for being stored with child node on each line of environment subtemplate on the line is called
Sequentially;
The determination unit, for being at least two target developing child node of project configuration to be built, and according to the tune
The the first calling sequence determined with sequential build unit, calls at least two target developings child node, wherein it is described extremely
The exploitation environment subtemplate stored in few two target developing child nodes forms a target developing environment templates;For item to be built
Mesh configures at least two target detection child nodes, and the second calling sequence determined according to the calling sequential build unit,
Call at least two target detections child node, wherein the test wrapper stored in at least two target detections child node
Border subtemplate forms a target detection environment templates;For child node at least two score of project configuration to be built, and root
The third calling sequence determined according to the calling sequential build unit, calls child node at least two score,
In, environment subtemplate forms environment templates on a score on the line that stores in child node at least two score.
Preferably, above-mentioned apparatus further comprises: definition unit and matching value computing unit, wherein
The definition unit, for developing type of database, exploitation data for each described exploitation environment templates definition
Base management system and development DDB application Program Coordination service;Weight, the institute of the exploitation type of database are defined respectively
State the weight of exploitation data base management system and the weight of the development DDB application Program Coordination service;And the exploitation
The weight of type of database, the weight of the exploitation data base management system and development DDB application Program Coordination clothes
The weight of business meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the power of the exploitation data base management system
Weight;K3Characterize the weight of the development DDB application Program Coordination service;
For test environment template definition test database type, test data base management system and test described in each
Distributed application program coordination service;Weight, the test database management system of the test database type are defined respectively
The weight of system and the weight of the test distributed application program coordination service;And the weight of the test database type,
The weight of the test data base management system and the weight of the test distributed application program coordination service, meet following
Weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the power of the test data base management system
Weight;C3Characterize the weight of the test distributed application program coordination service;
For on data base management system on type of database in environment templates definition wires on line described in each, line and line
Distributed application program coordination service;The weight of type of database on the line, data base administration system on the line are defined respectively
The weight of distributed application program coordination service in the weight of system and the line;And the weight of type of database on the line,
On the line on the weight of data base management system and the line distributed application program coordination service weight, meet following
Weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the power of data base management system on the line
Weight;X3Characterize the weight of distributed application program coordination service on the line;
The matching value computing unit, for the target developing environment mould to match with the project to be built ought not found
When plate, using following first calculation formula, the matching value of each exploitation environment templates is calculated;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;When the definition unit is i-th of exploitation ring
The exploitation type of database of border template definition meets the project to be built, then SKi=1;When the definition unit is i-th
The exploitation type of database that a exploitation environment templates define is unsatisfactory for the project to be built, then SKi=0;When the definition
Unit is that the exploitation data base management system that i-th of exploitation environment templates defines meets the project to be built, then GKi=
1;When the definition unit is described in the exploitation data base management system that i-th of exploitation environment templates defines is unsatisfactory for structure
Project is built, then GKi=0;When the definition unit is the development DDB application program that i-th of exploitation environment templates defines
Coordination service meets the project to be built, then FKi=1;When the definition unit develops the institute that environment templates define for i-th
It states development DDB application Program Coordination service and is unsatisfactory for the project to be built, then FKi=0;
When not finding the target detection environment templates to match with the project to be built, calculated using following second public
Formula calculates the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;When the definition unit is i-th of test wrapper
The test database type that border template definition goes out meets the project to be built, then SCi=1;When the definition unit is the
The test database type that i test environment template definition goes out is unsatisfactory for the project to be built, then SCi=0;When described
Definition unit is that the test data base management system that i-th of test environment template definition goes out meets the project to be built,
Then GCi=1;When the definition unit is that the test data base management system that i-th of test environment template definition goes out is unsatisfactory for
The project to be built, then GCi=0;When the definition unit is the test distribution that i-th of test environment template definition goes out
Formula application program coordination service meets the project to be built, then FCi=1;When the definition unit is i-th of test environment mould
The test distributed application program coordination service that plate defines is unsatisfactory for the project to be built, then FCi=0;
When not finding environment templates on the score to match with the project to be built, calculated using following thirds public
Formula calculates the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the definition unit is ring on i-th of line
Type of database meets the project to be built on the line of border template definition, then SXi=1;When the definition unit is i-th
Type of database is unsatisfactory for the project to be built on the line that environment templates define on a line, then SXi=0;When the definition
Data base management system meets the project to be built on the line that unit defines for environment templates on i-th of line, then GXi=
1;When the definition unit be on environment templates define on i-th line the line data base management system be unsatisfactory for it is described to structure
Project is built, then GXi=0;When distributed application program on the line that the definition unit defines for environment templates on i-th of line
Coordination service meets the project to be built, then FXi=1;When the institute that the definition unit defines for environment templates on i-th of line
It states distributed application program coordination service on line and is unsatisfactory for the project to be built, then FXi=0;
The environment generation unit is further used for selecting the calculated maximum matching value pair of the matching value computing unit
The exploitation environment templates answered are the close exploitation environment templates of the project to be built;The phase is modified by visualization interface
Nearly exploitation environment templates, and be that the modified close exploitation environment templates define development parameters by visualization interface, it is raw
At target developing environment;
The corresponding test environment templates of the calculated maximum matching value of the matching value computing unit are selected, to be described to structure
Build the close test environment templates of project;The close test environment templates are modified by visualization interface, and pass through visualization
Interface is the modified close test environment template definition test parameter, generates target detection environment;
Environment templates on the corresponding line of the calculated maximum matching value of the matching value computing unit are selected, to be described to structure
Build environment templates on the phase near line of project;Environment templates on the phase near line are modified by visualization interface, and pass through visualization
Interface is that environment templates define on-line parameters on the modified phase near line, generates environment on score.
The embodiment of the invention provides a kind of configuration method of project environment and devices, are opened by the way that at least one is stored in advance
Environment templates on hair environment templates, at least one test environment templates and at least one line;At least one is opened described in the storage
Send out on environment templates, at least one described test environment templates and at least one described line in environment templates, it is determining with it is to be built
Environment templates on target developing environment templates, target detection environment templates and the score that project matches;When receive for
When the request of the project configuration exploitation environment to be built, the target developing environment templates are read, are by visualization interface
The target developing environment templates define development parameters, generate target developing environment;Match when receiving for the project to be built
When setting the request of test environment, the target detection environment templates are read, are the target detection environment by visualization interface
Template definition test parameter generates target detection environment;When receiving as the request of environment on the project configuration line to be built
When, environment templates on the score are read, are that environment templates define on-line parameters on the score by visualization interface,
Environment on score is generated, realizes and difference configuration is carried out to project varying environment, to effectively improve project development effect
Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the configuration method of project environment provided by one embodiment of the present invention;
Fig. 2 is a kind of flow chart of the configuration method for project environment that another embodiment of the present invention provides;
Fig. 3 is the structural representation of framework where a kind of configuration device of project environment provided by one embodiment of the present invention
Figure;
Fig. 4 is a kind of structural schematic diagram of the configuration device of project environment provided by one embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides a kind of project environment configuration device structural schematic diagram;
Fig. 6 is a kind of structural schematic diagram of the configuration device for project environment that further embodiment of this invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following the embodiment of the invention provides a kind of configuration method of project environment
Step:
Step 101: at least one exploitation environment templates, at least one test environment templates and at least one line is stored in advance
Upper environment templates;
Step 102: at least one exploitation environment templates described in storage, at least one described test environment templates and institute
It states at least one line in environment templates, determining target developing environment templates, the target detection ring to match with project to be built
Environment templates in border template and score;When receive develop the request of environment for the project configuration to be built when, execute
Step 103;When receive test the request of environment for the project configuration to be built when, execute step 104;When receiving as institute
When stating the request of environment on project configuration line to be built, step 105 is executed;
Step 103: reading the target developing environment templates, be the target developing environment templates by visualization interface
Development parameters are defined, generate target developing environment, and terminate current process;
Step 104: reading the target detection environment templates, be the target detection environment templates by visualization interface
Test parameter is defined, generates target detection environment, and terminate current process;
Step 105: reading environment templates on the score, be environment templates on the score by visualization interface
On-line parameters are defined, environment on score is generated.
Wherein, project to be built is usually and is first developed in exploitation environment, then completes test in test environment,
It realizes in environment on final online and is run on line.
In the embodiment shown in fig. 1, by the way that at least one exploitation environment templates, at least one test environment are stored in advance
Environment templates in template and at least one line;At least one exploitation environment templates described in storage, at least one described test
On environment templates and at least one described line in environment templates, the determining target developing environment mould to match with project to be built
Environment templates on plate, target detection environment templates and score;Environment is developed when receiving for the project configuration to be built
Request when, read the target developing environment templates, by visualization interface be the target developing environment templates definition open
Parameter is sent out, target developing environment is generated;When receive test the request of environment for the project configuration to be built when, described in reading
Target detection environment templates are that the target detection environment templates define test parameter by visualization interface, generate target and survey
Test ring border;When receiving as the request of environment on the project configuration line to be built, environment templates on the score are read,
It is that environment templates define on-line parameters on the score by visualization interface, generates environment on score, realize to item
Mesh varying environment carries out difference configuration, to effectively improve project development efficiency.
In an embodiment of the invention, in order to realize split hair environment templates, test environment templates and line on environment mould
The separate management of plate, at the same can enable develop environment templates, test environment templates and line on environment templates run simultaneously, on
State step 101 specific embodiment include: respectively by least one develop environment templates, at least one test environment templates and
Environment templates are stored to different nodes at least one line;Then the specific embodiment of step 102 includes: for project to be built
The second section for being respectively configured and calling the first node for being stored with target developing environment templates, be stored with target detection environment templates
Point and the third node for being stored with environment templates on score.
In an embodiment of the invention, in order to realize that split hair ring border carries out block management, in project in exploitation environment
In operational process when something goes wrong, it can be checked with piecemeal, to improve investigation efficiency.The above method further comprises: being directed to
Each described exploitation environment templates executes: the exploitation environment templates is cut at least two exploitation environment subtemplates, and
By at least two exploitations environment subtemplate storage into different exploitation child nodes;According at least two exploitations environment
Sequence between subtemplate determines the first calling sequence of the different exploitation child nodes;It is described for project configuration to be built simultaneously
Call the first node for being stored with target developing environment templates, comprising: at least two target developing of project configuration to be built
Node, and according to the first calling sequence, call at least two target developings child node, wherein described at least two
The exploitation environment subtemplate stored in target developing child node forms a target developing environment templates.
In an embodiment of the invention, block management is carried out to test environment in order to realize, in project in test environment
In operational process when something goes wrong, it can be checked with piecemeal, to improve investigation efficiency.The above method further comprises: being directed to
Each described test environment templates executes: the test environment templates is cut at least two test environment subtemplates, and
By at least two tests environment subtemplate storage into different test child nodes;According at least two tests environment
Sequence between subtemplate determines the second calling sequence of the different test child nodes;It is described for project configuration to be built simultaneously
Call the second node for being stored with target detection environment templates, comprising: at least two target detection of project configuration to be built
Node, and according to the second calling sequence, call at least two target detections child node, wherein described at least two
The test environment subtemplate stored in target detection child node forms a target detection environment templates.
In an embodiment of the invention, block management is carried out to environment on line in order to realize, in project environment on line
In operational process when something goes wrong, it can be checked with piecemeal, to improve investigation efficiency.The above method further comprises: being directed to
Environment templates on each described line execute: environment templates on the line are cut into environment subtemplate at least two lines, and
By environment subtemplate storage at least two line into child node on different lines;According to environment at least two line
Sequence between subtemplate determines the third calling sequence of child node on the different lines;It is described for project configuration to be built simultaneously
Call the third node for being stored with environment templates on score, comprising: for son at least two score of project configuration to be built
Node, and according to the third calling sequence, call child node at least two score, wherein described at least two
Environment subtemplate forms environment templates on a score on the line stored in child node on score.
In an embodiment of the invention, in order to being found and the exploitation environment of project is immediate similar opens for project
Hair ring border, by modifying similar exploitation environment, exploitation environment needed for becoming project substantially reduces and develops ring for project build
The duration in border.The above method further comprises: for exploitation environment templates definition exploitation type of database, exploitation number described in each
According to base management system and development DDB application Program Coordination service;Define respectively it is described exploitation type of database weight,
The weight of the exploitation data base management system and the weight of the development DDB application Program Coordination service;And it described opens
Send out the weight of type of database, the weight of the exploitation data base management system and the development DDB application Program Coordination
The weight of service meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the power of the exploitation data base management system
Weight;K3Characterize the weight of the development DDB application Program Coordination service;
When not finding the target developing environment templates to match with the project to be built, calculated using following first public
Formula calculates the matching value of each exploitation environment templates;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;The institute that environment templates define is developed when i-th
It states exploitation type of database and meets the project to be built, then SKi=1;The exploitation that environment templates define is developed when i-th
Type of database is unsatisfactory for the project to be built, then SKi=0;The exploitation data that environment templates define are developed when i-th
Base management system meets the project to be built, then GKi=1;The exploitation database that environment templates define is developed when i-th
Management system is unsatisfactory for the project to be built, then GKi=0;It is distributed that the exploitation that environment templates define is developed when i-th
Application program coordination service meets the project to be built, then FKi=1;The exploitation that environment templates define is developed when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FKi=0;
The corresponding exploitation environment templates of maximum matching value are selected, are the close exploitation environment templates of the project to be built;
The close exploitation environment templates are modified by visualization interface, and are the modified close exploitation by visualization interface
Environment templates define development parameters, generate target developing environment.
In an embodiment of the invention, in order to being found and the immediate similar survey of the test environment of project for project
Test ring border, by modifying similar test environment, test environment needed for becoming project is substantially reduced as project build test wrapper
The duration in border.The above method further comprises: for test environment template definition test database type, test number described in each
According to base management system and test distributed application program coordination service;Define respectively the test database type weight,
The weight of the test data base management system and the weight of the test distributed application program coordination service;And the survey
The weight, the weight of the test data base management system and the test distributed application program for trying type of database are coordinated
The weight of service meets following weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the power of the test data base management system
Weight;C3Characterize the weight of the test distributed application program coordination service;
When not finding the target detection environment templates to match with the project to be built, calculated using following second public
Formula calculates the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;The institute of environment template definition is tested when i-th
It states test database type and meets the project to be built, then SCi=1;The test of environment template definition is tested when i-th
Type of database is unsatisfactory for the project to be built, then SCi=0;The test data of environment template definition is tested when i-th
Base management system meets the project to be built, then GCi=1;The test database of environment template definition is tested when i-th
Management system is unsatisfactory for the project to be built, then GCi=0;The test distributed of environment template definition is tested when i-th
Application program coordination service meets the project to be built, then FCi=1;The test of environment template definition is tested when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FCi=0;
The corresponding test environment templates of maximum matching value are selected, are the close test environment templates of the project to be built;
The close test environment templates are modified by visualization interface, and are the modified close test by visualization interface
Environment templates define test parameter, generate target detection environment.
In an embodiment of the invention, in order to finding the immediate phase liny of environment on the line with project for project
Upper environment, by environment on modification phase liny, environment on line needed for becoming project is substantially reduced as ring on project build line
The duration in border.The above method further comprises: for number on type of database in environment templates definition wires on line described in each, line
According to distributed application program coordination service on base management system and line;Define respectively the weight of type of database on the line,
On the line on the weight of data base management system and the line distributed application program coordination service weight;And the line
Distributed application program is coordinated on the weight of data base management system and the line in the weight of upper type of database, the line
The weight of service meets following weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the power of data base management system on the line
Weight;X3Characterize the weight of distributed application program coordination service on the line;
When not finding environment templates on the score to match with the project to be built, calculated using following thirds public
Formula calculates the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the institute that environment templates define on i-th of line
It states type of database on line and meets the project to be built, then SXi=1;When on the line that environment templates define on i-th of line
Type of database is unsatisfactory for the project to be built, then SXi=0;When data on the line that environment templates define on i-th of line
Base management system meets the project to be built, then GXi=1;When database on the line that environment templates define on i-th of line
Management system is unsatisfactory for the project to be built, then GXi=0;When distributed on the line that environment templates define on i-th of line
Application program coordination service meets the project to be built, then FXi=1;When on the line that environment templates define on i-th of line
Distributed application program coordination service is unsatisfactory for the project to be built, then FXi=0;
Environment templates on the corresponding line of maximum matching value are selected, are environment templates on the phase near line of the project to be built;
Environment templates on the phase near line are modified by visualization interface, and are on the modified phase near line by visualization interface
Environment templates define on-line parameters, generate environment on score.
As shown in Fig. 2, this method may include following the embodiment of the invention provides a kind of configuration method of project environment
Step:
Step 201: respectively developing at least one on environment templates, at least one test environment templates and at least one line
Environment templates are stored to different nodes;
The specific implementation of the step can there are two types of:
The first implementation: a node is stored in for an exploitation environment templates;One test environment templates storage
Environment templates are stored in a node on a node, line;Wherein, the node for being stored with exploitation environment templates does not store survey
Environment templates on environment templates and line are tried, correspondingly, the node for being stored with test environment templates does not store exploitation environment templates
With environment templates on line, the node for storing wired upper environment templates does not store exploitation environment templates and test environment templates;Separately
Outside, different exploitation environment templates, which can store, also can store in the same node in different nodes;Different test wrappers
Border template, which can store, also can store in the same node in different nodes;Environment templates can store on different lines
The same node also can store in different nodes.
Second of implementation: being directed to each described exploitation environment templates, executes: by the exploitation environment templates cutting
It stores at least two exploitation environment subtemplates, and by at least two exploitations environment subtemplate to different exploitation child nodes
In;According to the sequence between at least two exploitations environment subtemplate, determine that the first of the different exploitation child nodes calls
Sequentially;For test environment templates described in each, executes: the test environment templates are cut at least two test environment
Subtemplate, and by at least two tests environment subtemplate storage into different test child nodes;According to described at least two
Sequence between a test environment subtemplate determines the second calling sequence of the different test child nodes;For each institute
Environment templates on line are stated, are executed: environment templates on the line being cut into environment subtemplate at least two lines, and by described in extremely
The storage of environment subtemplate is into child node on different lines on few two lines;According between environment subtemplate at least two line
Sequence, determine the third calling sequence of child node on the different lines;
Step 202: for exploitation environment templates definition exploitation type of database, exploitation data base management system described in each
And development DDB application Program Coordination service;
Step 203: defining the weight of the exploitation type of database, the weight of the exploitation data base management system respectively
And the weight of the development DDB application Program Coordination service;
The weight of the exploitation type of database, the weight and exploitation distribution of the exploitation data base management system
The weight of formula application program coordination service meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the power of the exploitation data base management system
Weight;K3Characterize the weight of the development DDB application Program Coordination service;
Step 204: to test environment template definition test database type, test data base management system described in each
And test distributed application program coordination service;
Step 205: defining the weight of the test database type, the weight of the test data base management system respectively
And the weight of the test distributed application program coordination service;
The weight of the test database type, the weight of the test data base management system and test distribution
The weight of formula application program coordination service meets following weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the power of the test data base management system
Weight;C3Characterize the weight of the test distributed application program coordination service;
Step 206: for data base management system on type of database in environment templates definition wires on line described in each, line
And distributed application program coordination service on line;
Step 207: define respectively the weight of type of database on the line, on the line data base management system weight
And on the line distributed application program coordination service weight;
The weight of type of database on the line is distributed on the weight of data base management system and the line on the line
The weight of formula application program coordination service meets following weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the power of data base management system on the line
Weight;X3Characterize the weight of distributed application program coordination service on the line;
Step 208: at least one exploitation environment templates described in storage, at least one described test environment templates and institute
It states and in environment templates, searches whether there is target developing environment templates, the mesh to match with project to be built at least one line
Mapping tries environment templates on environment templates and score, if so, thening follow the steps 209;Otherwise, step 213 is executed;
Step 209: the first node for being stored with target developing environment templates is respectively configured and called for project to be built, is deposited
It contains the second node of target detection environment templates and is stored with the third node of environment templates on score;When receive for
When the request of the project configuration exploitation environment to be built, step 210 is executed;It is surveyed when receiving for the project configuration to be built
When the request in test ring border, step 211 is executed;When receiving as the request of environment on the project configuration line to be built, execute
Step 212;
In this step, if environment templates on target developing environment templates, target detection environment templates and score
Storage mode is the first storage mode that step 201 provides, then the first node, second node and third node represent one
A node;
The storage mode of environment templates is step on target developing environment templates, target detection environment templates and score
The then specific implementation of the step: 201 second of the storage mode provided are opened at least two target of project configuration to be built
Send out child node, and according to first calling sequence, call at least two target developings child node, wherein it is described at least
The exploitation environment subtemplate stored in two target developing child nodes forms a target developing environment templates;I.e. first node by
At least two target developing child nodes composition with the first calling sequence;For at least two target detection of project configuration to be built
Child node, and according to the second calling sequence, call at least two target detections child node, wherein described at least two
The test environment subtemplate stored in a target detection child node forms a target detection environment templates, i.e., second node is by having
It is made of at least two target detection child nodes of the second calling sequence;It is sub at least two score of project configuration to be built
Node, and according to the third calling sequence, call child node at least two score, wherein described at least two
Environment subtemplate forms environment templates on a score on the line stored in child node on score, i.e. third node is by having
Child node forms at least two scores of third calling sequence.Such as: exploitation node (dev node) is by type of database
(redis) child node is developed, data base management system (mysql) develops child node and distributed application program coordination service
(zookeeper) exploitation child node composition;Node (product node) is by child node on type of database (redis) line on line,
Child node on child node and distributed application program coordination service (zookeeper) line on data base management system (mysql) line
Composition;Test node (test node) tests child node by type of database (redis), and data base management system (mysql) is surveyed
Swab node and distributed application program coordination service (zookeeper) test child node composition etc..
Step 210: reading the target developing environment templates, be the target developing environment templates by visualization interface
Development parameters are defined, generate target developing environment, and terminate current process;
Step 211: reading the target detection environment templates, be the target detection environment templates by visualization interface
Test parameter is defined, generates target detection environment, and terminate current process;
Step 212: reading environment templates on the score, be environment templates on the score by visualization interface
On-line parameters are defined, generate environment on score, and terminate current process;
Visualization defined parameters are realized, the definition mode of the visualization interface helps user that can quickly find
Define the parameter of mistake.
Step 213: the external environment construction request sent is received, when environment construction request is building target developing ring
When border, step 214 is executed;When environment construction request is constructs target detection environment, step 217 is executed;When the ring
When border building request is constructs environment on score, step 220 is executed;
Step 214: calculating the matching value of each exploitation environment templates;
Using following first calculation formula, the matching value of each exploitation environment templates is calculated;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;The institute that environment templates define is developed when i-th
It states exploitation type of database and meets the project to be built, then SKi=1;The exploitation that environment templates define is developed when i-th
Type of database is unsatisfactory for the project to be built, then SKi=0;The exploitation data that environment templates define are developed when i-th
Base management system meets the project to be built, then GKi=1;The exploitation database that environment templates define is developed when i-th
Management system is unsatisfactory for the project to be built, then GKi=0;It is distributed that the exploitation that environment templates define is developed when i-th
Application program coordination service meets the project to be built, then FKi=1;The exploitation that environment templates define is developed when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FKi=0;
Exploitation type of database meets the project to be built and refers to, what exploitation type of database was used with project to be built
Type of database is the same, for example is all redis database etc.;Exploitation data base management system, which meets the project to be built, is
Refer to, develops data base management system as the exploitation data base management system that the project to be built uses, for example be all
Mysql data base management system etc.;Development DDB application Program Coordination service meets the project to be built and refers to, exploitation point
The coordination service of cloth application program is as the distributed application program coordination service that the project to be built uses, for example is all
Zookeeper distributed application program coordination service etc..
Step 215: selecting the corresponding exploitation environment templates of maximum matching value, be the close exploitation ring of the project to be built
Border template;
Step 216: the close exploitation environment templates being modified by visualization interface, and are modification by visualization interface
The close exploitation environment templates afterwards define development parameters, generate target developing environment, and terminate current process;
Step 217: calculating the matching value of each test environment templates;
Using following second calculation formula, the matching value of each test environment templates is calculated;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;The institute of environment template definition is tested when i-th
It states test database type and meets the project to be built, then SCi=1;The test of environment template definition is tested when i-th
Type of database is unsatisfactory for the project to be built, then SCi=0;The test data of environment template definition is tested when i-th
Base management system meets the project to be built, then GCi=1;The test database of environment template definition is tested when i-th
Management system is unsatisfactory for the project to be built, then GCi=0;The test distributed of environment template definition is tested when i-th
Application program coordination service meets the project to be built, then FCi=1;The test of environment template definition is tested when i-th
Distributed application program coordination service is unsatisfactory for the project to be built, then FCi=0.
Test database type meets the project to be built and refers to, what test database type was used with project to be built
Type of database is the same, for example is all redis database etc.;Test data base management system meets the project to be built
Refer to, test data base management system is as the test data base management system that the project to be built uses, for example is all
Mysql data base management system etc.;Test distributed application program coordination service meets the project to be built and refers to, test point
The coordination service of cloth application program is as the distributed application program coordination service that the project to be built uses, for example is all
Zookeeper distributed application program coordination service etc..
Step 218: selecting the corresponding test environment templates of maximum matching value, be the close test wrapper of the project to be built
Border template;
Step 219: the close test environment templates being modified by visualization interface, and are modification by visualization interface
The close test environment template definition test parameter afterwards generates target detection environment, and terminates current process;
Step 220: calculating the matching value of environment templates on each described line;
Using following third calculation formula, the matching value of environment templates on each described line is calculated;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the institute that environment templates define on i-th of line
It states type of database on line and meets the project to be built, then SXi=1;When on the line that environment templates define on i-th of line
Type of database is unsatisfactory for the project to be built, then SXi=0;When data on the line that environment templates define on i-th of line
Base management system meets the project to be built, then GXi=1;When database on the line that environment templates define on i-th of line
Management system is unsatisfactory for the project to be built, then GXi=0;When distributed on the line that environment templates define on i-th of line
Application program coordination service meets the project to be built, then FXi=1;When on the line that environment templates define on i-th of line
Distributed application program coordination service is unsatisfactory for the project to be built, then FXi=0.
Type of database meets the project to be built and refers on line, and type of database and project to be built use on line
Type of database is the same, for example is all redis database etc.;Data base management system, which meets the project to be built, on line is
Refer to, data base management system is as data base management system on the line that the project to be built uses on line, for example is all
Mysql data base management system etc.;Distributed application program coordination service meets the project to be built and refers on line, divides on line
The coordination service of cloth application program is as the distributed application program coordination service that the project to be built uses, for example is all
Zookeeper distributed application program coordination service etc..
Step 221: selecting environment templates on the corresponding line of maximum matching value, be ring on the phase near line of the project to be built
Border template;
Step 222: environment templates on the phase near line being modified by visualization interface, and are modification by visualization interface
Environment templates define on-line parameters on the phase near line afterwards, generate environment on score.
The configuration method for the project environment that any one above-mentioned embodiment provides can be applied to cloud server.
As shown in Figure 3, Figure 4, the embodiment of the invention provides a kind of configuration devices of project environment.Installation practice can be with
By software realization, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3,
For project environment provided in an embodiment of the present invention configuration device where equipment a kind of hardware structure diagram, in addition to shown in Fig. 3
Except processor, memory, network interface and nonvolatile memory, equipment in embodiment where device usually can be with
Including other hardware, such as it is responsible for the forwarding chip of processing message.Taking software implementation as an example, as shown in figure 4, being patrolled as one
The device in meaning is collected, is to be read computer program instructions corresponding in nonvolatile memory by the CPU of equipment where it
Get what operation in memory was formed.The configuration device of project environment provided in this embodiment is applied to cloud server, comprising:
Determination unit 401 and environment generation unit 402, wherein
The determination unit 401, at least one exploitation environment templates, at least one for being stored in the cloud server
On a test environment templates and at least one line in environment templates, the determining target developing environment mould to match with project to be built
Environment templates on plate, target detection environment templates and score;
The environment generation unit 402, for when receive develop the request of environment for the project configuration to be built when,
The target developing environment templates that the determination unit 401 is determined are read, are the target developing environment by visualization interface
Template definition development parameters generate target developing environment;When receiving the request for testing environment for the project configuration to be built
When, the target detection environment templates that the determination unit 401 is determined are read, are the target detection ring by visualization interface
Border template definition test parameter generates target detection environment;It is asked when receiving for environment on the project configuration line to be built
When asking, environment templates on the score that the determination unit 401 is determined are read, are on the score by visualization interface
Environment templates define on-line parameters, generate environment on score.
In an alternative embodiment of the invention, the determination unit 401, is deposited for being respectively configured and calling for project to be built
The first node of target developing environment templates is contained, the second node of target detection environment templates is stored with and is stored with target
The third node of environment templates on line, wherein first node, second node and third node are the node in cloud server.
As shown in figure 5, in an alternative embodiment of the invention, the configuration device of above-mentioned project environment further comprises: calling
Sequential build unit 501, wherein
Sequential build unit 501 is called, at least two exploitation rings for being cut into according to each exploitation environment templates
Sequence between the subtemplate of border determines the first calling sequence for being stored with each exploitation child node of the exploitation environment subtemplate;
Sequence between at least two test environment subtemplates being cut into according to each test environment templates, determination are stored with the survey
The second calling sequence of each test child node of test ring border subtemplate;It is cut at least according to environment templates on each line
Sequence on two lines between environment subtemplate determines the third for being stored with child node on each line of environment subtemplate on the line
Calling sequence;
The determination unit 401, for being at least two target developing child node of project configuration to be built, and according to described
The the first calling sequence for calling sequential build unit 501 to determine, calls at least two target developings child node, wherein
The exploitation environment subtemplate stored in at least two target developings child node forms a target developing environment templates;For to
Construct at least two target detection child node of project configuration, and second determined according to the calling sequential build unit 501
Calling sequence, calls at least two target detections child node, wherein store in at least two target detections child node
Test environment subtemplate form a target detection environment templates;For son section at least two score of project configuration to be built
Point, and the third calling sequence determined according to the calling sequential build unit 501, are called at least two score
Child node, wherein environment subtemplate forms on a score on the line stored in child node at least two score
Environment templates.
As shown in fig. 6, in an alternative embodiment of the invention, the configuration device of above-mentioned project environment further comprises: definition
Unit 601 and matching value computing unit 602, wherein
The definition unit 601, for developing type of database, exploitation number for each described exploitation environment templates definition
According to base management system and development DDB application Program Coordination service;Define respectively it is described exploitation type of database weight,
The weight of the exploitation data base management system and the weight of the development DDB application Program Coordination service;And it described opens
Send out the weight of type of database, the weight of the exploitation data base management system and the development DDB application Program Coordination
The weight of service meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the power of the exploitation data base management system
Weight;K3Characterize the weight of the development DDB application Program Coordination service;
For test environment template definition test database type, test data base management system and test described in each
Distributed application program coordination service;Weight, the test database management system of the test database type are defined respectively
The weight of system and the weight of the test distributed application program coordination service;And the weight of the test database type,
The weight of the test data base management system and the weight of the test distributed application program coordination service, meet following
Weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the power of the test data base management system
Weight;C3Characterize the weight of the test distributed application program coordination service;
For on data base management system on type of database in environment templates definition wires on line described in each, line and line
Distributed application program coordination service;The weight of type of database on the line, data base administration system on the line are defined respectively
The weight of distributed application program coordination service in the weight of system and the line;And the weight of type of database on the line,
On the line on the weight of data base management system and the line distributed application program coordination service weight, meet following
Weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the power of data base management system on the line
Weight;X3Characterize the weight of distributed application program coordination service on the line;
The matching value computing unit 602, for the target developing ring to match with the project to be built ought not found
When the template of border, using following first calculation formula, the matching value of each exploitation environment templates is calculated;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;When the definition unit is i-th of exploitation ring
The exploitation type of database of border template definition meets the project to be built, then SKi=1;When the definition unit is i-th
The exploitation type of database that a exploitation environment templates define is unsatisfactory for the project to be built, then SKi=0;When the definition
Unit 601 is that the exploitation data base management system that i-th of exploitation environment templates defines meets the project to be built, then GKi
=1;The exploitation data base management system that environment templates define, which is developed, for i-th when the definition unit 601 is unsatisfactory for institute
Project to be built is stated, then GKi=0;When the definition unit 601 is that the exploitation that i-th of exploitation environment templates defines is distributed
Application program coordination service meets the project to be built, then FKi=1;When the definition unit 601 is i-th of exploitation environment mould
The development DDB application Program Coordination service that plate defines is unsatisfactory for the project to be built, then FKi=0;
When not finding the target detection environment templates to match with the project to be built, calculated using following second public
Formula calculates the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;When the definition unit is i-th of test wrapper
The test database type that border template definition goes out meets the project to be built, then SCi=1;When the definition unit 601
The test database type that environment template definition goes out is tested for i-th and is unsatisfactory for the project to be built, then SCi=0;When
The definition unit 601 is described in the test data base management system that i-th of test environment template definition goes out meets to structure
Project is built, then GCi=1;When the definition unit 601 is i-th of test database management that test environment template definition goes out
System is unsatisfactory for the project to be built, then GCi=0;When the definition unit 601 is that i-th of test environment template definition goes out
The test distributed application program coordination service meets the project to be built, then FCi=1;When the definition unit 601 is
The test distributed application program coordination service that i-th of test environment template definition goes out is unsatisfactory for the project to be built,
Then FCi=0;
When not finding environment templates on the score to match with the project to be built, calculated using following thirds public
Formula calculates the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the definition unit is ring on i-th of line
Type of database meets the project to be built on the line of border template definition, then SXi=1;When the definition unit 601 is
Type of database is unsatisfactory for the project to be built on the line that environment templates define on i-th of line, then SXi=0;When described
Data base management system meets the project to be built on the line that definition unit 601 defines for environment templates on i-th of line,
Then GXi=1;When data base management system is discontented on the line that the definition unit 601 defines for environment templates on i-th of line
The foot project to be built, then GXi=0;When on the line that the definition unit 601 defines for environment templates on i-th of line points
Cloth application program coordination service meets the project to be built, then FXi=1;When the definition unit 601 is ring on i-th of line
Distributed application program coordination service is unsatisfactory for the project to be built on the line of border template definition, then FXi=0;
The environment generation unit 402 is further used for selecting the matching value computing unit 602 calculated maximum
It is the close exploitation environment templates of the project to be built with corresponding exploitation environment templates are worth;It is modified by visualization interface
The close exploitation environment templates, and be the modified close exploitation environment templates definition exploitation ginseng by visualization interface
Number generates target developing environment;
The corresponding test environment templates of the calculated maximum matching value of the matching value computing unit 602 are selected, are described
The close test environment templates of project to be built;The close test environment templates are modified by visualization interface, and passing through can
View interface generates target detection environment as the modified close test environment template definition test parameter;
Environment templates on the corresponding line of the calculated maximum matching value of the matching value computing unit 602 are selected, are described
Environment templates on the phase near line of project to be built;Environment templates on the phase near line are modified by visualization interface, and passing through can
View interface defines on-line parameters as environment templates on the modified phase near line, generates environment on score.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention
Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
The embodiment of the invention provides a kind of readable mediums, including execute instruction, when the processor of storage control executes
Described when executing instruction, the storage control executes the method that any of the above-described embodiment of the present invention provides.
The embodiment of the invention provides a kind of storage controls, comprising: processor, memory and bus;The memory
It is executed instruction for storing, the processor is connect with the memory by the bus, when the storage control is run
When, the processor executes the described of memory storage and executes instruction, so that the storage control executes in the present invention
The method that any embodiment offer is provided.
In conclusion more than the present invention each embodiment at least has the following beneficial effects:
1, in embodiments of the present invention, by the way that at least one exploitation environment templates, at least one test environment are stored in advance
Environment templates in template and at least one line;At least one exploitation environment templates described in storage, at least one described test
On environment templates and at least one described line in environment templates, the determining target developing environment mould to match with project to be built
Environment templates on plate, target detection environment templates and score;Environment is developed when receiving for the project configuration to be built
Request when, read the target developing environment templates, by visualization interface be the target developing environment templates definition open
Parameter is sent out, target developing environment is generated;When receive test the request of environment for the project configuration to be built when, described in reading
Target detection environment templates are that the target detection environment templates define test parameter by visualization interface, generate target and survey
Test ring border;When receiving as the request of environment on the project configuration line to be built, environment templates on the score are read,
It is that environment templates define on-line parameters on the score by visualization interface, generates environment on score, realize to item
Mesh varying environment carries out difference configuration, to effectively improve project development efficiency.
2, it is in embodiments of the present invention, that target developing environment templates define development parameters by visualization interface, is mesh
Mapping test ring border template definition test parameter and on-line parameters are defined for environment templates on score, realizes parameter visualization
Configuration, thus guarantee the accuracy of parameter configuration, meanwhile, make project environment configuration that more there is practicability.
3, in embodiments of the present invention, by the way that at least one is developed environment templates, at least one test environment mould respectively
Environment templates are stored to different nodes on plate and at least one line;It is then respectively configured and calls for project to be built and be stored with mesh
The first node of mark exploitation environment templates is stored with the second node of target detection environment templates and is stored with ring on score
The third node of border template realizes split hair environment templates, tests environment templates partial node management on environment templates and line.
4, it in embodiments of the present invention, for exploitation environment templates described in each, executes: by the exploitation environment templates
At least two exploitation environment subtemplates are cut into, and at least two exploitations environment subtemplate storage is sub to different exploitations
In node;According to the sequence between at least two exploitations environment subtemplate, the first of the different exploitation child nodes is determined
Calling sequence;For at least two target developing child node of project configuration to be built, and according to the first calling sequence, institute is called
State at least two target developing child nodes, wherein the exploitation environment submodule stored in at least two target developings child node
Board group is at a target developing environment templates;For test environment templates described in each, execute: by the test environment templates
At least two test environment subtemplates are cut into, and at least two tests environment subtemplate storage is sub to different tests
In node;According to the sequence between at least two tests environment subtemplate, the second of the different test child nodes is determined
Calling sequence;For at least two target detection child node of project configuration to be built, and according to the second calling sequence, institute is called
State at least two target detection child nodes, wherein the test environment submodule stored in at least two target detections child node
Board group is at a target detection environment templates;For environment templates on line described in each, execute: by environment templates on the line
It is cut into environment subtemplate at least two lines, and environment subtemplate at least two line is stored to son on different lines
In node;According to the sequence between environment subtemplate at least two line, the third of child node on the different lines is determined
Calling sequence;For child node at least two score of project configuration to be built, and according to the third calling sequence, institute is called
State child node at least two scores, wherein environment submodule on the line stored in child node at least two score
Board group is at environment templates on a score;It realizes split hair ring border, test environment progress block management on environment and line, work as item
Mesh on exploitation environment, test environment or line in environment operational process when something goes wrong, can be checked with piecemeal, to improve
Check efficiency.
5, in embodiments of the present invention, by calculate each exploitation environment of project to be built and storage, test environment and
The matching value of environment on line, for ring on the similar exploitation environment of project to be built lookup, similar test environment and similar line
Border, by modifying similar exploitation environment, exploitation environment needed for becoming project can greatly shorten the exploitation environment of project, survey
The building duration of environment greatly shortens exploitation, test of project etc. to further increase working efficiency on test ring border or line
Duration.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged
Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.
Claims (10)
1. a kind of configuration method of project environment, which is characterized in that be stored in advance at least one exploitation environment templates, at least one
Test environment templates on environment templates and at least one line, further includes:
At least one exploitation environment templates, at least one described test environment templates and at least one described line described in storage
In upper environment templates, determining target developing environment templates, target detection environment templates and the mesh to match with project to be built
Environment templates on graticule;
When receive develop the request of environment for the project configuration to be built when, read the target developing environment templates, lead to
Crossing visualization interface is that the target developing environment templates define development parameters, generates target developing environment;
When receive test the request of environment for the project configuration to be built when, read the target detection environment templates, lead to
Crossing visualization interface is that the target detection environment templates define test parameter, generates target detection environment;
When receiving as the request of environment on the project configuration line to be built, environment templates on the score are read, are led to
Crossing visualization interface is that environment templates define on-line parameters on the score, generates environment on score.
2. the method according to claim 1, wherein
It is described be stored in advance at least one exploitation environment templates, at least one test environment templates and at least one line on environment mould
Plate, comprising: respectively by environment templates at least one exploitation environment templates, at least one test environment templates and at least one line
Store different nodes;
On target developing environment templates, target detection environment templates and the score that the determination and project to be built match
Environment templates, comprising: be respectively configured for project to be built and call the first node for being stored with target developing environment templates, storage
There is the second node of target detection environment templates and is stored with the third node of environment templates on score.
3. according to the method described in claim 2, it is characterized in that,
Further comprise:
For exploitation environment templates described in each, execute:
The exploitation environment templates are cut at least two exploitation environment subtemplates, and at least two exploitations environment is sub
Template is stored into different exploitation child nodes;
According to the sequence between at least two exploitations environment subtemplate, determine that the first of the different exploitation child nodes calls
Sequentially;
It is described to be project configuration to be built and call the first node for being stored with target developing environment templates, comprising: to be to be built
At least two target developing child node of project configuration, and according to the first calling sequence, call at least two target to open
Send out child node, wherein the exploitation environment subtemplate stored in at least two target developings child node forms a target and opens
Send out environment templates;
And/or
Further comprise:
For test environment templates described in each, execute:
The test environment templates are cut at least two test environment subtemplates, and at least two tests environment is sub
Template is stored into different test child nodes;
According to the sequence between at least two tests environment subtemplate, determine that the second of the different test child nodes calls
Sequentially;
It is described to be project configuration to be built and call the second node for being stored with target detection environment templates, comprising: to be to be built
At least two target detection child node of project configuration, and according to the second calling sequence, call at least two target to survey
Swab node, wherein the test environment subtemplate stored in at least two target detections child node forms a target and surveys
Try environment templates;
And/or
Further comprise:
For environment templates on line described in each, execute:
Environment templates on the line are cut into environment subtemplate at least two lines, and environment at least two line is sub
Template is stored into child node on different lines;
According to the sequence between environment subtemplate at least two line, determine that the third of child node on the different lines is called
Sequentially;
It is described to be project configuration to be built and call the third node for being stored with environment templates on score, comprising: to be to be built
Child node at least two score of project configuration, and according to the third calling sequence, call at least two score
Upper child node, wherein environment subtemplate forms a score on the line stored in child node at least two score
Upper environment templates.
4. method according to any one of claims 1 to 3, which is characterized in that
Further comprise:
For exploitation environment templates definition exploitation type of database, exploitation data base management system and exploitation distribution described in each
Formula application program coordination service;
The weight of the exploitation type of database, the weight and the exploitation of the exploitation data base management system are defined respectively
The weight of distributed application program coordination service;
And the weight of the exploitation type of database, the weight of the exploitation data base management system and the exploitation are distributed
The weight of application program coordination service meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the weight of the exploitation data base management system;K3
Characterize the weight of the development DDB application Program Coordination service;
When not finding the target developing environment templates to match with the project to be built, using following first calculation formula,
Calculate the matching value of each exploitation environment templates;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;It is opened described in being defined when i-th of exploitation environment templates
Hair type of database meets the project to be built, then SKi=1;The exploitation data that environment templates define are developed when i-th
Library type is unsatisfactory for the project to be built, then SKi=0;The exploitation data depositary management that environment templates define is developed when i-th
Reason system meets the project to be built, then GKi=1;The exploitation data base administration that environment templates define is developed when i-th
System is unsatisfactory for the project to be built, then GKi=0;The development DDB application that environment templates define is developed when i-th
Program Coordination service meets the project to be built, then FKi=1;The exploitation distribution that environment templates define is developed when i-th
Formula application program coordination service is unsatisfactory for the project to be built, then FKi=0;
The corresponding exploitation environment templates of maximum matching value are selected, are the close exploitation environment templates of the project to be built;
The close exploitation environment templates are modified by visualization interface, and are modified described close by visualization interface
Exploitation environment templates define development parameters, generate target developing environment.
5. method according to any one of claims 1 to 3, which is characterized in that
Further comprise:
For test environment template definition test database type, test data base management system described in each and test distribution
Formula application program coordination service;
The weight of the test database type, the weight and the test of the test data base management system are defined respectively
The weight of distributed application program coordination service;
And the weight of the test database type, the weight and the test distributed of the test data base management system
The weight of application program coordination service meets following weight distribution formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the weight of the test data base management system;C3
Characterize the weight of the test distributed application program coordination service;
When not finding the target detection environment templates to match with the project to be built, using following second calculation formula,
Calculate the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;The survey of environment template definition is tested when i-th
Examination type of database meets the project to be built, then SCi=1;The test data of environment template definition is tested when i-th
Library type is unsatisfactory for the project to be built, then SCi=0;The test data depositary management of environment template definition is tested when i-th
Reason system meets the project to be built, then GCi=1;The test database management of environment template definition is tested when i-th
System is unsatisfactory for the project to be built, then GCi=0;The test distributed application of environment template definition is tested when i-th
Program Coordination service meets the project to be built, then FCi=1;The test distribution of environment template definition is tested when i-th
Formula application program coordination service is unsatisfactory for the project to be built, then FCi=0;
The corresponding test environment templates of maximum matching value are selected, are the close test environment templates of the project to be built;
The close test environment templates are modified by visualization interface, and are modified described close by visualization interface
Environment template definition test parameter is tested, target detection environment is generated.
6. method according to any one of claims 1 to 3, which is characterized in that
Further comprise:
To be distributed on data base management system on type of database in environment templates definition wires on line described in each, line and line
Formula application program coordination service;
The weight of type of database on the line is defined respectively, on the line on the weight of data base management system and the line
The weight of distributed application program coordination service;
And it is the weight of type of database on the line, distributed on the weight of data base management system and the line on the line
The weight of application program coordination service meets following weight distribution formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the weight of data base management system on the line;X3
Characterize the weight of distributed application program coordination service on the line;
When not finding environment templates on the score to match with the project to be built, using following third calculation formula,
Calculate the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the line that environment templates define on i-th of line
Upper type of database meets the project to be built, then SXi=1;When data on the line that environment templates define on i-th of line
Library type is unsatisfactory for the project to be built, then SXi=0;When data depositary management on the line that environment templates define on i-th of line
Reason system meets the project to be built, then GXi=1;When data base administration on the line that environment templates define on i-th of line
System is unsatisfactory for the project to be built, then GXi=0;When Distributed Application on the line that environment templates define on i-th of line
Program Coordination service meets the project to be built, then FXi=1;It is distributed when on the line that environment templates define on i-th of line
Formula application program coordination service is unsatisfactory for the project to be built, then FXi=0;
Environment templates on the corresponding line of maximum matching value are selected, are environment templates on the phase near line of the project to be built;
Environment templates on the phase near line are modified by visualization interface, and are modified described close by visualization interface
Environment templates define on-line parameters on line, generate environment on score.
7. a kind of configuration device of project environment, which is characterized in that be applied to cloud server, comprising: determination unit and environment
Generation unit, wherein
The determination unit, at least one exploitation environment templates for being stored in the cloud server, at least one test
On environment templates and at least one line in environment templates, determining target developing environment templates, the mesh to match with project to be built
Mapping tries environment templates on environment templates and score;
The environment generation unit, for when receive develop the request of environment for the project configuration to be built when, read institute
The target developing environment templates that determination unit is determined are stated, are that target developing environment templates definition is opened by visualization interface
Parameter is sent out, target developing environment is generated;When receive test the request of environment for the project configuration to be built when, described in reading
The target detection environment templates that determination unit is determined are target detection environment templates definition test by visualization interface
Parameter generates target detection environment;When receiving as the request of environment on the project configuration line to be built, read it is described really
Environment templates on the score that order member is determined are to join in environment templates definition wires on the score by visualization interface
Number generates environment on score.
8. the configuration device of project environment according to claim 7, which is characterized in that
The determination unit is stored with the first segments of target developing environment templates for being respectively configured and calling for project to be built
Point, the second node for being stored with target detection environment templates and the third node for being stored with environment templates on score.
9. the configuration device of project environment according to claim 8, which is characterized in that further comprise: calling sequence structure
Build unit, wherein
Sequential build unit is called, at least two exploitation environment subtemplates for being cut into according to each exploitation environment templates
Between sequence, determine be stored with it is described exploitation environment subtemplate each exploitation child node the first calling sequence;According to each
Sequence between at least two test environment subtemplates that a test environment templates are cut into, determines and is stored with test environment
The second calling sequence of each test child node of template;On at least two lines being cut into according to environment templates on each line
It is suitable to determine that the third for being stored with child node on each line of environment subtemplate on the line is called for sequence between environment subtemplate
Sequence;
The determination unit, for being at least two target developing child node of project configuration to be built, and it is suitable according to the calling
The first calling sequence that sequence construction unit is determined, calls at least two target developings child node, wherein described at least two
The exploitation environment subtemplate stored in a target developing child node forms a target developing environment templates;Match for project to be built
At least two target detection child nodes, and the second calling sequence determined according to the calling sequential build unit are set, is called
At least two target detections child node, wherein test environment stored in at least two target detections child node
Template forms a target detection environment templates;For child node at least two score of project configuration to be built, and according to institute
The third calling sequence for calling sequential build unit to determine is stated, calls child node at least two score, wherein institute
It states environment subtemplate on the line stored in child node at least two scores and forms environment templates on a score.
10. the configuration device of project environment according to claim 7 or 8, which is characterized in that further comprise: definition is single
Member and matching value computing unit, wherein
The definition unit, for developing type of database, exploitation data depositary management for each described exploitation environment templates definition
Reason system and development DDB application Program Coordination service;The weight of the exploitation type of database is defined respectively, described is opened
Send out the weight of data base management system and the weight of the development DDB application Program Coordination service;And the exploitation data
The weight and the development DDB application Program Coordination service of the weight of library type, the exploitation data base management system
Weight meets following weight distribution formula:
Weight distribution formula:
K1+K2+K3=1
Wherein, K1Characterize the weight of the exploitation type of database;K2Characterize the weight of the exploitation data base management system;K3
Characterize the weight of the development DDB application Program Coordination service;
For test environment template definition test database type, test data base management system described in each and test distribution
Formula application program coordination service;The weight of the test database type, the test data base management system are defined respectively
Weight and the weight of the test distributed application program coordination service;And it is the weight of the test database type, described
The weight of test data base management system and the weight of the test distributed application program coordination service, meet following weights
Distribute formula:
Weight distribution formula:
C1+C2+C3=1
Wherein, C1Characterize the weight of the test database type;C2Characterize the weight of the test data base management system;C3
Characterize the weight of the test distributed application program coordination service;
To be distributed on data base management system on type of database in environment templates definition wires on line described in each, line and line
Formula application program coordination service;The weight of type of database on the line, data base management system on the line are defined respectively
The weight of distributed application program coordination service in weight and the line;And it is the weight of type of database on the line, described
On line on the weight of data base management system and the line distributed application program coordination service weight, meet following weights
Distribute formula:
Weight distribution formula:
X1+X2+X3=1
Wherein, X1Characterize the weight of type of database on the line;X2Characterize the weight of data base management system on the line;X3
Characterize the weight of distributed application program coordination service on the line;
The matching value computing unit, for the target developing environment templates to match with the project to be built ought not found
When, using following first calculation formula, calculate the matching value of each exploitation environment templates;
First calculation formula:
DKi=K1SKi+K2GKi+K3FKi
Wherein, the DKiThe matching value of i-th of exploitation environment templates of characterization;When the definition unit is i-th of exploitation environment mould
The exploitation type of database that plate defines meets the project to be built, then SKi=1;When the definition unit is opened for i-th
The exploitation type of database of hair ring border template definition is unsatisfactory for the project to be built, then SKi=0;When the definition unit
The exploitation data base management system that environment templates define is developed for i-th and meets the project to be built, then GKi=1;When
The definition unit is that the exploitation data base management system that i-th of exploitation environment templates defines is unsatisfactory for the item to be built
Mesh, then GKi=0;When the definition unit is the development DDB application Program Coordination that i-th of exploitation environment templates defines
Service meets the project to be built, then FKi=1;When the definition unit is to open described in i-th of exploitation environment templates defines
Hair distributed application program coordination service is unsatisfactory for the project to be built, then FKi=0;
When not finding the target detection environment templates to match with the project to be built, using following second calculation formula,
Calculate the matching value of each test environment templates;
Second calculation formula:
DCi=C1SCi+C2GCi+C3FCi
Wherein, the DCiThe matching value of i-th of test environment templates of characterization;When the definition unit is i-th of test environment mould
The test database type that plate defines meets the project to be built, then SCi=1;When the definition unit is i-th
The test database type that test environment template definition goes out is unsatisfactory for the project to be built, then SCi=0;When the definition
Unit is that the test data base management system that i-th of test environment template definition goes out meets the project to be built, then GCi
=1;When the definition unit is described in the test data base management system that i-th of test environment template definition goes out is unsatisfactory for
Project to be built, then GCi=0;When the definition unit is that the test distributed that i-th of test environment template definition goes out is answered
Meet the project to be built with Program Coordination service, then FCi=1;When the definition unit is that i-th of test environment templates is fixed
The test distributed application program coordination service that justice goes out is unsatisfactory for the project to be built, then FCi=0;
When not finding environment templates on the score to match with the project to be built, using following third calculation formula,
Calculate the matching value of environment templates on each described line;
Third calculation formula:
DXi=X1SXi+X2GXi+X3FXi
Wherein, the DXiCharacterize the matching value of environment templates on i-th of line;When the definition unit is environment mould on i-th of line
Type of database meets the project to be built on the line that plate defines, then SXi=1;When the definition unit is i-th of line
Type of database is unsatisfactory for the project to be built on the line that upper environment templates define, then SXi=0;When the definition unit
Data base management system meets the project to be built on the line defined for environment templates on i-th of line, then GXi=1;When
Data base management system is unsatisfactory for the item to be built on the line that the definition unit defines for environment templates on i-th of line
Mesh, then GXi=0;When distributed application program is coordinated on the line that the definition unit defines for environment templates on i-th of line
Service meets the project to be built, then FXi=1;When the definition unit is the line that environment templates define on i-th of line
Upper distributed application program coordination service is unsatisfactory for the project to be built, then FXi=0;
The environment generation unit is further used for selecting the calculated maximum matching value of the matching value computing unit corresponding
Environment templates are developed, are the close exploitation environment templates of the project to be built;Described close open is modified by visualization interface
Environment templates are sent out, and are that the modified close exploitation environment templates define development parameters by visualization interface, generate mesh
Mark exploitation environment;
The corresponding test environment templates of the calculated maximum matching value of the matching value computing unit are selected, are the item to be built
The close test environment templates of purpose;The close test environment templates are modified by visualization interface, and pass through visualization interface
For the modified close test environment template definition test parameter, target detection environment is generated;
Environment templates on the corresponding line of the calculated maximum matching value of the matching value computing unit are selected, are the item to be built
Environment templates on purpose phase near line;Environment templates on the phase near line are modified by visualization interface, and pass through visualization interface
On-line parameters are defined for environment templates on the modified phase near line, generate environment on score.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811229014.5A CN109491892B (en) | 2018-10-22 | 2018-10-22 | Project environment configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811229014.5A CN109491892B (en) | 2018-10-22 | 2018-10-22 | Project environment configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491892A true CN109491892A (en) | 2019-03-19 |
CN109491892B CN109491892B (en) | 2021-11-19 |
Family
ID=65692422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811229014.5A Active CN109491892B (en) | 2018-10-22 | 2018-10-22 | Project environment configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491892B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817872A (en) * | 2021-02-26 | 2021-05-18 | 苏州挚途科技有限公司 | Development test system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007710A1 (en) * | 2011-06-28 | 2013-01-03 | Microsoft Corporation | Deploying Environments For Testing By Providing Instantaneous Availability Of Prebuilt Environments |
US20150261552A1 (en) * | 2012-06-29 | 2015-09-17 | Emc Corporation | Environment template-driven environment provisioning in a virtual infrastructure |
CN105373401A (en) * | 2015-10-27 | 2016-03-02 | 上海钢富电子商务有限公司 | Method and system for automatically releasing software package |
US20160274885A1 (en) * | 2015-03-16 | 2016-09-22 | Microsoft Technology Licensing, Llc | Controlling deployment of an industry-specific solution package |
US20170228227A1 (en) * | 2012-03-02 | 2017-08-10 | Vmware, Inc. | Single, logical, multi-tier application blueprint used for deployment and management of multiple physical applications in a cloud infrastructure |
-
2018
- 2018-10-22 CN CN201811229014.5A patent/CN109491892B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130007710A1 (en) * | 2011-06-28 | 2013-01-03 | Microsoft Corporation | Deploying Environments For Testing By Providing Instantaneous Availability Of Prebuilt Environments |
US20170228227A1 (en) * | 2012-03-02 | 2017-08-10 | Vmware, Inc. | Single, logical, multi-tier application blueprint used for deployment and management of multiple physical applications in a cloud infrastructure |
US20150261552A1 (en) * | 2012-06-29 | 2015-09-17 | Emc Corporation | Environment template-driven environment provisioning in a virtual infrastructure |
US20160274885A1 (en) * | 2015-03-16 | 2016-09-22 | Microsoft Technology Licensing, Llc | Controlling deployment of an industry-specific solution package |
CN105373401A (en) * | 2015-10-27 | 2016-03-02 | 上海钢富电子商务有限公司 | Method and system for automatically releasing software package |
Non-Patent Citations (2)
Title |
---|
VREIXO FORMOSO等: ""Open Source Tool for Management Network Information"", 《2007 LATIN AMERICAN NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM》 * |
王飞: ""基于Docker的研发部署管理平台的设计与实现"", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817872A (en) * | 2021-02-26 | 2021-05-18 | 苏州挚途科技有限公司 | Development test system and method |
CN112817872B (en) * | 2021-02-26 | 2024-05-28 | 苏州挚途科技有限公司 | Development test system and method |
Also Published As
Publication number | Publication date |
---|---|
CN109491892B (en) | 2021-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3840295A1 (en) | Resource configuration prediction method and device | |
Frey et al. | Search-based genetic optimization for deployment and reconfiguration of software in the cloud | |
CN102902621B (en) | Application performance measurement and reporting | |
CN106354645B (en) | Test method and test platform based on background system service or interface | |
AU2016356737A1 (en) | Systems and methods of a production environment tool | |
CN107766946B (en) | Method and system for generating combined features of machine learning samples | |
Beck et al. | A simulation framework for virtual network embedding algorithms | |
CN106294120A (en) | The test method of code, equipment and computer program | |
CN109359033A (en) | Method for testing pressure, testing service device, management server and system | |
Heinrich et al. | Integrating run-time observations and design component models for cloud system analysis | |
CN106484623A (en) | A kind of method of software test, apparatus and system | |
CN106371902A (en) | A system to place virtual machines onto servers based upon backup runtime constraints | |
CN110413510A (en) | A kind of data processing method, device and equipment | |
CN116127899B (en) | Chip design system, method, electronic device, and storage medium | |
US11669374B2 (en) | Using machine-learning methods to facilitate experimental evaluation of modifications to a computational environment within a distributed system | |
CN111143223A (en) | Server pressure testing method and device | |
CN109284227A (en) | A kind of automation method for testing pressure and device calculate equipment and storage medium | |
Bhatele et al. | Novel views of performance data to analyze large-scale adaptive applications | |
CN108833592A (en) | Cloud host schedules device optimization method, device, equipment and storage medium | |
CN109491892A (en) | A kind of configuration method and device of project environment | |
Zighed et al. | Comparative analysis of object-oriented software maintainability prediction models | |
CN104090185A (en) | Testing system and method | |
JP2008203934A (en) | Distributed workflow simulation system, method and program | |
EP4152715A1 (en) | Method and apparatus for determining resource configuration of cloud service system | |
CN117311778A (en) | Application management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |