CN104902089A - Method for sequencing mobile terminal applications - Google Patents
Method for sequencing mobile terminal applications Download PDFInfo
- Publication number
- CN104902089A CN104902089A CN201510275015.3A CN201510275015A CN104902089A CN 104902089 A CN104902089 A CN 104902089A CN 201510275015 A CN201510275015 A CN 201510275015A CN 104902089 A CN104902089 A CN 104902089A
- Authority
- CN
- China
- Prior art keywords
- application program
- mobile terminal
- timing
- database
- day
- 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.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a method for sequencing mobile terminal applications. The method comprises the following steps: I, starting a background detection module, and detecting applications running on the foreground of a mobile terminal at a preset time interval; II, starting a timing program for timing the applications running on the foreground after the detection modules detect the applications running on the foreground, stopping timing when the applications are stopped or switched to the background of the mobile terminal, binding the daily timing result of each application running on the foreground with dates through the timing program, and storing the daily timing results and the dates in a database; and III, calling the timing results of all applications corresponding to seven continuous days from the database every seven continuous days by the mobile terminal, and performing sequencing according to the accumulated use duration of each application in the continuous days. Sequencing is performed according to the accumulated duration, so that a user can find corresponding applications without repeated scrolling; time is saved for the user; and the use efficiency is increased.
Description
Technical field
The present invention relates to the sort method of application program for mobile terminal.More particularly, the present invention relates to a kind of method application program for mobile terminal sorted according to accumulative duration.
Background technology
Along with constantly popularizing of smart mobile phone, the application program emerged in an endless stream also commercially occurs, a lot of application all facilitates the life of user.Application program on current mobile phone is sort according to the set-up time substantially, the application that user mobile phone is installed is more, bring a problem thereupon, exactly when user wants to open certain application program need on mobile phone in numerous application removal search ransack, sometimes to roll up several pages and just can find the application wanted, waste the time and efforts that user is a large amount of.
The application program that mobile phone is deposited is multifarious, but may just only have special several according to the application program that different user is commonly used, if so user can be allowed to find the application program often used will bring great convenience to user very easily.
For the desktop operating systems such as Microsoft, the last access time of meeting log file or modification time, and there is no the operation duration of log file.Most recently used software matrix, just have recorded access times, and does not record total duration, and word the number that such as user uses is more, and before will being discharged to, and QQ only starts once every day, but uses duration to be but one day.
In view of more than, urgently have and a kind ofly to sort according to the application program of effective storage life to mobile terminal, and the sort method of the application program for mobile terminal of meeting consumers' demand.
Summary of the invention
The invention provides a kind of method sorted according to the application program of effective storage life to mobile terminal.
An object of the present invention is foremost application program the longest for effective storage life being discharged to mobile terminal, be convenient to user and search nearest use frequently and the application program liked.
For this reason, the invention provides a kind of sort method of application program for mobile terminal, comprise the following steps:
Step one, starting up backstage detection module, detect the application program of described mobile terminal front stage operation every the scheduled time;
Step 2, after described detection module detects the application program of front stage operation, namely start timing program timing is carried out to the application program of described front stage operation, when described application program stopping or when being switched to mobile terminal backstage, then stop timing, the timing result of application program every day of each front stage operation and date are carried out binding and are stored in database by described timing program;
Step 3, described mobile terminal transfer the timing result of all application programs corresponding to described Consecutive Days every seven Consecutive Days from described database, and add up duration according to the use of each application program within the described Consecutive Days and sort.
The detection module of mobile terminal detects the application program of described mobile terminal front stage operation every the scheduled time, then start timing program and carry out corresponding timing, its timing is more accurate.
The use record of mobile terminal in continuous seven days of mobile terminal records, and only when application program shows on foreground, being in can under interaction mode with user, just record is carried out to it, when screen locking or application switch backstage, be not counted in time used, then sort according to accumulative duration i.e. effective time, foremost is put into by user being used recently the longest application program of accumulative duration, user can be avoided repeatedly to swipe and just can find corresponding application, save user time, simultaneously when user installation is widely applied, it is more obvious that efficiency improves.
Preferably, wherein, in described step 3, described sequence comprises auto-sequencing and manually sequence, when the described Consecutive Days must meet its first three day have a timing result of at least one application program time, carry out auto-sequencing.
Preferably, wherein, also comprise, after described step 3 carries out auto-sequencing, the timing result in the described Consecutive Days in described database resets by mobile terminal.
Preferably, wherein, described application program has unique identification.
Preferably, wherein, the timing result of application program described in described step 2 every day obtains by the following method:
Described timing program carries out timing to the application program of described front stage operation, obtain present timing duration, whether described mobile terminal detects in described database had used record the same day of described application program, if having, then on the service time on the same day, increased described present timing duration; If no, then increase by one in the database and use record, and the service time of described application program is updated to described present timing duration.
Preferably, wherein, when carrying out described manual sequence, whether the timing result of the every day of at least one application program that described mobile terminal is transferred from database is more than three days, if more than three days, described mobile terminal sorts to described application program according to the accumulative duration that uses.
Preferably, wherein, if described application program in service time on mobile terminal foreground across sky, take zero point as line of demarcation, the service time before zero point is recorded to first day, the service time after zero point is recorded to second day.
Preferably, wherein, the described scheduled time is 2s ~ 30s.
Preferably, wherein, the unique identification of described application program is specially:
When described mobile terminal is IOS system, the unique identification of described application program is Bundle Id;
When described mobile terminal is android system, the unique identification of described application program is Package name.
The present invention at least comprises following beneficial effect:
1, the detection module of mobile terminal of the present invention detects the application program of front stage operation every the scheduled time, then start timing program and carry out corresponding timing, because the interval of the scheduled time is very short, therefore greatly reduce the error of timing result and actual result, improve the accuracy of timing result.
2, the use record of mobile terminal in continuous seven days of mobile terminal records of the present invention, and only show on foreground in application program, being in can under interaction mode with user, just record is carried out to it, when screen locking or application switch backstage, be not counted in time used, then sort according to accumulative duration i.e. effective time, foremost is put into by user being used recently the longest application program of accumulative duration, user can be avoided repeatedly to swipe and just can find corresponding application, save user time, simultaneously when user installation is widely applied, it is more obvious that efficiency improves.
3, sort method of the present invention is divided into auto-sequencing and manually sorts, mobile terminal can carry out auto arrangement to the application program of front stage operation in official hour, save the time of user, and meet the demand of user, and user also can manually sort, meet the various demands of user, improve the experience effect of user.
Part is embodied by explanation below by other advantage of the present invention, target and feature, part also will by research and practice of the present invention by those skilled in the art is understood.
Accompanying drawing explanation
Fig. 1 is operational flowchart of the present invention.
Specific implementation method
Below in conjunction with accompanying drawing, the present invention is described in further detail, can implement according to this with reference to specification word to make those skilled in the art.
The invention provides a kind of sort method of application program for mobile terminal, comprise the following steps:
Step one, starting up backstage detection module, detect the application program of described mobile terminal front stage operation every the scheduled time; The described scheduled time is 2s ~ 30s.
Step 2, after described detection module detects the application program of front stage operation, namely start timing program timing is carried out to the application program of described front stage operation, when described application program stopping or when being switched to mobile terminal backstage, then stop timing, the timing result of application program every day of each front stage operation and date are carried out binding and are stored in database by described timing program;
The timing result of described application program every day obtains by the following method:
Described timing program carries out timing to the application program of described front stage operation, obtain present timing duration, whether described mobile terminal detects in described database had used record the same day of described application program, if having, then on the service time on the same day, increased described present timing duration; If no, then increase by one in the database and use record, and the service time of described application program is updated to described present timing duration.
If described application program is in service time on mobile terminal foreground across sky, take zero point as line of demarcation, the service time before zero point is recorded to first day, the service time after zero point is recorded to second day.
Step 3, described mobile terminal transfer the timing result of all application programs corresponding to described Consecutive Days every seven Consecutive Days from described database, and add up duration according to the use of each application program within the described Consecutive Days and sort.
Wherein, in described step 3, comprise auto-sequencing and manually sequence:
(1) auto-sequencing: when the described Consecutive Days must meet its first three day have a timing result of at least one application program time, carry out auto-sequencing, after auto-sequencing completes, the timing result in the described Consecutive Days in described database resets by mobile terminal.
Such as, on Monday in this Consecutive Days of seven days on Sunday, if meet at least one application program to meet the condition used before Thursday, mobile terminal transfers the accumulative duration of Monday to week in a few days all application programs from database, sort according to accumulative duration, the foremost being ordered into mobile terminal that accumulative duration is the longest, after having sorted, mobile terminal is by the zeros data in database;
If without any the use record of an application program before Thursday in database, so do not carry out auto-sequencing; Being then starting date with this Thursday, take next Thursday as the expiration date, whether has the use record of application program, if having, then sort according to accumulative duration before detecting this Sunday.
(2) when carrying out described manual sequence, whether the timing result of the every day of at least one application program that described mobile terminal is transferred from database is more than three days, if more than three days, described mobile terminal sorts to described application program according to the accumulative duration that uses;
Within arbitrary Consecutive Days during the sequence of manual command mobile terminal, the date that mobile terminal is transferred completed timing result of described Consecutive Days from database and bound with timing result, if the use day of at least one application program was more than three days, then adds up duration according to the use of each application program and sort.
Described application program has unique identification, is specially:
When described mobile terminal is IOS system, the unique identification of described application program is Bundle Id;
When described mobile terminal is android system, the unique identification of described application program is Package name.
Although embodiment of the present invention are open as above, it is not restricted to listed in specification and implementation method utilization.It can be applied to various applicable the field of the invention completely.For those skilled in the art, can easily realize other amendment.Therefore do not deviating under the universal that claim and equivalency range limit, the present invention is not limited to specific details and illustrates here and the legend described.
Claims (9)
1. a sort method for application program for mobile terminal, is characterized in that, comprises the following steps:
Step one, starting up backstage detection module, detect the application program of described mobile terminal front stage operation every the scheduled time;
Step 2, after described detection module detects the application program of front stage operation, namely start timing program timing is carried out to the application program of described front stage operation, when described application program stopping or when being switched to mobile terminal backstage, then stop timing, the timing result of application program every day of each front stage operation and date are carried out binding and are stored in database by described timing program;
Step 3, described mobile terminal transfer the timing result of all application programs corresponding to described Consecutive Days every seven Consecutive Days from described database, and add up duration according to the use of each application program within the described Consecutive Days and sort.
2. the sort method of application program for mobile terminal as claimed in claim 1, it is characterized in that, in described step 3, described sequence comprises auto-sequencing and manually sequence, when the described Consecutive Days must meet its first three day have a timing result of at least one application program time, carry out auto-sequencing.
3. the sort method of application program for mobile terminal as claimed in claim 2, it is characterized in that, also comprise, after described step 3 carries out auto-sequencing, the timing result in the described Consecutive Days in described database resets by mobile terminal.
4. the sort method of application program in mobile terminal as claimed in claim 1, it is characterized in that, described application program has unique identification.
5. the sort method of application program for mobile terminal as claimed in claim 1, is characterized in that, the timing result of application program described in described step 2 every day obtains by the following method:
Described timing program carries out timing to the application program of described front stage operation, obtain present timing duration, whether described mobile terminal detects in described database had used record the same day of described application program, if having, then on the service time on the same day, increased described present timing duration; If no, then increase by one in the database and use record, and the service time of described application program is updated to described present timing duration.
6. the sort method of application program for mobile terminal as claimed in claim 2, it is characterized in that, when carrying out described manual sequence, whether the timing result of the every day of at least one application program that described mobile terminal is transferred from database is more than three days, if more than three days, described mobile terminal sorts to described application program according to the accumulative duration that uses.
7. the sort method of application program for mobile terminal as claimed in claim 5, it is characterized in that, if described application program in service time on mobile terminal foreground across sky, take zero point as line of demarcation, service time before zero point is recorded to first day, and the service time after zero point is recorded to second day.
8. the sort method of application program for mobile terminal as claimed in claim 1, it is characterized in that, the described scheduled time is 2s ~ 30s.
9. the sort method of application program for mobile terminal as claimed in claim 4, it is characterized in that, the unique identification of described application program is specially:
When described mobile terminal is IOS system, the unique identification of described application program is Bundle Id;
When described mobile terminal is android system, the unique identification of described application program is Package name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275015.3A CN104902089A (en) | 2015-05-26 | 2015-05-26 | Method for sequencing mobile terminal applications |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510275015.3A CN104902089A (en) | 2015-05-26 | 2015-05-26 | Method for sequencing mobile terminal applications |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104902089A true CN104902089A (en) | 2015-09-09 |
Family
ID=54034480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510275015.3A Pending CN104902089A (en) | 2015-05-26 | 2015-05-26 | Method for sequencing mobile terminal applications |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104902089A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021591A (en) * | 2016-06-06 | 2016-10-12 | 北京奇虎科技有限公司 | Data processing method and system for terminal |
CN110618913A (en) * | 2019-09-18 | 2019-12-27 | 青岛海信移动通信技术股份有限公司 | Application use duration segmented statistics method and terminal |
CN112799746A (en) * | 2019-11-14 | 2021-05-14 | 青岛海信移动通信技术股份有限公司 | Communication terminal and terminal data processing method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1942401A1 (en) * | 2007-01-05 | 2008-07-09 | Apple Inc. | Multimedia communication device with touch screen responsive to gestures for controlling, manipulating and editing of media files |
CN101365008A (en) * | 2008-09-12 | 2009-02-11 | 深圳华为通信技术有限公司 | Method and terminal for address book ordering |
CN102147732A (en) * | 2011-05-18 | 2011-08-10 | 深圳市五巨科技有限公司 | Method and device for automatically setting desktop shortcut keys on mobile terminal |
CN102331908A (en) * | 2011-09-14 | 2012-01-25 | 惠州Tcl移动通信有限公司 | Method and system for promoting recently-used applications by wireless communication equipment |
CN102523343A (en) * | 2011-12-13 | 2012-06-27 | 深圳桑菲消费通信有限公司 | Method for intelligent arrangement of mobile phone application program shortcut menu icons |
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
CN102946470A (en) * | 2012-10-19 | 2013-02-27 | 北京小米科技有限责任公司 | Display method and device of icon within display region of mobile terminal, and mobile terminal |
CN103870321A (en) * | 2012-12-18 | 2014-06-18 | 德信无线通讯科技(北京)有限公司 | Method for sorting applications according to use time of user |
-
2015
- 2015-05-26 CN CN201510275015.3A patent/CN104902089A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1942401A1 (en) * | 2007-01-05 | 2008-07-09 | Apple Inc. | Multimedia communication device with touch screen responsive to gestures for controlling, manipulating and editing of media files |
CN101365008A (en) * | 2008-09-12 | 2009-02-11 | 深圳华为通信技术有限公司 | Method and terminal for address book ordering |
CN102147732A (en) * | 2011-05-18 | 2011-08-10 | 深圳市五巨科技有限公司 | Method and device for automatically setting desktop shortcut keys on mobile terminal |
CN102331908A (en) * | 2011-09-14 | 2012-01-25 | 惠州Tcl移动通信有限公司 | Method and system for promoting recently-used applications by wireless communication equipment |
CN102523343A (en) * | 2011-12-13 | 2012-06-27 | 深圳桑菲消费通信有限公司 | Method for intelligent arrangement of mobile phone application program shortcut menu icons |
CN102866831A (en) * | 2012-08-30 | 2013-01-09 | 广东欧珀移动通信有限公司 | Method and device and mobile terminal for adjusting desktop icons |
CN102946470A (en) * | 2012-10-19 | 2013-02-27 | 北京小米科技有限责任公司 | Display method and device of icon within display region of mobile terminal, and mobile terminal |
CN103870321A (en) * | 2012-12-18 | 2014-06-18 | 德信无线通讯科技(北京)有限公司 | Method for sorting applications according to use time of user |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106021591A (en) * | 2016-06-06 | 2016-10-12 | 北京奇虎科技有限公司 | Data processing method and system for terminal |
CN110618913A (en) * | 2019-09-18 | 2019-12-27 | 青岛海信移动通信技术股份有限公司 | Application use duration segmented statistics method and terminal |
CN112799746A (en) * | 2019-11-14 | 2021-05-14 | 青岛海信移动通信技术股份有限公司 | Communication terminal and terminal data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104536811A (en) | HIVE task based task scheduling method and device | |
CN104902089A (en) | Method for sequencing mobile terminal applications | |
CN101873457A (en) | DVR (Digital Video Recorder) as well as data backup method and system thereof | |
CN109240607B (en) | File reading method and device | |
CN110865883B (en) | Mass data importing method and device, computer equipment and storage medium | |
CN101697152A (en) | Database storage system and method and device for splitting data thereof | |
CN102541925A (en) | Method and device for rapidly storing and retrieving detailed tickets | |
CN103702177A (en) | Method for storing video file and player | |
CN105701135A (en) | Application recommendation method and device | |
CN115858180B (en) | Time slicing method and device and electronic equipment | |
CN105205125A (en) | Recommendation method and device for application programs | |
CN113342839A (en) | Data processing method and device, terminal equipment and storage medium | |
CN105005585A (en) | Log data processing method and device | |
CN103500077A (en) | File storage method and device | |
CN110221914B (en) | File processing method and device | |
CN111461650A (en) | Schedule arrangement reminding method and device, storage medium and intelligent equipment | |
CN102541402A (en) | Method for regulating display position of object and terminal | |
CN101436316A (en) | Method and system for filtering work attendance data | |
CN110865877A (en) | Task request response method and device | |
CN110910005A (en) | Vehicle scheduling method, device and storage medium | |
CN113946725A (en) | Paging query method and device, storage medium and electronic equipment | |
KR101666440B1 (en) | Data processing method in In-memory Database System based on Circle-Queue | |
CN103092955B (en) | Checkpointed method, Apparatus and system | |
CN111376255B (en) | Robot data acquisition method and device and terminal equipment | |
CN108664322A (en) | Data processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150909 |