CN106203068B - Control method and device for terminal application - Google Patents

Control method and device for terminal application Download PDF

Info

Publication number
CN106203068B
CN106203068B CN201610466401.5A CN201610466401A CN106203068B CN 106203068 B CN106203068 B CN 106203068B CN 201610466401 A CN201610466401 A CN 201610466401A CN 106203068 B CN106203068 B CN 106203068B
Authority
CN
China
Prior art keywords
application
calling
target
component
terminal
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.)
Expired - Fee Related
Application number
CN201610466401.5A
Other languages
Chinese (zh)
Other versions
CN106203068A (en
Inventor
林志泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610466401.5A priority Critical patent/CN106203068B/en
Publication of CN106203068A publication Critical patent/CN106203068A/en
Application granted granted Critical
Publication of CN106203068B publication Critical patent/CN106203068B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Abstract

the invention discloses a control method and a device of terminal application, wherein the control method of the terminal application comprises the following steps: acquiring a control trigger instruction; acquiring a calling parameter of a preset function according to the control trigger instruction; determining a target component of the terminal and a target application corresponding to the target component based on the calling parameter; and controlling the calling of the target application to the target component according to a preset strategy. The control method of the terminal application can control the background application according to the actual running condition of the background application, and is simple.

Description

Control method and device for terminal application
Technical Field
the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a terminal application.
background
With the continuous development of the intelligent terminal and the continuous enrichment of software functions, a user can install various third-party applications on the intelligent terminal to realize required convenience services, such as chatting with friends by installing social software, reading an electronic book by installing an electronic reader, and the like.
currently, some unknown applications which are unknown to the user, such as rogue applications, are often installed in the smart terminal, and these unknown applications may be installed by the user in a bundle when the user installs the third-party applications, may be downloaded unintentionally when the user browses a web page, or are installed by other methods. When the user opens the third-party application, the unknown applications can generate various pop-up interfaces by calling corresponding activity components in the background to harass the user. Because the existing intelligent terminal has no supervision action on the starting condition of the background application, the running behavior of rogue application cannot be prevented, the running quantity of the application cannot be flexibly adjusted according to the actual condition to reduce the running burden of the intelligent terminal, and the like.
disclosure of Invention
The invention aims to provide a control method and a control device of a terminal application, and aims to solve the technical problem that the conventional terminal equipment cannot control a background application in a targeted manner because the starting condition of the background application is not clear.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
a method of controlling a terminal application, comprising:
Acquiring a control trigger instruction;
Acquiring a calling parameter of a preset function according to the control trigger instruction;
determining a target component of the terminal and a target application corresponding to the target component based on the calling parameter;
And controlling the calling of the target application to the target component according to a preset strategy.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
A control device for a terminal application, comprising:
the first acquisition module is used for acquiring a control trigger instruction;
the second acquisition module is used for acquiring the calling parameters of the preset function according to the control trigger instruction;
The determining module is used for determining a target component of the terminal and a target application corresponding to the target component based on the calling parameter;
And the control module is used for controlling the calling of the target application to the target component according to a preset strategy.
according to the control method and device for the terminal application, the control trigger instruction is obtained, the calling parameter of the preset function is obtained according to the control trigger instruction, then the target component of the terminal and the target application corresponding to the target component are determined based on the calling parameter, the target application is controlled to call the target component according to the preset strategy, the background application can be controlled according to the actual running condition of the background application, and the method is simple.
Drawings
the technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for controlling a terminal application according to a first embodiment of the present invention.
fig. 2a is a schematic structural diagram of a control device for a terminal application according to a second embodiment of the present invention.
Fig. 2b is another schematic structural diagram of a control device for a terminal application according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a control method and device of a terminal application. The details will be described below separately.
first embodiment
the present embodiment will be described from the perspective of a control device for a terminal application, which may be specifically integrated in a device such as a mobile phone, a tablet computer, or a notebook computer.
referring to fig. 1, fig. 1 specifically describes a method for controlling a terminal application according to a first embodiment of the present invention, which may include:
And S101, acquiring a control trigger instruction.
In this embodiment, when the terminal needs to control the running condition of the background application, the control trigger instruction may be generated. It should be noted that, the triggering condition may be various when the terminal needs to control the running condition of the background application, and may be specifically determined according to the actual control requirement.
For example, when the actual control demand is to prevent a pop-up disturbance interface, the trigger condition may be: the terminal will display a new visual interface. Considering that each time the terminal displays the visual interface, an activity component corresponding to the visual interface must be started, and the starting of the activity component needs to be implemented by calling an interface start entry (startActivity) function, it may be determined whether a new visual interface is to be displayed by detecting whether the activity component needs to be started, that is, before the control trigger instruction is obtained, the control method of the terminal application may further include:
Detecting whether a calling parameter of a preset function changes;
And if the calling parameter changes, generating a control trigger instruction.
in this embodiment, the preset function may include a startActivity function in a component management service (ActivityManagerService) system, and the call parameter may include a type parameter of the startActivity function, such as a caller (caller), a callee (callingpackage), an invocation intent (intent), and the like.
Specifically, when the startActivity function is called, it may start a corresponding activity component, and the activity component may generate a corresponding visual interface according to an interface layout file stored in the activity component, and display the visual interface to the user through a window management service (windowManagerservice) of the terminal. Since the calling parameters of the startActivity function are often different in the process of calling the startActivity function to realize the starting of the different activity components, for example, when the video call component and the web browsing component call the startActivity function to realize the starting, the corresponding calling parameters are different, so that the calling parameters can be detected, when the calling parameters are changed, the terminal indicates that a new activity component is about to be started at the moment, that is, the terminal is about to display a new visual interface, and at this moment, the control trigger instruction can be generated by judging that the trigger condition is met.
It should be noted that there are various reasons for causing the startActivity function to be called, for example, the user may click an application icon, or click an interface control in an application, or set a start time for an application, and when the preset time is reached, automatically start the application, and so on.
Of course, the actual control requirement may also be other requirements, for example, the actual control requirement may be to prohibit the starting of the background application during the peak period, so as to reduce the running load of the terminal, that is, the triggering condition may be: the set trigger time is reached. At this time, before the control trigger instruction is acquired, the method for controlling the terminal application may further include:
Detecting whether the current time information of the terminal belongs to preset trigger time or not;
If yes, a control trigger instruction is generated.
In this embodiment, the preset trigger time may be set by the user according to the preference, or may be set by default, for example, the preset trigger time may be a peak time when the user uses the terminal, such as 12:00-14:00 at noon or 19:00-21:00 at night. When the peak period is reached, the terminal can generate the control trigger instruction so as to control the background application.
And S102, acquiring the calling parameter of the preset function according to the control trigger instruction.
In this embodiment, when the trigger condition is satisfied, the terminal may automatically obtain the call parameter of the startActivity function.
s103, determining a target component of the terminal and a target application corresponding to the target component based on the calling parameter.
For example, the step S103 may specifically include:
(1) and analyzing the calling parameter to obtain the current component to be started of the terminal and the calling application of the component to be started.
In this embodiment, the current component to be started of the terminal can be obtained by analyzing the intent parameter in the calling parameter, and the calling application of the current component to be started can be obtained by analyzing the caller parameter in the calling parameter.
(2) and determining a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application.
in this embodiment, there may be a plurality of determination manners for the target component and the target application, for example, the starting component and the application within a certain time period may be determined as the target component and the target application, the starting component and the application with a higher starting frequency in the history may be determined as the target component and the target application, or other determination manners may be used, which may be specifically determined according to actual needs.
For example, when the determining means is to determine the starting component and the application within a certain time period as the target component and the target application, the step (2) may specifically include:
detecting whether the current time of the terminal belongs to a preset range or not;
And if the current time belongs to the preset range, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
In this embodiment, the preset range may be set by the user according to the preference, or may be set by default. When the current time belongs to the preset range, the component to be started and the calling application are the target objects needing to be considered for starting control.
for example, when the determining means is to determine the starting component and the application with higher starting frequency in the history record as the target component and the target application, the step (2) may specifically include:
Acquiring the historical calling times of calling the component to be started by the calling application;
and when the historical calling times exceed the preset calling times, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
In this embodiment, the preset number of calls may be determined according to actual requirements, and is mainly used to limit the starting degree, for example, 10 times or 15 times. When the historical calling times of the calling application for calling the component to be started exceed the preset calling times, the starting frequency of the component to be started and the starting frequency of the calling application can be judged to be high, at the moment, in order to reduce the running load of the terminal and the starting frequency of the background component, the component to be started and the calling application with high starting frequency can be respectively determined to be a target component and a target application so as to be controlled.
It should be noted that, in order to successfully obtain the historical calling times, when the calling application calls the component to be started each time, the terminal needs to perform statistical update on the calling times to obtain the historical calling times, and store the historical calling times in the database, so as to facilitate subsequent obtaining operations.
And S104, controlling the calling of the target application to the target component according to a preset strategy.
in this embodiment, the preset policy may be determined according to actual requirements, for example, the start blacklist may be set to prohibit a specific application (such as a rogue application) from invoking the current component, or the start whitelist may be set to only allow some specific applications to invoke the current component, or when the terminal is in a dormant state, all background applications may be prohibited from invoking the current component, and so on.
For example, the step S104 may specifically include:
Acquiring a started application currently running by the terminal;
Matching the target application with the started application and obtaining a matching result;
and when the matching result indicates that the matching fails, forbidding the calling of the target application to the target component.
in this embodiment, the preset policy may be: all background applications are prohibited from invoking the current component. Specifically, the foreground application of the terminal and the target application can be subjected to matching analysis, and when the target application is the foreground application, the target application is reasonable to call the target component for the preset strategy, and at the moment, the target application can be allowed to call the target component. When the target application is not the foreground application, the target application calls the target component unreasonably for the preset policy, and at this time, the call needs to be prohibited.
for example, the step S104 may further include:
judging whether the target application is a preset application or not;
And if the target application is the preset application, forbidding the target application from calling the target component.
In this embodiment, the preset policy may be: the start blacklist (i.e., the pre-set application) is set to prohibit the call of the specified application (such as a rogue application) to the current component. It should be noted that the preset application may be set by the user, or may be selected from the target applications, and the specific number may be determined according to actual requirements. For example, when the target application is an application with a high starting frequency in the history, three applications with the highest starting frequency may be selected from the applications as the preset application.
of course, the preset policy may also be other manners, such as: and when the terminal is in the dormant state, forbidding all terminal applications from calling the current component. In this case, the step S104 may specifically include:
Detecting whether a backlight lamp of a terminal screen is in a closed state;
and if so, forbidding the calling of the target application to the target component.
In this embodiment, when the backlight of the terminal screen is in an off state, the terminal is in a sleep state, and at this time, the user may be away from the terminal with great attention, and in order to save electric quantity or flow, all terminal applications may be prohibited from invoking the current component.
As can be seen from the above, in the control method for a terminal application provided in this embodiment, by obtaining a control trigger instruction, obtaining a call parameter of a preset function according to the control trigger instruction, then determining a target component of a terminal and a target application corresponding to the target component based on the call parameter, and controlling the target application to call the target component according to a preset policy, the running condition of a background application of the terminal can be clearly known, and the background application is controlled according to actual requirements, which is simple in method and high in processing efficiency.
second embodiment
On the basis of the method in the first embodiment, the present embodiment will be further described from the perspective of a control device for a terminal application, please refer to fig. 2a, where fig. 2a specifically describes the control device for a terminal application provided in the second embodiment of the present invention, which may include: a first obtaining module 10, a second obtaining module 20, a determining module 30 and a control module 40, wherein:
(1) first acquisition module 10
the first obtaining module 10 is configured to obtain a control trigger instruction.
In this embodiment, when the terminal needs to control the running condition of the background application, the control trigger instruction may be generated. It should be noted that, the triggering condition may be various when the terminal needs to control the running condition of the background application, and may be specifically determined according to the actual control requirement.
For example, when the actual control demand is to prevent a pop-up disturbance interface, the trigger condition may be: the terminal will display a new visual interface. Considering that each time the terminal performs the visual interface display, an activity component corresponding to the visual interface must be started, and the starting of the activity component needs to be implemented by calling a start activity entry (startActivity) function, the terminal may determine whether a new visual interface is to be displayed by detecting whether the activity component needs to be started, that is, referring to fig. 2b, the control device of the terminal application may further include a generating module 50 configured to:
before acquiring a control trigger instruction, detecting whether a calling parameter of a preset function changes;
And if the calling parameter changes, generating a control trigger instruction.
in this embodiment, the preset function may include a startActivity function in an e-component management service (activitymanageservic) system, and the call parameter may include a type parameter of the startActivity function, such as a caller (caller), a callee (callingpackage), an invocation intent (intent), and the like.
Specifically, when the startActivity function is called, it may start a corresponding activity component, and the activity component may generate a corresponding visual interface according to an interface layout file stored in the activity component, and display the visual interface to the user through a window management service (windowManagerservice) of the terminal. Since the calling parameters of the startActivity function are often different when different activity components call the startActivity function to implement starting, for example, when the video call component and the web browsing component call the startActivity function to implement starting, the corresponding calling parameters are different, so that the generating module 50 may detect the calling parameters, and when the calling parameters change, it indicates that the terminal is about to start a new activity component at this time, that is, the terminal is about to display a new visual interface, and at this time, the generating module 50 determines that the triggering condition is satisfied, and may generate the control triggering instruction.
It should be noted that there are various reasons for causing the startActivity function to be called, for example, the user may click an application icon, or click an interface control in an application, or set a start time for an application, and when the preset time is reached, automatically start the application, and so on.
of course, the actual control requirement may also be other requirements, for example, the actual control requirement may be to prohibit the starting of the background application during the peak period to reduce the running load of the terminal, and in this case, the triggering condition may be: the set trigger time is reached. That is, the generating module 50 may be configured to:
Before a control trigger instruction is acquired, whether the current time information of the terminal belongs to preset trigger time is detected;
if yes, a control trigger instruction is generated.
in this embodiment, the preset trigger time may be set by the user according to the preference, or may be set by default, for example, the preset trigger time may be a peak time when the user uses the terminal, such as 12:00-14:00 at noon or 19:00-21:00 at night. When the peak period is reached, the terminal can generate the control trigger instruction so as to control the background application.
(2) Second acquisition module 20
And a second obtaining module 20, configured to obtain a calling parameter of the preset function according to the control trigger instruction.
In this embodiment, when the trigger condition is satisfied, the second obtaining module 20 automatically obtains the call parameter of the startActivity function.
(3) Determination module 30
and a determining module 30, configured to determine, based on the call parameter, a target component of the terminal and a target application corresponding to the target component.
For example, the determination module 30 may specifically include an analysis submodule 31 and a determination submodule 32, wherein:
And the analysis submodule 31 is configured to analyze the call parameter to obtain a current component to be started and a call application to call the component to be started of the terminal.
in this embodiment, the analysis submodule 31 may obtain the current component to be started of the terminal by analyzing the intent parameter in the call parameter, and analyze the caller parameter in the call parameter to obtain the call application of the current component to be started.
And the determining submodule 32 is configured to determine a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application.
In this embodiment, there may be a plurality of determination manners for the target component and the target application, for example, the starting component and the application within a certain time period may be determined as the target component and the target application, the starting component and the application with a higher starting frequency in the history may be determined as the target component and the target application, or other determination manners may be used, which may be specifically determined according to actual needs.
For example, when the determination is to determine the starting component and the application in a certain time period as the target component and the target application, the determination submodule 32 may be specifically configured to:
Detecting whether the current time of the terminal belongs to a preset range or not;
And if the current time belongs to the preset range, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
in this embodiment, the preset range may be set by the user according to the preference, or may be set by default. When the current time belongs to the preset range, the component to be started and the calling application are the target objects needing to be considered for starting control.
For example, when the determination is to determine the starting component and the application with higher starting frequency in the history as the target component and the target application, the determination submodule 32 may be specifically configured to:
Acquiring the historical calling times of calling the component to be started by the calling application;
and when the historical calling times exceed the preset calling times, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
In this embodiment, the preset number of calls may be determined according to actual requirements, and is mainly used to limit the starting degree, for example, 10 times or 15 times. When the historical calling frequency of the calling application for calling the component to be started exceeds the preset calling frequency, it can be determined that the starting frequency of the component to be started and the calling application is high, and at this time, in order to reduce the operation burden of the terminal and the starting frequency of the background component, the determining submodule 32 can respectively determine the component to be started and the calling application with high starting frequency as a target component and a target application for control.
it should be noted that, in order to successfully obtain the historical calling times, when the calling application calls the component to be started each time, the terminal needs to perform statistical update on the calling times to obtain the historical calling times, and store the historical calling times in the database, so as to facilitate subsequent obtaining operations.
(4) control module 40
And the control module 40 is used for controlling the calling of the target component by the target application according to a preset strategy.
In this embodiment, the preset policy may be determined according to actual requirements, for example, the start blacklist may be set to prohibit a specific application (such as a rogue application) from invoking the current component, or the start whitelist may be set to only allow some specific applications to invoke the current component, or when the terminal is in a dormant state, all background applications may be prohibited from invoking the current component, and so on.
For example, the control module 40 may be specifically configured to:
Acquiring a started application currently running by the terminal;
Matching the target application with the started application and obtaining a matching result;
and when the matching result indicates that the matching fails, forbidding the calling of the target application to the target component.
In this embodiment, the preset policy may be: all background applications are prohibited from invoking the current component. Specifically, the control module 40 may perform matching analysis on the foreground application of the terminal and the target application, and when the target application is the foreground application, the target application is reasonably invoked to the target component for the preset policy, and at this time, the control module 40 may allow the target application to be invoked. When the target application is not the foreground application, the call of the target application to the target component is unreasonable for the preset policy, and at this time, the control module 40 needs to prohibit the call.
For example, the control module 40 may also be configured to:
Judging whether the target application is a preset application or not;
And if the target application is the preset application, forbidding the target application from calling the target component.
In this embodiment, the preset policy may be: the start blacklist (i.e., the pre-set application) is set to prohibit the call of the specified application (such as a rogue application) to the current component. It should be noted that the preset application may be set by the user, or may be selected from the target applications, and the specific number may be determined according to actual requirements. For example, when the target application is an application with a high starting frequency in the history, three applications with the highest starting frequency may be selected from the applications as the preset application.
Of course, the preset policy may also be other manners, such as: and when the terminal is in the dormant state, forbidding all terminal applications from calling the current component. At this time, the control module 40 may be configured to:
Detecting whether a backlight lamp of a terminal screen is in a closed state;
And if so, forbidding the calling of the target application to the target component.
in this embodiment, when the backlight of the terminal screen is in an off state, the terminal is in a dormant state, and at this time, the user may be most likely to leave the terminal with attention, and in order to save power or traffic, the control module 40 may prohibit all terminal applications from invoking the current components.
in a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above description, in the control device of a terminal application provided in this embodiment, the first obtaining module 10 obtains the control trigger instruction, and the second obtaining module 20 obtains the call parameter of the preset function according to the control trigger instruction, then the determining module 30 determines the target component of the terminal and the target application corresponding to the target component based on the call parameter, and controls the target application to call the target component according to the preset policy through the control module 40, so that the running condition of the background application of the terminal can be clearly known, and the background application can be controlled according to the actual requirement.
those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method and the apparatus for controlling a terminal application provided by the embodiment of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. a control method for a terminal application is characterized by comprising the following steps:
detecting whether a calling parameter of a preset function changes;
If the calling parameter changes, a control trigger instruction is generated;
Acquiring a calling parameter of the preset function according to the control trigger instruction, wherein the preset function is an interface starting entry function, and the calling parameter comprises a caller, a callee and a calling intention;
determining a component to be started according to the calling intention, and determining a calling application of the component to be started according to the caller;
Determining a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application;
and controlling the calling of the target application to the target component according to a preset strategy.
2. The method for controlling a terminal application according to claim 1, wherein the determining a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application comprises:
Detecting whether the current time of the terminal belongs to a preset range or not;
and if the current time is within a preset range, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
3. the method for controlling a terminal application according to claim 1, wherein the determining a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application comprises:
Acquiring the historical calling times of calling the component to be started by the calling application;
and when the historical calling times exceed preset calling times, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
4. The method for controlling the terminal application according to any one of claims 1 to 3, wherein the controlling the target application to invoke the target component according to a preset policy includes:
Acquiring a started application currently running by the terminal;
Matching the target application with the started application and obtaining a matching result;
and when the matching result indicates that the matching fails, prohibiting the calling of the target component by the target application.
5. the method for controlling the terminal application according to any one of claims 1 to 3, wherein the controlling the target application to invoke the target component according to a preset policy includes:
Judging whether the target application is a preset application or not;
And if the target application is a preset application, prohibiting the target application from calling the target component.
6. a control apparatus for a terminal application, comprising:
The generation module is used for detecting whether the calling parameter of the preset function changes; if the calling parameter changes, a control trigger instruction is generated
the first acquisition module is used for acquiring a control trigger instruction;
The second obtaining module is used for obtaining a calling parameter of a preset function according to the control trigger instruction, wherein the preset function is an interface starting entry function, and the calling parameter comprises a caller, a callee and a calling intention;
the determining module comprises an analysis submodule and a calling application module, wherein the analysis submodule is used for determining a component to be started according to the calling intention and determining a calling application of the component to be started according to the caller; the determining submodule is used for determining a target component of the terminal and a target application corresponding to the target component according to the component to be started and the calling application;
and the control module is used for controlling the calling of the target application to the target component according to a preset strategy.
7. The control device of a terminal application according to claim 6, wherein the determining sub-module is specifically configured to:
detecting whether the current time of the terminal belongs to a preset range or not;
And if the current time is within a preset range, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
8. the control device of a terminal application according to claim 6, wherein the determining sub-module is specifically configured to:
Acquiring the historical calling times of calling the component to be started by the calling application;
And when the historical calling times exceed preset calling times, determining the component to be started as a target component of the terminal, and determining the calling application as a target application corresponding to the target component.
9. the control device of a terminal application according to any one of claims 6 to 8, wherein the control module is specifically configured to:
Acquiring a started application currently running by the terminal;
matching the target application with the started application and obtaining a matching result;
And when the matching result indicates that the matching fails, prohibiting the calling of the target component by the target application.
10. The control device of a terminal application according to any one of claims 6 to 8, wherein the control module is specifically configured to:
judging whether the target application is a preset application or not;
and if the target application is a preset application, prohibiting the target application from calling the target component.
11. A computer-readable storage medium storing a computer program, characterized by causing a computer to execute a control method of a terminal application according to claim 1 when the computer program runs on the computer.
CN201610466401.5A 2016-06-22 2016-06-22 Control method and device for terminal application Expired - Fee Related CN106203068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610466401.5A CN106203068B (en) 2016-06-22 2016-06-22 Control method and device for terminal application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610466401.5A CN106203068B (en) 2016-06-22 2016-06-22 Control method and device for terminal application

Publications (2)

Publication Number Publication Date
CN106203068A CN106203068A (en) 2016-12-07
CN106203068B true CN106203068B (en) 2019-12-10

Family

ID=57460917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610466401.5A Expired - Fee Related CN106203068B (en) 2016-06-22 2016-06-22 Control method and device for terminal application

Country Status (1)

Country Link
CN (1) CN106203068B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110832463A (en) * 2017-06-30 2020-02-21 Oppo广东移动通信有限公司 Coefficient calculation method, component calling method, device, medium, server and terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354486A (en) * 2015-10-20 2016-02-24 奇酷互联网络科技(深圳)有限公司 Operation control method, operation control system and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5026781B2 (en) * 2006-12-25 2012-09-19 キヤノンソフトウェア株式会社 Information processing apparatus, pop-up window display control method, program, and recording medium
KR101209951B1 (en) * 2011-06-10 2012-12-07 주식회사 캐스트이즈 Apparatus and method for conducting related operations upon occurrence of an android application launch request prior to the launch of the application
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
CN104462952B (en) * 2014-12-31 2017-11-10 北京奇虎科技有限公司 A kind of method and device forbidden using self-starting
CN104881601A (en) * 2015-06-17 2015-09-02 北京奇虎科技有限公司 Floating window display setup, control method and device
CN105302598B (en) * 2015-10-15 2018-09-04 广东欧珀移动通信有限公司 A kind of time control method and device of application operation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105354486A (en) * 2015-10-20 2016-02-24 奇酷互联网络科技(深圳)有限公司 Operation control method, operation control system and terminal

Also Published As

Publication number Publication date
CN106203068A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US9967824B2 (en) Mobile terminal managing method and system, mobile terminal
RU2611988C2 (en) Icon display method and device
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
CN106127030A (en) A kind of interface control method and device
CN110018765B (en) Page display method, device, terminal and storage medium
CN106227585A (en) Application program starting method, device and equipment
CN102903336A (en) Mobile terminal and screen highlight adjusting method thereof
CN106022108A (en) Synchronous management method and terminal device
CN110868693A (en) Application program flow control method, terminal device and storage medium
CN112099702A (en) Application running method and device and electronic equipment
CN106161793A (en) Originating method based on contact person's packet and device
CN106203068B (en) Control method and device for terminal application
CN107436802B (en) Control method, system, medium and computing device for application program
CN106155676B (en) Access control method and device for application program and terminal
CN106569848A (en) Terminal and starting management method for application program thereof
CN108196960A (en) A kind of management-control method of application, terminal and storage medium
CN106295320A (en) A kind of android system customized desktop based on white list
CN106020426A (en) Releasing method and device for awakening locks
CN107317923B (en) Method, device and terminal for controlling GPS running state
CN105095745A (en) Authority control method and device
CN113986558A (en) Application processing method and device
CN105468480B (en) Startup management method and device
CN108363582B (en) Method and device for upgrading homepage of intelligent terminal
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN105898058A (en) Call reminding method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191210

CF01 Termination of patent right due to non-payment of annual fee