CN106250223B - Background process management method and terminal equipment - Google Patents

Background process management method and terminal equipment Download PDF

Info

Publication number
CN106250223B
CN106250223B CN201610614670.1A CN201610614670A CN106250223B CN 106250223 B CN106250223 B CN 106250223B CN 201610614670 A CN201610614670 A CN 201610614670A CN 106250223 B CN106250223 B CN 106250223B
Authority
CN
China
Prior art keywords
background process
target
target background
terminal equipment
started
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
CN201610614670.1A
Other languages
Chinese (zh)
Other versions
CN106250223A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610614670.1A priority Critical patent/CN106250223B/en
Priority to PCT/CN2016/103986 priority patent/WO2018018772A1/en
Publication of CN106250223A publication Critical patent/CN106250223A/en
Application granted granted Critical
Publication of CN106250223B publication Critical patent/CN106250223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • 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/55Detecting local intrusion or implementing counter-measures
    • 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/55Detecting local intrusion or implementing counter-measures
    • G06F21/554Detecting local intrusion or implementing counter-measures involving event detection and direct action
    • 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/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/034Test or assess a computer or a system

Abstract

The embodiment of the invention relates to the technical field of terminals, and discloses a background process management method and terminal equipment. Wherein, the method comprises the following steps: the terminal equipment selects a target background process from currently running background processes; the target background process is an unnecessary or malicious background process; the terminal equipment stops the target background process; and the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started. By implementing the embodiment of the invention, unnecessary and malicious background processes in the terminal equipment can be frozen, the memory, the electric quantity and the data flow of the terminal equipment are saved, and the personal information and the privacy data of a user are prevented from being stolen.

Description

