Invention content
The technical problem to be solved in the present invention is to provide a kind of wireless telecommunication system upgrade method and devices, solve existing liter
Complicated for operation, the labor intensive of grade, and error-prone problem.
To solve the above-mentioned problems, the present invention provides a kind of update devices of wireless telecommunication system, including:Upgrade interface
Operation module, multistage task management center, one or more task modules, each task module is configured with is given birth to based on updating operation
At task, and the task of each task module configuration constitutes complete escalation process, wherein:
The upgrading interface operation module is used for:Human-computer interaction interface is provided, user command is received, task operating is generated and asks
It asks;
The multistage task management center is used for:It is asked according to the task operating, dispatches corresponding task module;With
And after a task module successful execution task, if there is follow-up work, next task module is dispatched;
The task module is used for:According to the scheduling of the multistage task management center, the specific example of task is created, is adjusted
Task execution is spent, and after the completion of task execution, notifies the multistage task management center.
Further, above-mentioned apparatus can also have the characteristics that, described device further includes that task storage center and report are given birth to
It grows up to be a useful person, wherein:
The task module is additionally operable to:After scheduler task execution, task action result is generated, and store and arrive the task
Storage center;
The task storage center is used for:Store the task action result;
The Report Builder is used for:According to the task action result, task execution report is generated.
Further, above-mentioned apparatus can also have the characteristics that, the task module be one or more levels, the task mould
When block is multistage, including task manager and one or more subtasks module, the subtask module is one or more levels, institute
When to state subtask module be multistage, include the subtask module of the task manager of low level-one and low level-one, and so on.
Further, above-mentioned apparatus can also have the characteristics that, the task module scheduler task execution includes:
The subtask module that the task manager of the task module dispatches the task module executes task, the subtask
After module is scheduled, its next stage subtask module is dispatched by the task manager of the subtask module and executes task, is adjusted step by step
Degree, until being dispatched to afterbody subtask module;
After module execution tasks in subtask at different levels, task action result is notified into corresponding task manager;Tasks at different levels
The task action result for each subtask module that manager is dispatched notifies its upper level task manager.
Further, above-mentioned apparatus can also have the characteristics that, the task module or subtask module are additionally operable to:It executes
When task, if task execution fails, the task is re-executed, until Mission Success or the arrival of task execution number refer to
Determine number.
Further, above-mentioned apparatus can also have the characteristics that, the update device includes following task module:Upgrading is accurate
Standby task module, formally upgrades task module, performance comparison task module at single station upgrading task module, wherein:
The upgrading eligible task module is used for:Carry out environmental test, data backup and software download;
Single station upgrading task module is used for:Single equipment to be upgraded is upgraded;
The formal upgrading task module is used for:The whole network is upgraded;
The performance comparison task module is used for:Network performance before and after upgrading is compared.
The present invention also provides a kind of upgrade methods for the wireless telecommunication system realized based on above-mentioned apparatus, including:
User command is received, task operating request is generated;
Multistage task management center is asked according to the task operating, dispatches corresponding task module;
The task module creates the specific example of task according to the scheduling of the multistage task management center, and scheduling is appointed
Business executes, and after the completion of task execution, notifies the multistage task management center;
The multistage task management center, if there is follow-up work, is adjusted after a task module Mission Success executes
Spend next task module.
Further, the above method can also have the characteristics that, the method further includes:
After the task module execution task, task action result is generated, according to the task action result, generates and appoints
Business executes report.
Further, the above method can also have the characteristics that, the task module scheduler task execution includes:
The subtask module that the task manager of the task module dispatches the task module executes task, the subtask
After module is scheduled, its next stage subtask module is dispatched by the task manager of the subtask module and executes task, is adjusted step by step
Degree, until being dispatched to afterbody subtask module;
After module execution tasks in subtask at different levels, task action result is notified into corresponding task manager;Tasks at different levels
The task action result for each subtask module that manager is dispatched notifies its upper level task manager.
Further, the above method can also have the characteristics that, the method further includes:The task module or subtask
When module executes task, if task execution fails, the task is re-executed, until Mission Success or task execution time
It counts to and reaches predetermined number of times.
Further, the above method can also have the characteristics that, the task module of the multistage task management center scheduling
It is followed successively by:Upgrade eligible task module, single station upgrading task module, formally upgrade task module, performance comparison task module,
In:
After the upgrading eligible task module is scheduled, executes and carry out environmental test, data backup and software download task;
After single station upgrading task module is scheduled, single equipment to be upgraded is upgraded;
After the formal upgrading task module is scheduled, the whole network is upgraded;
After the performance comparison task module is scheduled, network performance before and after upgrading is compared.
Updating operation stage by stage, is abstracted as task one by one, is defined in task list, by multistage by the present invention step by step
Task management center carries out task scheduling, and whether detect current task execution correct, if can continue to be upgraded.Finally
Which network element updating success user can view in report, which upgrading failure, the information such as concrete reason of failure, to real
Now long-range, batch, fool, automatic upgrading ability are promoted, largely reduce human and material resources that upgrading engineering expends and when
Between.This invention ensures that the normalization and integrality of upgrading, while intelligent establishment and management are carried out to task, and result is carried out
Intellectual analysis and processing greatly reduce the professional requirement to operating personnel, shorten update time, improve upgrading at
Power.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
In the embodiment of the present invention, according to the upgrading flow of existing wireless telecommunication system, by each stage manual operation into
Row extraction, is abstracted as task object one by one.All task objects are defined in task list, user only needs upgrading
Button is clicked in interface, you can be automatically performed the upgrading task of mass.For the task of certain failures, program detects mistake automatically
Reason, and empirically processing or repeatedly trial are lost, to ensure that subsequent upgrading task can continue to execute, will finally be appointed
Business implementing result is presented to the user in a manner of reporting.Entire upgrading flow does not need manual operation, and this method greatly improves
The upgrading ability of webmaster can be widely used for wireless telecommunication system upgrading.
Present example provides a kind of update device of wireless telecommunication system, as shown in Figure 1, including upgrading interface operation mould
Block, multistage task management center, one or more task modules (illustrate only a task module, remaining task module in Fig. 1
Omit), task storage center and Report Builder, each task module is configured with being generated based on updating operation for task, and this
The task of each task module configuration constitutes complete escalation process in device, wherein:
The upgrading interface operation module is used for:Human-computer interaction interface is provided, user command is received, task operating is generated and asks
It asks;
The multistage task management center is used for:It is asked according to the task operating, dispatches corresponding task module;With
And after a task module Mission Success executes, if there is follow-up work, next task module is dispatched;
The task module:For storing the multiple tasks generated based on updating operation;And according to the multistage task
The scheduling of administrative center creates the specific example of task, and scheduler task executes, and after the completion of task execution, notifies described more
Grade task management center;And task action result is generated, and store and arrive the task storage center.Wherein, task module is deposited
The task of storage is to decompose upgrade step according to existing upgrading flow, by the abstract obtained task one by one of each manual operation.
Task storage center:Store tasks implementing result.
Report Builder:After task, task execution report is generated according to task action result, it can be according to user
Task execution report is presented to the user by request.Wherein, task execution report can be html format, it is of course also possible to be it
His format, this is not limited by the present invention.
Wherein, the offer of human-computer interaction interface can reduce learning difficulty, improve the ease for use of product, and it is stupid to be truly realized
The upgrading interface of melon.
The task module is one or more levels, when the task module is multistage, including task manager and one or
Multiple subtask modules, the subtask module is one or more levels, when the subtask module is multistage, including low level-one
The subtask module of task manager and low level-one, and so on;
Refer to level-one in the absence of the task module or subtask module when task module or subtask module are level-one
Task module.
The task module scheduler task executes:
The subtask module that the task manager of the task module dispatches the task module executes task, the subtask
After module is scheduled, its next stage subtask module is dispatched by the task manager of the subtask module and executes task, is adjusted step by step
Degree, until being dispatched to afterbody subtask module;
After module execution tasks in subtask at different levels, task action result is notified into corresponding task manager;Tasks at different levels
The task action result for each subtask module that manager is dispatched notifies its upper level task manager.
Wherein, it in update device may include following task module:Upgrade eligible task module, single station upgrading task mould
Block formally upgrades task module, performance comparison task module, may also include:Upgrade rollback task module, wherein:
The upgrading eligible task module is used for:Carry out environmental test, data backup and software download;
Single station upgrading task module is used for:Single equipment to be upgraded is upgraded;
The formal upgrading task module is used for:The whole network is upgraded;
The performance comparison task module is used for:Network performance before and after upgrading is compared;
The upgrading rollback task module is used for:The whole network is reduced into the version before upgrading.
Wherein, can not also include that single station upgrades task module and upgrading rollback task module.
Wherein, the task module or subtask module are additionally operable to:When execution task, if task execution fails, weigh
The task is newly executed, until Mission Success or task execution number reach predetermined number of times.
The embodiment of the present invention also provides a kind of upgrade method for the wireless telecommunication system realized based on above-mentioned update device, packet
It includes:
User command is received, task operating request is generated;
Multistage task management center is asked according to the task operating, dispatches corresponding task module;
The task module creates the specific example of task according to the scheduling of the multistage task management center, and scheduling is appointed
Business executes, and after the completion of task execution, notifies the multistage task management center;
The multistage task management center, if there is follow-up work, is adjusted after a task module Mission Success executes
Spend next task module.
Wherein, the method further includes:
After the task module execution task, task action result is generated, according to the task action result, generates and appoints
Business executes report.
Wherein, the task module scheduler task, which executes, includes:
The subtask module that the task manager of the task module dispatches the task module executes task, the subtask
After module is scheduled, its next stage subtask module is dispatched by the task manager of the subtask module and executes task, is adjusted step by step
Degree, until being dispatched to afterbody subtask module;
After module execution tasks in subtask at different levels, task action result is notified into corresponding task manager;Tasks at different levels
The task action result for each subtask module that manager is dispatched notifies its upper level task manager.
Wherein, the method further includes:When the task module or subtask module execute task, if task execution is lost
It loses, then re-executes the task, until Mission Success or task execution number reach predetermined number of times.
Wherein, the task module of the multistage task management center scheduling is followed successively by:Upgrade eligible task module, Dan Zhansheng
Grade task module formally upgrades task module, performance comparison task module, wherein:
After the upgrading eligible task module is scheduled, executes and carry out environmental test, data backup and software download task;
After single station upgrading task module is scheduled, single equipment to be upgraded is upgraded;
After the formal upgrading task module is scheduled, the whole network is upgraded;
After the performance comparison task module is scheduled, network performance before and after upgrading is compared.
It is during upgrading before escalation process is abstracted as upgrading, three parts after upgrading, wherein:
Environmental test is substantially carried out before upgrading, and (whether such as veneer memory space, which meets upgrading, requires, software version or hardware
Whether version, which meets upgrading, requires), data backup, software download, output, which upgrades, is ready to carry out result report.
Main completion configuration data during upgrading is downloaded and activation, non-volatile, base station resets, and upgrading checks, upgrade failure
Processing, data (activestandby state, blocked state) are restored, and upgrading report is exported.There is link that can check the report before upgrading in report
Accuse content.
Network performance comparison is carried out after upgrading, provides the front and back network performance comparison report of upgrading.There is link energy in report
Check report content before upgrading and during upgrading.
In addition, when upgrading failure, upgrading rollback can be carried out.
Upgrading tool is based on OMC basic functions, and for framework on OMC basic functions, fusion uses multiple moulds of OMC
Multiple functions of block.As shown in Fig. 2, including:Basic setup function uploads upgrade package and version template according to user setting;It rises
Grade preparatory function, upgrade function, performance comparison function, upgrades Backward Function and Report Builder repeats no more.
Since upgrading tool itself is the system of multimode fusion.Require general frame and modules function all
With higher independence and scalability, and entire institutional framework should be with uniformity.For this purpose, using multistage task pipe
Model is managed, total upgrading task is made of the task module of multistage task management center and function opposite independent, each task mould
It is made of again the task manager and task module of smaller level-one inside block, and so on.In this way, whole system is a loose coupling
The expansible system closed, when user demand variation is more frequent, the elasticity of system is bigger.Structure chart such as Fig. 3.Compare multiple
Miscellaneous upgrading preparation and upgrade function fundamental block diagram is as shown in Figure 4, Figure 5.
As shown in figure 3, multistage task management center manages following task module:Upgrading eligible task, singly station upgrading task,
Formal upgrading task, performance comparison task, upgrading rollback task, may further include under each task module task manager and
Subtask module.
As shown in figure 4, for upgrading eligible task, including upgrading eligible task manager, further include that environmental test is appointed
Three business, data backup task and software download task sub- task modules.Each subtask module further comprises appointing for next stage
Business manager and subtask module.By taking environmental test task as an example, including environmental test task manager, and, A1Check item
Task, A2Check item task ... AnTotal n sub- task modules of check item task, depending on n values are as needed.Data backup task into
One step includes:Data B1Backup tasks, data B2Total m sub- task modules of backup tasks ... data Bm backup tasks, m value roots
It is set according to actual needs, the m sub- task modules are managed by data backup task manager.Software download task includes version
This storage, version addition and three sub- task modules of version distributed, are managed by software download task manager.
As shown in figure 5, formally upgrading task module includes upgrading task manager, and following subtask module:Configuration
Data downloading task, non-volatile task, configuration data activation task, base station resets task, troubleshooting and Detection task rise
Grade and retries task and user data recovery tasks at result inspection;Wherein, fault detect further comprises with Exclusion Tasks:Failure
It handles task manager and fault detect task, Trouble Match task, c1 type faults handles task ... Cn type faults
The value of processing task, n is set as needed;Updating result inspection includes with the task of retrying:Upgrading checks task manager, with
And two sub- task modules:Upgrade inspection task, upgrading retries task;User data recovery tasks include that user data restores to appoint
Business manager, and following subtask module:Data d1 recovery tasks ... data dn recovery tasks, n values are set as needed.
Fig. 3 illustrates only the multistage architecture of partial task module in 4,5, other task modules are similar, no longer superfluous herein
It states.In addition, in multistage architecture, can also only have part subtask module to there is multistage subtask, part subtask module s.m.p to appoint
Business, for example, configuration data downloading task module can be without the subtask module of next stage.In addition, Fig. 3, the framework in 4,5 is only
Citing, can make various deformation to it, for example, increasing task module, alternatively, increasing level-one subtask module, for example, in Fig. 5
Fault detect task can be further divided into multiple subtasks, etc..
Wireless telecommunication system upgrade method provided in an embodiment of the present invention, including:
For step A. after user logs in local network management client, pop-up wizard-like upgrades interface.
The upgrade package and version template path that step B. is specified from user upload to respective upgrades packet and version template
Remote server can be uploaded by FTP modes.
For step C. after user clicks " next step ", wizard-like upgrades the upgrading task list of interface display current procedures;
For step D. after user clicks START button, multistage task management center judgement currently needs operation to be performed to walk
Suddenly, corresponding task module is dispatched;
By taking framework shown in Fig. 3 as an example, scheduling first upgrades eligible task module;
Step E, after task module is dispatched by multistage task management center, search needs the task list executed, creates and appoints
Business executor's example, starts execution task.Specifically, task module checks subset task, specific task is executed step by step, and will
Task action result is stored in task storage center.
After the completion of step F. task modules check subset task, higher level is notified step by step, is finally notified in multistage task management
The heart.Multistage task management center notice next task module starts execution task.Until the completion of all tasks, Report Builder
Record in query task storage center generates task execution report.
Wherein, multistage task management center can also dispatch next task module and start execution times after the user approval
Business.User can check the task execution report of current task module, judge whether to continue to execute down according to task execution report
One task.The task execution report that the task of executed is directed toward in link can be carried in current task execution report.
For example, after the completion of upgrading eligible task executes, multistage task management center generates task execution report, is looked into for user
It sees, and pops up prompting frame, ask the user whether to start to execute a task, by taking Fig. 3 as an example, ask whether that executing single station upgrading appoints
Business dispatches single station upgrading task module and executes corresponding task after the user approval.It is of course also possible to user not inquired, by being
It unites and judges whether to continue to execute next task automatically according to the implementing result for upgrading eligible task.And so on, it continues to execute
Formal upgrading task and performance comparison task.If upgrading failure can execute upgrading rollback task.
Below for upgrading eligible task, illustrate the specific implementation procedure of task module.
Upgrade three subtasks of eligible task manager administration, environmental test task, data backup task and software download
Task;If these three subtasks are parallel tasks, upgrade eligible task manager and dispatch these three subtask modules and start
Execution task;If these three subtasks are serial tasks, upgrade eligible task manager and dispatch each subtask mould in order
Block, and after a sub- task module successful execution task, dispatch next subtask module.Each subtask module is scheduled
Afterwards, the next stage subtask for checking oneself is parallel task or serial task, is executed in a similar way.
It is illustrated by taking software download task as an example." version storage " subtask is first carried out when software download task start,
Inform when done " software download task manager " executes " version addition " son if the success of " version storage " subtask and appoints
Otherwise business terminates the module design task, notice is to multistage task management center.Scan version template and version in " version addition " subtask
This document, and carry out matching and be created that need task to be added, " version addition " son is appointed after the completion of waiting for all version addition tasks
Business feed back to " software download task manager ", " software download task manager " analyzes task, if not all at
Work(, then " version addition " subtask all failed tasks are again attempted to add again, if again fail if again attempt to, taste
Examination predetermined number of times (such as 3 times) or failure then report to the multistage task management center step by upgrading eligible task manager
Suddenly terminate, no longer carry out the follow-up work of current procedures." version distributed " subtask is notified to start task if all successes;
After " version distributed " subtask creates and executes all distributed tasks of completion, notice upgrading eligible task manager terminates the step
Suddenly.
Fig. 3, the most level of multistage task framework is three-level task management in 4,5, and such as updating result inspection and retrying is appointed
Business, below again have level-one upgrading detection and upgrading retry task.In fact, user only needs to modify in configuration file,
It can continue growing or delete subtask, or extension task level.A kind of configuration file is as follows:
In addition, the execution relationship of task can be defined in configuration file, it is such as parallel, serially.A kind of configuration file is as follows:
Alarm backup, activestandby state backup and dynamic data backup can be defined as in above-mentioned configuration file
IsParallel=" Y " indicates that these three tasks can execute parallel.
When a task execution finishes, by the phase of the corresponding task identification of automatic query task storage center (task id)
Record is closed, corresponding report is generated.
The present invention provides single wizard-like functional entrance, realizes that long-range, batch, fool, automatic upgrading ability are promoted, very
Reduce the human and material resources and time that upgrading engineering expends in big degree.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be used
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.