Application launch detection and management via launch interface code instrumentation
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsMengyu Si, Jingcheng Zhang, Dong Li, Le Wang
Life of this patent
Estimating the term…
Abstract
A method for processing information includes: detecting whether an application is launched; in response to detecting that the application is launched, determining a source for launching the application and detecting action information of the application; and displaying the source and the action information of the application.
Claims10
A method for processing information, comprising:
- detecting, by a terminal, whether a component of an application of the terminal is launched;
- in response to detecting that the component of the application is launched;
- performing, by the terminal, a code instrumentation at a launching interface of a launched component of the application of the terminal to record an entity for initiating to launch the application, or performing, by the terminal, the code instrumentation to record an action that the application is activated by a system mechanism, to determine a source for launching the application;
- detecting action information of the application;
- displaying, by the terminal, the source and the action information of the application;
- receiving an input command generated based on the action information of the application to manage the application;
- and
- managing the application by at least one of:
- setting an access permission to the application;
- stopping running the application;
- or
- uninstalling the application,
- wherein detecting the action information of the application comprises:
- obtaining, via a standard interface, an action that the application acquires user information, and recording the action that the application acquires the user information by means of code instrumentation technique.
A terminal, comprising:
- a processor;
- and
- a memory configured to store executable instructions by the processor;
- wherein the processor is configured to:
- detect whether a component of an application of the terminal is launched;
- in response to detecting that the component of the application is launched;
- perform a code instrumentation at a launching interface of a launched component of the application of the terminal to record an entity for initiating to launch the application, or perform the code instrumentation to record an action that the application is activated by a system mechanism, to determine a source for launching the application and detect action information of the application;
- display the source and the action information of the application;
- receive an input command generated based on the action information of the application to manage the application;
- and
- manage the application by at least one of:
- setting an access permission to the application;
- stopping running the application;
- or
- uninstalling the application,
- wherein detecting the action information of the application comprises:
- obtaining, via a standard interface, an action that the application acquires user information, and recording the action that the application acquires the user information by means of code instrumentation technique.
A non-transitory computer readable storage medium having stored thereon instructions that, when executed by a processor of a terminal, cause the terminal to perform a method for processing information, the method comprising:
- detecting whether a component of an application of the terminal is launched;
- in response to detecting that the component of the application is launched;
- performing, by the terminal, a code instrumentation at a launching interface of a launched component of the application of the terminal to record an entity for initiating to launch the application or performing, by the terminal, the code instrumentation to record an action that the application is activated by a system mechanism, to determine a source for launching the application and detecting action information of the application;
- displaying the source and the action information of the application;
- receiving an input command generated based on the action information of the application to manage the application;
- and
- managing the application by at least one of:
- setting an access permission to the application;
- stopping running the application;
- or
- uninstalling the application,
- wherein detecting the action information of the application comprises:
- obtaining, via a standard interface, an action that the application acquires user information, and recording the action that the application acquires the user information by means of code instrumentation technique.
Dependencies are inferred from the claim text.