Method and device for acquiring usage data of application
First Claim
1. A method used in an information processing device for acquiring usage data of an application on the information processing device, the method comprising the steps of:
- requesting the application to load a monitoring library by a control thread of a monitoring process when the application is launched;
rewriting a head part of a program in a predetermined library by the monitoring library;
inserting the monitoring library between the application and the predetermined library;
launching, by the control thread, a monitoring thread for receiving event information from the monitoring library;
intercepting one of a function call event and a function end event by the monitoring library when the application is used;
selecting at least one function among event information and retaining argument information of the at least one function by the monitoring library based on application-specific information;
sending the argument information to the monitoring thread by the monitoring library;
creating the usage data based on the argument information by the monitoring thread;
sending the usage data to a writing thread by the monitoring thread; and
writing the usage data to a file by the writing thread.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing device for acquiring usage data of an application on the information processing device loads a monitoring library when an application is launched. The monitoring library intercepts event information arising from the application at some midpoint between the application and an operating system, or between the application and a library, selects some events among the event information, and interprets the selected events on the basis of a predetermined process. Then, the monitoring library sends the event information to a monitoring process. The monitoring process creates usage data on the basis of the event information and stores the usage data in a file.
-
Citations
16 Claims
-
1. A method used in an information processing device for acquiring usage data of an application on the information processing device, the method comprising the steps of:
-
requesting the application to load a monitoring library by a control thread of a monitoring process when the application is launched;
rewriting a head part of a program in a predetermined library by the monitoring library;
inserting the monitoring library between the application and the predetermined library;
launching, by the control thread, a monitoring thread for receiving event information from the monitoring library;
intercepting one of a function call event and a function end event by the monitoring library when the application is used;
selecting at least one function among event information and retaining argument information of the at least one function by the monitoring library based on application-specific information;
sending the argument information to the monitoring thread by the monitoring library;
creating the usage data based on the argument information by the monitoring thread;
sending the usage data to a writing thread by the monitoring thread; and
writing the usage data to a file by the writing thread. - View Dependent Claims (2, 3, 4)
-
-
5. An information processing device for acquiring usage data of an application on the information processing device, the information processing device comprising:
-
means for requesting the application to load a monitoring library by a control thread of a monitoring process when the application is launched;
means for rewriting a head part of a program in a predetermined library by the monitoring library, and for inserting the monitoring library between the application and the predetermined library;
means for launching, by the control thread, a monitoring thread for receiving event information from the monitoring library;
means for intercepting one of a function call event and a function end event by the monitoring library when the application is used;
means for selecting at least one function among event information and retaining argument information of the at least one function by the monitoring library based on application-specific information;
means for sending the argument information to the monitoring thread by the monitoring library;
means for creating the usage data based on the argument information by the monitoring thread;
means for sending the usage data to a writing thread by the monitoring thread; and
means for writing the usage data to a file by the writing thread. - View Dependent Claims (6, 7, 8)
-
-
9. A computer readable medium storing program code for causing a computer to acquire usage data of an application, comprising:
-
program code means for requesting the application to load a monitoring library by a control thread of a monitoring process when the application is launched;
program code means for rewriting a head part of a program in a predetermined library by the monitoring library, and for inserting the monitoring library between the application and the predetermined library;
program code means for launching, by the control thread, a monitoring thread for receiving event information from the monitoring library;
program code means for intercepting one of a function call event and a function end event by the monitoring library when the application is used;
program code means for selecting at least one function among event information and retaining argument information of the at least one function by the monitoring library based on application-specific information;
program code means for sending the argument information to the monitoring thread by the monitoring library;
program code means for creating the usage data based on the argument information by the monitoring thread;
program code means for sending the usage data to a writing thread by the monitoring thread; and
program code means for writing the usage data to a file by the writing thread. - View Dependent Claims (10, 11, 12)
-
-
13. An information processing device for acquiring usage data of an application on the information processing device, the information processing device comprising:
-
a requesting arrangement for requesting the application to load a monitoring library by a control thread of a monitoring process when the application is launched;
a rewriting and inserting arrangement for rewriting a head part of a program in a predetermined library by the monitoring library, and for inserting the monitoring library between the application and the predetermined library;
a launching arrangement for launching, by the control thread, a monitoring thread for receiving event information from the monitoring library;
an intercepting arrangement for intercepting one of a function call event and a function end event by the monitoring library when the application is used;
a selecting arrangement for selecting at least one function among event information and retaining argument information of the at least one function by the monitoring library based on application-specific information;
a first sending arrangement for sending the argument information to the monitoring thread by the monitoring library;
a creating arrangement for creating the usage data based on the argument information by the monitoring thread;
a second sending arrangement for sending the usage data to a writing thread by the monitoring thread; and
a writing arrangement for writing the usage data to a file by the writing thread. - View Dependent Claims (14, 15, 16)
-
Specification