Summary of the invention
The technical problem that the present invention will solve provides a kind of wireless telecommunication system upgrade method and device, and it is complicated to solve existing updating operation, labor intensive, and the problem that is prone to make mistakes.
In order to address the above problem; The invention provides a kind of update device of wireless telecommunication system; Comprise: upgrading interface operation module, multistage task management center, one or more task module; Each task module disposes generating based on updating operation of task, and the complete escalation process of task formation of each task module configuration, wherein:
Said upgrading interface operation module is used for: human-computer interaction interface is provided, receives user command, generate the task operating request;
Said multistage task management center is used for: according to said task operating request, and the task module that scheduling is corresponding; And, after a task module successful execution task, if there is follow-up work, scheduling next task module;
Said task module is used for: according to the scheduling at said multistage task management center, and the instantiation of creation task, scheduler task is carried out, and after task is complete, notifies said multistage task management center.
Further, said apparatus also can have following characteristics, and said device also comprises task storage center and Report Builder, wherein:
Said task module also is used for: after scheduler task is carried out, generate task action result, and store said task storage center into;
Said task storage center is used for: store said task action result;
Said Report Builder is used for: according to said task action result, generate the task reports on the implementation.
Further, said apparatus also can have following characteristics, and said task module is one or more levels; When said task module is multistage; Comprise task manager and one or more subtasks module, said subtask module is one or more levels, when said subtask module is multistage; Comprise the task manager of low one-level and the subtask module of low one-level, and the like.
Further, said apparatus also can have following characteristics, and said task module scheduler task is carried out and comprised:
The subtask module of this task module of task manager scheduling of said task module is executed the task; After said subtask module is scheduled; Its next stage subtask module of task manager scheduling by this subtask module is executed the task, and scheduling step by step is up to being dispatched to afterbody subtask module;
After subtasks at different levels module is executed the task, with the corresponding task manager of task action result notice; Task managers at different levels are notified its upper level task manager with the task action result of each subtask module of its scheduling.
Further, said apparatus also can have following characteristics, and said task module or subtask module also are used for: when executing the task, if task is carried out failure, then carry out said task again, arrive predetermined number of times up to task success or task execution number of times.
Further, said apparatus also can have following characteristics, and said update device comprises following task module: upgrading eligible task module, single station upgrading task module, formally upgrade task module, performance comparison task module, wherein:
Said upgrading eligible task module is used for: carry out environmental test, data backup and software download;
Said single station upgrading task module is used for: single equipment to be upgraded is upgraded;
Said formal upgrading task module is used for: the whole network is upgraded;
Said performance comparison task module is used for: network performance before and after the upgrading is compared.
The present invention also provides a kind of upgrade method of the wireless telecommunication system of realizing based on said apparatus, comprising:
Receive user command, generate the task operating request;
Corresponding task module is dispatched according to said task operating request in multistage task management center;
Said task module is according to the scheduling at said multistage task management center, the instantiation of creation task, and scheduler task is carried out, and after task is complete, notifies said multistage task management center;
The next task module if there is follow-up work, is dispatched in said multistage task management center after a task module task successful execution.
Further, said method also can have following characteristics, and said method also comprises:
After said task module is executed the task, generate task action result, according to said task action result, generate the task reports on the implementation.
Further, said method also can have following characteristics, and said task module scheduler task is carried out and comprised:
The subtask module of this task module of task manager scheduling of said task module is executed the task; After said subtask module is scheduled; Its next stage subtask module of task manager scheduling by this subtask module is executed the task, and scheduling step by step is up to being dispatched to afterbody subtask module;
After subtasks at different levels module is executed the task, with the corresponding task manager of task action result notice; Task managers at different levels are notified its upper level task manager with the task action result of each subtask module of its scheduling.
Further; Said method also can have following characteristics, and said method also comprises: when said task module or subtask module are executed the task, if task is carried out failure; Then carry out said task again, carry out number of times arrival predetermined number of times up to task success or task.
Further, said method also can have following characteristics, and the task module of said multistage task management central dispatching is followed successively by: upgrading eligible task module, single station upgrading task module, formally upgrade task module, performance comparison task module, wherein:
After said upgrading eligible task module is scheduled, carries out and carry out environmental test, data backup and software download task;
After said single station upgrading task module is scheduled, single equipment to be upgraded is upgraded;
After said formal upgrading task module is scheduled, the whole network is upgraded;
After said performance comparison task module is scheduled, network performance before and after the upgrading is compared.
Whether the present invention abstractly step by step is task one by one with updating operation stage by stage, is defined in the task list, carries out task scheduling by multistage task management center, and detect current task and carry out correctly, whether can proceed upgrading.Which network element updating success end user can view in report; Which failure of upgrading; The information such as concrete reason of failure, thus realize long-range, in batches, fool, auto-update capability improving, reduced upgrading engineering consumption manpower and time to a great extent.The present invention has guaranteed the standardization and the integrality of upgrading, simultaneously task is carried out intelligence and creates and manage, and the result is carried out intellectual analysis and processing, greatly reduces the professional requirement to operating personnel, has shortened update time, has improved the success rate of upgrading.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
In the embodiment of the invention,, each stage manual operation is extracted, abstractly be task object one by one according to the upgrading flow process of existing wireless telecommunication system.All task objects are defined in the task list, the user only need be in the upgrading interface button click, can accomplish the upgrading task of mass automatically.For the task of some failure, Automatic Program detects failure cause, and handles or repeatedly attempt according to experience, so that ensure that follow-up upgrading task can continue to carry out, at last task action result is presented to the user with the mode of report.Whole upgrading flow process does not need manual operation, and this method has promoted the upgrading ability of webmaster greatly, can be widely used in the wireless telecommunication system upgrading.
Instance of the present invention provides a kind of update device of wireless telecommunication system; As shown in Figure 1; Comprise upgrading interface operation module, multistage task management center, one or more task module (only show a task module among Fig. 1, all the other task modules omit), task storage center and Report Builder, each task module disposes generating based on updating operation of task; And the task of each task module configuration constitutes complete escalation process in this device, wherein:
Said upgrading interface operation module is used for: human-computer interaction interface is provided, receives user command, generate the task operating request;
Said multistage task management center is used for: according to said task operating request, and the task module that scheduling is corresponding; And, after a task module task successful execution, if there is follow-up work, scheduling next task module;
Said task module: be used to store a plurality of tasks that generate based on updating operation; And, according to the scheduling at said multistage task management center, the instantiation of creation task, scheduler task is carried out, and after task is complete, notifies said multistage task management center; And, generate task action result, and store said task storage center into.Wherein, the task of task module storage is according to existing upgrading flow process, decomposes upgrade step, with the abstract task one by one that obtains of each manual operation.
Task storage center: store tasks execution result.
Report Builder: after task termination, generate the task reports on the implementation, can ask, the task reports on the implementation are presented to the user according to the user according to task action result.Wherein, the task reports on the implementation can be html format, certainly, can be extended formattings also, and the present invention does not limit this.
Wherein, providing of human-computer interaction interface can reduce learning difficulty, improves the ease for use of product, really accomplishes the upgrading interface of foolization.
Said task module is one or more levels; When said task module is multistage; Comprise task manager and one or more subtasks module, said subtask module is one or more levels, when said subtask module is multistage; Comprise the task manager of low one-level and the subtask module of low one-level, and the like;
When task module or subtask module are one-level, be meant that there are not next stage subtask module in this task module or subtask module.
Said task module scheduler task is carried out and is comprised:
The subtask module of this task module of task manager scheduling of said task module is executed the task; After said subtask module is scheduled; Its next stage subtask module of task manager scheduling by this subtask module is executed the task, and scheduling step by step is up to being dispatched to afterbody subtask module;
After subtasks at different levels module is executed the task, with the corresponding task manager of task action result notice; Task managers at different levels are notified its upper level task manager with the task action result of each subtask module of its scheduling.
Wherein, can comprise following task module in the update device: upgrading eligible task module, single station upgrading task module, formally upgrade task module, performance comparison task module also can comprise: upgrading rollback task module, wherein:
Said upgrading eligible task module is used for: carry out environmental test, data backup and software download;
Said single station upgrading task module is used for: single equipment to be upgraded is upgraded;
Said formal upgrading task module is used for: the whole network is upgraded;
Said performance comparison task module is used for: network performance before and after the upgrading is compared;
Said upgrading rollback task module is used for: the whole network is reduced into the preceding version of upgrading.
Wherein, also can not comprise single station upgrading task module and upgrading rollback task module.
Wherein, said task module or subtask module also are used for: when executing the task, if task is carried out failure, then carry out said task again, arrive predetermined number of times up to task success or task execution number of times.
The embodiment of the invention also provides a kind of upgrade method of the wireless telecommunication system of realizing based on above-mentioned update device, comprising:
Receive user command, generate the task operating request;
Corresponding task module is dispatched according to said task operating request in multistage task management center;
Said task module is according to the scheduling at said multistage task management center, the instantiation of creation task, and scheduler task is carried out, and after task is complete, notifies said multistage task management center;
The next task module if there is follow-up work, is dispatched in said multistage task management center after a task module task successful execution.
Wherein, said method also comprises:
After said task module is executed the task, generate task action result, according to said task action result, generate the task reports on the implementation.
Wherein, said task module scheduler task is carried out and is comprised:
The subtask module of this task module of task manager scheduling of said task module is executed the task; After said subtask module is scheduled; Its next stage subtask module of task manager scheduling by this subtask module is executed the task, and scheduling step by step is up to being dispatched to afterbody subtask module;
After subtasks at different levels module is executed the task, with the corresponding task manager of task action result notice; Task managers at different levels are notified its upper level task manager with the task action result of each subtask module of its scheduling.
Wherein, said method also comprises: when said task module or subtask module are executed the task, if task is carried out failure, then carry out said task again, arrive predetermined number of times up to task success or task execution number of times.
Wherein, the task module of said multistage task management central dispatching is followed successively by: upgrading eligible task module, single station upgrading task module, formally upgrade task module, performance comparison task module, wherein:
After said upgrading eligible task module is scheduled, carries out and carry out environmental test, data backup and software download task;
After said single station upgrading task module is scheduled, single equipment to be upgraded is upgraded;
After said formal upgrading task module is scheduled, the whole network is upgraded;
After said performance comparison task module is scheduled, network performance before and after the upgrading is compared.
Escalation process is abstract in before the upgrading, and is during upgrading, back three parts of upgrading, wherein:
Mainly carry out environmental test (whether satisfy the upgrading requirement like the veneer memory space, whether software version or hardware version satisfy upgrading requires) before the upgrading, data backup, software download, the execution result report is prepared in the output upgrading.
Main completion configuration data during upgrading is downloaded and is activated, and version activates, base station resets, and the upgrading inspection, upgrade failure is handled, and data (activestandby state, blocked state) are recovered, the output upgrading report.Report content before link can be checked upgrading is arranged in report.
Carry out the network performance contrast after the upgrading, provide upgrading front and back network performance comparison report.In report, there is link can check before the upgrading and report content during upgrading.
In addition, when the upgrading failure, the rollback of can upgrading.
Upgrading tool is the basis with the OMC basic function, and framework merges a plurality of functions of a plurality of modules of using OMC on the OMC basic function.As shown in Figure 2, comprising: the basic setup function, be provided with according to the user, upload AKU and version template; The upgrading preparatory function, upgrade function, the performance comparison function, upgrading rollback function and Report Builder repeat no more.
Because upgrading tool itself is the system that a multimode merges.Just require general frame and each functions of modules all to have higher independence and extensibility, and whole institutional framework should have consistency.For this reason, adopt multistage task management model, total upgrading task is made up of the task module of multistage task management center and function opposite independent, and each task module inside is made up of the task manager and the task module of less one-level again, by that analogy.Like this, whole system is the extendible system of a loose coupling, and when user's request changed relatively frequently, the elasticity of system was bigger.Structure chart such as Fig. 3.The upgrading preparation of more complicated and upgrade function fundamental block diagram such as Fig. 4, shown in Figure 5.
As shown in Figure 3; The following task module of multistage task management centre management: upgrading eligible task, single station upgrading task, formally upgrade task, performance comparison task, upgrading rollback task may further include task manager and subtask module under each task module.
As shown in Figure 4, be example with the upgrading eligible task, comprise upgrading eligible task manager, also comprise environmental test task, data backup task and software download task three subtasks modules.Each subtask module further comprises the task manager and the subtask module of next stage.With the environmental test task is example, comprises the environmental test task manager, and, A
1An inspection task, A
2An inspection task ... A
nAn inspection task is n subtasks module altogether, and the n value is decided as required.The data backup task further comprises: data B
1Backup tasks, data B
2Backup tasks ... data Bm backup tasks is m subtasks module altogether, and the m value is set according to actual needs, and this m subtasks module is managed by the data backup task manager.The software download task comprises the version warehouse-in, version adds and version is distributed three subtasks modules, is managed by the software download task manager.
As shown in Figure 5; Formal upgrading task module comprises the upgrading task manager, and following subtask module: configuration data downloading task, version activate a task, configuration data activate a task, base station resets task, fault are got rid of and detection task, updating result inspection and retry task and user data recovery tasks; Wherein, fault detect and Exclusion Tasks further comprise: troubleshooting task manager, and fault detect task, fault coupling task, c1 type troubleshooting task ... Cn type troubleshooting task, and the value of n is set as required; The updating result inspection comprises with the retry task: upgrading inspection task manager, and two subtasks modules: upgrading inspection task, upgrading retry task; The user data recovery tasks comprises user data recovery tasks manager, and following subtask module: data d1 recovery tasks ... data dn recovery tasks, the n value is set as required.
Fig. 3 only shows the multistage architecture of part task module in 4,5, and other task modules are similar, repeat no more here.In addition, in the multistage architecture, can have only the parton task module that multistage subtask is arranged, the parton task module does not have the subtask yet, such as, configuration data downloading task module can not have the subtask module of next stage.In addition, Fig. 3, the framework in 4,5 is merely for example, can make various deformation to it, such as, increase task module, perhaps, increase one-level subtask module, such as, the fault detect task among Fig. 5 can further be divided into a plurality of subtasks, or the like.
The wireless telecommunication system upgrade method that the embodiment of the invention provides comprises:
Steps A. behind user's login local NM client, eject wizard-like upgrading interface.
Step B. uploads to remote server from the AKU and the version template path of user's appointment with respective upgrades bag and version template, can upload through the FTP mode.
Step C. after the user clicks " next step ", the upgrading task list of the current step of wizard-like upgrading interface display;
Step D. is after the user clicks START button, and the current operating procedure that needs execution, the task module that scheduling is corresponding are judged in multistage task management center;
With framework shown in Figure 3 is example, at first scheduling upgrading eligible task module;
Step e, task module by multistage task management central dispatching after, the task list that search need to be carried out, creation task executor instance begins to execute the task.Concrete, task module inspection subclass task is carried out concrete task step by step, and task action result is stored in the task storage center.
Step F. after task module inspection subclass task is accomplished, notify the higher level step by step, notify multistage task management center at last.Multistage task management center notice next task module begins to execute the task.Accomplish up to all tasks, the record in the Report Builder query task storage center generates the task reports on the implementation.
Wherein, multistage task management center also can be after the user agrees, scheduling next task module begins to execute the task.The user can check the task reports on the implementation of current task module, judges whether to continue to carry out next task according to the task reports on the implementation.Can carry the task reports on the implementation that executed task is pointed in link in the current task reports on the implementation.
Such as, after the upgrading eligible task was complete, multistage task management center generated the task reports on the implementation; Supply the user to check, and eject prompting frame, whether the inquiry user begins to carry out a task; With Fig. 3 is example; Whether inquire fill order's upgrading task of standing, after the user agreed, the single station upgrading of scheduling task module was carried out corresponding task.Certainly, also inquiring user not judges whether to continue to carry out next task according to the execution result of upgrading eligible task automatically by system.And the like, continue to carry out formal upgrading task and performance comparison task.If the upgrading failure then can be carried out upgrading rollback task.
Be example with the upgrading eligible task below, the concrete implementation of task module is described.
Upgrading eligible task manager administration three subtasks, environmental test task, data backup task and software download task; If this three subtasks is a parallel task, this three subtasks module of the eligible task of then upgrading manager scheduling begins to execute the task; If this three subtasks is a serial task, the eligible task of then upgrading manager is dispatched each subtask module in order, and after a subtasks module successful execution task, dispatches next subtask module.After each subtask module was scheduled, the next stage subtask of checking oneself was parallel task or serial task, carries out according to similar fashion.
With the software download task is that example describes.Carry out " version warehouse-in " subtask during the software download task start earlier; Inform when done " software download task manager "; Carry out " version interpolation " subtask if " version warehouse-in " subtask is successful, otherwise finish this module design task, notice is given multistage task management center." version interpolation " subtask scanning version template and version file; And mate the task that needs add of creating out; " version interpolation " subtask feeds back to " software download task manager " after treating all version interpolation tasks completion, and " software download task manager " analyzed task, if all successes; Then " version interpolation " subtask attempts all failed tasks to add again once more; If failure then attempt once more once more, attempt predetermined number of times (such as 3 times) still failure then report to this step of multistage task management center and finish through upgrading eligible task manager, no longer carry out the follow-up work of current step.If all success then notice " version distribution " subtask initiating task; After the establishment of " version distribution " subtask and complete all distributed tasks, notice upgrading eligible task manager finishes this step.
Fig. 3, the maximum level of multistage task framework is three grades of tasks management in 4,5, like updating result inspection and retry task, has the one-level upgrading to detect below again and upgrading retry task.In fact, the user only need make amendment in configuration file, just can continue to increase or the deletion subtask, perhaps expands the task level.A kind of configuration file is following:
In addition, in configuration file, can define the task executions relation, as parallel, serial.A kind of configuration file is following:
Alarm backup in the above-mentioned configuration file, activestandby state backup and dynamic data backup just can be defined as IsParallel=" Y ", represent that these three tasks can executed in parallel.
When a task is finished, the relative recording of the task identification (task id) that automatic query task storage center is corresponding generates corresponding report.
The present invention provides single wizard-like functional entrance, realize long-range, in batches, fool, auto-update capability improving, reduced upgrading engineering consumption manpower and time to a great extent.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.