CN114629989B - Android application management and control method and device, intelligent terminal and storage medium - Google Patents

Android application management and control method and device, intelligent terminal and storage medium Download PDF

Info

Publication number
CN114629989B
CN114629989B CN202210289894.5A CN202210289894A CN114629989B CN 114629989 B CN114629989 B CN 114629989B CN 202210289894 A CN202210289894 A CN 202210289894A CN 114629989 B CN114629989 B CN 114629989B
Authority
CN
China
Prior art keywords
application
controlled
interface
displaying
android
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.)
Active
Application number
CN202210289894.5A
Other languages
Chinese (zh)
Other versions
CN114629989A (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.)
Shenzhen Imyfone Technology Co ltd
Original Assignee
Shenzhen Imyfone Technology Co 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 Shenzhen Imyfone Technology Co ltd filed Critical Shenzhen Imyfone Technology Co ltd
Priority to CN202210289894.5A priority Critical patent/CN114629989B/en
Publication of CN114629989A publication Critical patent/CN114629989A/en
Application granted granted Critical
Publication of CN114629989B publication Critical patent/CN114629989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/865Monitoring of software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a control method and device for a control device Zhuo Ying, an intelligent terminal and a storage medium, wherein the control method comprises the following steps: monitoring an application to be controlled and obtaining state information of the application to be controlled; matching the state information with a preset control rule, and if the matching is successful, executing the following steps: detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided; displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled. Compared with the prior art, whether the application to be controlled needs to be controlled or not is judged by acquiring the state information of the application to be controlled, if the application to be controlled needs to be controlled, continuous interception of the application to be controlled is realized by displaying the suspension window and then displaying the interception interface, and the appointed application to be controlled can be controlled in various amperes Zhuo Banben.

Description

