CN101551758B - System and method for implementing paralleling work of device management and tasks - Google Patents
System and method for implementing paralleling work of device management and tasks Download PDFInfo
- Publication number
- CN101551758B CN101551758B CN2009100839576A CN200910083957A CN101551758B CN 101551758 B CN101551758 B CN 101551758B CN 2009100839576 A CN2009100839576 A CN 2009100839576A CN 200910083957 A CN200910083957 A CN 200910083957A CN 101551758 B CN101551758 B CN 101551758B
- Authority
- CN
- China
- Prior art keywords
- task
- device management
- module
- tasks
- management tasks
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
The present invention discloses a system for implementing paralleling work of device management and tasks, and includes a service control module for detecting new tasks and establishing task instance and setting corresponding parameter after receiving new tasks and adding the established new tasks into tasks control list; a task module for implementing different tasks separately. The invention also discloses a method for implementing paralleling work of device management and tasks, when detecting each new task and establishing task instance corresponding to each task separately and setting corresponding parameter, then adding the detected new tasks into tasks control list separately and implementing the tasks separately. The system and method of applying the invention can implement paralleling work of a plurality of tasks on mobile terminal and implement interaction effectively among tasks, which improves efficiency and capability of the system and saves system resources.
Description
Technical field
The present invention relates to the device management techniques in mobile terminal, refer to especially a kind of system and method for realizing the device management tasks concurrent working.
Background technology
Along with the fast development of network service, user terminal has become in the life of individual consumer and business users day by day for linking up an indispensable part.Simultaneously, various new data service can be supported and realize to user terminal also in continuous evolution, comprising: Email, pictorial information, internet access, interactive game and enterprise's application etc.Here, described user terminal comprises various line termination units and mobile terminal device.Saturated along with speech business, cellular carrier wants the guaranteed income sustainable growth just must develop new business, yet, because mobile terminal device has become the same with PC complicated, any improvement all may bring potential problem, unless the existing and following application and service is easy to implement and provide, allow the client feel convenient and reliable and really carefree, otherwise new traffic growth risk all the time.
Open mobile alliance device management (OMA DM, Open Mobile Alliance Device Management) business is based on the mobile data value-added services of OMA SyncML DM relevant criterion, wherein, SyncML(Synchronization Markup Language) be a kind of information synchronous standard protocol of platform independence, the DM client that runs in mobile terminal is completed SyncML DM function alternately by what carry out agreement regulation with server, and it makes operator realize by wireless mode, mobile terminal being carried out the ability of telemanagement.That is to say, the mobile terminal device management is a kind of value-added service, it is by HTML (Hypertext Markup Language) (HTTP, Hypertext Transfer Protocol), WAP (wireless application protocol) (WAP, Wireless Application Protocol) and object exchange (OBEX, Object Exchange) communication modes such as agreement, utilize device management command and command execution results, by control and diagnosis, parameter acquisition and configuration and function and the tasks such as software upgrading and security control of device management server realization to mobile terminal.
Existing mobile terminal device management service can be realized the management role to mobile terminal.But due to the restriction of mobile terminal internal hardware and software capability, when having a plurality of device management tasks to carry out, be all that serial is carried out between each device management tasks.Specifically, in the mobile terminal device management system, the protocol module independence that is used for carrying out protocol processes is poor, need to conversation module alternately together, and can only carry out a device management tasks at every turn, therefore, after next task must wait until that a tasks carrying is completed, could begin to carry out, like this, if there are a plurality of tasks to need simultaneously to carry out, mobile terminal just need to cushion a plurality of device management tasks, carries out successively.This method causes the device management tasks execution speed slow, can not process the device management tasks that needs executed in parallel, for example: require to process simultaneously a plurality of data and download, do not possess the function of buffering task due to some mobile terminal, will lose task.
Can find out, existing mobile terminal device management system only supports the serial of individual equipment management role to carry out; And the modularization of system and extendability are not fine, can't realize effective communication interaction between a plurality of tasks.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of system and method for realizing the device management tasks concurrent working, can realize multi-task parallel work, and can support mutual between each parallel task.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of system that realizes the device management tasks concurrent working, be applied to mobile terminal device, comprising:
Message control module for detection of new task, and is set up process or thread, relevant parameter is set after receiving new task, the new task of setting up is joined the task control list;
Task module is used for the different task of independent execution separately;
Described task is device management tasks;
Wherein, described task module comprises and at least one device management tasks unit is used for the actuating equipment management role; Described device management tasks unit is mutual by the task management module in the event manager module in described message control module and described message control module, and is mutual by event manager module between each device management tasks unit;
Wherein, described task management module is used for setting up task instances, relevant parameter being set according to different task types, set up new device management tasks, and each task that will set up joins in the task control list; Described event manager module is used for unified processing and distributes various types of events.
Described task also comprises the expanded function task; Described task module further comprises one or more expanded function TU task units, is used for carrying out the expanded function task except device management tasks; Described expanded function TU task unit is mutual by event manager module and task management module, and is mutual by event manager module between expanded function TU task unit and device management tasks unit, between each expanded function TU task unit.
The present invention also provides a kind of method that realizes the device management tasks concurrent working, is applied to mobile terminal device, comprising:
When each new task being detected, set up respectively corresponding each task process or thread, relevant parameter is set, and each new task that will detect joins respectively the task control list; Each process or thread are independently carried out separately;
Described task is device management tasks or expanded function task;
Wherein, by the described device management tasks of device management tasks unit execution; The event manager module of described device management tasks unit by being used for carrying out Service control is mutual with the task management module that is used for carrying out Service control, and be mutual by event manager module between each device management tasks unit;
Wherein, described task management module is used for setting up task instances, relevant parameter being set according to different task types, set up new device management tasks, and each task that will set up joins in the task control list; Described event manager module is used for unified processing and distributes various types of events.
The relevant parameter of described setting comprises session identity identification code, user and password.
The system and method for realizing the device management tasks concurrent working provided by the present invention, the message control module that comprises task management module and event manager module and the task module that comprises a plurality of TU task units are set in equipment management system, when often receiving a new task, set up task instances by the task management module according to type and the information of new task, corresponding parameter is set, and new task is joined in the task control list, make a plurality of new tasks can executed in parallel, thereby realize the concurrent working of a plurality of device management tasks.Further, can improve overall performance and the efficient of software, improve the level of resources utilization and reduce the task processing time.
And, be placed in a processing unit different from all tasks in prior art, the present invention is placed on one independently in TU task unit with each task, each TU task unit has event interface, if any one task goes wrong, can process separately by the TU task unit that going wrong of task is corresponding, can not affect the operation of other TU task units, so, make the degree of modularity of software and extendability better, and then can effectively save the terminal internal memory and improve the system extension ability.And owing to being that software is realized, the executed in parallel of multitask also can not be subject to the restriction of hardware capabilities.
In addition, because each TU task unit has event interface, all be connected with event manager module in message control module respectively, therefore, can communicate by event manager module between each TU task unit, thereby realize mutual between each task.
Description of drawings
Fig. 1 is the system architecture schematic diagram of realizing the device management tasks concurrent working in the present invention;
Fig. 2 is the method flow schematic diagram of realizing the device management tasks concurrent working in the present invention;
Fig. 3 is task interactive relation schematic diagram in the present invention;
Fig. 4 is the system architecture schematic diagram that the embodiment of the present invention realizes two task task1 and task2 concurrent working;
Fig. 5 is the method flow schematic diagram that the embodiment of the present invention realizes the device management tasks concurrent working.
Embodiment
Basic thought of the present invention is: when each new task being detected, set up respectively task instances, relevant parameter is set, and new task is joined the task control list, task instances corresponding to different task independently carried out separately, so, can realize the concurrent working of multitask.
Concrete, corresponding different task can arrange separate TU task unit, and task management module and event manager module are set in message control module, each TU task unit can be communicated by event manager module, thereby each task can be realized alternately.
Fig. 1 is the system architecture schematic diagram of realizing the device management tasks concurrent working in the present invention, and as shown in Figure 1, the present invention realizes that the system of device management tasks concurrent working comprises: message control module 11 and task module 12; Wherein,
Can realize mutual between task by message control module 11, and mutual between external system.
In Fig. 1, message control module 11 also comprises: task management module 111 and event manager module 112; Task module 12 also comprises at least one device management tasks unit 121; Further, task module 12 can also comprise one or more expanded function TU task units 122; Wherein,
Accordingly, by the operation to the task control list, can realize that task inquiry, task status are managed, task is closed and interrupt etc.Due to task instances corresponding to each task difference, each task instances is independent operating separately, so, concurrent working between a plurality of tasks.
Here, described task instances fingering journey foundation or thread are set up etc.; Set parameter comprises the information such as task session identity identification code (ID, identity), user and password.
Here, event refers to the message transmitted between task.All to be undertaken alternately by event manager module 112 between device management tasks unit 121 and message control module 11, between task, also undertaken alternately by event manager module 112 between external system, all events are all carried out unified management by event manager module 112.
Device management tasks unit 121 is used for the actuating equipment management role, and each device management tasks unit 121 is used for carrying out a device management tasks.
Expanded function TU task unit 122 be used for to be carried out except device management tasks other expanded function task, such as: software upgrading task, data processing task, data downloading task etc.; Each expanded function TU task unit 122 is used for carrying out an expanded function task.
In task module 12, when a plurality of task was arranged, correspondence just had a plurality of TU task units, and hypothesis has a device management tasks and an expanded function task here, and so, correspondence just has a device management tasks unit 121 and an expanded function TU task unit 122; Undertaken alternately by event manager module 112 between device management tasks unit 121 and task management module 111; Also undertaken alternately by event manager module 112 between expanded function TU task unit 122 and task management module 111.Also undertaken alternately by event manager module 112 between device management tasks unit 121 and expanded function TU task unit 122, and then realize mutual between device management tasks and expanded function task.
If two or more TU task units are arranged, so, between each device management tasks unit, between each expanded function TU task unit, all undertaken alternately by event manager module 112 between each device management tasks unit and expanded function TU task unit, thereby realize mutual between each task.Also undertaken alternately by event manager module 112 between each device management tasks unit and task management module 111; Also undertaken alternately by event manager module 112 between each expanded function TU task unit and task management module 111.
Fig. 2 is the schematic flow sheet of parallel apparatus for establishing management role method in the present invention, and as shown in Figure 2, the present invention realizes that the method for device management tasks concurrent working specifically comprises the steps:
Step 201: wait for and detect and whether receive new task, if do not receive new task, returning to step 201; Otherwise, execution in step 202;
Step 202: set up task instances according to type and the information of the new task of receiving, such as process foundation or thread foundation etc., corresponding parameter is set, and increase the current new task of receiving in the task control list, afterwards, each task instances is independently carried out separately, and this flow process is returned to step 201 simultaneously.
Here, set up when described task control list generally starts in system, set parameter comprises the information such as task session identity identification code (ID, identity), user and password.
In actual applications, above-mentioned steps 201 and step 202 executed in parallel are the processes of two executed in parallel.
Fig. 3 is the task interactive relation schematic diagram in the present invention, and this system shown in Figure 3 comprises: task management module 301, event manager module 302, task N1 unit 303 and task N2 unit 304.Wherein, the task N2 in the task N1 in task N1 unit 303 and task N2 unit 304 can be device management tasks, can be also a device management tasks and an expanded function task.
As shown in Figure 3, undertaken alternately by event module 302 between the task N2 in the task N1 in task management module 301 and task N1 unit 303, task management module 301 and task N2 unit 304; Also carry out event by event manager module 302 between task N2 in task N1 in task N1 unit 303 and task N2 unit 304 mutual.Alternative events can be accomplished in several ways, can be different according to different system's implementations, such as: adopt Inter-Process Communication mechanism or in-process call etc., here be exactly the event interface of calling system alternately.Event manager module 302 is unified to be processed and distributes various types of events, processes and distribution because all events are unified, therefore can reduce the degree of coupling of intermodule, thereby improve the independence of modules.
Fig. 4 is the system architecture schematic diagram that the embodiment of the present invention realizes two task acquisition tasks task1 and data downloading task task2 concurrent working.In the present embodiment, have acquisition tasks task1 and two tasks of data downloading task task2 to carry out simultaneously, wherein, acquisition tasks task1 is device management tasks, and downloading task task2 is the expanded function task.As shown in Figure 4, this system comprises: message control module 41 and task module 42; Message control module 41 also comprises: task management module 411 and event manager module 412; Task module 42 also comprises: acquisition tasks task1 unit 421 and data downloading task task2 unit 422; Wherein,
Acquisition tasks task1 unit 421 is used for carrying out acquisition tasks task1.
Data downloading task task2 unit 422 is used for executing data downloading task task2.
Fig. 5 is the method flow schematic diagram that the embodiment of the present invention realizes parallel apparatus for establishing management role, in the present embodiment, there are acquisition tasks task1 and two tasks of data downloading task task2 to carry out simultaneously, wherein, acquisition tasks task1 is device management tasks, and downloading task task2 is the expanded function task.As shown in Figure 5, the present embodiment realizes that the method for parallel apparatus for establishing management role comprises the following steps:
Step 501~503: receive acquisition tasks task1, set up task1 task instances, corresponding parameter is set; And increase task1 in the task control list, execution in step 504;
Step 504: acquisition tasks task1 begins to carry out, and turns step 509;
Step 505~507: receive data downloading task task2, set up task2 task instances, corresponding parameter is set; And increase task2 in the task control list, execution in step 508;
Step 508: data downloading task task2 begins to carry out, execution in step 509;
Step 509: in the task implementation, it is mutual that task1 and task2 carry out task by incident management task module 412, and task management module 411 manages by 412 couples of task1 of event manager module and task2.
The above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.
Claims (4)
1. a system that realizes the device management tasks concurrent working, be applied to mobile terminal device, it is characterized in that, this system comprises:
Message control module for detection of new task, and is set up independently process or thread, relevant parameter is set for this new task after receiving new task, and the new task of setting up is joined the task control list;
Task module is used for the different task of independent execution separately;
Described task is device management tasks;
Wherein, described task module comprises and at least one device management tasks unit is used for the actuating equipment management role; Described device management tasks unit is mutual by the task management module in the event manager module in described message control module and described message control module, and is mutual by event manager module between each device management tasks unit;
Wherein, described task management module is used for setting up task instances, relevant parameter being set according to different task types, set up new device management tasks, and each task that will set up joins in the task control list; Described event manager module is used for unified processing and distributes various types of events.
2. system according to claim 1, is characterized in that, described task also comprises the expanded function task;
Described task module further comprises one or more expanded function TU task units, is used for carrying out the expanded function task except device management tasks; Described expanded function TU task unit is mutual by event manager module and task management module, and is mutual by event manager module between expanded function TU task unit and device management tasks unit, between each expanded function TU task unit.
3. a method that realizes the device management tasks concurrent working, be applied to mobile terminal device, it is characterized in that, the method comprises:
When each new task being detected, respectively for each new task set up independently corresponding each task process or thread, relevant parameter is set, and each new task that will detect joins respectively the task control list; Each process or thread are independently carried out separately;
Described task is device management tasks or expanded function task;
Wherein, by the described device management tasks of device management tasks unit execution; The event manager module of described device management tasks unit by being used for carrying out Service control is mutual with the task management module that is used for carrying out Service control, and be mutual by event manager module between each device management tasks unit;
Wherein, described task management module is used for setting up task instances, relevant parameter being set according to different task types, set up new device management tasks, and each task that will set up joins in the task control list; Described event manager module is used for unified processing and distributes various types of events.
4. method according to claim 3, is characterized in that, the relevant parameter of described setting comprises session identity identification code, user and password.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100839576A CN101551758B (en) | 2009-05-13 | 2009-05-13 | System and method for implementing paralleling work of device management and tasks |
PCT/CN2009/075487 WO2010130131A1 (en) | 2009-05-13 | 2009-12-11 | System and method for parallel processing of equipment management tasks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100839576A CN101551758B (en) | 2009-05-13 | 2009-05-13 | System and method for implementing paralleling work of device management and tasks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101551758A CN101551758A (en) | 2009-10-07 |
CN101551758B true CN101551758B (en) | 2013-06-05 |
Family
ID=41156009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100839576A Active CN101551758B (en) | 2009-05-13 | 2009-05-13 | System and method for implementing paralleling work of device management and tasks |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101551758B (en) |
WO (1) | WO2010130131A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551758B (en) * | 2009-05-13 | 2013-06-05 | 中兴通讯股份有限公司 | System and method for implementing paralleling work of device management and tasks |
CN102111508A (en) * | 2009-12-23 | 2011-06-29 | 中国移动通信集团设计院有限公司 | Fault processing method and system as well as fault scheduling equipment |
CN103955402B (en) * | 2014-05-04 | 2018-08-07 | 广东海格怡创科技有限公司 | The method and device of dispatch terminal |
CN108170526B (en) * | 2017-12-06 | 2021-04-20 | 北京像素软件科技股份有限公司 | Load capacity optimization method and device, server and readable storage medium |
CN112667159A (en) * | 2020-12-25 | 2021-04-16 | 深圳创新科技术有限公司 | Data parallel reconstruction method and system based on erasure codes |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1326567A (en) * | 1998-11-16 | 2001-12-12 | 艾利森电话股份有限公司 | Job-parallel processor |
CN1409209A (en) * | 2001-09-24 | 2003-04-09 | 深圳市中兴通讯股份有限公司上海第二研究所 | Realizing method for multiple task real-time operation system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100341281C (en) * | 2004-01-05 | 2007-10-03 | 华为技术有限公司 | Method for realizing task management for network system |
CN100530105C (en) * | 2005-06-30 | 2009-08-19 | 华为技术有限公司 | Cocurrent event processing device and method in multi-task software system |
CN101086711B (en) * | 2006-06-11 | 2012-02-29 | 上海全成通信技术有限公司 | Mission management method of multiple-mission operation system |
CN101551758B (en) * | 2009-05-13 | 2013-06-05 | 中兴通讯股份有限公司 | System and method for implementing paralleling work of device management and tasks |
-
2009
- 2009-05-13 CN CN2009100839576A patent/CN101551758B/en active Active
- 2009-12-11 WO PCT/CN2009/075487 patent/WO2010130131A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1326567A (en) * | 1998-11-16 | 2001-12-12 | 艾利森电话股份有限公司 | Job-parallel processor |
CN1409209A (en) * | 2001-09-24 | 2003-04-09 | 深圳市中兴通讯股份有限公司上海第二研究所 | Realizing method for multiple task real-time operation system |
Also Published As
Publication number | Publication date |
---|---|
WO2010130131A1 (en) | 2010-11-18 |
CN101551758A (en) | 2009-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20110076954A (en) | Optimized polling in low resource devices | |
CN102880514B (en) | A kind of method and apparatus of invokes application | |
CN110958281B (en) | Data transmission method and communication device based on Internet of things | |
CN101551758B (en) | System and method for implementing paralleling work of device management and tasks | |
CN103346974A (en) | Controlling method of service process and network device | |
CN103270466A (en) | Power management via coordination and selective operation of timer-elated tasks | |
CN106445705A (en) | Platform cascading method and system based on Rabbit MQ and Socket.io | |
CN102520927B (en) | Method, device and terminal for generation logic business of embedded terminal | |
CN103281797A (en) | Mobile terminal and method of transmitting business data by same | |
CN103581966A (en) | Real-time monitoring optimizing configuration method for smart phone | |
CN102118448A (en) | Method, system and terminal for realizing cloud computing | |
CN112565439B (en) | Internet of things communication method and system | |
CN105808329A (en) | Distributed overtime task scheduling method and device | |
US20090156162A1 (en) | Communication system, communication terminal, server, communication method to be used therein and program therefor | |
CN103164207A (en) | Application program development method and system for spanning hardware platforms based on Android system | |
CN102201931B (en) | Device management method and system and related apparatus | |
CN114615096B (en) | Event-driven architecture-based telecommunication charging method, system and related equipment | |
CN101523864A (en) | System and method for accessing features offered by an application server | |
CN103532941A (en) | Graphical page presentation method and device in CGS (client gateway server) mode | |
US20070005728A1 (en) | System and method of queued web services | |
CN110417912B (en) | Method for calling back after file downloading is completed | |
CN108337285A (en) | A kind of communication system and communication means | |
EP2475130B1 (en) | Method and server for remotely managing a device over a network | |
CN106445694A (en) | Application access method, device and system | |
KR100593843B1 (en) | An application program management system for a mobile telecommunication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |