A kind of method and system of automatic verifying software deployment integrality
Technical field
The invention belongs to software deployment and implement technical field, and in particular to a kind of to verify software deployment integrality automatically
Method and system.
Background technique
Traditional soft project does not include software deployment, but ever-increasing software complexity and disposes faced wind
Danger, forces people to begin to focus on software deployment.
Software deployment is a complex process, including provides product from developer, on their computers to application person
All activities of actual installation and maintenance application.
According to the statistics of Standish Group, loss caused by the defect of software is sizable to be partly due to dispose
Failure caused by, it is seen that software deployment work significance.
There is risks for software deployment, this is because caused by following reason: application software becomes increasingly complex, a software
Including multiple components, middleware etc.;Quickly, the interval of successive two versions is very short for application development;The uncertainty of environment;Software
It is irregular etc. to dispose proficiency.
Therefore, in view of the above-mentioned drawbacks in the prior art, the side for designing a kind of automatic verifying software deployment integrality is provided
Method and system;To solve defect existing in the prior art, it is necessary.
Summary of the invention
It is an object of the present invention to design a kind of automatic verifying software in view of the above-mentioned drawbacks of the prior art, providing
The method and system of integrality is disposed, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of method of automatic verifying software deployment integrality, which comprises the following steps:
S1: by deployment, personnel construct comparison database;Comparison database includes but is not limited to the various components title of software sharing, and component is corresponding
Profile Path and title, the setting of parameter, assembly operating log path, the corresponding server line of component in configuration file
Journey.The library is the whether complete basis of verifying software deployment.
S2: being completed the software application of multiple hardware servers by software deployment staffing, may peace on each server
The different components of the software are filled, software application is completed in multiple server collaborations;
S3: verifying software deployment integrality;Specifically includes the following steps:
S3.1: applicable comparison library name, deployment services device ip, user name, password are inputted, the group installed on the server is selected
Part;
S3.2: after detection system gets server relevant information, game server;
S3.2: it after detection system gets comparison library name, the relevant information of component, reads related to the component in corresponding comparison library
Check item;
S3.3: the relevant actual information of component in detection system reading service device;
S3.4: actual information is compared system with the information in comparison library, and exports result report.So as to complete this
The detection that whether component is completely installed on server.The standardization of deployment is improved, the probability that deployment causes defect is reduced.
Preferably, the comparison database is supported to customize, the deployment personnel of each software according to software sharing and actual conditions,
The applicable comparison library of building;Or it is completed jointly by veteran deployment personnel.
Preferably, the actual information in the step S3.3 includes but is not limited to the parameter name of each configuration file of component
And value, component system server state, component log filtering error information.
A kind of system of automatic verifying software deployment integrality characterized by comprising
Building comparison library module;
Deployment services device software application module;The different components of the software, multiple servers may be mounted on each server
Software application is completed in collaboration;
Verify software steps integrity module;It specifically includes:
The applicable comparison library name of input, deployment services device ip, user name, password, select the component installed on the server;Detection
After system gets server relevant information, game server;Detection system, which is got, compares library name, the relevant information of component
Afterwards, check item relevant to the component in corresponding comparison library is read;The relevant reality of component in detection system reading service device
Information;Actual information is compared system with the information in comparison library, and exports result report.So as to complete the service
The detection that whether component is completely installed on device.The standardization of deployment is improved, the probability that deployment causes defect is reduced.
Preferably, comparison database includes but is not limited to the various components of software sharing in the building comparison library module
Title, the corresponding Profile Path of component and title, the setting of parameter, assembly operating log path, component in configuration file
Corresponding server thread.The library is the whether complete basis of verifying software deployment.
The beneficial effects of the present invention are provide unified standard for software deployment;Comparison library is supported to customize, comparison library
Content includes but is not limited to configuration parameter name and value, component thread name, log path;Verifying personnel by selection comparison library,
Component name can check whether the component is installed complete, accurate on certain server.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation
Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for automatic verifying software deployment integrality provided by the invention.
Fig. 2 is a kind of functional block diagram of the system of automatic verifying software deployment integrality provided by the invention.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention
Explanation, and the invention is not limited to following implementation.
Embodiment 1:
As shown in Figure 1, a kind of method of automatic verifying software deployment integrality provided by the invention, comprising the following steps:
S1: by deployment, personnel construct comparison database;Comparison database includes but is not limited to the various components title of software sharing, and component is corresponding
Profile Path and title, the setting of parameter, assembly operating log path, the corresponding server line of component in configuration file
Journey.The library is the whether complete basis of verifying software deployment.
S2: being completed the software application of multiple hardware servers by software deployment staffing, may peace on each server
The different components of the software are filled, software application is completed in multiple server collaborations;
S3: verifying software deployment integrality;Specifically includes the following steps:
S3.1: applicable comparison library name, deployment services device ip, user name, password are inputted, the group installed on the server is selected
Part;
S3.2: after detection system gets server relevant information, game server;
S3.2: it after detection system gets comparison library name, the relevant information of component, reads related to the component in corresponding comparison library
Check item;
S3.3: the relevant actual information of component in detection system reading service device;
S3.4: actual information is compared system with the information in comparison library, and exports result report.So as to complete this
The detection that whether component is completely installed on server.The standardization of deployment is improved, the probability that deployment causes defect is reduced.
In the present embodiment, the comparison database is supported to customize, and the deployment personnel of each software are according to software sharing and practical feelings
Condition constructs applicable comparison library;Or it is completed jointly by veteran deployment personnel.
In the present embodiment, the actual information in the step S3.3 includes but is not limited to the parameter of each configuration file of component
Name and value, component system server state, component log filtering error information.
Embodiment 2:
As shown in Fig. 2, a kind of system of automatic verifying software deployment integrality provided by the invention characterized by comprising
Building comparison library module;
Deployment services device software application module;The different components of the software, multiple servers may be mounted on each server
Software application is completed in collaboration;
Verify software steps integrity module;It specifically includes:
The applicable comparison library name of input, deployment services device ip, user name, password, select the component installed on the server;Detection
After system gets server relevant information, game server;Detection system, which is got, compares library name, the relevant information of component
Afterwards, check item relevant to the component in corresponding comparison library is read;The relevant reality of component in detection system reading service device
Information;Actual information is compared system with the information in comparison library, and exports result report.So as to complete the service
The detection that whether component is completely installed on device.The standardization of deployment is improved, the probability that deployment causes defect is reduced.
In the present embodiment, in the building comparison library module, comparison database includes but is not limited to each group of software sharing
Part title, the corresponding Profile Path of component and title, the setting of parameter, assembly operating log path, group in configuration file
The corresponding server thread of part.The library is the whether complete basis of verifying software deployment.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field
What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and
Retouching, should all be within the scope of the present invention.