Android application management and control method and device, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of application management and control, in particular to a management and control method and device for a Zhuo Ying, an intelligent terminal and a storage medium.
Background
Along with the increasing application of mobile terminals such as mobile phones, the dependence of people on the mobile phones is stronger, and the mobile phones become the necessity for people to carry with them in daily life. Inevitably, children will often use cell phones. However, the mind of the child is not mature, and the self-made ability is poor, so that the child cannot grow easily due to unreasonable use of the mobile phone, such as addiction to game play, movie watching, sound brushing and shaking, and the like. Therefore, the mobile phone is required to be controlled by the child so that the child can use the mobile phone correctly and reasonably.
The current mobile phone control software can play a role in preventing continuous use of the mobile phone in a low-version android system by using a pop-up interface, however, in a high-version android system, in order to prevent transitional interference to a user, after the android system additionally presses a Home key to return to a desktop, the interception interface popped up by a background application needs to be opened after 5 seconds, so that the mobile phone control software cannot realize the purpose of management and control.
Disclosure of Invention
The invention mainly aims to provide a control method and device for the android Zhuo Ying, an intelligent terminal and a storage medium, and aims to solve the problem that control software in the prior art cannot control the application of a mobile phone because a background application pops up an interception interface and needs to delay for 5 seconds in a high-version android system.
In order to achieve the above object, a first aspect of the present invention provides a control method for a security Zhuo Ying, where the method includes:
monitoring an application to be controlled and obtaining state information of the application to be controlled;
Matching the state information with a preset control rule, and if the matching is successful, executing the following steps:
detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided;
displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled.
Optionally, the content displayed by the floating window is the same as the content displayed by the interception interface.
Optionally, the monitoring the application to be managed and obtaining the state information of the application to be managed and managed includes:
When the application to be managed and controlled is operated at the front end of the android system, accumulating the operation time of the application to be managed and controlled;
Accumulating the running time to the accumulated running time corresponding to the application to be managed;
and outputting the accumulated operation duration.
Optionally, the display floating window further includes:
Acquiring an android version of the mobile terminal;
based on the android version, the floating window is set to be a different type of floating window.
Optionally, the method further comprises: the matching the state information with a preset control rule comprises the following steps:
acquiring the control level of the application to be controlled;
and if the control level is in a forbidden class and the state information is in starting, outputting successful matching.
Optionally, the detecting the authority for displaying the floating window includes:
Detecting whether the suspended window is authorized to be opened or not;
and if the permission is not provided, displaying a semitransparent permission opening interface to prompt a user to open the permission.
Optionally, the method further comprises: and presetting a display mode of the interception interface to be a mode incapable of splitting a screen in a configuration list corresponding to the interception interface.
The second aspect of the present invention provides a control device for a control device Zhuo Ying, where the device includes:
The state information acquisition module is used for monitoring the application to be controlled and acquiring the state information of the application to be controlled;
The matching module is used for matching the state information with a preset control rule;
The suspension window display module is used for detecting the authority for displaying the suspension window, and if the authority is provided, the suspension window is displayed;
and the interception interface display module is used for displaying an interception interface and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled.
The third aspect of the present invention provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and an android application control program stored in the memory and capable of running on the processor, where the android application control program implements any one of the steps of the android application control method when executed by the processor.
A fourth aspect of the present invention provides a computer readable storage medium, where an android application control program is stored in the computer readable storage medium, where the android application control program when executed by a processor implements any one of the steps of the android application control method.
From the above, in the scheme of the invention, the application to be controlled is monitored, and the state information of the application to be controlled is obtained; matching the state information with a preset control rule; if the matching is successful, the following steps are executed: detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided; displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled. Compared with the prior art, the method and the device for controlling the application to be controlled have the advantages that whether the application to be controlled is required to be controlled is judged according to the state information of the application to be controlled, if the application to be controlled is required to be controlled, the suspension window is displayed first and then the interception interface is displayed to achieve continuous interception of the application to be controlled, the appointed application to be controlled can be controlled in various amperes Zhuo Banben, and the performance is reliable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an android application management and control method provided by an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a specific step of step S300 in the embodiment of FIG. 1;
fig. 3 is a schematic structural diagram of an android application management and control device according to an embodiment of the present invention;
Fig. 4 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted in context as "when …" or "once" or "in response to a determination" or "in response to detection. Similarly, the phrase "if a condition or event described is determined" or "if a condition or event described is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a condition or event described" or "in response to detection of a condition or event described".
The following description of the embodiments of the present invention will be made more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown, it being evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
Along with the increasing application of mobile terminals such as mobile phones, the dependence of people on the mobile phones is stronger, and the mobile phones become the necessity for people to carry with them in daily life. Inevitably, children will often use cell phones. However, the mind of the child is not mature, and the self-made ability is poor, so that the child cannot grow easily due to unreasonable use of the mobile phone, such as addiction to game play, movie watching, sound brushing and shaking, and the like. Therefore, the mobile phone is required to be controlled by the child so that the child can use the mobile phone correctly and reasonably.
The current mobile phone control software can play a role in preventing continuous use of a mobile phone in a low-version android system by using a popup interface, however, in a high-version android system, in order to prevent transitional interference to a user, when the android system additionally presses a Home key to return to a desktop, other applications enter a background, and at the moment, an interception interface (foreground activity) popped by the background application needs to be delayed for 5 seconds to be opened, so that the mobile phone control software cannot realize the purpose of management and control.
According to the scheme, whether the application to be controlled needs to be controlled or not is judged according to the state information of the application to be controlled, if the application to be controlled needs to be controlled, the suspension window is displayed first and then the interception interface is displayed to realize continuous interception of the application to be controlled, and the appointed application to be controlled can be controlled in various amperes Zhuo Banben.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a control method for a control device Zhuo Ying, which specifically includes the following steps:
step S100: monitoring an application to be controlled and obtaining state information of the application to be controlled;
Specifically, the application to be managed refers to an application program installed on an android system on a mobile terminal such as a mobile phone, a tablet computer, a learning machine and the like used by a child. The existing application programs on the mobile terminal are various, and some application programs are beneficial, so that children can learn knowledge, and the growth of the children is facilitated; some applications require control of use, such as video playback applications, news applications, etc. Some applications are intended to be prohibited for use by children, such as friends, violent games, etc. Therefore, the invention can realize different levels of control on different applications on the basis of classifying and grading the applications.
In this embodiment, the application management and control method is encapsulated in a management and control APP, and the management and control APP is registered as a background Service (Service) in the android system, so that in the running process of the management and control APP, the application to be managed and controlled can be continuously monitored, and the state information of the application to be managed and controlled can be obtained in real time. Wherein, the state information includes: the cumulative length of time the application to be managed has run, the application to be managed is being started, the application to be managed is being switched to the front end, the application to be managed is switched to the background, etc. Specifically, an application event in the android system is monitored through an auxiliary function of the android system to obtain state information of an application to be managed.
Further, unlike the common accumulated running time of the application to be managed and controlled APP, the method accumulates the accumulated running time of the application to be managed and controlled running at the front end, and does not include the running time of the APP switched to the background, so that the accumulated running time is more accurate. The method comprises the following specific steps: when the application to be managed is switched to be operated at the front end of the android system, accumulating the operation time of the front end operation of the application to be managed; and accumulating the running time to the accumulated running time corresponding to the application to be controlled. It is easy to understand that a table may be created in advance, and the accumulated running time of each application per day is counted to obtain the status information of each application. When receiving an instruction for starting controlling the application to be controlled, the accumulated running time length is matched with a preset controlling rule to judge whether controlling is needed or not.
Step S200: matching the state information with a preset control rule, and if the matching is successful, executing the following steps:
Specifically, according to the obtained state information, matching the content in the state information with a preset control rule, if the matching is successful, the application to be controlled needs to be controlled. The above-mentioned control rules are usually set by parents, who can set the control rules on the child's mobile terminal operation interface, preferably set and update the control rules on the parent's mobile phone bound to the child's mobile terminal. If the management and control rule is set on the mobile phone of the parent, the management and control APP obtains the management and control rule when in operation and updates the management and control rule stored locally. The specific content of the control rule is not limited, and the name of the application program package needing to be controlled can be simply set so that the application program cannot be used; complex rules may also be set, such as how long a certain application is limited to use per day, the period of use of the application, etc.
Preferably, the control levels are set as described above, and the control levels are different, and accordingly, the set control rules are also different. For example, for applications in forbidden categories, when acquiring the state information of the application to be managed is: when an application is started and is switched from a background to a front end, the application is controlled so that the application cannot be used; for the application of the management and control type, when the acquired state information of the application to be managed and controlled is: and if the accumulated running time of the application to be controlled exceeds a set time threshold, the current time belongs to a forbidden time period of the application to be controlled, and the like, controlling the application so that the application cannot be used.
For example, in this embodiment, a packet name of an application to be controlled is obtained first, and a control level corresponding to the application to be controlled is obtained by querying in a control rule according to the packet name; if the control level is in the forbidden class and the state information is in the starting state or is switched to the front end, outputting a successful matching result.
Step S300: detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided;
Specifically, based on the fact that the permission management software is integrated on the basis of part of Android intelligent terminal models, the application is not given permission to use the floating window by default, so that the floating window cannot be popped up during running, even program breakdown occurs, and the floating window application cannot be normally used. Therefore, the invention firstly detects whether the permission for displaying the floating window is provided, and if the permission is provided, the floating window is displayed again.
Further, the content displayed by the floating window is set to be the same as the content displayed by the interception interface, and when the interception interface is displayed again after the floating window is displayed, the content displayed by the two interfaces is the same, but the two interfaces are different interface entities, but the user is not feel. Interface switching is prevented from causing confusion and discomfort to the user, and poor operating experience is brought.
Further, the floating window can be displayed as different floating window types according to the difference of the android versions. The type of the floating window is specified by an android system and mainly comprises the following steps: type_phone (caller identification TYPE), type_application_coverage (APPLICATION coverage TYPE), etc. Specifically, the type of the floating window is set by setting windowmanager. The specific implementation steps in this embodiment include: firstly, the android version (Buid. Version) of the mobile terminal is obtained, then, different types of floating windows suitable for the version are selected according to different android versions, and different types of floating windows can be displayed for different control levels, so that children can conveniently and immediately recognize the severity of control expressed by the floating windows.
The existing floating window is displayed on the top layer of the intelligent terminal interface by utilizing the display interface of the android system on the intelligent terminal, and the floating window can be covered on any application program interface. By displaying the floating window, the interface of the controlled application is shielded, and the floating window intercepts the touch and click events of the controlled application, so that the user operation of the application to be controlled is intercepted within 5 seconds before the interception interface pops up; and some versions of android systems consider that the floating window belongs to the foreground, not the background application, and have no delay limit of 5 seconds, that is, the second flick of the interception interface can be realized, and the pop-up of the interception interface is accelerated.
Step S400: displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled.
Specifically, although the suspension window is at the upper layer of the application, the interface of the application to be controlled can be covered, but the application to be controlled cannot be completely intercepted, the application to be controlled is only invisible, the application to be controlled belongs to the front-end application, and the application to be controlled still runs, and even sounds and the like generated when the application to be controlled runs can still be heard. Therefore, in order to make interception efficient and full-version universal, the invention adopts the method that an interception interface (activity) is popped up after a suspension window is displayed, and the suspension window can realize timely interception of user operation application to be controlled before the interception interface is displayed after a Home key is pressed, and after the interception interface is displayed, a background application is changed into a front-end application, and the application to be controlled is changed into a background application, so that the aim of being incapable of using the application to be controlled is fulfilled.
According to the invention, the interception interface is displayed on the mobile terminal before the floating window is closed, and the background service is lifted to the foreground service, so that the continuous control effect on the controlled application is realized. When the aim of stopping using the application to be controlled is needed, the invention displays the interception interface on the front end interface of the mobile terminal, and the interception interface can display preset warning characters or pictures and the like, so that children can know that the current application is controlled at a glance and stop continuously using the control application.
Optionally, after the interception interface is displayed on the front end interface of the mobile terminal, the suspension window is actively closed, and the control effect can be achieved only by using the interception interface. Specifically, the background service process calls the activitymanager.removeview () function, removing the floating window displayed on the system desktop.
In an embodiment, a first actuation of the floating window and then actuation of the intercept interface is employed. If the time needed to load is longer when the interception interface is initialized, the interception interface can be started by using another thread channel when the suspension window is started, so that the interception interface can be displayed in an accelerating way.
Furthermore, as the android system defaults to display a plurality of interfaces, namely a split screen mode, on the interface of the mobile terminal, the mobile terminal can simultaneously display a plurality of applications on the front end, and a user can simultaneously interact with the plurality of applications. Therefore, the display mode of the interception interface is preset in the configuration list corresponding to the interception interface to be in a mode of being incapable of splitting, so that only the current interception interface can be displayed on the top-layer interface of the mobile terminal, the fact that the controlled application can still be used due to splitting is prevented, only the display size of the interface is shortened due to phase change, and the control effect is not achieved.
In the above, the embodiment monitors the application to be managed and controlled first, and obtains the state information of the application to be managed and controlled; matching the state information with a preset control rule; if the matching is successful, the following steps are executed: detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided; displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled. Whether the application to be controlled needs to be controlled or not is judged by acquiring the state information of the application to be controlled, if the application to be controlled needs to be controlled, the suspension window is displayed first and then the interception interface is displayed to realize continuous interception of the application to be controlled, so that the designated application to be controlled can be controlled in various types of safety Zhuo Banben.
In some embodiments, as shown in fig. 2, the detecting the authority for displaying the floating window in the step S300 specifically includes the following steps:
step S310: detecting whether the suspended window is authorized to be opened or not;
step S320: and if the permission is not provided, displaying a semitransparent permission opening interface to prompt a user to open the permission.
Specifically, by calling the system method settingscandraw overlay (Context) to detect whether there is a right to open the floating window, when true is returned, it is indicated that the floating window right is authorized, and false is returned to indicate that the floating window right is not authorized. If the permission to open the floating window is not available, the system is informed to display an interface for configuring the permission of the floating window by setting a set-action-management-display-PERMISSION in the Intint, namely, a semitransparent permission opening interface is displayed to prompt a user to open the permission.
By detecting the authority for opening the floating window, if the authority is not available, the user is prompted to configure the authority, and normal opening of the floating window is ensured.
Exemplary apparatus
As shown in fig. 3, corresponding to the above android application control method, an embodiment of the present invention further provides a control device for a android Zhuo Ying, where the android application control device includes:
the state information obtaining module 600 is configured to monitor an application to be controlled, and obtain state information of the application to be controlled;
Specifically, the state information of the application to be managed is obtained by monitoring the application event in the android system through the auxiliary function authority of the android system. And continuously monitoring the application to be controlled, and obtaining the state information of the application to be controlled in real time. Wherein, the state information includes: the cumulative length of time the application to be managed has run, the application to be managed is being started, the application to be managed is being switched to the front end, the application to be managed is switched to the background, etc.
Further, unlike the common accumulated running time of the application to be managed and controlled APP, the method accumulates the accumulated running time of the application to be managed and controlled running at the front end, and does not include the running time of the APP switched to the background, so that the accumulated running time is more accurate. The method comprises the following specific steps: when the application to be managed is switched to be operated at the front end of the android system, accumulating the operation time of the application to be managed when the front end is operated at the time; and accumulating the running time to the accumulated running time corresponding to the application to be controlled. It is easy to understand that a table may be created in advance, and the accumulated running time of each application per day is counted to obtain the status information of each application. When receiving an instruction for starting controlling the application to be controlled, the accumulated running time length is matched with a preset controlling rule to judge whether controlling is needed or not.
The matching module 610 is configured to match the state information with a preset control rule;
Specifically, according to the obtained state information, matching the content in the state information with a preset control rule, if the matching is successful, the application to be controlled needs to be controlled. The above-mentioned control rules are usually set by parents, who can set the control rules on the child's mobile terminal operation interface, preferably set and update the control rules on the parent's mobile phone bound to the child's mobile terminal. If the management and control rule is set on the mobile phone of the parent, the management and control APP obtains the management and control rule when in operation and updates the management and control rule stored locally. The specific content of the control rule is not limited, and the name of the application program package needing to be controlled can be simply set so that the application program cannot be used; complex rules may also be set, such as how long a certain application is limited to use per day, the period of use of the application, etc.
Preferably, the control levels are set as described above, and the control levels are different, and accordingly, the set control rules are also different. For example, for applications in forbidden categories, when acquiring the state information of the application to be managed is: when an application is started and is switched from a background to a front end, the application is controlled so that the application cannot be used; for the application of the management and control type, when the acquired state information of the application to be managed and controlled is: and if the accumulated running time of the application to be controlled exceeds a set time threshold, the current time belongs to a forbidden time period of the application to be controlled, and the like, controlling the application so that the application cannot be used.
The floating window display module 620 is configured to detect a right for displaying the floating window, and if the right is provided, display the floating window;
Specifically, based on the fact that the permission management software is integrated on the basis of part of Android intelligent terminal models, the application is not given permission to use the floating window by default, so that the floating window cannot be popped up during running, even program breakdown occurs, and the floating window application cannot be normally used. Therefore, the invention firstly acquires the authority for displaying the floating window, and if the acquisition is successful, the floating window is displayed.
And the interception interface display module 630 is configured to display an interception interface, and set the interception interface as a front end interface of the mobile terminal running the application to be managed.
Specifically, although the suspension window is at the upper layer of the application, the interface of the application to be controlled can be covered, but the application to be controlled cannot be completely intercepted, the application to be controlled is only invisible, the application to be controlled belongs to the front-end application, and the application to be controlled still runs, and even sounds and the like generated when the application to be controlled runs can still be heard. Therefore, in order to make interception efficient and full-version universal, the invention adopts the method that an interception interface (activity) is popped up after a suspension window is displayed, and the suspension window can realize timely interception of user operation application to be controlled before the interception interface is displayed after a Home key is pressed, and after the interception interface is displayed, a background application is changed into a front-end application, and the application to be controlled is changed into a background application, so that the aim of being incapable of using the application to be controlled is fulfilled.
According to the invention, the interception interface is displayed on the mobile terminal before the floating window is closed, and the background service is lifted to the foreground service, so that the continuous control effect on the controlled application is realized. When the aim of stopping using the application to be controlled is needed, the invention displays the interception interface on the front end interface of the mobile terminal, and the interception interface can display preset warning characters or pictures and the like, so that children can know that the current application is controlled at a glance and stop continuously using the control application.
Furthermore, as the android system defaults to display a plurality of interfaces, namely a split screen mode, on the interface of the mobile terminal, the mobile terminal can simultaneously display a plurality of applications on the front end, and a user can simultaneously interact with the plurality of applications. Therefore, the display mode of the interception interface is preset in the configuration list corresponding to the interception interface to be in a mode of being incapable of splitting, so that only the current interception interface can be displayed on the top-layer interface of the mobile terminal, the fact that the controlled application can still be used due to splitting is prevented, only the display size of the interface is shortened due to phase change, and the control effect is not achieved.
Specifically, in this embodiment, specific functions of each module of the android application management and control apparatus may refer to corresponding descriptions in the android application management and control method, which are not described herein again.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a functional block diagram thereof may be shown in fig. 4. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. The processor of the intelligent terminal is used for providing computing and control capabilities. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and android application management and control programs. The internal memory provides an environment for the operating system and android application management and control programs in the non-volatile storage medium to run. The network interface of the intelligent terminal is used for communicating with an external terminal through network connection. The android application control program is executed by the processor to realize the steps of any one of the android application control methods. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the schematic block diagram shown in fig. 4 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the smart terminal to which the present inventive arrangements are applied, and that a particular smart terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, an intelligent terminal is provided, where the intelligent terminal includes a memory, a processor, and an android application management program stored on the memory and executable on the processor, and the android application management program when executed by the processor performs the following operation instructions:
monitoring an application to be controlled and obtaining state information of the application to be controlled;
Matching the state information with a preset control rule;
If the matching is successful, the following steps are executed:
detecting the authority for displaying the floating window, and displaying the floating window if the authority is provided;
displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores an android application control program, and when the android application control program is executed by a processor, the steps of any one of the android application control methods provided by the embodiment of the invention are realized.
It should be understood that the sequence number of each step in the above embodiment does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiment of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units described above is merely a logical function division, and may be implemented in other manners, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of each method embodiment may be implemented. The computer program comprises computer program code, and the computer program code can be in a source code form, an object code form, an executable file or some intermediate form and the like. The computer readable medium may include: any entity or device capable of carrying the computer program code described above, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. The content of the computer readable storage medium can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions are not intended to depart from the spirit and scope of the various embodiments of the invention, which are also within the spirit and scope of the invention.