Background process management method and terminal equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a background process management method and terminal equipment.
Background
With the development of terminal technology, terminal devices such as smart phones, tablet computers, notebook computers, and Personal Digital Assistants (PDAs) have become widely popular, and people are used to perform daily activities such as entertainment, communication, and office activities. When the terminal equipment is used, the application program in the terminal equipment can be operated in a foreground, and can also be operated in a background by utilizing a background process under the condition that a user does not find the application program. Although some background processes are used to acquire real-time data to provide more comprehensive and timely services to users, the background processes may occupy memory, consume power and data traffic of terminal devices, even monitor screen operations, and steal personal information and private data of users without being realized by the users. Therefore, how to manage the background process becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a background process management method and terminal equipment, which can freeze unnecessary and malicious background processes in the terminal equipment, save the memory, the electric quantity and the data flow of the terminal equipment, and avoid the personal information and the privacy data of a user from being stolen.
The first aspect of the embodiments of the present invention discloses a background process management method, including:
the terminal equipment selects a target background process from currently running background processes; wherein the target background process is an unnecessary or malicious background process;
the terminal equipment enables the target background process to stop running;
and the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started.
As an optional implementation manner, the sending, by the terminal device, a freeze instruction to the target background process to close and disable the target background process, includes:
the terminal equipment judges whether the target background process is allowed to be frozen or not according to the priority of the target background process;
and if the target background process is allowed to be frozen, the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started.
As an optional implementation manner, the selecting, by the terminal device, a target background process from currently running background processes includes:
the terminal equipment judges whether the current state is converted from a power-off state to a power-on state; if the current state is changed from the power-off state to the power-on state, the terminal equipment selects the target background process from the currently running background processes; alternatively, the first and second electrodes may be,
the terminal equipment receives an operation instruction of searching for a freezable background process by a user, and selects the target background process from the currently running background processes according to the operation instruction; alternatively, the first and second electrodes may be,
the terminal equipment monitors whether a new background process is started or not; and if the new background process is started, the terminal equipment selects the target background process from the currently running background processes.
As an optional implementation manner, the selecting, by the terminal device, a target background process from currently running background processes includes:
the terminal equipment selects a background process in the background process list in the currently running background process as the target background process according to a freezable background process list preset by a user; alternatively, the first and second electrodes may be,
and the terminal equipment selects the background process which is evaluated as a non-essential or malicious process by the security software in the currently running background process as the target background process according to the evaluation of the security software in the terminal equipment on the background process.
As an optional implementation, the method further comprises:
the terminal equipment monitors whether an application program depending on the target background process is started or not;
and if the application program depending on the target background process is started, the terminal equipment sends a prompt message to a user to inquire whether the user unfreezes the target background process.
A second aspect of the embodiments of the present invention discloses a terminal device, including:
the screening unit is used for selecting a target background process from currently running background processes; wherein the target background process is an unnecessary or malicious background process;
a termination unit, configured to stop running the target background process;
and the first sending unit is used for sending a freezing instruction to the target background process so that the target background process is closed and cannot be started.
As an optional implementation, the first sending unit includes:
the first judgment subunit is configured to judge whether the target background process is allowed to be frozen according to the priority of the target background process;
and the sending subunit is configured to send a freeze instruction to the target background process when the target background process is allowed to be frozen, so that the target background process is closed and cannot be started.
As an optional implementation, the screening unit includes:
the second judging subunit is used for judging whether the power-off state is converted into the power-on state currently; the first screening subunit is used for selecting the target background process from the currently running background processes when the power-off state is converted into the power-on state; alternatively, the first and second electrodes may be,
the receiving subunit is used for receiving an operation instruction of searching a freezable background process by a user; the second screening subunit is used for selecting the target background process from the currently running background processes according to the operation instruction; alternatively, the first and second electrodes may be,
the monitoring subunit is used for monitoring whether a new background process is started; and the third screening subunit is used for selecting the target background process from the currently running background processes when a new background process is started.
As an optional implementation manner, the screening unit is specifically configured to select, according to a freezable background process list preset by a user, a background process in the background process list from the currently running background processes as the target background process; alternatively, the first and second electrodes may be,
specifically, the method is used for selecting the background process which is evaluated as the unnecessary or malicious process by the security software in the currently running background process as the target background process according to the evaluation of the security software in the terminal device on the background process.
As an optional implementation manner, the terminal device further includes:
the monitoring unit is used for monitoring whether an application program depending on the target background process is started;
and the second sending unit is used for sending a prompt message to the user when the application program depending on the target background process is started so as to inquire whether the user unfreezes the target background process.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, terminal equipment selects a target background process from currently running background processes; wherein the target background process is an unnecessary or malicious background process; the terminal equipment enables the target background process to stop running; and the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started. Therefore, by implementing the embodiment of the invention, unnecessary and malicious background processes can be frozen and cannot be started, so that the functions of saving memory, saving electric quantity and data flow and avoiding the personal information and private data of a user from being stolen are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a background process management method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another background process management method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal device disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 background process management method and terminal equipment, which can freeze an unnecessary and malicious background process to be incapable of being started, thereby saving memory, electric quantity and data flow and avoiding personal information and private data of a user from being stolen. The details will be described below.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a background process management method according to an embodiment of the present invention. The background process management method shown in fig. 1 may include the following steps:
101. the terminal equipment selects a target background process from currently running background processes; and the target background process is an unnecessary or malicious background process.
In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a palm pc, a tablet pc, a Personal Digital Assistant (PDA), a point of sale (POS), or the like, and the following description of the embodiment of the present invention is omitted.
In the embodiment of the invention, in order to save the memory, the electric quantity and the data flow of the terminal equipment, unnecessary or malicious background processes can be screened from the currently running background processes on the terminal equipment, and the background processes are frozen to be closed and cannot be started. The malicious background process refers to a background process which can steal personal information and private data of a user by monitoring operations such as screen actions and keyboard input. The unnecessary background process refers to a background process corresponding to software or functions which are used by a user with extremely low frequency or even never used, such as a background process with a remote control function, a background process with a notebook of the system, a background process with a system search function, and the like. Such as a background process of the system search function, which is generally run by default as a power-on, i.e., registration event, however, the system search function is generally used less frequently by users and, therefore, may be considered frozen.
However, due to the difference in usage habits of users, some functions may be used very frequently, and users often use the functions due to personal habits. For the situation, the user can manually set the frozen background process list, so that the background process with the frequently-used function is prevented from being frozen.
In the embodiment of the invention, the terminal equipment can select some special moments to screen the background process which is currently running. As an optional implementation manner, the terminal device determines whether the current state is switched from the power-off state to the power-on state, and selects a target background process from currently running background processes if the current state is switched from the power-off state to the power-on state.
As an optional implementation manner, the terminal device receives an operation instruction for searching for a freezable background process by a user, and selects a target background process from currently running background processes according to the operation instruction.
As an optional implementation manner, the terminal device monitors whether a new background process is started, and selects a target background process from currently running background processes if the new background process is started.
In the embodiment of the invention, a user can preset the freezable background process list according to personal use habits, and the background process corresponding to the application and the function which are used at extremely low frequency or even unused is recorded into the freezable background process list. As an optional implementation manner, the terminal device monitors whether a new background process is started, and if the new background process is started, selects a background process in a background process list in the currently running background process as a target background process according to a freezable background process list preset by a user.
In the embodiment of the invention, the terminal equipment can also select the background process which evaluates the security software in the currently running background process as a non-essential or malicious process as the target background process according to the evaluation of the security software in the terminal equipment on the background process.
Preferably, in the android system, the background process may be a background service process. The background service process is derived from the service component, and the service component has the characteristics of background running, no operation interface and the like, can continuously update data and visible activities in the background, and can trigger the notification. For example, the functions of recording or other monitoring when a music player continuously plays in the background and makes a call can be realized by the service component. Thus, it is necessary to determine the background service process as the target background process, so as to freeze it.
102. And the terminal equipment stops the target background process from running.
In the embodiment of the invention, after the terminal device screens out the target background process (namely the background process needing to be frozen), the background process stops running, and data and logs are stored so as to prevent the data loss caused by forcibly closing the background process.
103. And the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started.
In the embodiment of the invention, after stopping the target background process to be frozen, the terminal equipment stores data and logs, and then sends a freezing instruction to the target background process, the target background process carries out closing operation according to the freezing instruction, and modifies corresponding parameters into non-startable state until the target background process can be started normally after being thawed.
In the method shown in fig. 1, the terminal device may screen the currently running background processes when the terminal device is just started or a new background process appears, where the terminal device may screen the background processes that need to be frozen in the currently running background processes according to a freezable background process list preset by a user or an evaluation of the background processes by security software. After the background process needing to be frozen is selected, the terminal equipment stops the background process and sends a freezing instruction to the background process to enable the background process to be closed and not started. Therefore, by implementing the method, the unnecessary and malicious background process can be frozen and cannot be started, so that the functions of saving the memory, saving the electric quantity and the data flow and avoiding the personal information and the private data of the user from being stolen are achieved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another background process management method according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
201. the terminal equipment selects a target background process from currently running background processes; and the target background process is an unnecessary or malicious background process.
In the embodiment of the invention, in order to save the memory, the electric quantity and the data flow of the terminal equipment, unnecessary or malicious background processes can be screened from the currently running background processes on the terminal equipment, and the background processes are frozen to be closed and cannot be started. The malicious background process refers to a background process which can steal personal information and private data of a user by monitoring operations such as screen actions and keyboard input. The unnecessary background process refers to a background process corresponding to software or functions which are used by a user with extremely low frequency or even never used, such as a background process with a remote control function, a background process with a notebook of the system, a background process with a system search function, and the like. Such as a background process of the system search function, which is generally run by default as a power-on, i.e., registration event, however, the system search function is generally used less frequently by users and, therefore, may be considered frozen.
However, due to the difference in usage habits of users, some functions may be used very frequently, and users often use the functions due to personal habits. For the situation, the user can manually set the frozen background process list, so that the background process with the frequently-used function is prevented from being frozen.
In the embodiment of the invention, the terminal equipment can select some special moments to screen the background process which is currently running. As an optional implementation manner, the terminal device determines whether the current state is switched from the power-off state to the power-on state, and selects a target background process from currently running background processes if the current state is switched from the power-off state to the power-on state.
As an optional implementation manner, the terminal device receives an operation instruction for searching for a freezable background process by a user, and selects a target background process from currently running background processes according to the operation instruction.
As an optional implementation manner, the terminal device monitors whether a new background process is started, and selects a target background process from currently running background processes if the new background process is started.
In the embodiment of the invention, a user can preset the freezable background process list according to personal use habits, and the background process corresponding to the application and the function which are used at extremely low frequency or even unused is recorded into the freezable background process list. As an optional implementation manner, the terminal device monitors whether a new background process is started, and if the new background process is started, selects a background process in a background process list in the currently running background process as a target background process according to a freezable background process list preset by a user.
In the embodiment of the invention, the terminal equipment can also select the background process which evaluates the security software in the currently running background process as a non-essential or malicious process as the target background process according to the evaluation of the security software in the terminal equipment on the background process.
Preferably, in the android system, the background process may be a background service process. The background service process is derived from the service component, and the service component has the characteristics of background running, no operation interface and the like, can continuously update data and visible activities in the background, and can trigger the notification. For example, the functions of recording or other monitoring when a music player continuously plays in the background and makes a call can be realized by the service component. Thus, it is necessary to determine the background service process as the target background process, so as to freeze it.
202. And the terminal equipment stops the target background process from running.
In the embodiment of the invention, after the terminal device screens out the target background process (namely the background process needing to be frozen), the background process stops running, and data and logs are stored so as to prevent the data loss caused by forcibly closing the background process.
203. And the terminal equipment judges whether the target background process is allowed to be frozen or not according to the priority of the target background process.
In the embodiment of the invention, the background processes running in the system all have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied. The essential basic functions in the system generally have high priority, such as a task manager, key input monitoring and the like, and some applications also set higher priority for their own background processes in order to ensure their own operating quality. If the background process with the high priority is frozen, the normal use of the terminal equipment is probably influenced, so that the terminal equipment judges the priority of the target background process, and if the priority is high, the background process is judged not to be allowed to be frozen; if the priority is normal, the background process is judged to be allowed to be frozen.
204. And if the target background process is allowed to be frozen, the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started.
In the embodiment of the invention, after stopping the target background process to be frozen, the terminal equipment stores data and logs, and then sends a freezing instruction to the target background process, the target background process carries out closing operation according to the freezing instruction, and modifies corresponding parameters into non-startable state until the target background process can be started normally after being thawed.
205. The terminal equipment monitors whether an application program depending on a target background process is started.
In the embodiment of the invention, the terminal equipment freezes on the level of the process, and when a user operates the application from the terminal equipment, the user cannot find whether one or more processes corresponding to the application are frozen, so that trouble can be caused to the user using the application in the terminal equipment. Therefore, the terminal device needs to monitor whether an application dependent on a target background process (frozen background process) is started, and if so, the terminal device needs to ask whether the user unfreezes the background process to ensure normal use of the application.
206. And if the application program depending on the target background process is started, the terminal equipment sends a prompt message to the user to inquire whether the user unfreezes the target background process.
In the embodiment of the invention, when the terminal device monitors that the application program depending on the frozen background process is started, a prompt message is sent to the user to inquire whether the user unfreezes the background process or not so as to enable the application program to be normally used.
In the method described in fig. 2, the terminal device may screen out the background process that needs to be frozen from the currently running background processes according to a freezable background process list preset by the user or evaluation of the background process by the security software, then stop the background process, and send a freeze instruction to the background process to shut down the background process and disable starting. After the background process is frozen, if the application program depending on the background process is monitored to be started, a prompt message is sent to a user to inquire whether the background process needs to be unfrozen or not, so that the application program can be normally used. Therefore, by implementing the method, the unnecessary and malicious background process can be frozen and cannot be started, so that the functions of saving the memory, saving the electric quantity and the data flow and avoiding the personal information and the private data of the user from being stolen are achieved. In addition, the terminal equipment can prompt the user to unfreeze the background process in time, so that the normal use of the application program which the user wants to use is not influenced.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 3, the terminal device may include:
a screening unit 301, configured to select a target background process from currently running background processes; the target background process is an unnecessary or malicious background process;
in the embodiment of the invention, in order to save the memory, the electric quantity and the data flow of the terminal equipment, unnecessary or malicious background processes can be screened from the currently running background processes on the terminal equipment, and the background processes are frozen to be closed and cannot be started. The malicious background process refers to a background process which can steal personal information and private data of a user by monitoring operations such as screen actions and keyboard input. The unnecessary background process refers to a background process corresponding to software or functions which are used by a user with extremely low frequency or even never used, such as a background process with a remote control function, a background process with a notebook of the system, a background process with a system search function, and the like. Such as a background process of the system search function, which is generally run by default as a power-on, i.e., registration event, however, the system search function is generally used less frequently by users and, therefore, may be considered frozen.
However, due to the difference in usage habits of users, some functions may be used very frequently, and users often use the functions due to personal habits. For the situation, the user can manually set the frozen background process list, so that the background process with the frequently-used function is prevented from being frozen.
In this embodiment of the present invention, the screening unit 301 may select some special times to screen the currently running background process. As an optional implementation manner, the screening unit 301 determines whether the current state is converted from the power-off state to the power-on state, and selects a target background process from currently running background processes if the current state is converted from the power-off state to the power-on state.
As an optional implementation manner, the screening unit 301 receives an operation instruction for a user to search for a freezable background process, and selects a target background process from currently running background processes according to the operation instruction.
As an optional implementation manner, the screening unit 301 monitors whether a new background process is started, and selects a target background process from currently running background processes if the new background process is started.
In the embodiment of the invention, a user can preset the freezable background process list according to personal use habits, and the background process corresponding to the application and the function which are used at extremely low frequency or even unused is recorded into the freezable background process list. As an optional implementation manner, the screening unit 301 monitors whether a new background process is started, and if the new background process is started, selects a background process in a background process list from currently running background processes as a target background process according to a freezable background process list preset by a user.
In this embodiment of the present invention, the screening unit 301 may further select, as the target background process, a background process in which the security software in the currently running background process is evaluated as an unnecessary or malicious process according to the evaluation of the security software in the terminal device on the background process.
Preferably, in the android system, the background process may be a background service process. The background service process is derived from the service component, and the service component has the characteristics of background running, no operation interface and the like, can continuously update data and visible activities in the background, and can trigger the notification. For example, the functions of recording or other monitoring when a music player continuously plays in the background and makes a call can be realized by the service component. Thus, it is necessary to determine the background service process as the target background process, so as to freeze it.
A termination unit 302, configured to stop the target background process;
in the embodiment of the present invention, after the screening unit 301 screens out a target background process (i.e., a background process that needs to be frozen), the terminating unit 302 stops the background process from running, and stores data and logs to prevent data loss caused by forcibly closing the background process.
A first sending unit 303, configured to send a freeze instruction to the target background process, so that the target background process is turned off and cannot be started.
In the embodiment of the present invention, after the termination unit 302 stops the target background process to be frozen, the data and the log are saved, then the first sending unit 303 sends a freezing instruction to the target background process, the target background process performs a closing operation according to the freezing instruction, and modifies the corresponding parameter to be unable to start until the target background process can be started normally after being thawed.
In the terminal device shown in fig. 3, the screening unit 301 may screen the currently running background process when the terminal device is just started or a new background process appears, where the screening unit 301 may screen the background process that needs to be frozen in the currently running background process according to a freezable background process list preset by a user or an evaluation of the background process by security software. After the background process to be frozen is selected, the terminating unit 302 stops the background process, and the first sending unit 303 sends a freezing instruction to the background process, so that the background process is closed and cannot be started. Therefore, by utilizing the terminal equipment, unnecessary and malicious background processes can be frozen and cannot be started, so that the functions of saving memory, saving electric quantity and data flow and avoiding the personal information and private data of a user from being stolen are achieved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. Wherein, the terminal device shown in fig. 4 is obtained by optimizing the terminal device shown in fig. 3, and compared with the terminal device shown in fig. 3, the terminal device shown in fig. 4 further includes:
a monitoring unit 304, configured to monitor whether an application dependent on the target background process is started.
In the embodiment of the invention, the terminal equipment freezes on the level of the process, and when a user operates the application from the terminal equipment, the user cannot find whether one or more processes corresponding to the application are frozen, so that trouble can be caused to the user using the application in the terminal equipment. Therefore, the monitoring unit 304 needs to monitor whether an application that depends on the target background process (the frozen background process) is started, and if so, the user needs to be asked whether to unfreeze the background process to ensure the normal use of the application.
A second sending unit 305, configured to send a prompt message to the user to ask the user whether to unfreeze the target background process when an application dependent on the target background process is started.
In this embodiment of the present invention, when the monitoring unit 304 detects that an application program that depends on a frozen background process is started, the second sending unit 305 sends a prompt message to the user to inquire whether the user unfreezes the background process, so that the application program can be used normally.
As an optional implementation, the first sending unit 303 includes:
a first determining subunit 3031, configured to determine, according to the priority of the target background process, whether the target background process is allowed to be frozen.
In the embodiment of the invention, the background processes running in the system all have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied. The essential basic functions in the system generally have high priority, such as a task manager, key input monitoring and the like, and some applications also set higher priority for their own background processes in order to ensure their own operating quality. If the background process with the high priority is frozen, the normal use of the terminal device is likely to be affected, so that the first judgment subunit 3031 judges the priority of the target background process, and if the priority is high, the judgment is made that the background process is not allowed to be frozen; if the priority is normal, the background process is judged to be allowed to be frozen.
A sending subunit 3032, configured to send a freeze instruction to the target background process when the target background process is allowed to be frozen, so that the target background process is closed and cannot be started.
As an optional implementation, the screening unit 301 includes:
a second judging subunit 3011, configured to judge whether the current power-off state is converted into a power-on state; a first screening subunit 3012, configured to, when the power-off state is converted into the power-on state, select a target background process from currently running background processes; alternatively, the first and second electrodes may be,
a receiving subunit 3013, configured to receive an operation instruction for a user to search for a freezable background process; the second screening subunit 3014 is configured to select a target background process from currently running background processes according to the operation instruction; alternatively, the first and second electrodes may be,
a monitoring subunit 3015, configured to monitor whether a new background process is started; and a third screening subunit 3016, configured to, when a new background process is started, select a target background process from currently running background processes.
In the terminal device described in fig. 4, the terminal device may screen out a background process that needs to be frozen from currently running background processes according to a freezable background process list preset by a user or evaluation of the background process by security software, then stop the background process, and send a freeze instruction to the background process to shut down the background process and disable starting. After freezing the background process, if the monitoring unit 304 monitors that an application program dependent on the background process is started, the second sending unit 305 sends a prompt message to the user to inquire whether the background process needs to be thawed, so that the application program can be normally used. Therefore, by implementing the method, the unnecessary and malicious background process can be frozen and cannot be started, so that the functions of saving the memory, saving the electric quantity and the data flow and avoiding the personal information and the private data of the user from being stolen are achieved. In addition, the terminal equipment can prompt the user to unfreeze the background process in time, so that the normal use of the application program which the user wants to use is not influenced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. As shown in fig. 5, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal digital assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: a Radio Frequency (RF) circuit 501, a memory 502, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a wireless fidelity (WiFi) module 507, a processor 508, and a power supply 509. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 508; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 503 may include a touch panel 5031 and other input devices 5032. The touch panel 5031, also called a touch screen, can collect a touch operation performed by a user on or near the touch panel 5031 (e.g., an operation performed by the user on or near the touch panel 5031 by using any suitable object or accessory such as a finger or a stylus pen), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 5031 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, the touch panel 5031 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 503 may include other input devices 5032 in addition to the touch panel 5031. In particular, other input devices 5032 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 504 may include a display panel 5041, and optionally, the display panel 5041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-emitting diode (OLED), or the like. Further, the touch panel 5031 can cover the display panel 5041, and when the touch panel 5031 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 508 to determine the type of the touch event, and then the processor 508 provides a corresponding visual output on the display panel 5041 according to the type of the touch event. Although the touch panel 5031 and the display panel 5041 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 5041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5041 and/or backlight when the phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 506, speaker 5061, and microphone 5062 may provide an audio interface between the user and the handset. The audio circuit 506 may transmit the electrical signal converted from the received audio data to the speaker 5061, and convert the electrical signal into an audio signal by the speaker 5061 and output the audio signal; on the other hand, the microphone 5062 converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to, for example, another cellular phone via the RF circuit 501, or output to the memory 502 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the mobile phone. Alternatively, processor 508 may include one or more processing units; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The handset also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system, so that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the terminal device. Wherein both the application layer and the operating system kernel can be viewed as components of the abstracted architecture of the processor 508.
In an embodiment of the present invention, the processor 508, by calling the program code stored in the memory 502, is configured to perform the following operations:
selecting a target background process from currently running background processes; the target background process is an unnecessary or malicious background process;
stopping the target background process;
and sending a freezing instruction to the target background process to enable the target background process to be closed and not started.
As an alternative embodiment, the processor 508, by calling the program code stored in the memory 502, is further configured to:
monitoring whether an application program depending on the target background process is started;
and if the application program depending on the target background process is started, sending a prompt message to the user to inquire whether the user unfreezes the target background process.
In the terminal device shown in fig. 5, the processor 508 may filter the currently running background processes by calling the program codes stored in the memory 502 when the terminal device is just started or when a new background process appears, where the terminal device may filter the background processes that need to be frozen from the currently running background processes according to a freezable background process list preset by a user or an evaluation of the background processes by security software. After the background process needing to be frozen is selected, the terminal equipment stops the background process and sends a freezing instruction to the background process to enable the background process to be closed and not started. Therefore, by utilizing the terminal equipment, unnecessary and malicious background processes can be frozen and cannot be started, so that the functions of saving memory, saving electric quantity and data flow and avoiding the personal information and private data of a user from being stolen are achieved.
It should be noted that, in the terminal device embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, those skilled in the art will appreciate that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions associated with a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (CD-ROM), or other disk Memory, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A background process management method is characterized by comprising the following steps:
the terminal equipment monitors whether a new background process is started or not;
if a new background process is started, the terminal equipment selects a target background process from the currently running background processes; wherein the target background process is an unnecessary or malicious background process;
the terminal equipment enables the target background process to stop running;
the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started;
the terminal equipment monitors whether an application program depending on the target background process is started or not;
and if the application program depending on the target background process is started, the terminal equipment sends a prompt message to a user to inquire whether the user unfreezes the target background process.
2. The method of claim 1, wherein the terminal device sending a freeze instruction to the target background process to cause the target background process to close and not start comprises:
the terminal equipment judges whether the target background process is allowed to be frozen or not according to the priority of the target background process;
and if the target background process is allowed to be frozen, the terminal equipment sends a freezing instruction to the target background process so that the target background process is closed and cannot be started.
3. The method of claim 1, wherein the selecting, by the terminal device, a target background process from currently running background processes comprises:
the terminal equipment selects a background process in the background process list in the currently running background process as the target background process according to a freezable background process list preset by a user; alternatively, the first and second electrodes may be,
and the terminal equipment selects the background process which is evaluated as a non-essential or malicious process by the security software in the currently running background process as the target background process according to the evaluation of the security software in the terminal equipment on the background process.
4. A terminal device, comprising:
the monitoring subunit is used for monitoring whether a new background process is started;
the screening unit is used for selecting a target background process from the currently running background processes when a new background process is started; wherein the target background process is an unnecessary or malicious background process;
a termination unit, configured to stop running the target background process;
a first sending unit, configured to send a freeze instruction to the target background process, so that the target background process is closed and cannot be started;
the monitoring unit is used for monitoring whether an application program depending on the target background process is started;
and the second sending unit is used for sending a prompt message to the user when the application program depending on the target background process is started so as to inquire whether the user unfreezes the target background process.
5. The terminal device according to claim 4, wherein the first sending unit comprises:
the first judgment subunit is configured to judge whether the target background process is allowed to be frozen according to the priority of the target background process;
and the sending subunit is configured to send a freeze instruction to the target background process when the target background process is allowed to be frozen, so that the target background process is closed and cannot be started.
6. The terminal device of claim 4,
the screening unit is specifically configured to select a background process in the background process list from the currently running background processes as the target background process according to a freezable background process list preset by a user; alternatively, the first and second electrodes may be,
specifically, the method is used for selecting the background process which is evaluated as the unnecessary or malicious process by the security software in the currently running background process as the target background process according to the evaluation of the security software in the terminal device on the background process.
CN201610614670.1A 2016-07-28 2016-07-28 Background process management method and terminal equipment Active CN106250223B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610614670.1A CN106250223B (en) 2016-07-28 2016-07-28 Background process management method and terminal equipment
PCT/CN2016/103986 WO2018018772A1 (en) 2016-07-28 2016-10-31 Background process management method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610614670.1A CN106250223B (en) 2016-07-28 2016-07-28 Background process management method and terminal equipment

