CN106326065A - Terminal use time management method and device - Google Patents

Terminal use time management method and device Download PDF

Info

Publication number
CN106326065A
CN106326065A CN201510387620.XA CN201510387620A CN106326065A CN 106326065 A CN106326065 A CN 106326065A CN 201510387620 A CN201510387620 A CN 201510387620A CN 106326065 A CN106326065 A CN 106326065A
Authority
CN
China
Prior art keywords
screen
duration
timing
terminal
behavior
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.)
Granted
Application number
CN201510387620.XA
Other languages
Chinese (zh)
Other versions
CN106326065B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510387620.XA priority Critical patent/CN106326065B/en
Publication of CN106326065A publication Critical patent/CN106326065A/en
Application granted granted Critical
Publication of CN106326065B publication Critical patent/CN106326065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a terminal use time management method. The method includes: determining if a screen operation behavior record exists in a current monitoring period or not; using a sum between a pre-recorded screen use total time of the current monitoring period and the current screen starting time as a timing starting point if so, and starting timing screen use; displaying the screen use time according to a preset refresh period; stopping timing screen use when a screen closure behavior is detected, and recording the screen use total time of the current monitoring period according to the result of screen use timing; and sending terminal use time prompt information according to the screen use total time in the current monitoring period. The embodiment of the invention further discloses a terminal use time management device. The Terminal use time management method and device can effectively and accurately remind a user of the terminal use time.

Description