Claims (7)

1. The android application management and control method is characterized by being applied to an android system, and comprises the following steps:
monitoring an application to be controlled and obtaining state information of the application to be controlled;
Matching the state information with a preset control rule, and if the matching is successful, executing the following steps:
Detecting the permission for displaying a floating window, and displaying the floating window if the permission is provided, wherein the floating window is used for intercepting the user to operate the application to be controlled before the interception interface pops up, and the content displayed by the floating window is the same as the content displayed by the interception interface;
displaying an interception interface, and setting the interception interface as a front-end interface of the mobile terminal running the application to be managed and controlled;
The detecting the authority for displaying the floating window comprises the following steps:
Detecting whether the suspended window is authorized to be opened or not; if the permission is not provided, a semitransparent permission opening interface is displayed to prompt a user to open the permission;
Further comprises: presetting a display mode of the interception interface as a mode incapable of splitting a screen in a configuration list corresponding to the interception interface;
when the floating window is started, another thread channel is used to start the interception interface.
2. The android application management and control method of claim 1, wherein the monitoring an application to be managed to obtain state information of the application to be managed comprises:
When the application to be managed and controlled is operated at the front end of the android system, accumulating the operation time of the application to be managed and controlled;
Accumulating the running time to the accumulated running time corresponding to the application to be managed;
and outputting the accumulated operation duration.
3. The android application management method of claim 1, wherein said displaying a floating window further comprises:
Acquiring an android version of the mobile terminal;
based on the android version, the floating window is set to be a different type of floating window.
4. The android application management method of claim 1, further comprising: the matching the state information with a preset control rule comprises the following steps:
acquiring the control level of the application to be controlled;
and if the control level is in a forbidden class and the state information is in starting, outputting successful matching.
5. Android application management and control device, characterized in that it comprises:
The state information acquisition module is used for monitoring the application to be controlled and acquiring the state information of the application to be controlled;
The matching module is used for matching the state information with a preset control rule;
The suspension window display module is used for detecting the authority for displaying the suspension window, and displaying the suspension window if the authority is provided, wherein the suspension window is used for intercepting the user to operate the application to be controlled before the interception interface pops up, and the content displayed by the suspension window is the same as the content displayed by the interception interface; the detecting the authority for displaying the floating window comprises the following steps: detecting whether the suspended window is authorized to be opened or not; if the permission is not provided, a semitransparent permission opening interface is displayed to prompt a user to open the permission;
Further comprises: presetting a display mode of the interception interface as a mode incapable of splitting a screen in a configuration list corresponding to the interception interface;
the interception interface display module is used for displaying an interception interface and setting the interception interface as a front end interface of the mobile terminal running the application to be managed and controlled;
when the floating window is started, another thread channel is used to start the interception interface.
6. The intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and an android application control program stored on the memory and capable of running on the processor, wherein the android application control program realizes the steps of the android application control method according to any one of claims 1-4 when being executed by the processor.
7. Computer readable storage medium, characterized in that it has stored thereon an android application control program, which when executed by a processor implements the steps of the android application control method according to any of claims 1-4.
CN202210289894.5A 2022-03-23 2022-03-23 Android application management and control method and device, intelligent terminal and storage medium Active CN114629989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210289894.5A CN114629989B (en) 2022-03-23 2022-03-23 Android application management and control method and device, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210289894.5A CN114629989B (en) 2022-03-23 2022-03-23 Android application management and control method and device, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114629989A CN114629989A (en) 2022-06-14
CN114629989B true CN114629989B (en) 2024-05-17

