CN101772212B - Method and device for carrying out unified management on multiple applications on mobile terminal - Google Patents

Method and device for carrying out unified management on multiple applications on mobile terminal Download PDF

Info

Publication number
CN101772212B
CN101772212B CN200910247098XA CN200910247098A CN101772212B CN 101772212 B CN101772212 B CN 101772212B CN 200910247098X A CN200910247098X A CN 200910247098XA CN 200910247098 A CN200910247098 A CN 200910247098A CN 101772212 B CN101772212 B CN 101772212B
Authority
CN
China
Prior art keywords
event
time
database
module
priority
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.)
Expired - Fee Related
Application number
CN200910247098XA
Other languages
Chinese (zh)
Other versions
CN101772212A (en
Inventor
裴莉辉
路永瑚
张雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910247098XA priority Critical patent/CN101772212B/en
Priority to PCT/CN2010/072925 priority patent/WO2010148837A1/en
Publication of CN101772212A publication Critical patent/CN101772212A/en
Application granted granted Critical
Publication of CN101772212B publication Critical patent/CN101772212B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The invention provides a device and a method for carrying out unified management on multiple applications on a mobile terminal. The device comprises a time event management module, a database and a background executing module, wherein the database is used for storing event information of all events; the time event management module is used for carrying out maintenance and management on a time event queue, extracting the event information from the database and ordering the events according to starting time in the event information, so as to obtain the time event queue; and the background executing module is used for detecting the time event queue and finding out the event whose starting time is the closest to the current time so as to carry out response processing. By adopting the way of unified management on the time queue, the invention carries out unified management on the applications relevant to the time in a mobile phone system, thereby not only well solving the problems of concurrency and conflict among the applications, but also optimizing the management flow of the time events of a mobile phone.

Description

A kind of method and device that many application is carried out unified management on mobile terminal
Technical field
The present invention relates on mobile terminal, many application be carried out method and the device of unified management, be specifically related to a kind of method and device that in embedded real-time operating system, many application is carried out unified management on mobile terminal.
Background technology
In cell phone system, having a plurality of application need to process after having set sometime, need to make event response in this time, such as alarm clock prompting, the schedule prompting, timed power on/off etc., each application at present is all setting-up time formation separately, separately independently independent management is carried out in time queue, for this embedded system of mobile phone, increased the complexity of management like this, particularly when in a plurality of time queues, identical time-event being arranged, the management meeting of concurrent processing is very complicated, and conflict mutually.
Summary of the invention
The invention provides a kind of method and device that many application is carried out unified management on mobile terminal, utilize unified time management formation to come the time-event formation of a plurality of application of statistical management.
In order to solve the problems of the technologies described above, the invention provides a kind of device that many application is carried out unified management on mobile terminal, comprising: time-event administration module, database and background executing module, wherein, described database is used for preserving the event information of all events; Described time-event administration module is used for maintenance and management is carried out in the time-event formation, by extracting event information in described database and according to the start-up time in described event information event being sorted, obtaining the time-event formation; Described background executing module for detection of described time-event formation, finds out that wherein start-up time and current time, nearest event responded processing.
Further, described database is preserved described event information with the chain sheet form, and described event information comprises: event identifier, Event Priority, start-up time and event response operation.
Further, in described event of current time then whether described background executing module after finding out nearest event of wherein start-up time and current time, detect every fixed intervals by the loop start timer; If not then or the event present, do not process; If described event of current time then, described then event is carried out operation response.
Further, described background executing module, a plurality of events are arranged then in the current time, the height according to the priority of described event responds, the event that priority is high is first done operation response, the time of the event of low priority is done delay processing, carry out again operation response after previous event finishes.
Further, described background executing module has a plurality of events then in the current time, and the priority of described event is identical, the event identifier according to described event responds, and carries out ascending sequence by the numerical value of event identifier, and event is preferentially carried out operation response for sorting the preceding.
Further, also comprise: application program module; Described application program module is used for the alter operation update event according to the user, and upgrades event corresponding in described database; Described time-event administration module, after upgrading start-up time of described event, according to start-up time of the event of upgrading in described database all events being re-started sequence, update time event queue.
Further, described application program module, the event that is used for user's deletion is set to the initial state that do not arrange, and upgrades event corresponding to described database; Described time-event administration module, the event by extract upgrading in described database rearranges event sequence, update time event queue.
In order to solve the problems of the technologies described above, the present invention also provides a kind of method of many application being carried out unified management on mobile terminal, be applied to comprise the mobile terminal of time-event administration module, database and background executing module, comprise: described time-event administration module is by extracting event information in described database and according to the start-up time in described event information event being sorted, obtaining the time-event formation; Described background executing module detects described time-event formation, finds out that wherein start-up time and current time, nearest event responded processing.
Further, in described event of current time then whether described background executing module detect every fixed intervals by the loop start timer after finding out nearest event of wherein start-up time and current time; If not then or the event present, do not process; If this event of current time then, described then event is carried out operation response.
Further, a plurality of events are arranged then in the current time, described background executing module responds according to the height of the priority of described event, the event that priority is high is first done operation response, the time of the event of low priority is done delay processing, carry out again operation response after previous event finishes; When the priority of described event was also identical, described background executing module also responded according to the event identifier of described event, carried out ascending sequence by the numerical value of event identifier, and event is preferentially carried out operation response for sorting the preceding.
Technique effect of the present invention:
The present invention has adopted the mode of time queue unified management, with in cell phone system and the management unified management of the application of time correlation, has so just well solved the concurrent and collision problem between application, has optimized the management process of the time-event of mobile phone.
Description of drawings
Fig. 1 is the structure chart of the described device of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the setup times event queue of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the erasing time event queue of the embodiment of the present invention;
Fig. 4 is the method flow diagram of the embodiment of the present invention.
Embodiment
Below will coordinate graphic and embodiment describes embodiments of the present invention in detail, by this to the present invention how the application technology means implementation procedure that solves technical problem and reach the technology effect can fully understand and implement according to this.
Core of the present invention: setup times event manager module and background executing module on terminal; The time-event administration module carries out maintenance management to the time-event formation, other application program modules are as long as arrange oneself Time And Event data into database on demand, safeguard this time-event formation by the time-event administration module, the so corresponding time then processes and all will be processed by this background executing module; Equally, other application program modules can be deleted data as required, time-event administration module meeting corresponding update time of event queue.The data setting of this time-event formation and deletion are to be completed by the time-event administration module in other words, and background executing module is only carried out time response then to the valid data in formation and processed.
As shown in Figure 1, be structure drawing of device of the present invention, comprise:
Application program module 10 is used for the alter operation update event according to the user, and upgrades event corresponding in described database 20; The event that also is used for user's deletion is set to the initial state that do not arrange, and upgrades the event of described database 20 correspondences; Also be used for the newly-increased operation setting event according to the user, and in database 20, event be set;
Database 20 is used for preserving the event information of all events, and the form of preservation is chained list: event id-Event Priority-start-up time-event is done operation;
Time-event administration module 30 is used for maintenance and management is carried out in the time-event formation, and comprising: by extracting event information in described database 20, the event information that extracts comprises at least: event id, start-up time, Event Priority; According to start-up time to the event ordering, the formation time event queue; And after the state of event upgrades, according to start-up time of the event of upgrading in database 20 all events being re-started sequence, update time event queue;
Background executing module 40 for detection of the time-event formation, finds out that wherein start-up time and current system time gap, a nearest event responded processing; If the start-up time of a plurality of events is identical, namely a plurality of events are arranged then in the same system time, the priority according to them responds, the event that priority is high is first done operation response, the time of the event of low priority is done temporary transient delaying, carry out again operation response after previous event finishes; If the start-up time of some event is identical and priority is also identical, the event id according to them carries out operation response, and the little data sorting of ID value preferentially carries out operation response front;
Whether then background executing module 40 after finding out a nearest event of wherein start-up time and current system time gap, by starting a timer every fixed intervals (such as 10 seconds), detects this event of current system time; This regularly detects and loops, if current without event then or the event present, do not do any operation; When this event of current time being detected then, according to above-described processing mode, event is then carried out operation response;
In addition, for some event, also need to upgrade the state of this event, such as, if this event is a repetition time operation, so background executing module 40 just upgrade this event start-up time to next time point and be updated in database 20, also to notify time-event administration module 30.After time-event administration module 30 passes through the data base update time event queue, background executing module 40 continues to find a time-event next and that the current time is nearest, and then detect timer by timing, the management of carrying out formation that goes round and begins again.
The mode of setup times event queue has been described as shown in Figure 2.The event information of all events that each application program module arranges is kept in database.The time-event administration module obtains the event information of each event in its of event queue administrative time by database.For the time-event formation, be to be sorted by the time according to the event in database by the time-event administration module to obtain, then find an event nearest with the current system time by background executing module, carry out operation response.the setting of each event of lane database and change are (state of time recurrence event as above upgrade and can directly be completed by background executing module) of being completed by its corresponding application program module, the user can at any time arrange needed event by application program module, the event information of the event that sets is stored in database, when some event information that is provided with new event or event changes, when needing the event information in new database more, also to notify simultaneously time-event administration module event queue update time, the time-event administration module just takes out data from database like this, rearrange event sequence event queue update time.
The mode of erasing time event queue has been described as shown in Figure 3.When the user need to delete a unwanted event, first obtain this event at the application program module place of correspondence, these data are set to an initial state that does not arrange, fall data value original in database (can think that data empty) with this Data Update that state is not set.Notify simultaneously time-event administration module event queue update time, these data change, and like this, the time-event administration module just takes out corresponding data from database, rearrange event sequence.
As shown in Figure 4, be the method for management unified time of the present invention, its concrete steps are as follows:
Step 300 when handset starting, starts background executing module, and with time-event formation initialization, detection time, event queue, by the start-up time of event, found out a time-event nearest with the current system time gap;
If the start-up time of a plurality of events is identical, namely a plurality of events are arranged then in the same system time, according to their priority arrangement event response order, the event that priority is high is first done operation response, the time of the event of low priority is done temporary transient delaying, carry out again operation response after previous event finishes;
If the start-up time of some event is identical and priority is also identical, the event id according to them carries out operation response, and the little data sorting of ID value preferentially carries out operation response front;
Step 301 starts timer and carries out the timing detection;
Step 302, every fixed intervals (such as 10 seconds), whether the detection current time has event then;
This regularly detects and loops, if currently without event then or event is arranged just corresponding do not do any operation, returns to execution in step 301; Have event then if the current time detected, execution in step 303;
Step 303, the corresponding operation response of event when proceeding to;
Step 304, update time, event queue, found out the time-event that the next one will be then, returns to step 301.
Need to prove, in any time of above-mentioned flow process, the application program module that time-event is relevant, can be at any time, according to needs separately, setup times information is to database, by time-event administration module event queue update time, perhaps delete unwanted event, notify simultaneously the formation of background executing module time-event to upgrade.
Its description with aforesaid device is corresponding, and weak point is not given unnecessary details at this one by one with reference to the narration of said apparatus part.
Although the disclosed execution mode of the present invention as above, yet described content is not in order to direct restriction protection scope of the present invention.Any the technical staff in the technical field of the invention under the prerequisite that does not break away from the disclosed spirit and scope of the present invention, can do a little change what implement in form and on details.Protection scope of the present invention still must be as the criterion with the scope that appending claims was defined.

Claims (10)

1. a device that many application is carried out unified management on mobile terminal, is characterized in that, comprising: time-event administration module, database and background executing module, wherein,
Described database is used for preserving the event information of all events;
Described time-event administration module is used for maintenance and management is carried out in the time-event formation, by extracting event information in described database and according to the start-up time in described event information event being sorted, obtaining the time-event formation;
Described background executing module for detection of described time-event formation, finds out that wherein start-up time and current time, nearest event responded processing.
2. device as claimed in claim 1, is characterized in that,
Described database is preserved described event information with the chain sheet form, and described event information comprises: event identifier, Event Priority, start-up time and event response operation.
3. device as claimed in claim 2, is characterized in that,
In described event of current time then whether described background executing module after finding out nearest event of wherein start-up time and current time, detect every fixed intervals by the loop start timer; If not then or the event present, do not process; If described event of current time then, described then event is carried out operation response.
4. device as claimed in claim 3, is characterized in that,
Described background executing module, a plurality of events are arranged then in the current time, the height according to the priority of described event responds, and the event that priority is high is first done operation response, the time of the event of low priority is done delay processing, carry out again operation response after previous event finishes.
5. device as claimed in claim 4, is characterized in that,
Described background executing module, a plurality of events are arranged then in the current time, and the priority of described event is identical, the event identifier according to described event responds, numerical value by event identifier carries out ascending sequence, and event is preferentially carried out operation response for sorting the preceding.
6. device as claimed in claim 2, is characterized in that, also comprises: application program module;
Described application program module is used for the alter operation update event according to the user, and upgrades event corresponding in described database;
Described time-event administration module, after upgrading start-up time of described event, according to start-up time of the event of upgrading in described database all events being re-started sequence, update time event queue.
7. device as claimed in claim 6, is characterized in that,
Described application program module, the event that is used for user's deletion is set to the initial state that do not arrange, and upgrades event corresponding to described database;
Described time-event administration module, the event by extract upgrading in described database rearranges event sequence, update time event queue.
8. a method of many application being carried out unified management on mobile terminal, is characterized in that, is applied to comprise the mobile terminal of time-event administration module, database and background executing module, comprising:
Described time-event administration module is by extracting event information in described database and according to the start-up time in described event information event being sorted, obtaining the time-event formation;
Described background executing module detects described time-event formation, finds out that wherein start-up time and current time, nearest event responded processing.
9. method as claimed in claim 8, is characterized in that,
In described event of current time then whether described background executing module detect every fixed intervals by the loop start timer after finding out nearest event of wherein start-up time and current time; If not then or the event present, do not process; If this event of current time then, described then event is carried out operation response.
10. method as claimed in claim 8, is characterized in that,
A plurality of events are arranged then in the current time, described background executing module responds according to the height of the priority of described event, the event that priority is high is first done operation response, the time of the event of low priority is done delay processing, carry out again operation response after previous event finishes; When the priority of described event was also identical, described background executing module also responded according to the event identifier of described event, carried out ascending sequence by the numerical value of event identifier, and event is preferentially carried out operation response for sorting the preceding.
CN200910247098XA 2009-12-25 2009-12-25 Method and device for carrying out unified management on multiple applications on mobile terminal Expired - Fee Related CN101772212B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910247098XA CN101772212B (en) 2009-12-25 2009-12-25 Method and device for carrying out unified management on multiple applications on mobile terminal
PCT/CN2010/072925 WO2010148837A1 (en) 2009-12-25 2010-05-19 Method and device for unified management of multiple applications on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910247098XA CN101772212B (en) 2009-12-25 2009-12-25 Method and device for carrying out unified management on multiple applications on mobile terminal

Publications (2)

Publication Number Publication Date
CN101772212A CN101772212A (en) 2010-07-07
CN101772212B true CN101772212B (en) 2013-06-12

Family

ID=42504678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910247098XA Expired - Fee Related CN101772212B (en) 2009-12-25 2009-12-25 Method and device for carrying out unified management on multiple applications on mobile terminal

Country Status (2)

Country Link
CN (1) CN101772212B (en)
WO (1) WO2010148837A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739839A (en) * 2011-04-07 2012-10-17 深圳富泰宏精密工业有限公司 Mobile phone application program starting method and system
CN102170498A (en) * 2011-05-27 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Event reminding method and event reminding system based on mobile terminal
CN102811277A (en) * 2011-05-31 2012-12-05 比亚迪股份有限公司 Mobile terminal and method for managing sharing resources
CN103095932B (en) * 2011-11-01 2014-10-22 北京瓦力网络科技有限公司 Method and device for mobile terminal power saving
EP4220354A1 (en) 2012-06-06 2023-08-02 Huawei Device Co., Ltd. Application management method and terminal
CN103677976B (en) * 2013-12-09 2017-12-05 大唐移动通信设备有限公司 A kind of event-handling method and device based on time wheel timer
CN103888619B (en) * 2014-04-16 2016-03-23 青岛海信电子设备股份有限公司 A kind of message treatment method and system thereof
US20170109396A1 (en) * 2014-09-01 2017-04-20 Huawei Technologies Co., Ltd. Data Management Method and Terminal
CN105303058B (en) 2015-11-17 2018-09-18 沈阳东软医疗系统有限公司 One kind meeting event determination method and device
CN109343938A (en) * 2018-09-07 2019-02-15 福建福诺移动通信技术有限公司 A kind of event stochastic method
CN111225113A (en) * 2020-01-08 2020-06-02 青岛海信移动通信技术股份有限公司 Communication terminal and starting method thereof
CN112052575A (en) * 2020-08-27 2020-12-08 浙江工业大学 Automatic working principle screening method based on function execution sequence

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5781769A (en) * 1995-12-29 1998-07-14 Symbios, Inc. Method and apparatus for using a content addressable memory for time tagged event processing
WO2003034217A1 (en) * 2001-10-11 2003-04-24 At & T Laboratories-Cambridge Limited Event queue managing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7376733B2 (en) * 2003-02-03 2008-05-20 Hewlett-Packard Development Company, L.P. Method and apparatus and program for scheduling and executing events in real time over a network
US8656268B2 (en) * 2005-07-01 2014-02-18 Microsoft Corporation Queueing events in an interactive media environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5781769A (en) * 1995-12-29 1998-07-14 Symbios, Inc. Method and apparatus for using a content addressable memory for time tagged event processing
WO2003034217A1 (en) * 2001-10-11 2003-04-24 At & T Laboratories-Cambridge Limited Event queue managing system

Also Published As

Publication number Publication date
CN101772212A (en) 2010-07-07
WO2010148837A1 (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN101772212B (en) Method and device for carrying out unified management on multiple applications on mobile terminal
CN102298532B (en) Startup-item-based management method and device
CN103684495B (en) A kind of circuit arrangement and the method for low-power mode management
AU2014348821B2 (en) Location-based software updates
CN107908472A (en) Data synchronization unit, method and computer-readable recording medium
CN107870772B (en) Cross-environment application deployment method, platform, system and readable storage medium
CN109492073B (en) Log search method, log search apparatus, and computer-readable storage medium
CN102455930A (en) Method for classifying and installing application programs
CN103034498A (en) Method and system for collating application programs
CN111597388B (en) Sample collection method, device, equipment and medium based on distributed system
CN103136200A (en) Data updating information obtaining method and device and data synchronization method and device
CN105573757B (en) The language update method and device of android system
CN103365637A (en) Desktop icon management method and system
CN104023147B (en) A kind of method and system that make mobile terminal stablize dormancy
CN102023899B (en) Multithreaded data synchronization method and device
CN107704550A (en) File migration method, apparatus and computer-readable recording medium
CN102404411A (en) Data synchronization method of cloud storage system
CN103124276A (en) Method for expanding storage space of communication terminal and communication terminal
CN102736923A (en) A method and a system for software customization installation
CN104954482A (en) Configuration management system and method
CN105553591A (en) Node synchronization method for distributed computer system
CN102402457A (en) Method for processing mobile phone application program alterative events
CN104063316B (en) The method of testing and device of a kind of application
CN102932476B (en) Network storage synchro system
CN101600068B (en) Method for achieving change of man-machine interface of television

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130612

Termination date: 20201225

CF01 Termination of patent right due to non-payment of annual fee