A kind of terminal uses duration management method and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of terminal and use duration management method and device.
Background technology
Along with the technology of mobile terminal develops, people the most increasingly be unable to do without mobile terminal, and Use mobile terminal for a long time, bring the biggest impact and injury can to the eyes of user, how to monitor user Use the duration of mobile terminal, to realize issuing the user with using eye health prompt, have become as computer technology A current demand in field.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that a kind of terminal uses duration management method And device, the use duration to terminal can be prompted the user with the most accurately.
In order to solve above-mentioned technical problem, embodiments provide a kind of terminal and use duration management method, Described method includes:
Screen operator behavior record whether is there is in judging the current monitor cycle;
If there is screen operator behavior record, then when the screen in pre-recorded current monitor cycle being used total Long plus this screen opening duration and as time zero, start screen and use timing;
Second level refreshes the described screen of display and uses timing;
When detecting that behavior closed by screen, stop screen and use timing, and use timing according to described screen The result record current monitor cycle screen use total duration.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal and uses duration managing device, described device bag Include:
Whether screen record judge module, exist screen operator behavior record in being used for judging the current monitor cycle;
Screen uses timing module, if for there is screen operator behavior record, then by pre-recorded current The screen in monitoring cycle use total duration plus this screen opening duration and as time zero, start screen Curtain uses timing;
Timing display module, refreshes for second level and shows that described screen uses timing;
Described screen uses timing module, is additionally operable to, when detecting that behavior closed by screen, stop screen and use Timing, and use the screen in the result record current monitor cycle of timing to use total duration according to described screen.
By the screen operator behavior of monitor terminal screen in the present embodiment, and then according to pre-recorded current The screen in monitoring cycle use total duration plus this screen opening duration and carry out screen as time zero Using timing, within the user feedback current monitor cycle, the screen of terminal screen uses total duration in real time, thus Effectively prompt the user with the use duration to terminal accurately.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that a kind of terminal in the embodiment of the present invention uses duration management method;
Fig. 2 is the schematic flow sheet that the terminal in another embodiment of the present invention uses duration management method;
Fig. 3 is to show in the embodiment of the present invention that the screen of terminal screen uses total duration in the current monitor cycle Schematic diagram;
Fig. 4 is the structural representation that a kind of terminal in the embodiment of the present invention uses duration managing device.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Terminal in the embodiment of the present invention uses duration management method and device, it is possible to achieve as PC, In the electric terminals such as smart mobile phone, panel computer, smart portable device, open by monitoring this electronic curtain The use duration opened, it is achieved record user use terminal with the longest, thus effectively carry to user accurately Show the use duration to terminal.
Fig. 1 is the schematic flow sheet that a kind of terminal in the embodiment of the present invention uses duration management method, such as figure Terminal in shown the present embodiment uses duration management method flow process may include that
S101, it is judged that whether there is screen operator behavior record in the current monitor cycle.
Concrete, the described monitoring cycle can be 1 hour, 1 day, 1 week or other prisons that can be set by the user The control cycle.Terminal use duration managing device can in operation monitoring service process real-time monitoring terminal screen Whether there is screen operator behavior, the most in an alternative embodiment, when terminal screen is turned on and off, can be by Terminal operating system uses duration managing device to send corresponding screen operator behavior notice to terminal, thus whole End uses duration managing device can record the screen operator behavior of terminal screen.If within the current monitor cycle There is not screen operator behavior record, then it represents that operation monitoring service first within the current monitor cycle, then may be used Using the time zero running time as the current monitor cycle by monitoring service, start screen and use timing, Otherwise perform S102.Described screen operator behavior can include that screen opening behavior and screen close behavior, institute State screen close behavior can include screen locking, shutdown or other cause the operation that is electrically turn off under screen, described screen Curtain unlatching behavior can include the operation of electric-opening on unlocking screen, start or other triggering screens.
It is pointed out that triggering the terminal implemented in the present embodiment uses duration management method flow process, permissible Instruction triggers by the monitoring service that brings into operation, it is also possible to by detecting that screen opening operates triggering, it is also possible to Be detect user open screen use duration display interface or input panel curtain use duration instruction time Wait triggering.
S102, if there is screen operator behavior record, then makes the screen in pre-recorded current monitor cycle With total duration plus this screen opening duration and as time zero, start screen and use timing.
Concrete, terminal uses duration managing device can obtain the last time in screen operator behavior record The time of origin of screen opening behavior, and then calculate the screen opening behavior of described the last time to time current Long, as this screen opening duration described.The screen total duration of use in described current monitor cycle can be Terminal use duration managing device is pre-recorded to be derived and saved under local preset path, as default in being saved in In data base or data file, needs when, terminal use duration managing device can read and obtain currently The screen in the current monitor cycle of record uses total duration, and then by the screen in pre-recorded current monitor cycle Curtain use total duration plus this screen opening duration and as time zero, start screen and use timing. When the screen in the most pre-recorded current monitor cycle uses total a length of 40 minutes, this screen opening duration Be 2 points 55 seconds, then time zero can be 42:55.
In an alternative embodiment, described screen uses timing can be the Chronometer (essence by terminal built-in Close timer) control carries out timing.
According to the default refresh cycle, S103, shows that described screen uses timing.
The described default refresh cycle can be 1 second, 5 seconds or 30 seconds etc..Such as shown in Fig. 3, brush per second The described screen of new display uses timing, can realize terminal screen within the user feedback current monitor cycle in real time Screen use total duration.
S104, when detecting that behavior closed by screen, stops screen and uses timing, and make according to described screen Total duration is used with the screen in the result record current monitor cycle of timing.
In implementing, duration managing device can be used by terminal operating system to send corresponding screen to terminal Curtain operation behavior notice, thus terminal uses duration managing device can detect that terminal screen there occurs screen Closedown behavior, and then stop screen use timing, and record the result of described screen use timing as currently The screen in monitoring cycle uses total duration, uses the screen of duration to use timing in order to start monitoring screen next time Time use.
S105, uses total duration according to the screen in the current monitor cycle, sends long prompt letter when terminal uses Breath.
In implementing, a threshold value can be preset, if the screen in the current monitor cycle uses total Long more than predetermined threshold value, then send terminal and use duration information.In other alternative embodiments, also may be used Use total duration more than after predetermined threshold value with the screen within the current monitor cycle, open screen or use every time When screen was more than 5 minutes, issues the user with terminal and use duration information.
By the screen operator behavior of monitor terminal screen in the present embodiment, and then according to pre-recorded current The screen in monitoring cycle use total duration plus this screen opening duration and carry out screen as time zero Use timing, and then the screen of terminal screen use total duration within the user feedback current monitor cycle in real time, Thus realize effectively prompting the user with the use duration to terminal accurately.
Fig. 2 is the schematic flow sheet that the terminal in another embodiment of the present invention uses duration management method, such as figure Terminal in shown the present embodiment uses duration management method flow process to comprise the following steps:
S201, it is judged that whether there is screen operator behavior record in the current monitor cycle.
Concrete, the described monitoring cycle can be 1 hour, 1 day, 1 week or other prisons that can be set by the user The control cycle.Terminal use duration managing device can in operation monitoring service process real-time monitoring terminal screen Whether there is screen operator behavior, the most in an alternative embodiment, when terminal screen is turned on and off, can be by Terminal operating system uses duration managing device to send corresponding screen operator behavior notice to terminal, thus whole End uses duration managing device can record the screen operator behavior of terminal screen.If within the current monitor cycle There is not screen operator behavior record, then it represents that operation monitoring service first within the current monitor cycle, perform S202, otherwise performs S203.
S202, using the time zero running time as the current monitor cycle of monitoring service.
Concrete, terminal uses duration managing device can record the operation time of this monitoring service, if working as Before be operation monitoring server first in the monitoring cycle, then can directly using the operation time of monitoring service as The time zero in current monitor cycle.
S203, it is judged that be currently the most whether terminal operating system this start after timing first.
In implementing, terminal operating system can use duration managing device to send one to terminal upon actuation Individual notification message, terminal use duration managing device according to this message authentication be currently terminal operating system this Timing first after startup, then deletes this notification message, follow-up would not again be considered terminal operation system Unite this start after timing first.If being currently the timing first after this startup of terminal operating system, Then perform S206, otherwise perform S204.
S204, it is judged that the most whether be that monitoring services the timing first after this starts.
If being currently the timing first after this startup of monitoring service, then perform S206, otherwise perform S205.
S205, it is judged that the last screen operator behavior occurred is screen opening behavior or screen closedown behavior.
I.e. check the screen operator behavior record in the current monitor cycle, if the last screen operator occurred Behavior is screen opening behavior, then perform S207, if behavior closed by screen, then performs S206.
S206, uses total duration as time zero the screen in pre-recorded current monitor cycle.
Concrete, if being currently the timing first after this startup of terminal operating system, then it represents that terminal operation System occurred to restart, then monitoring period after screen opening behavior last time that recorded it is possible that Dirty data, affects the accuracy of monitor duration, therefore can not consider the duration of this part, directly will in advance The screen in the current monitor cycle of record uses total duration as time zero;It is similar to, if being currently monitoring Service the timing first after this starts, then it represents that monitoring service is it may happen that cross and restart, then recorded Monitoring period after screen opening behavior last time, it is possible that dirty data, therefore can not consider this part Duration, directly use total duration as time zero the screen in pre-recorded current monitor cycle;If The last screen operator behavior occurred is that behavior closed by screen, then it represents that be likely to occur data write latency Situation, then a front screen opening duration can not also be considered, directly by pre-recorded current monitor The screen in cycle uses total duration as time zero.
It is pointed out that necessary logic sequencing or the condition of there is no between S203-S205 these three step Relation, i.e. in other alternative embodiments, can only perform any one in tri-steps of S203-S205 or Two steps, its execution sequence can also arbitrarily be exchanged, all without departing from the solution of the present invention spirit, the most not shadow Ring technical purpose and the effect realizing the present invention.
S207, when using total duration plus this screen opening by the screen in pre-recorded current monitor cycle Long and as time zero.
Concrete, terminal uses duration managing device can obtain the last time in screen operator behavior record The time of origin of screen opening behavior, and then calculate the screen opening behavior of described the last time to time current Long, as this screen opening duration described.The screen total duration of use in described current monitor cycle can be Terminal use duration managing device is pre-recorded to be derived and saved under local preset path, as default in being saved in In data base or data file, needs when, terminal use duration managing device can read and obtain currently The screen in the current monitor cycle of record uses total duration, and then by the screen in pre-recorded current monitor cycle Curtain use total duration plus this screen opening duration and as time zero, start screen and use timing. When the screen in the most pre-recorded current monitor cycle uses total a length of 40 minutes, this screen opening duration Be 2 points 55 seconds, then time zero can be 42:55.
S208, starts screen and uses timing.
Concrete, described screen uses timing can be that the Chronometer control by terminal built-in is counted Time.
According to the default refresh cycle, S209, shows that described screen uses timing.
The described default refresh cycle can be 1 second, 5 seconds or 30 seconds etc..Such as shown in Fig. 3, brush per second The described screen of new display uses timing, can realize terminal screen within the user feedback current monitor cycle in real time Screen use total duration.
S210, when detecting that behavior closed by screen, stops screen and uses timing, and make according to described screen Total duration is used with the screen in the result record current monitor cycle of timing.
In implementing, duration managing device can be used by terminal operating system to send corresponding screen to terminal Curtain operation behavior notice, thus terminal uses duration managing device can detect that terminal screen there occurs screen Closedown behavior, and then stop screen use timing, and record the result of described screen use timing as currently The screen in monitoring cycle uses total duration, uses the screen of duration to use timing in order to start monitoring screen next time Time use.
S211, uses total duration according to the screen in the current monitor cycle, sends long prompt letter when terminal uses Breath.
In implementing, a threshold value can be preset, if the screen in the current monitor cycle uses total Long more than predetermined threshold value, then send terminal and use duration information.In other alternative embodiments, also may be used Use total duration more than after predetermined threshold value with the screen within the current monitor cycle, open screen or use every time When screen was more than 5 minutes, issues the user with terminal and use duration information.
By the screen operator behavior of monitor terminal screen in the present embodiment, and then use according to different scenes Different time zeros carries out screen and uses timing, can be prevented effectively from the dirty data impact meter that various scene causes Time accuracy, and then in real time within the user feedback current monitor cycle terminal screen screen use total time Long, thus realize effectively prompting the user with the use duration to terminal accurately.
Fig. 4 is the structural representation that a kind of terminal in the embodiment of the present invention uses duration managing device, this Bright terminal uses duration managing device to can be implemented in such as PC, smart mobile phone, panel computer, intelligence In the electric terminals such as energy portable set, the terminal in the embodiment of the present invention uses duration management dress as shown in the figure Put and at least can include that screen record judge module 410, screen use timing module 420, timing display module 430 and use duration reminding module 480:
Whether screen record judge module 410, exist screen operator behavior note in being used for judging the current monitor cycle Record.
Concrete, the described monitoring cycle can be 1 hour, 1 day, 1 week or other prisons that can be set by the user The control cycle.Terminal use duration managing device can in operation monitoring service process real-time monitoring terminal screen Whether there is screen operator behavior, the most in an alternative embodiment, when terminal screen is turned on and off, can be by Terminal operating system uses duration managing device to send corresponding screen operator behavior notice to terminal, thus whole End uses duration managing device can record the screen operator behavior of terminal screen.Described screen operator behavior can To include that behavior is closed in screen opening behavior and screen, behavior closed by described screen can include screen locking, shutdown Or other cause the operation that is electrically turn off under screen, described screen opening behavior can include unlocking screen, start Or other trigger the operation of electric-opening on screen.
It is pointed out that whether triggering screen record judge module 410 exists in judging the current monitor cycle The mode of screen operator behavior record, can be by the instruction triggers of the monitoring service that brings into operation, it is also possible to by examining Measure screen opening operation to trigger, it is also possible to be to detect that user opens screen and uses duration display interface or defeated Trigger the when of entering the instruction of display screen use duration.
Screen uses timing module 420, for there is screen operator behavior record, then pre-recorded is worked as The screen in front monitoring cycle use total duration plus this screen opening duration and as time zero, start Screen uses timing.
Concrete, screen uses timing module 420 can obtain the last time in screen operator behavior record The time of origin of screen opening behavior, and then calculate the screen opening behavior of described the last time to time current Long, as this screen opening duration described.The screen total duration of use in described current monitor cycle can be Terminal use duration managing device is pre-recorded to be derived and saved under local preset path, as default in being saved in In data base or data file, needs when, screen use timing module 420 can read and obtain currently The screen in the current monitor cycle of record uses total duration, and then by the screen in pre-recorded current monitor cycle Curtain use total duration plus this screen opening duration and as time zero, start screen and use timing. When the screen in the most pre-recorded current monitor cycle uses total a length of 40 minutes, this screen opening duration Be 2 points 55 seconds, then time zero can be 42:55.
In an alternative embodiment, screen use timing module 420 can be by the Chronometer of terminal built-in (time chronometer) control carries out timing.
According to the default refresh cycle, timing display module 430, for showing that described screen uses timing.
The described default refresh cycle can be 1 second, 5 seconds or 30 seconds etc..Such as shown in Fig. 3, brush per second The described screen of new display uses timing, can realize terminal screen within the user feedback current monitor cycle in real time Screen use total duration
Described screen uses timing module 420, is additionally operable to, when detecting that behavior closed by screen, stop screen and make With timing, and the screen in the result record current monitor cycle of timing is used to use total duration according to described screen.
In implementing, duration managing device can be used by terminal operating system to send corresponding screen to terminal Curtain operation behavior notice, thus screen uses timing module 420 can detect that terminal screen there occurs screen Closedown behavior, and then stop screen use timing, and record the result of described screen use timing as currently The screen in monitoring cycle uses total duration, uses the screen of duration to use timing in order to start monitoring screen next time Time use.
Use duration reminding module 480, for using total duration according to the screen in the current monitor cycle, send Terminal uses duration information.
In implementing, use duration reminding module 480 can preset a threshold value, if current monitor Screen in cycle uses total duration more than predetermined threshold value, then send terminal and use duration information.At it In his alternative embodiment, use duration reminding module 480 can also use at the screen in the current monitor cycle Total duration, more than after predetermined threshold value, when opening screen every time or use screen more than 5 minutes, issues the user with Terminal uses duration information.
Further alternative, terminal in an alternative embodiment uses duration managing device to include:
Screen behavior judge module 440, for judging the last generation in described screen operator behavior record Screen operator behavior is screen opening behavior or screen closedown behavior.
Described screen uses timing module 420, for judging nearest one at described screen behavior judge module 440 When the screen operator behavior of secondary generation is screen opening behavior, by the screen in pre-recorded current monitor cycle Use total duration plus this screen opening duration and as time zero, start screen and use timing;? Described screen behavior judge module 440 judges that the screen operator behavior of the last generation is that behavior closed by screen Time, the screen in pre-recorded current monitor cycle uses total duration as time zero, starts screen and make Use timing.
In another alternative embodiment, terminal uses duration managing device to include:
Server resets judge module 450, by judge be currently the most whether monitoring service this start after first based on Time;
Described screen uses timing module 420, for judging at described server resets judge module 450 is currently When monitoring services the timing first after this starts, the screen in pre-recorded current monitor cycle is used total Duration, as time zero, starts screen and uses timing;Judge to work as at described server resets judge module 450 Before be not monitoring service this start after timing first time, by the screen in pre-recorded current monitor cycle Use total duration plus this screen opening duration and as time zero, start screen and use timing.
In another alternative embodiment, terminal uses duration managing device to include:
System reboot judge module 460, for judge be currently the most whether terminal operating system this start after head Secondary timing;
Described screen uses timing module 420, for judging at described system reboot judge module 460 is currently Terminal operating system this start after timing first time, then by the screen in pre-recorded current monitor cycle Use total duration as time zero, start screen and use timing;At described system reboot judge module 460 When judging the timing first after being currently not this startup of terminal operating system, by described, pre-recorded is worked as The screen in front monitoring cycle use total duration plus this screen opening duration and as time zero, start Screen uses timing.
And then in an alternative embodiment, terminal uses duration managing device to include:
Open duration acquisition module 470, for obtaining screen opening the last in screen operator behavior record The time of origin of behavior, calculates the screen opening behavior of described the last time to current duration, as described This screen opening duration.
Terminal in the embodiment of the present invention uses duration managing device can perform terminal screen by above-mentioned module Use duration monitors, and detailed description of the invention is referred to the method flow of Fig. 1 and Fig. 2 and is discussed in detail, this Embodiment repeats no more.
Terminal in the present embodiment uses the screen operator behavior by monitor terminal screen of the duration managing device, And then use total duration plus this screen opening duration according to the screen in pre-recorded current monitor cycle Timing is used with carrying out screen as time zero, so whole within the user feedback current monitor cycle in real time The screen of end screen uses total duration, thus realizes effectively prompting the user with the use duration to terminal accurately. And then terminal uses duration managing device different time zeros can be used to carry out screen according to different scenes Using timing, can be prevented effectively from the dirty data that various scene causes affects the accuracy of timing.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (16)