Family

ID=81904513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210289894.5A Active CN114629989B (en) 2022-03-23 2022-03-23 Android application management and control method and device, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114629989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086471B (en) * 2022-07-22 2022-11-18 北京云客数智科技有限公司 Method and system for preventing mobile phone from sending by mistake

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077178A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Management method and electronic device
CN105812575A (en) * 2016-05-05 2016-07-27 绿网天下(福建)网络科技股份有限公司 Method for performing management and control of mobile phone through APP
CN106201548A (en) * 2016-07-22 2016-12-07 惠州Tcl移动通信有限公司 The control method of a kind of mobile terminal key event and system
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN107122186A (en) * 2017-04-25 2017-09-01 努比亚技术有限公司 The management method and managing device of suspended window
CN108334345A (en) * 2017-08-14 2018-07-27 广东欧珀移动通信有限公司 Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
WO2020015656A1 (en) * 2018-07-17 2020-01-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal and permission management method and device for application program
WO2020052471A1 (en) * 2018-09-14 2020-03-19 中兴通讯股份有限公司 Method and apparatus for detecting application to be managed, method and apparatus for controlling application, terminal, and storage medium
CN111083280A (en) * 2018-10-18 2020-04-28 朱德全 Method for realizing deep matching of management and application of mobile phone of minor
CN111736931A (en) * 2019-03-25 2020-10-02 青岛海信移动通信技术股份有限公司 Application display interface interception method and terminal
CN113867831A (en) * 2021-09-08 2021-12-31 深圳Tcl新技术有限公司 Intelligent device control method, intelligent device, storage medium and electronic device
CN114003324A (en) * 2021-09-30 2022-02-01 华为技术有限公司 Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647373A (en) * 2019-09-20 2020-01-03 北京小米移动软件有限公司 Application page intercepting method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077178A (en) * 2013-03-29 2014-10-01 纬创资通股份有限公司 Management method and electronic device
CN105812575A (en) * 2016-05-05 2016-07-27 绿网天下(福建)网络科技股份有限公司 Method for performing management and control of mobile phone through APP
CN106201548A (en) * 2016-07-22 2016-12-07 惠州Tcl移动通信有限公司 The control method of a kind of mobile terminal key event and system
CN106648779A (en) * 2016-12-26 2017-05-10 竞技世界(北京)网络技术有限公司 Intelligent terminal floating window permission setting method
CN107122186A (en) * 2017-04-25 2017-09-01 努比亚技术有限公司 The management method and managing device of suspended window
CN108334345A (en) * 2017-08-14 2018-07-27 广东欧珀移动通信有限公司 Applied program processing method, device, readable storage medium storing program for executing and mobile terminal
WO2020015656A1 (en) * 2018-07-17 2020-01-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal and permission management method and device for application program
WO2020052471A1 (en) * 2018-09-14 2020-03-19 中兴通讯股份有限公司 Method and apparatus for detecting application to be managed, method and apparatus for controlling application, terminal, and storage medium
CN111083280A (en) * 2018-10-18 2020-04-28 朱德全 Method for realizing deep matching of management and application of mobile phone of minor
CN111736931A (en) * 2019-03-25 2020-10-02 青岛海信移动通信技术股份有限公司 Application display interface interception method and terminal
CN113867831A (en) * 2021-09-08 2021-12-31 深圳Tcl新技术有限公司 Intelligent device control method, intelligent device, storage medium and electronic device
CN114003324A (en) * 2021-09-30 2022-02-01 华为技术有限公司 Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment

Also Published As

Publication number Publication date
CN114629989A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US7930762B1 (en) Systems and methods for automated media filtering
US6631409B1 (en) Method and apparatus for monitoring a communications system
CN105117320B (en) Electric terminal middle pipe ought to method and its electric terminal
CN107797841B (en) Window control method and device, terminal equipment and storage medium
CN114629989B (en) Android application management and control method and device, intelligent terminal and storage medium
CN108712559B (en) Disturbance-free method, system, terminal equipment and computer readable storage medium
CN105320880B (en) The control method and device of terminal
CN109634479A (en) Notification information processing method, equipment, storage medium and device under full frame state
CN106127030A (en) A kind of interface control method and device
CN113709310B (en) Anti-addiction system and anti-addiction method based on time strategy
CN106446670A (en) Application management method and device and electronic equipment
CN111259421A (en) Privacy authority anti-disclosure processing method and device, electronic equipment and storage medium
CN106873894A (en) The eye care method and device of a kind of electronic equipment
CN107766103A (en) A kind of terminal control method and device, terminal and readable storage medium storing program for executing
CN110868693A (en) Application program flow control method, terminal device and storage medium
CN105743981B (en) Monitoring method, monitoring terminal and monitoring system
CN107247539A (en) A kind of information displaying method and device, computer installation and readable storage medium storing program for executing
EP3079048A1 (en) Scene mode switching method, device and mobile terminal
CN110928600A (en) Cleaning method and device for terminal background application, mobile terminal and electronic equipment
CN107172490B (en) Safe operation control method and system for set top box application program
CN109756539B (en) Screen capture control method and related equipment
CN106778231A (en) A kind of application security management method realized in Android system
CN110445935A (en) Upper network protection method and online protective device
CN113986190A (en) Application processing method and device and electronic equipment
CN108536506A (en) A kind of application state management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant