CN114546541A - Method and system for accurately acquiring screen service time of Android device - Google Patents
Method and system for accurately acquiring screen service time of Android device Download PDFInfo
- Publication number
- CN114546541A CN114546541A CN202210156530.XA CN202210156530A CN114546541A CN 114546541 A CN114546541 A CN 114546541A CN 202210156530 A CN202210156530 A CN 202210156530A CN 114546541 A CN114546541 A CN 114546541A
- Authority
- CN
- China
- Prior art keywords
- time
- screen
- application
- foreground
- android device
- 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
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000007619 statistical method Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,特指一种精准获取Android设备屏幕使用时间的方法及系统。The invention relates to the technical field of communication, and particularly relates to a method and a system for accurately obtaining the screen usage time of an Android device.
背景技术Background technique
在Android设备中,开发人员希望通过展示设备屏幕使用时间信息,方便用户了解自己在某段时间内使用手机应用的时长情况,从而对自己的作息时间做出合理安排。常用的获取屏幕使用时间方式有调用系统usageStats.getTotalTimeInForeground()接口直接获取,也有自己实现一个Service进行统计。但这两种方式往往会因为进程被杀、时区改变、系统时间改变等原因,而导致获取到的屏幕使用时间不准确。In Android devices, developers hope that by displaying the usage time information on the device screen, it is convenient for users to understand how long they use mobile applications within a certain period of time, so as to make reasonable arrangements for their work and rest time. Commonly used ways to obtain screen usage time include calling the system usageStats.getTotalTimeInForeground() interface to obtain it directly, or implementing a Service for statistics. However, these two methods often lead to inaccurate screen usage time obtained due to processes being killed, time zone changes, and system time changes.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于克服现有技术的缺陷,提供一种精准获取Android设备屏幕使用时间的方法及系统,解决现有的方式会因进程被杀、时区改变、系统时间改变等原因,而导致获取到的屏幕使用时间不准确的问题。The purpose of the present invention is to overcome the defects of the prior art, and provide a method and system for accurately obtaining the screen usage time of an Android device, so as to solve the problem that the existing method may cause the acquisition of to the problem of inaccurate screen usage time.
实现上述目的的技术方案是:The technical solution to achieve the above purpose is:
本发明提供了一种精准获取Android设备屏幕使用时间的方法,包括如下步骤:The present invention provides a method for accurately obtaining the screen usage time of an Android device, comprising the following steps:
通过UsageStatsManager.queryEvents接口获取Android设备的UsageEvents对象;Obtain the UsageEvents object of the Android device through the UsageStatsManager.queryEvents interface;
获取UsageEvents对象中所有应用移至前台和移至后台的信息;Get the information of all applications in the UsageEvents object moved to the foreground and moved to the background;
利用所有应用移至前台和移至后台的信息计算得出应用在前台停留的时长;以及Calculate the amount of time the app stays in the foreground using information on all apps moving to the foreground and moving to the background; and
对所有应用在前台停留的时长进行求和以得到屏幕使用时间。Sum the amount of time all apps stay in the foreground to get screen time.
本发明通过UsageStatsManager.queryEvents接口获取屏幕的使用时间,没有时区上的影响,能够精准获取指定时间段内的数据。且本发明的方法使用的是系统层面的接口,能够避免被系统杀死,由进程被杀、系统时间改变等因素导致数据失真的概率很小。The present invention obtains the usage time of the screen through the UsageStatsManager.queryEvents interface, without the influence on the time zone, and can accurately obtain the data within the specified time period. Moreover, the method of the present invention uses a system-level interface, which can avoid being killed by the system, and the probability of data distortion caused by factors such as process killing and system time change is very small.
本发明精准获取Android设备屏幕使用时间的方法的进一步改进在于,在计算应用在前台停留的时长时,利用应用移至后台的事件发生时间减去应用移至前台的事件发生时间计算得到。The further improvement of the method for accurately obtaining the screen usage time of the Android device in the present invention is that when calculating the duration of the application staying in the foreground, it is calculated by subtracting the event occurrence time of the application moving to the foreground minus the event occurrence time of the application moving to the foreground.
本发明精准获取Android设备屏幕使用时间的方法的进一步改进在于,还包括:The further improvement of the method for accurately obtaining the screen usage time of the Android device according to the present invention is that it also includes:
对各个应用移至前台和移至后台的信息进行统计分析,以得到各个应用的启动次数以及每次启动的时长。Statistical analysis is performed on the information that each application is moved to the foreground and moved to the background, so as to obtain the number of times each application is started and the duration of each start.
本发明精准获取Android设备屏幕使用时间的方法的进一步改进在于,还包括:The further improvement of the method for accurately obtaining the screen usage time of the Android device according to the present invention is that it also includes:
设置应用的使用次数限值;Set the limit on the number of times the application is used;
比对应用的启动次数与使用次数限值的大小,在应用的启动次数达到使用次数限值时,禁止应用启动。Comparing the number of times the application is launched and the limit of the number of times of use, when the number of times of starting the application reaches the limit of the number of times of use, the application is prohibited from starting.
本发明精准获取Android设备屏幕使用时间的方法的进一步改进在于,还包括:The further improvement of the method for accurately obtaining the screen usage time of the Android device according to the present invention is that it also includes:
设置屏幕使用限值;Set screen usage limits;
比对屏幕使用时间与屏幕使用限值的大小,在屏幕使用时间达到屏幕使用限值时,关闭Android设备的屏幕。Compare the screen usage time with the screen usage limit, and turn off the screen of the Android device when the screen usage time reaches the screen usage limit.
本发明还提供了一种精准获取Android设备屏幕使用时间的系统,包括:The present invention also provides a system for accurately obtaining the screen usage time of the Android device, including:
对象获取单元,用于通过UsageStatsManager.queryEvents接口获取Android设备的UsageEvents对象;The object obtaining unit is used to obtain the UsageEvents object of the Android device through the UsageStatsManager.queryEvents interface;
事件读取单元,与所述对象获取单元连接,用于获取UsageEvents对象中所有应用移至前台和移至后台的信息;an event reading unit, connected with the object obtaining unit, for obtaining the information that all applications in the UsageEvents object are moved to the foreground and moved to the background;
时长计算单元,与所述事件读取单元连接,用于利用所有应用移至前台和移至后台的信息计算得出应用在前台停留的时长;以及A duration calculation unit, connected with the event reading unit, for calculating the duration of the application staying in the foreground by utilizing the information of all applications moving to the foreground and moving to the background; and
处理单元,与所述时长计算单元连接,用于对所有应用在前台停留的时长进行求和以得到屏幕使用时间。The processing unit is connected with the duration calculation unit, and is used for summing the durations of all applications staying in the foreground to obtain the screen usage time.
本发明精准获取Android设备屏幕使用时间的系统的进一步改进在于,所述时长计算单元利用应用移至后台的事件发生时间减去应用移至前台的事件发生时间计算得到应用在前台停留的时长。A further improvement of the system for accurately obtaining the screen usage time of an Android device according to the present invention is that the duration calculation unit calculates the duration of the application staying in the foreground by subtracting the event occurrence time when the application moves to the background minus the event occurrence time when the application moves to the foreground.
本发明精准获取Android设备屏幕使用时间的系统的进一步改进在于,所述处理单元还与所述事件读取单元连接,还用于对各个应用移至前台和移至后台的信息进行统计分析,以得到各个应用的启动次数以及每次启动的时长。A further improvement of the system for accurately acquiring the screen usage time of an Android device according to the present invention is that the processing unit is further connected to the event reading unit, and is also used to perform statistical analysis on the information that each application is moved to the foreground and moved to the background, so as to Get the number of launches of each application and the duration of each launch.
本发明精准获取Android设备屏幕使用时间的系统的进一步改进在于,所述处理单元还用于接收设置的应用的使用次数限值;A further improvement of the system for accurately obtaining the screen usage time of the Android device according to the present invention is that the processing unit is further configured to receive the set usage times limit of the application;
所述处理单元比对应用的启动次数与使用次数限值的大小,在应用的启动次数达到使用次数限值时,禁止应用启动。The processing unit compares the start times of the application with the limit of the times of use, and prohibits the application from starting when the times of start of the application reaches the limit of the times of use.
本发明精准获取Android设备屏幕使用时间的系统的进一步改进在于,所述处理单元还用于接收设置的屏幕使用限值;A further improvement of the system for accurately obtaining the screen usage time of the Android device according to the present invention is that the processing unit is further configured to receive the set screen usage limit;
所述处理单元比对屏幕使用时间与屏幕使用限值的大小,在屏幕使用时间达到屏幕使用限值时,关闭Android设备的屏幕。The processing unit compares the screen usage time with the screen usage limit, and when the screen usage time reaches the screen usage limit, turns off the screen of the Android device.
附图说明Description of drawings
图1为本发明精准获取Android设备屏幕使用时间的方法的流程图。FIG. 1 is a flowchart of a method for accurately obtaining the screen usage time of an Android device according to the present invention.
图2为本发明精准获取Android设备屏幕使用时间的系统的系统图。FIG. 2 is a system diagram of a system for accurately obtaining the screen usage time of an Android device according to the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明作进一步说明。The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
参阅图1,本发明提供了一种精准获取Android设备屏幕使用时间的方法及系统,解决使用usageStats.getTotalTimeInForeground()接口方式获取屏幕使用时间易受时区影响,无法精确获取指定时间段内的数据的问题,还用于解决使用自定义的Service进行统计获取屏幕使用时间易受进程被杀、系统时间改变等因素影响导致数据失真。本发明的屏幕使用时间的获取方法及系统没有时区上的限制,能够精准获取指定时间段内的数据,还因为使用的是系统层面的接口,进程被杀的可能性小,从而导致数据失真的概率也很小。下面结合附图对本发明精准获取Android设备屏幕使用时间的方法及系统进行说明。Referring to FIG. 1, the present invention provides a method and system for accurately obtaining the screen usage time of an Android device, which solves the problem of using the usageStats.getTotalTimeInForeground() interface to obtain the screen usage time, which is easily affected by the time zone and cannot accurately obtain data within a specified time period. The problem is also used to solve the problem that the use of a custom Service for statistical acquisition of screen usage time is susceptible to data distortion caused by factors such as process killing and system time changes. The method and system for obtaining the screen usage time of the present invention have no time zone restrictions, and can accurately obtain data within a specified time period, and because the system-level interface is used, the possibility of the process being killed is small, resulting in data distortion. The probability is also small. The method and system for accurately obtaining the screen usage time of an Android device according to the present invention will be described below with reference to the accompanying drawings.
参阅图1,显示了本发明精准获取Android设备屏幕使用时间的方法的流程图。下面结合图1,对本发明精准获取Android设备屏幕使用时间的方法进行说明。Referring to FIG. 1 , there is shown a flow chart of the method for accurately obtaining the screen usage time of an Android device according to the present invention. The method for accurately obtaining the screen usage time of an Android device according to the present invention will be described below with reference to FIG. 1 .
如图1所示,本发明的精准获取Android设备屏幕使用时间的方法,包括如下步骤:As shown in Figure 1, the method for accurately obtaining the screen usage time of an Android device of the present invention includes the following steps:
执行步骤S11,通过UsageStatsManager.queryEvents接口获取Android设备的UsageEvents对象;接着执行步骤S12;Execute step S11, obtain the UsageEvents object of the Android device through the UsageStatsManager.queryEvents interface; then execute step S12;
执行步骤S12,获取UsageEvents对象中所有应用移至前台和移至后台的信息;接着执行步骤S13;Execute step S12 to obtain the information that all applications in the UsageEvents object are moved to the foreground and moved to the background; then execute step S13;
执行步骤S13,利用所有应用移至前台和移至后台的信息计算得出应用在前台停留的时长;接着执行步骤S14;Execute step S13, use the information that all applications move to the foreground and move to the background to calculate the duration of the application staying in the foreground; then execute step S14;
执行步骤S14,对所有应用在前台停留的时长进行求和以得到屏幕使用时间。Step S14 is executed to sum the durations of all applications staying in the foreground to obtain the screen usage time.
本发明通过调用UsageStatsManager.queryEvents()接口,获得得到Android设备的UsageEvents对象,在该UsageEvents对象中包含了指定时间段内所有应用发生的所有活动事件信息。进而在遍历UsageEvents对象,得到所有应用移至前台和移至后台的事件信息,在计算出各个应用在前台的停留时长,也就获得了屏幕使用时间。该UsageStatsService是系统级别的进程,Android系统不到万不得已不会杀死该进程,所以本发明的屏幕使用时间获取方法不易被进程杀死,能够精确获取到屏幕使用时间。The present invention obtains the UsageEvents object of the Android device by calling the UsageStatsManager.queryEvents() interface, and the UsageEvents object contains all activity event information of all applications in a specified time period. Then, after traversing the UsageEvents object, get the event information of all applications moving to the foreground and moving to the background, and after calculating the length of stay of each application in the foreground, the screen usage time is also obtained. The UsageStatsService is a system-level process, and the Android system will not kill the process unless absolutely necessary, so the method for obtaining the screen usage time of the present invention is not easily killed by the process, and can accurately acquire the screen usage time.
在本发明的一种具体实施方式中,在计算应用在前台停留的时长时,利用应用移至后台的事件发生时间减去应用移至前台的事件发生时间计算得到。In a specific embodiment of the present invention, when calculating the duration of the application staying in the foreground, it is calculated by subtracting the event occurrence time when the application moves to the background minus the event occurrence time when the application moves to the foreground.
通过应用移至后台事件发生时间和移至前台事件发生时间的时间差,得出该应用在前台停留的时长。The duration of the application staying in the foreground is obtained by the time difference between the time when the application moves to the background and the time when the application moves to the foreground.
在本发明的一种具体实施方式中,还包括:In a specific embodiment of the present invention, it also includes:
对各个应用移至前台和移至后台的信息进行统计分析,以得到各个应用的启动次数以及每次启动的时长。Statistical analysis is performed on the information that each application is moved to the foreground and moved to the background, so as to obtain the number of times each application is started and the duration of each start.
并将各个应用的启动次数及每次启动的时长与对应的应用一起予以显示,以便于用户查看,显示的形式可以数字列表的形式进行显示,还可以图表的形式进行显示,如此用户能够容易的了解到手机在某段时间内的应用使用情况。The number of startups and the duration of each startup of each application are displayed together with the corresponding applications, so that users can view them easily. Learn about your phone's app usage over time.
进一步地,还包括:Further, it also includes:
设置应用的使用次数限值;Set the limit on the number of times the application is used;
比对应用的启动次数与使用次数限值的大小,在应用的启动次数达到使用次数限值时,禁止应用启动。Comparing the number of times the application is launched and the limit of the number of times of use, when the number of times of starting the application reaches the limit of the number of times of use, the application is prohibited from starting.
对应用的使用次数进行限制,能够有效帮助用户管理应用的使用,比如对于某款游戏可设置为每天使用1次,如此在该游戏启动1次后,当天就不能再启动了。较佳地,应用的使用次数限值可由用户进行手动输入来设定。Limiting the number of times the application is used can effectively help users manage the use of the application. For example, a certain game can be set to be used once a day, so that after the game is started once, it cannot be started again on the same day. Preferably, the limit of the usage times of the application can be set by the user through manual input.
在本发明的一种具体实施方式中,还包括:In a specific embodiment of the present invention, it also includes:
设置屏幕使用限值;Set screen usage limits;
比对屏幕使用时间与屏幕使用限值的大小,在屏幕使用时间达到屏幕使用限值时,关闭Android设备的屏幕。Compare the screen usage time with the screen usage limit, and turn off the screen of the Android device when the screen usage time reaches the screen usage limit.
该屏幕使用限值为屏幕使用时间的限值,帮助用户管理手机的使用时间。较佳地,该屏幕使用限值可由用户进行手动输入来设定。The screen usage limit is the limit of the screen usage time, which helps users manage the usage time of the mobile phone. Preferably, the screen usage limit can be set by manual input by the user.
本发明调用的UsageStatsManager.queryEvents()接口,在Android设备修改时区、修改系统时间后,该queryEvents()接口可精确获取待查询时间范围内的事件信息,也即应用的活动事件信息中的时间是与Android设备的时间相一致的,因此其不存在时区问题。The UsageStatsManager.queryEvents() interface called by the present invention, after the Android device modifies the time zone and the system time, the queryEvents() interface can accurately obtain the event information within the time range to be queried, that is, the time in the activity event information of the application is It is consistent with the time of the Android device, so there is no time zone problem.
在本发明的一种具体实施方式中,还包括:In a specific embodiment of the present invention, it also includes:
设定时间段;set time period;
在设定的时间段内获取屏幕使用时间。Get screen time for a set period of time.
较佳地,设定时间段由用户手动输入。Preferably, the set time period is manually input by the user.
本发明还提供了一种精准获取Android设备屏幕使用时间的系统,下面对该系统进行说明。The present invention also provides a system for accurately acquiring the screen usage time of an Android device, and the system is described below.
如图2所示,本发明的获取屏幕使用时间的系统包括对象获取单元21、事件读取单元22、时长计算单元23以及处理单元24;对象获取单元21与事件读取单元22连接,时长计算单元23与事件读取单元22连接,处理单元24与时长计算单元23连接;其中对象获取单元21用于通过UsageStatsManager.queryEvents接口获取Android设备的UsageEvents对象;事件读取单元22用于获取UsageEvents对象中所有应用移至前台和移至后台的信息;时长计算单元23用于利用所有应用移至前台和移至后台的信息计算得出应用在前台停留的时长;处理单元24用于对所有应用在前台停留的时长进行求和以得到屏幕使用时间。As shown in FIG. 2, the system for obtaining screen usage time of the present invention includes an
在本发明的一种具体实施方式中,时长计算单元23利用应用移至后台的事件发生时间减去应用移至前台的事件发生时间计算得到应用在前台停留的时长。In a specific embodiment of the present invention, the
在本发明的一种具体实施方式中,处理单元24还与事件读取单元22连接,还用于对各个应用移至前台和移至后台的信息进行统计分析,以得到各个应用的启动次数以及每次启动的时长。In a specific embodiment of the present invention, the
进一步地,处理单元24还用于接收设置的应用的使用次数限值;Further, the
处理单元24比对应用的启动次数与使用次数限值的大小,在应用的启动次数达到使用次数限值时,禁止应用启动。The
在本发明的一种具体实施方式中,处理单元24还用于接收设置的屏幕使用限值;In a specific embodiment of the present invention, the
处理单元24比对屏幕使用时间与屏幕使用限值的大小,在屏幕使用时间达到屏幕使用限值时,关闭Android设备的屏幕。The
进一步地,处理单元24还用于接收设定的时间段,并在设定的时间段内对应用在前台停留的时长进行求和以得到屏幕使用时间。Further, the
本发明的精准获取Android设备屏幕使用时间的系统为一款应用软件,可安装到Android设备上,在启动该软件后,在软件界面上设有输入框,以便于用户输入所需的设定时间段、应用的使用次数限值以及屏幕使用限值,软件在用户授权后,能够统计设定时间段的应用使用情况以及屏幕使用时间展示给用户查看,还能够根据用户的设置来对应用使用次数以及屏幕使用时间进行限值管理,在达到限值时即禁用应用及屏幕。The system for accurately obtaining the screen usage time of the Android device of the present invention is an application software that can be installed on the Android device. After the software is started, an input box is provided on the software interface to facilitate the user to input the required setting time. After the user authorizes the software, the software can count the application usage and screen usage time for a set period of time and display it to the user for viewing, and can also check the application usage times according to the user's settings. And screen time for limit management, when the limit is reached, the app and screen are disabled.
以上结合附图实施例对本发明进行了详细说明,本领域中普通技术人员可根据上述说明对本发明做出种种变化例。因而,实施例中的某些细节不应构成对本发明的限定,本发明将以所附权利要求书界定的范围作为本发明的保护范围。The present invention has been described in detail above with reference to the embodiments of the accompanying drawings, and those skilled in the art can make various modifications to the present invention according to the above description. Therefore, some details in the embodiments should not be construed to limit the present invention, and the present invention will take the scope defined by the appended claims as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210156530.XA CN114546541A (en) | 2022-02-21 | 2022-02-21 | Method and system for accurately acquiring screen service time of Android device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210156530.XA CN114546541A (en) | 2022-02-21 | 2022-02-21 | Method and system for accurately acquiring screen service time of Android device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114546541A true CN114546541A (en) | 2022-05-27 |
Family
ID=81675598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210156530.XA Pending CN114546541A (en) | 2022-02-21 | 2022-02-21 | Method and system for accurately acquiring screen service time of Android device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114546541A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980565A (en) * | 2014-04-09 | 2015-10-14 | 小米科技有限责任公司 | Terminal anti-addiction method and device |
CN107608853A (en) * | 2017-09-06 | 2018-01-19 | 广东欧珀移动通信有限公司 | Method, device, storage medium and intelligent terminal for controlling terminal usage time |
CN111479016A (en) * | 2020-04-07 | 2020-07-31 | Oppo广东移动通信有限公司 | Terminal use duration reminding method and device, terminal and storage medium |
CN112118345A (en) * | 2019-06-19 | 2020-12-22 | 朱德全 | Time management method for juveniles mobile phone |
CN112732546A (en) * | 2021-01-28 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Application-based use duration processing method, device, equipment and storage medium |
-
2022
- 2022-02-21 CN CN202210156530.XA patent/CN114546541A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980565A (en) * | 2014-04-09 | 2015-10-14 | 小米科技有限责任公司 | Terminal anti-addiction method and device |
CN107608853A (en) * | 2017-09-06 | 2018-01-19 | 广东欧珀移动通信有限公司 | Method, device, storage medium and intelligent terminal for controlling terminal usage time |
CN112118345A (en) * | 2019-06-19 | 2020-12-22 | 朱德全 | Time management method for juveniles mobile phone |
CN111479016A (en) * | 2020-04-07 | 2020-07-31 | Oppo广东移动通信有限公司 | Terminal use duration reminding method and device, terminal and storage medium |
CN112732546A (en) * | 2021-01-28 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Application-based use duration processing method, device, equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
LIUWAN1992: "关于 UsageStatsManager.queryUsageStats 的注意事项及 UsageStatsService 的简单原理", pages 1 - 5, Retrieved from the Internet <URL:《https://blog.csdn.net/liuwan1992/article/details/83625520》> * |
LUCAS-HAO: "Android获取应用使用时长和次数-UsageStatsManager使用", pages 1 - 3, Retrieved from the Internet <URL:《https://blog.csdn.net/weixin_45951701/article/details/117486242》> * |
李本乾等: "《人工智能时代新型媒介、产业与社会》", 30 November 2021, 上海交通大学出版社, pages: 6 - 15 * |
李百艳: "《在对话中成长:上海市建平实验中学对话教育探索集》", 30 November 2020, 上海教育出版社, pages: 336 - 340 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11039062B2 (en) | Electronic device, and method for processing image according to camera photographing environment and scene by using same | |
CN109543537B (en) | Re-recognition model increment training method and device, electronic equipment and storage medium | |
EP3125156A1 (en) | Method, apparatus and server for image scene determination | |
CN106462697B (en) | Ancillary service management method and device | |
EP3200125A1 (en) | Fingerprint template input method and device | |
CN110598504A (en) | Image recognition method and device, electronic equipment and storage medium | |
EP3176709A1 (en) | Video categorization method and apparatus, computer program and recording medium | |
US20170064526A1 (en) | Method and device for analyzing social relationship | |
CN104852966A (en) | Numerical value transfer method, terminal and cloud server | |
CN104820545A (en) | Memory cleaning method and memory cleaning device of mobile terminal | |
CN104866409A (en) | Method and apparatus for monitoring memory leakage | |
CN112131079B (en) | Data monitoring method, device, electronic equipment and storage medium | |
CN105094904A (en) | Application program installation method and device | |
EP3276927A1 (en) | Method and apparatus for adjusting handset modes | |
CN111681118B (en) | Data processing method and device | |
CN107316207B (en) | Method and device for acquiring display effect information | |
CN115499438B (en) | A task allocation method, device, electronic device and storage medium | |
CN116090817A (en) | Risk assessment method and device, electronic equipment and storage medium | |
CN110889544B (en) | Method and device for predicting operation indexes of power distribution network | |
CN114546541A (en) | Method and system for accurately acquiring screen service time of Android device | |
CN104932970A (en) | Monitoring method and device of memory leakage | |
CN114358873A (en) | The abnormal order determination method and related equipment for online car-hailing | |
CN110515623B (en) | Method and device for realizing graphic operation, electronic equipment and storage medium | |
CN113434839A (en) | Front-end page access method and device, storage medium and electronic device | |
CN112817868B (en) | Information processing method, device and 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 |