1. a terminal uses duration management method, it is characterised in that described method includes:
Screen operator behavior record whether is there is in judging the current monitor cycle;
If there is screen operator behavior record, then when the screen in pre-recorded current monitor cycle being used total Long plus this screen opening duration and as time zero, start screen and use timing;
Show that described screen uses timing according to the default refresh cycle;
When detecting that behavior closed by screen, stop screen and use timing, and use timing according to described screen The result record current monitor cycle screen use total duration;
Use total duration according to the screen in the current monitor cycle, send terminal and use duration information.
2. terminal as claimed in claim 1 uses duration management method, it is characterised in that described method is also Including:
If there is not screen operator behavior record, then monitoring is serviced this operation time as current monitor The time zero in cycle, starts screen and uses timing.
3. terminal as claimed in claim 1 uses duration management method, it is characterised in that described will in advance Record the current monitor cycle screen use total duration plus this screen opening duration and rise as timing Point, starts also to include before screen uses timing:
Judge that in described screen operator behavior record, the last screen operator behavior occurred is screen opening row For or screen close behavior;
If screen opening behavior, then perform described by total for the screen use in pre-recorded current monitor cycle Duration plus this screen opening duration and as time zero, start screen and use timing;
If behavior closed by screen, then the screen in pre-recorded current monitor cycle is used total duration as Time zero, starts screen and uses timing.
4. terminal as claimed in claim 1 uses duration management method, it is characterised in that described reading is pre- The screen in the current monitor cycle first recorded use total duration plus this screen opening duration and as timing Starting point, starts also to include before screen uses timing:
Judge the most whether be that monitoring services the timing first after this starts;
If the timing first after this startup of monitoring service, then by the screen in pre-recorded current monitor cycle Curtain uses total duration as time zero, starts screen and uses timing;
If not the timing first after this startup of monitoring service, then perform described by pre-recorded current prison The screen in control cycle use total duration plus this screen opening duration and as time zero, start screen Use timing.
5. terminal as claimed in claim 1 uses duration management method, it is characterised in that described reading is pre- The screen in the current monitor cycle first recorded use total duration plus this screen opening duration and as timing Starting point, starts also to include before screen uses timing:
Judge be currently the most whether terminal operating system this start after timing first;
If the timing first after this startup of operating system, then by the screen in pre-recorded current monitor cycle Curtain uses total duration as time zero, starts screen and uses timing;
If not the timing first after this startup of monitoring service, then perform described by pre-recorded current prison The screen in control cycle use total duration plus this screen opening duration and as time zero, start screen Use timing.
6. the terminal as according to any one of claim 3-5 uses duration management method, it is characterised in that Described method also includes:
Obtain the time of origin of screen opening behavior the last in screen operator behavior record;
Calculate the screen opening behavior of described the last time to current duration, as this screen opening described Duration.
7. terminal as claimed in claim 1 uses duration management method, it is characterised in that described basis is worked as Screen in the front monitoring cycle uses total duration, sends terminal and uses duration information to include:
If the screen in the current monitor cycle uses total duration more than predetermined threshold value, then send terminal and use duration Information.
8. terminal as claimed in claim 1 uses duration management method, it is characterised in that described screen makes It is that the Chronometer control by terminal built-in carries out timing with timing.
9. a terminal uses duration managing device, it is characterised in that described device includes:
Whether screen record judge module, exist screen operator behavior record in being used for judging the current monitor cycle;
Screen uses timing module, if for there is screen operator behavior record, then by pre-recorded current The screen in monitoring cycle use total duration plus this screen opening duration and as time zero, start screen Curtain uses timing;
According to the default refresh cycle, timing display module, for showing that described screen uses timing;
Described screen uses timing module, is additionally operable to, when detecting that behavior closed by screen, stop screen and use Timing, and use the screen in the result record current monitor cycle of timing to use total duration according to described screen;
Use duration reminding module, for using total duration according to the screen in the current monitor cycle, send end End uses duration information.
10. terminal as claimed in claim 9 uses duration managing device, it is characterised in that described screen Using timing module, being additionally operable to: if there is not screen operator behavior record, then monitoring is serviced this fortune The row time, as the time zero in current monitor cycle, starts screen and uses timing.
11. terminals as claimed in claim 9 use duration managing device, it is characterised in that also include:
Screen behavior judge module, for judging the last screen occurred in described screen operator behavior record Curtain operation behavior is screen opening behavior or screen closedown behavior;
Described screen uses timing module, for judging that the last time occurs at described screen behavior judge module Screen operator behavior when being screen opening behavior, the screen in pre-recorded current monitor cycle is used total Duration plus this screen opening duration and as time zero, start screen and use timing;At described screen Curtain behavior judge module judges when the screen operator behavior of the last time generation is screen closedown behavior, will in advance The screen in the current monitor cycle of record uses total duration as time zero, starts screen and uses timing.
12. terminals as claimed in claim 9 use duration managing device, it is characterised in that also include:
Server resets judge module, for judging the most whether be that monitoring services the timing first after this starts;
Described screen uses timing module, for judging it is currently monitoring clothes at described server resets judge module Be engaged in this start after timing first time, use total duration to make the screen in pre-recorded current monitor cycle For time zero, start screen and use timing;Judge to be currently not monitoring at described server resets judge module When servicing the timing first after this starts, the screen in pre-recorded current monitor cycle is used total duration Plus this screen opening duration and as time zero, start screen and use timing.
13. terminals as claimed in claim 9 use duration managing device, it is characterised in that also include:
System reboot judge module, for judge be currently the most whether terminal operating system this start after first Timing;
Described screen uses timing module, for judging it is currently terminal behaviour at described system reboot judge module When making the timing first after this startup of system, then the screen in pre-recorded current monitor cycle is used total Duration, as time zero, starts screen and uses timing;Judge the most not at described system reboot judge module When being the timing first after this startup of terminal operating system, by described by the pre-recorded current monitor cycle Screen use total duration plus this screen opening duration and as time zero, start screen and make to use tricks Time.
14. terminals as according to any one of claim 11-13 use duration managing device, it is characterised in that Also include:
Open duration acquisition module, for obtaining screen opening row the last in screen operator behavior record For time of origin, calculate the screen opening behavior of described the last time to current duration, as described Secondary screen opening duration.
15. terminals as claimed in claim 9 use duration managing device, it is characterised in that described use Duration reminding module is used for:
If the screen in the current monitor cycle uses total duration more than predetermined threshold value, then send terminal and use duration Information.
16. terminals as claimed in claim 9 use duration managing device, it is characterised in that described screen Using timing module is that the Chronometer control by terminal built-in carries out timing.
CN201510387620.XA 2015-06-30 2015-06-30 Terminal use duration management method and device Active CN106326065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510387620.XA CN106326065B (en) 2015-06-30 2015-06-30 Terminal use duration management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510387620.XA CN106326065B (en) 2015-06-30 2015-06-30 Terminal use duration management method and device

