Summary of the invention
For the problem that only has fixing several scales and corresponding telecom network management system installation kit thereof in the correlation technique the present invention is proposed, for this reason, main purpose of the present invention is to provide a kind of installation method and device of telecom network management system, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of installation method of telecom network management system.
Installation method according to telecom network management system of the present invention comprises: the scale of obtaining telecom network management system to be installed; Determine the configuration corresponding with scale; Use configuration, make the telecom network management system installation kit; The telecom network management system installation kit is installed.
Preferably, determine that the configuration corresponding with scale comprises: according to the process pooling information in the scale, determine the configuration of initial processes, wherein initial processes is all processes in the telecom network management system to be installed.
Preferably, according to the process pooling information in the scale, the configuration of determining initial processes comprise following one of at least: merge rule according to the external progress in the process pooling information and carry out external progress and merge, wherein external progress is the process of multi-disciplinary net; Merge rule according to the internal process in the process pooling information and carry out the internal process merging, wherein internal process is the inner process of specialty net.
Preferably, determine that the configuration corresponding with scale comprises: carry out parameter configuration according to scale.
Preferably, carry out parameter configuration according to scale and comprise: in the predefined parameter configuration of user, determine the parameter configuration that scale is corresponding.
Preferably, determine that the configuration corresponding with scale comprises: carry out database according to scale and dispose information configuration.
Preferably, after the telecom network management system installation kit was installed, said method also comprised: the scale of change telecom network management system.
Preferably, the scale of change telecom network management system comprises: obtain scale after changing; Determine the configuration corresponding with scale after changing; Carry out redeploying of process merging and database according to the configuration of determining.
Preferably, the scale of change telecom network management system also comprises: determine the scale failure of change telecom network management system; Use the in advance telecom network management system of backup, carry out rollback.
To achieve these goals, according to another aspect of the present invention, provide a kind of erecting device of telecom network management system.
Erecting device according to telecom network management system of the present invention comprises: acquisition module, for the scale of obtaining telecom network management system to be installed; Determination module is used for determining the configuration corresponding with scale; Make module, be used for using configuration, make the telecom network management system installation kit; Installation module is used for installing the telecom network management system installation kit.
Preferably, determination module comprises: determine submodule, be used for the process pooling information according to scale, determine the configuration of initial processes, wherein initial processes is all processes in the telecom network management system to be installed.
Preferably, determine submodule comprise following one of at least: the first merge cells, be used for external progress according to the process pooling information and merge rule and carry out external progress and merge, wherein external progress is the process of multi-disciplinary net; The second merge cells is used for carrying out internal process according to the internal process merging rule of process pooling information and merges, and wherein internal process is the inner process of specialty net.
Preferably, determination module comprises: the configuration submodule is used for carrying out parameter configuration according to scale.
Preferably, the configuration submodule comprises: determining unit, be used in the predefined parameter configuration of user, and determine the parameter configuration that scale is corresponding.
By the present invention, the telecom network management system installation kit comprises one or more configurations corresponding with each scale, like this, the telecom network management system installation kit can realize that each disposes accurately, neatly collocation according to scale, and the installation that can adapt to the telecom network management system under the specific environment is disposed.
Embodiment
Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
The invention provides a kind of installation method of telecom network management system.Fig. 1 is the flow chart according to the installation method of the telecom network management system of the embodiment of the invention, comprises that following step S102 is to step S108.
Step S102 obtains the scale of telecom network management system to be installed.
Step S104 determines the configuration corresponding with scale.
Step S106 uses configuration, makes the telecom network management system installation kit.
Step S108 installs the telecom network management system installation kit.
In the correlation technique, only there are fixing several scales and corresponding telecom network management system installation kit thereof, therefore in installation process, usually mate immediate scale, and telecom network management system installation kit corresponding to this immediate scale is installed.In this preferred embodiment, the telecom network management system installation kit comprises one or more configurations corresponding with each scale, like this, the telecom network management system installation kit can realize that each disposes accurately, neatly collocation according to scale, and the installation that can adapt to the telecom network management system under the specific environment is disposed.
Among the present invention, at " determine the configuration corresponding with scale " before, can pre-defined inner scale and outside scale, come implementation to the framework of network management system and the flexible collocation of configuration.Wherein, inner scale refers to the inner scale definition of specialty net, and is inner at the specialty net, is framework and the configuration of a networking guard system of certain product unit definition; Outside scale refers to the scale definition between the multi-Technology Network, when multi-Technology Network is installed, and networking pipe support structure and a configuration that defines between each product unit.Like this, in network management system fabrication and installation bag, each needs the product related with scale that configuration (comprising inner scale definition and the definition of outside scale) corresponding under each scale is provided, and organize simultaneously the three layer information relevant with scale: network management system process deciliter relation, network management system parameter configuration, network management system database are disposed.Like this, when network management system is installed, as long as selected corresponding scale, will be reflected to so the network management system of installation with these three layers of information of scale Related product.
This shows, in order to select when mounted the three layer information relevant with scale (process deciliter relation, parameter configuration, database are disposed), and with the network management system of this message reflection to installation, the present invention needs to dispose three aspects " definite configuration corresponding with scale " from system process deciliter relation, network management system parameter configuration, network management system database respectively, below in conjunction with example 1 to example 3 this is elaborated.
Example 1 according to the process pooling information in the scale, is determined the configuration of initial processes.
In this example, under certain scale, all initial processes of network management system all are merged into a process, and under another scale, all initial processes of network management system do not merge (process when initial processes refers to webmaster fabrication and installation bag).So just can control what of number of processes by scale, better adapt to the current server environment.
In addition, according to the process pooling information in the scale, the configuration of determining initial processes can comprise two kinds of following implementations, namely merge rule according to the external progress in the process pooling information and carry out the external progress merging, wherein external progress is the process of multi-disciplinary net, and merge rule according to the internal process in the process pooling information and carry out internal process and merge, wherein internal process is the inner process of specialty net.Like this, by distinguishing external progress and internal process, implementation process merges accurately and efficiently.
Example 2 carries out parameter configuration according to scale.
In the practical application, have partial parameters related with whole server environment in the telecom network management system, different server environment configurations can be different.Therefore, this example 2 can be in the predefined parameter configuration of user (in the parameter configuration that namely configures when the definition scale), determine the parameter configuration that scale is corresponding, can the automatic distinguishing scale and to these network management system parameter configuration initialization thereby guarantee to install.
Example 3 determines that the configuration corresponding with scale comprises: carry out database according to scale and dispose information configuration.
In the practical application, the requirement to database under the various scales is also different, and is higher for Database Requirements such as larger scale configuration, needs more database instance to support etc. that this all links together with scale.Therefore, this example 3 carries out database according to scale and disposes information configuration, thereby guarantees installation meeting automatic distinguishing scale and select database to dispose.
To sum up, by the extraction of example 1 to the relevant information of 3 pairs of network management system scales of example, parameter configuration and the deployment information that just can be fit to according to different server environment customizations are so that network management system can better be utilized server resource.Improve the runnability of network management system, reduced cost.
In addition, consider that network management system needs the change scale after operation a period of time, the present invention is also after installing the telecom network management system installation kit, redeploy according to new service application scene, in order to redefine a kind of scale information according to new service application, on existing network management system, readjust network management system according to new scale information by the implement scale change.
Particularly, the scale of change telecom network management system can comprise following step: obtain scale after changing; Determine the configuration corresponding with scale after changing; Carry out redeploying of process merging and database according to the configuration of determining.Wherein, determine that the configuration corresponding with scale after changing can also comprise: according to the information that the process of new scale merges, the process of network management system is processed, generated process catalogue and the configuration of correspondence; Scale is before changing carried out the migration of process configuration file and process instance, carry out the synchronous of data; Database according to new scale is disposed information, carries out redeploying and Data Migration of database; Any one step is unsuccessfully carried out rollback in the scale change process.
In addition, consider that the scale of change telecom network management system may change failure, the present invention can also use the telecom network management system of in advance backup to carry out rollback, recovers original data, in order to guarantee the normal operation of telecom network management system.
To sum up, the present invention can readjust network management system on existing telecom network management system in needs, thereby the telecommunicatioin network management that adapts under the specific environment is installed deployment, and flexibility ratio is high, can effectively reduce maintenance cost.
Be described in detail below in conjunction with the implementation procedure of example to the embodiment of the invention.
Fig. 2 is the schematic diagram of the installation method of telecom network management system according to the preferred embodiment of the invention, wherein, define implementation to the framework of network management system and the flexible collocation of configuration by inner scale definition and outside scale, the different majors net may be inconsistent to the definition of scale, also may need the different scale collocation of each specialty net during multi-Technology Network unification beginning.Support each professional net according to circumstances to define the inside scale of several class so install; In the time of multi-Technology Network unification beginning, integrated department fabrication and installation dish, make the scale (scale that the interface is selected during installation) that total installation presents, the inside scale that this scale is mapped to each specialty net again gets on, and same like this installation scale can be mapped on the different scales of different majors net.Such as:
5 kinds of inner scales of specialty net A definition: A1 A2 A3 A4 A5
4 kinds of inner scales of specialty net B definition: B1 B2 B3 B4
5 kinds of inner scales of specialty net C definition: C1 C2 C3 C4 C5
When then integrated department makes the mounting disc of specialty net A/B/C unification office, can according to circumstances define several scales, such as 4 kinds, be exemplified below:
A/B/C unification office scale 1 corresponding inner scale: A1 B2 C1
A/B/C unification office scale 2 corresponding inner scales: A2 B2 C2
A/B/C unification office scale 3 corresponding inner scales: A3 B3 C3
A/B/C unification office scale 4 corresponding inner scales: A4 B4 C5
In different beginning scale situations, the procedure deployment mode also is different, and the install machinery configuration of small-scale is lower, and the number of processes of support is less, and higher scale can support more process effectively to utilize machine resources and implement distributed.Both supported the mode of multi-Technology Network multi-process to dispose network management system, also support the deployment network management system of multi-Technology Network one process, these all be by be installed in different scales to process carry out necessary merging, initialization that database is carried out corresponding disposing, the network management system parameter configuration is correlated with finishes.
Process pooling function module is responsible for merging relation according to the process in the scale configuration all initial processes of network management system is merged, and the process merging refers to the original process of network management system is become certain specific process according to certain compatible rule merging.Process merges had both supported the inner process of specialty net to merge (the common name internal process merges), supported that also the process of multi-disciplinary net merges (the common name external progress merges).So just can control what of number of processes by scale, thereby better adapt to the current server environment.
Configuration function of initializing module is responsible for writing the predefined network management system parameter configuration of some users in the scale.There is partial parameters related with whole server environment in the network management system, integrated front according to different several scales of server environment predefine at webmaster, every kind of scale customizes a set of network administration systems parameter configuration, so just can control parameter configuration according to scale, better the adaptive system environment.Improve the runnability of network management system.
Database is disposed functional module and is responsible for carrying out the deployment of database instance according to the database relation of disposing in the scale configuration, the database deployment way can be different with the database instance number under the different scales, satisfy thus the deployment requirements to database of the network management system of different scales.
Fig. 3 is the flow chart of the installation method of telecom network management system according to the preferred embodiment of the invention, as shown in Figure 3, comprises that following step S302 is to step S310.
Step S302, user start the webmaster installation procedure network management system are installed.
Step S304, webmaster installation procedure call and obtain scale configuration information functional module, back up and read the scale configuration information.
Step S306, network management system installation procedure calling process pooling function module is carried out the merging of nms process.
Step S308, network management system installation procedure call configuration function of initializing module, carry out the initialization of network management system parameter configuration.
Step S310, functional module is disposed in network management system installation procedure calling data storehouse, carries out the network management system database and disposes.
Fig. 4 is the flow chart that obtains according to the preferred embodiment of the invention the scale configuration information, as shown in Figure 4, comprises that following step S402 is to step S410.
Step S402, webmaster installation procedure call and obtain scale configuration information functional module, begin to obtain scale configuration information handling process.
Step S404 obtains the configuration file relevant with scale in each product unit of specialty net, comprises that scale defined file, process merge configuration file, network management system parameter configuration files and database and dispose configuration file etc.
Step S406 backups to the configuration file relevant with scale under the network management system installation directory, uses during in order to afterwards scale change.
Step S408 reads the scale configuration information in the scale configuration file, prepares for network management system further is installed.
Step S410 finishes and obtains scale configuration information handling process.
Fig. 5 is the flow chart that merges of process according to the preferred embodiment of the invention, as shown in Figure 5, comprises that following step S502 is to step S514.
Step S502, user start the webmaster installation procedure, calling process pooling function module, and the beginning process merges handling process.
Step S504, the process that reads in the scale configuration merges relevant information, comprises internal process pooling information and external progress pooling information.
Step S506 according to the process pooling information that gets access to, has judged whether that external progress merges, and if it is forwards step S508 to, if otherwise forward step S510 to.
Step S508 carries out external progress according to the external progress merging rule of definition in the scale configuration and merges.
Step S510 according to the process pooling information that gets access to, has judged whether that internal process merges, and if it is forwards step S512 to, if otherwise forward step S514 to.
Step S512 carries out internal process according to the internal process merging rule of definition in the scale configuration and merges.
Step S514, the process of finishing merges handling process.
Fig. 6 is the initialized flow chart of parameter configuration according to the preferred embodiment of the invention, as shown in Figure 6, comprises that following step S602 is to step S608.
Step S602, webmaster installation procedure call configuration function of initializing module, beginning network management system parameter configuration initialization process flow process.
Step S604 reads the network management system parameter configuration relevant with scale.
Step S606, initialization network management system parameter configuration is in network management system.
Step S608, the initialization process flow process of the network management system parameter configuration that the scale of finishing is correlated with.
Fig. 7 is the flow chart disposed of database according to the preferred embodiment of the invention, as shown in Figure 7, comprises that following step S702 is to step S710.
Functional module is disposed in step S702 network management system installation procedure calling data storehouse, and beginning network management system database is disposed handling process.
Step S704 reads the network management system database relevant with scale and disposes information.
Step S706 disposes rule according to the database that defines in the scale configuration file and adds database instance, installation database.
Step S708, save data storehouse deployment information is in network management system.
Step S710 finishes the network management system database and disposes handling process.
Fig. 8 is the flow chart of according to the preferred embodiment of the invention scale change, as shown in Figure 8, comprises that following step S802 is to step S816.
Step S802, user start network management system scale change application program, and the scale that reads current network management system support is shown to configuration interface, and the user need to select the new scale of change at the interface, the change of execution scale.
Step S804 backs up network management system file and the data message relevant with current scale.
Step S806 reads the information such as the configuration of new scale and deployment.
Step S808 merges rule according to the process of new scale and re-starts the network management system process and merge (flow process is seen Fig. 4).
Step S810 moves the data of original network management system process.
Step S812 carries out redeploying of network management system database according to new scale, moves simultaneously the data of original network management system database.
Step S814, the failed then rollback of any one step recovers original network management system data in the change of network management system scale.
Step S816 finishes network management system scale change handling process.
Need to prove, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the flow chart of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
The embodiment of the invention provides a kind of erecting device of telecom network management system, and the erecting device of this telecom network management system can be used for realizing the installation method of above-mentioned telecom network management system.Fig. 9 is the structured flowchart according to the erecting device of the telecom network management system of the embodiment of the invention, as shown in Figure 9, comprises acquisition module 92, and determination module 94 is made module 96 and installation module 98.The below is described in detail its structure.
Acquisition module 92 is for the scale of obtaining telecom network management system to be installed; Determination module 94 is connected to acquisition module 92, for configuration corresponding to scale of determining to obtain with acquisition module 92; Make module 96, be connected to determination module 94, be used for the configuration that use determination module 94 is determined, make the telecom network management system installation kit; Installation module 98 is connected to and makes module 96, is used for installing the telecom network management system installation kit of making module 96 making.
Preferably, determination module 94 comprises: determine submodule 942, be used for the process pooling information according to scale, determine the configuration of initial processes, wherein initial processes is all processes in the telecom network management system to be installed.Be described in greater detail below in conjunction with Figure 10.
Preferably, determine submodule 942 comprise following one of at least: the first merge cells 9422, be used for external progress according to the process pooling information and merge rule and carry out external progress and merge, wherein external progress is the process of multi-disciplinary net; The second merge cells 9424 is used for carrying out internal process according to the internal process merging rule of process pooling information and merges, and wherein internal process is the inner process of specialty net.
Preferably, determination module 94 comprises: configuration submodule 944 is used for carrying out parameter configuration according to scale.Be described in greater detail below in conjunction with Figure 11.
Preferably, configuration submodule 944 comprises: determining unit 9442, be used in the predefined parameter configuration of user, and determine the parameter configuration that scale is corresponding.
Need to prove that the erecting device of the telecom network management system of describing among the device embodiment is corresponding to above-mentioned embodiment of the method, its concrete implementation procedure had been carried out detailed description in embodiment of the method, do not repeat them here.
In sum, according to the abovementioned embodiments of the present invention, provide a kind of installation method and device of telecom network management system.By the present invention, the telecom network management system installation kit comprises one or more configurations corresponding with each scale, like this, the telecom network management system installation kit can realize that each disposes accurately, neatly collocation according to scale, and the installation that can adapt to the telecom network management system under the specific environment is disposed.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.