Publications (2)

Publication Number Publication Date
CN106250223A CN106250223A (en) 2016-12-21
CN106250223B true CN106250223B (en) 2020-01-10

Family

ID=57606083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610614670.1A Active CN106250223B (en) 2016-07-28 2016-07-28 Background process management method and terminal equipment

Country Status (2)

Country Link
CN (1) CN106250223B (en)
WO (1) WO2018018772A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845218A (en) * 2016-12-22 2017-06-13 山东华软金盾软件股份有限公司 A kind of word auditing method of mobile device
CN106781094A (en) * 2016-12-29 2017-05-31 北京安天网络安全技术有限公司 A kind of ATM system resource exception warning system and method
CN107066320B (en) * 2017-01-19 2021-06-15 努比亚技术有限公司 Android process freezing and unfreezing device and method
CN106951318A (en) * 2017-03-24 2017-07-14 联想(北京)有限公司 The management method and electronic equipment of a kind of electronic equipment background process
CN107479952A (en) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 background process management method, device, storage medium and electronic equipment
CN108287760B (en) * 2017-08-08 2021-02-19 珠海市魅族科技有限公司 Terminal device control method and device, terminal device and computer readable storage medium
CN108021220A (en) * 2017-10-25 2018-05-11 努比亚技术有限公司 A kind of terminal applies control method, terminal and computer-readable recording medium
CN109992402B (en) 2017-12-29 2021-07-09 Oppo广东移动通信有限公司 Memory processing method and device, electronic equipment and computer readable storage medium
CN112714907B (en) * 2018-11-08 2023-08-11 深圳市欢太科技有限公司 Method and device for filtering during application freezing and electronic equipment
CN115113946A (en) * 2021-03-17 2022-09-27 广东小天才科技有限公司 Method and device for optimizing starting of camera
CN113655937A (en) * 2021-08-10 2021-11-16 维沃移动通信(杭州)有限公司 Application management method and device, electronic equipment and readable storage medium
CN114428546B (en) * 2022-01-25 2024-04-09 惠州Tcl移动通信有限公司 Background application cleaning method and device, storage medium and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN105302566A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Process optimizing method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8176555B1 (en) * 2008-05-30 2012-05-08 Symantec Corporation Systems and methods for detecting malicious processes by analyzing process names and process characteristics
CN101963919A (en) * 2009-07-24 2011-02-02 鸿富锦精密工业(深圳)有限公司 Progress management system
CN102253863B (en) * 2011-06-15 2017-05-03 奇智软件(北京)有限公司 Method for closing processes
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104199669A (en) * 2014-09-12 2014-12-10 北京奇虎科技有限公司 Method and device for managing application program processes
CN105159776A (en) * 2015-08-03 2015-12-16 中科创达软件股份有限公司 Process handling method and apparatus
CN105302566A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Process optimizing method and system

