Application use time segment statistics method and terminal
A technology of segmented statistics and duration, applied in the field of technical computers, can solve the problems of inability to understand the usage of mobile terminals in a more detailed manner, inability to specifically view how long the application has been used, and inability to provide viewing services for the duration of use, achieving high real-time performance. and accuracy, small resource occupation, and high efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] The following describes a method for segmented statistics of application usage time provided by the present invention through specific embodiments.
[0087] The method provided by the embodiment of the present invention mainly improves the method for counting the application usage time in the prior art from three aspects. First, it can monitor the status of the application in real time, which has great real-time performance; On the one hand, while monitoring in real time, the usage time information of the application in the database is periodically updated to ensure the accuracy of the usage time information; on the third side, the database structure of this example has great advantages, and the data stored in the database include the date of use, setting The usage time and total usage time within a certain period of time ensure the accuracy of the data stored in the database, and can periodically update the stored data to ensure effective updates while avoiding frequent...
Embodiment 2
[0166] Such as Figure 10 As shown, the following is a detailed description of the specific implementation process of a method for segmented statistics of application usage time proposed in this embodiment:
[0167] Step 1000, monitor the stack of the operating system in real time through the monitoring program;
[0168] Step 1001, if the stack changes, obtain the name of the first application to which the application component at the top of the stack belongs through the listening program, and obtain the name of the second application to which the application component at the top of the stack currently belongs through the components of the operating system. Application Name;
[0169] Step 1002, judging whether the name of the first application is consistent with the name of the second application, if so, perform step 1003, otherwise, perform step 1004;
[0170] Step 1003, determine that the application corresponding to the second application name jumps from the background to...
Embodiment 3
[0178] Based on the same inventive concept, the embodiment of the present invention also provides the first terminal for applying usage time segment statistics, because this terminal is the terminal in the method in the embodiment of the present invention, and the principle of solving the problem of this device is the same as that of the The method is similar, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
[0179] Such as Figure 11 As shown, the terminal includes: a processor 1100 and a memory 1101, wherein the memory 1101 stores program codes, and when one or more computer programs stored in the memory 1101 are executed by the processor 1100, the The terminal performs the following procedures:
[0180] Monitor the status of the application in real time through the listener;
[0181] When it is detected that the state of the application is that the application jumps from the background to the fore...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com