Program use duration calculation method and device, equipment and storage medium

By monitoring the top-level window of the terminal device, identifying the application name and switching time, and calculating the usage time of the program, the problem of inaccurate statistics on the usage time of the program in the prior art is solved, and the accurate usage time statistics and user experience improvement of each program are achieved.

CN119718851APending Publication Date: 2025-03-28GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
0 Cites 0 Cited by

Patent Information

Application Number
CN202311282442.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The prior art cannot accurately judge the duration and usage of users of the program, resulting in inaccurate statistics on the actual usage time of each program.

Method used

By monitoring the top-level window, obtain image information when the top-level window changes are completed, identify the application name and switching time, and calculate the duration of the program.

Benefits of technology

It realizes accurate statistics on the actual usage time of each program, avoids the defect that thread information cannot distinguish between multi-threaded programs, and improves users' understanding of program usage and user experience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The embodiment of the invention discloses a program use duration calculation method and device, equipment and a storage medium, and relates to the technical field of computers.The method comprises the steps that a top-layer window is monitored, when the top-layer window changes, image information output is conducted on the top-layer window when the top-layer window changes, and the top-layer window is obtained after the top-layer window changes; and obtaining an application name and a switching moment of the top window according to the image information, then identifying a corresponding program of the top window when the change of the top window is completed through the application name, and calculating the use duration of the program through the switching moment. By adopting the method provided by the invention, the program actually used by the terminal equipment at present can be accurately reflected through the top-layer window, and the switching moment when the user finishes switching the program and the name of the application used after switching can be more accurately determined through the image information of the top-layer window when the change of the top-layer window is completed; the calculated use durations of different programs do not overlap, and the actual use duration of each program can be accurately calculated.
Need to check novelty before this filing date? Find Prior Art