Also Published As

Publication number Publication date
WO2018018772A1 (en) 2018-02-01
CN106250223A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106250223B (en) Background process management method and terminal equipment
CN109213539B (en) Memory recovery method and device
CN107272872B (en) Power saving control method and related product
CN108604265B (en) Method for offline managing application program use time and terminal equipment
CN106445596B (en) Method and device for managing setting items
CN108900231B (en) Dynamic antenna adjustment method and related product
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN108834132B (en) Data transmission method and equipment and related medium product
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN108255683B (en) Method for prompting message in terminal and terminal
CN110430592B (en) Network control method and related product
CN107592615B (en) Positioning method and device
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
WO2018018704A1 (en) Application program freezing method and terminal device
CN106095566B (en) Response control method and mobile terminal
CN112286286B (en) Standby control method, wearable device and computer readable storage medium
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN106454953B (en) Flow control method, device and terminal
CN107040658B (en) Mobile terminal and method and device for controlling screen thereof
CN106598656B (en) Mobile terminal and forbidden application starting method and device thereof
CN106815078B (en) Memory control method and equipment
CN110277097B (en) Data processing method and related equipment
CN109375995B (en) Application freezing method and device, storage medium and electronic equipment
CN109068000B (en) Sensor control method, mobile terminal, and computer-readable storage medium
CN110891262A (en) Bluetooth pairing method, system and terminal equipment

Legal Events

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