Publications (2)

Publication Number Publication Date
CN106326065A true CN106326065A (en) 2017-01-11
CN106326065B CN106326065B (en) 2020-02-18

Family

ID=57726444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510387620.XA Active CN106326065B (en) 2015-06-30 2015-06-30 Terminal use duration management method and device

Country Status (1)

Country Link
CN (1) CN106326065B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803858A (en) * 2017-01-17 2017-06-06 河南工业大学 The method and system of the overall time of Single Electron equipment are used in the range of limitation certain hour
CN107317932A (en) * 2017-06-28 2017-11-03 努比亚技术有限公司 Use method for limiting, mobile terminal and the computer-readable recording medium of terminal
CN109903081A (en) * 2019-01-24 2019-06-18 浙江吉利汽车研究院有限公司 A kind of automobile function control method, device and terminal
CN110830660A (en) * 2019-12-05 2020-02-21 四川长虹网络科技有限责任公司 Mobile phone overuse reminding method based on mobile phone screen-off state
CN112084101A (en) * 2020-09-17 2020-12-15 中电科仪器仪表有限公司 Statistical system suitable for usage rate of electronic measuring instrument

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5713006A (en) * 1995-03-15 1998-01-27 Texas Instruments Incorporated Electronic device and method for selective enabling of access to configuration registers used by a memory controller
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101350112A (en) * 2008-09-11 2009-01-21 南京Lg新港显示有限公司 Automatic prompting apparatus and method under the situation of display long time continuous working
US7539853B2 (en) * 2002-11-18 2009-05-26 Arm Limited Handling interrupts in data processing of data in which only a portion of a function has been processed
CN101924831A (en) * 2010-08-03 2010-12-22 惠州Tcl移动通信有限公司 Method for recording use time of mobile phone
CN103413407A (en) * 2013-08-01 2013-11-27 上海摩普网络技术有限公司 Eyesight protection method and system based on time
CN103744576A (en) * 2013-11-08 2014-04-23 艾酷电子科技有限公司 Method and system for achieving operation interfaces of mobile terminal
CN104298551A (en) * 2013-07-15 2015-01-21 鸿富锦精密工业(武汉)有限公司 Application program calling system and method
CN104333658A (en) * 2014-10-24 2015-02-04 安易讯科技(大连)有限公司 Eyesight protection system of smart mobile phones

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5713006A (en) * 1995-03-15 1998-01-27 Texas Instruments Incorporated Electronic device and method for selective enabling of access to configuration registers used by a memory controller
US7539853B2 (en) * 2002-11-18 2009-05-26 Arm Limited Handling interrupts in data processing of data in which only a portion of a function has been processed
CN1940885A (en) * 2005-09-30 2007-04-04 联想(北京)有限公司 System and method for counting use time
CN101350112A (en) * 2008-09-11 2009-01-21 南京Lg新港显示有限公司 Automatic prompting apparatus and method under the situation of display long time continuous working
CN101924831A (en) * 2010-08-03 2010-12-22 惠州Tcl移动通信有限公司 Method for recording use time of mobile phone
CN104298551A (en) * 2013-07-15 2015-01-21 鸿富锦精密工业(武汉)有限公司 Application program calling system and method
CN103413407A (en) * 2013-08-01 2013-11-27 上海摩普网络技术有限公司 Eyesight protection method and system based on time
CN103744576A (en) * 2013-11-08 2014-04-23 艾酷电子科技有限公司 Method and system for achieving operation interfaces of mobile terminal
CN104333658A (en) * 2014-10-24 2015-02-04 安易讯科技(大连)有限公司 Eyesight protection system of smart mobile phones

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803858A (en) * 2017-01-17 2017-06-06 河南工业大学 The method and system of the overall time of Single Electron equipment are used in the range of limitation certain hour
CN107317932A (en) * 2017-06-28 2017-11-03 努比亚技术有限公司 Use method for limiting, mobile terminal and the computer-readable recording medium of terminal
CN109903081A (en) * 2019-01-24 2019-06-18 浙江吉利汽车研究院有限公司 A kind of automobile function control method, device and terminal
CN110830660A (en) * 2019-12-05 2020-02-21 四川长虹网络科技有限责任公司 Mobile phone overuse reminding method based on mobile phone screen-off state
CN112084101A (en) * 2020-09-17 2020-12-15 中电科仪器仪表有限公司 Statistical system suitable for usage rate of electronic measuring instrument

