Unlock instant, AI-driven research and patent intelligence for your innovation.

Activity monitoring method and device

A technology of activity data and application programs, applied in program control devices, hardware monitoring, user interface execution, etc., can solve the problems of CPU consumption, failure to detect, and difficult to grasp the polling time interval, so as to achieve guaranteed effects and accurate monitoring. Effect

Active Publication Date: 2019-08-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above monitoring process, because the polling interval is difficult to grasp, when the polling interval is small, that is, the inquiry frequency is high, if the activities running in the foreground do not change, the activities obtained by the system-enhanced applications for multiple consecutive times are all It is the same, since each query will consume CPU time resources, it will cause a waste of CPU time resources when the query frequency is high; when the polling interval is large, that is, the query frequency is low, the system enhancement application continues The activities obtained multiple times may also be the same. For example, the system enhancement application monitors that the activity running in the foreground is the first activity at the first moment, and monitors that the activity running in the foreground is the first activity at the second moment. During the period between the first moment and the second moment, the foreground running activity switches from the first activity to the second activity, and then switches from the second activity to the first activity, then the system enhancement application fails to detect this period Changes in activities, resulting in inaccurate monitoring results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Activity monitoring method and device
  • Activity monitoring method and device
  • Activity monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0026] The embodiment of the present invention can be implemented by an intelligent terminal using an Android (Android) operating system, and the intelligent terminal can be an electronic device such as a smart phone, a smart TV, or a tablet computer.

[0027] Please refer to figure 1 , which shows a flowchart of an activity monitoring method provided by an exemplary embodiment of the present invention. In this embodiment, the application of the activity monitoring method to an intelligent terminal using an Android operating system is illustrated as an example, as figure 1 As shown, the activity monitoring method includes the following steps:

[0028] Step 101, receiving a system UI event sent by an auxiliary function through an appl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an activity monitoring method and device, and belongs to the field of operating systems. The method comprises the following steps that: through an application program, receiving a system UI (User Interface) event sent from an auxiliary function, wherein the system UI event carries the activity data of a changed foreground operating activity, the auxiliary function is a function which is started for the operating system by the application program in advance, and is used for monitoring whether the foreground operating activity is changed or not, and the foreground operating activity is used for indicating an UI on a top layer; through the application program, according to the system UI event, determining the changed foreground operating activity; and when the changed foreground operating activity is a target activity, executing a processing operation corresponding to the target activity. By use of the method, the problem in the prior art that the time slice of a CPU (Central Processing Unit) is wasted and a monitoring result is not accurate when the foreground operating activity is monitored is solved, and effects that the foreground operating activity is accurately monitored and system performance is guaranteed are achieved.

Description

technical field [0001] Embodiments of the present invention relate to the field of operating systems, and in particular to an activity monitoring method and device. Background technique [0002] In some cases, in order to better use the applications installed in the terminal device, the user will use the system enhancement application, and the system enhancement application will monitor the application running in the foreground, and the application running in the foreground When the application is specified, perform system enhancements. Take the system enhancement application as an example of a game acceleration application. The user has installed a game application and a game acceleration application. When the game acceleration application monitors that the game application is running in the foreground, it guides the user to enable the game acceleration application. application, to accelerate the game application. [0003] Typically, system-enhancing applications use acti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451G06F11/30
Inventor 陈闯锋孙志威
Owner TENCENT TECH (SHENZHEN) CO LTD