Also Published As

Publication number Publication date
CN106326065B (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN106326065A (en) Terminal use time management method and device
CN110324793B (en) Information reminding method and device and electronic terminal
CN103885803A (en) Method and device for managing procedures in mobile terminal and mobile terminal
US9697574B2 (en) Data processing method, transmitting apparatus, and anomaly detection system
CN111078446A (en) Fault information acquisition method and device, electronic equipment and storage medium
CN104254097A (en) Flow control method and device
CN106055074A (en) Method and device for processing application program
CN109582536B (en) Application program non-response reporting method and device and computer equipment
CN104951377A (en) Exception handling method and device for smart home terminal
CN106708616A (en) Process control method and process control device
CN108076464A (en) A kind of Wi-Fi hotspot connection bootstrap technique, equipment and medium in terminal
CN109271208A (en) Parameter setting method, device, terminal and storage medium
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN105137831A (en) Power-saving mode starting method and device
CN105373210A (en) Power saving method and device and electronic equipment
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN104809046A (en) Application program networking control method and application program networking control device
CN105912204A (en) Method and device for starting up application interface
CN106714332B (en) wireless network access method and device
CN107040955B (en) Power consumption state identification method, device and the electronic equipment of terminal
CN103837835A (en) Method and device for detecting capacity decreasing degree of mobile device battery
CN113434915A (en) Case intrusion state detection device and method and edge server
CN105709400B (en) Determine method and device, the electronic equipment for recording user movement duration
CN105354491B (en) Intelligent terminal standby state detection method and device
CN110784835A (en) Data traffic processing method and device, terminal and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant