+

WO2018018772A1 - Background process management method and terminal device - Google Patents

Background process management method and terminal device Download PDF

Info

Publication number
WO2018018772A1
WO2018018772A1 PCT/CN2016/103986 CN2016103986W WO2018018772A1 WO 2018018772 A1 WO2018018772 A1 WO 2018018772A1 CN 2016103986 W CN2016103986 W CN 2016103986W WO 2018018772 A1 WO2018018772 A1 WO 2018018772A1
Authority
WO
WIPO (PCT)
Prior art keywords
background process
terminal device
target
target background
started
Prior art date
Application number
PCT/CN2016/103986
Other languages
French (fr)
Chinese (zh)
Inventor
胡绩强
钟焰涛
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018018772A1 publication Critical patent/WO2018018772A1/en

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
    • 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
    • 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

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a background process management method and a terminal device.
  • terminal devices such as smart phones, tablets, notebook computers and personal digital assistants (PDAs) have been widely used, and people have become accustomed to using these terminal devices for entertainment, communication or office. Daily activities.
  • the application in the terminal device can use the background process to run in the background without the user's detection, in addition to being able to run in the foreground.
  • some background processes are used to obtain real-time data to provide users with more comprehensive and timely services, the background process may occupy memory when the user is not aware of it, consume power and data traffic of the terminal device, and even monitor the screen operation. , stealing personal information and privacy data of users. Therefore, how to manage the background process becomes an urgent problem to be solved.
  • the embodiment of the invention provides a background process management method and a terminal device, which can freeze unnecessary and malicious background processes in the terminal device, save memory, power and data traffic of the terminal device, and prevent the user's personal information and private data from being stolen. .
  • a first aspect of the embodiments of the present invention discloses a background process management method, including:
  • the terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
  • the terminal device stops the target background process from running
  • the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  • the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started, including:
  • the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  • the terminal device selects a target background process from a currently running background process, including:
  • the terminal device determines whether the current state is switched from the power-off state to the power-on state; if the current state is changed from the power-off state to the power-on state, the terminal device selects the target background process from the currently running background process; or
  • the terminal device receives an operation instruction that the user searches for a freezeable background process, and selects the target background process from the currently running background process according to the operation instruction; or
  • the terminal device monitors whether a new background process is started; if a new background process is started, the terminal device selects the target background process from the currently running background process.
  • the terminal device selects a target background process from a currently running background process, including:
  • the terminal device selects, as the target background process, the background process in the background process list in the currently running background process according to the freezeable background process list preset by the user; or
  • the terminal device selects, as the target background process, a background process in which the security software is evaluated as a non-essential or malicious process in the currently running background process according to the evaluation of the background process by the security software in the terminal device.
  • the method further includes:
  • the terminal device monitors whether an application that is dependent on the target background process is started
  • the terminal device sends a prompt message to the user to ask the user whether to unfreeze the target background process.
  • a second aspect of the embodiment of the present invention discloses a terminal device, including:
  • a filtering unit configured to select a target background process from a currently running background process; wherein the target background process is a non-essential or malicious background process;
  • Terminating the unit set to stop the target background process from running
  • the first sending unit is configured to send a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  • the first sending unit includes:
  • a first determining subunit configured to determine, according to a priority of the target background process, whether the target background process is allowed to be frozen
  • 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.
  • the screening unit includes:
  • a second determining subunit configured to determine whether the current state is switched from a power off state to a power on state; the first screening subunit is configured to select the current background process from the current running background process when the state is changed from the power off state to the power on state Target background process; or,
  • a receiving subunit configured to receive an operation instruction that the user searches for a freezeable background process
  • the second screening subunit is configured to select the target background process from the currently running background process according to the operation instruction
  • the monitoring subunit is configured to monitor whether a new background process is started; the third screening subunit is configured to select the target background process from the currently running background process when a new background process is started.
  • the filtering unit is specifically configured to: select, according to a freezeable background process list preset by the user, a background process in the background process list in the currently running background process.
  • the target background process or,
  • it is configured to select, according to the evaluation of the background process by the security software in the terminal device, a background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process as the target background process.
  • the terminal device further includes:
  • a monitoring unit configured to monitor whether an application that is dependent on the target background process is started
  • the second sending unit is configured to send a prompt message to the user to ask the user whether to unfreeze the target background process when an application that depends on the target background process is started.
  • the terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process; the terminal device stops the target background process from running; The terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started. It can be seen that the implementation of the embodiment of the present invention can prevent unnecessary and malicious background processes from being frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
  • FIG. 1 is a schematic flowchart of a background process management method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another background process management method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
  • the embodiment of the invention provides a background process management method and a terminal device, which can prevent unnecessary and malicious background processes from being frozen and cannot be started, thereby saving memory, saving power and data traffic, and avoiding personal information and privacy of users. The role of data being stolen. Let's take a detailed explanation.
  • FIG. 1 is a schematic flowchart diagram of 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:
  • the terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process.
  • the terminal device may be a smart phone, a smart watch, a palmtop computer, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), etc. Do not repeat.
  • a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started.
  • the above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like.
  • the above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc.
  • the background process of the system search function the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
  • the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
  • the terminal device may select some special moments to filter the currently running background process.
  • the terminal device determines whether the current state is changed from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background process.
  • the terminal device receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
  • the terminal device monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background process.
  • the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes.
  • the terminal device monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background process according to the preset freezeable background process list preset by the user. The background process in the list is selected as the target background process.
  • the terminal device may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
  • the terminal device stops the foregoing target background process from running.
  • the terminal device filters out the target background process (that is, the background process to be frozen), the background process stops running, and the data and the log are saved, so as to prevent the background process from being forcibly closed to cause data loss.
  • the target background process that is, the background process to be frozen
  • the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  • the terminal device stops the target background process to be frozen
  • the data and the log are saved, and then the freeze command is sent to the target background process, and the target background process performs the shutdown operation according to the freeze instruction, and the corresponding parameter is modified.
  • the terminal device may filter the currently running background process when the device is just started or when a new background process occurs, wherein the terminal device may be based on a freezeable background process list or a security software pair preset by the user.
  • the evaluation of the background process filters out the background processes that need to be frozen in the currently running background process.
  • the terminal device stops the background process, sends a freeze instruction to the background process, and causes it to be closed and cannot be started. It can be seen that the implementation of the method can make the unnecessary and malicious background processes freeze and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
  • FIG. 2 is a schematic flowchart diagram of another background process management method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • the terminal device selects a target background process from a currently running background process, where the target background process is a non-essential or malicious background process.
  • a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started.
  • the above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like.
  • the above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc.
  • the background process of the system search function the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
  • the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
  • the terminal device may select some special moments to filter the currently running background process.
  • the terminal device determines whether the current state is changed from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background process.
  • the terminal device receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
  • the terminal device monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background process.
  • the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes.
  • the terminal device monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background process according to the preset freezeable background process list preset by the user. The background process in the list is selected as the target background process.
  • the terminal device may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
  • the terminal device stops the foregoing target background process from running.
  • the terminal device filters out the target background process (that is, the background process to be frozen), the background process stops running, and the data and the log are saved, so as to prevent the background process from being forcibly closed to cause data loss.
  • the target background process that is, the background process to be frozen
  • the terminal device determines, according to the priority of the target background process, whether the target background process is allowed to be frozen.
  • the background processes running in the system have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied.
  • the basic functions necessary in the system generally have high priority, such as task manager, key input monitoring, etc., and some applications set a higher priority for their own background processes in order to ensure their own running quality. If the background process with high priority is frozen, it may affect the normal use of the terminal device. Therefore, the terminal device determines the priority of the target background process. If the priority is high, it determines that the background process is not allowed to be frozen. If the priority is normal, it is determined that the background process is allowed to be frozen.
  • the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  • the terminal device stops the target background process to be frozen
  • the data and the log are saved, and then the freeze command is sent to the target background process, and the target background process performs the shutdown operation according to the freeze instruction, and the corresponding parameter is modified.
  • the terminal device monitors whether an application that depends on the target background process starts.
  • the terminal device performs freezing on the process level.
  • the user When the user operates the application from the terminal device, the user cannot find whether one or more processes corresponding to the application have been frozen, and thus may use the terminal for the user.
  • the application in the device is bothered. Therefore, the terminal device needs to monitor whether there is an application startup that depends on the target background process (the frozen background process), and if so, ask the user whether to unfreeze the background process to ensure the normal use of the application.
  • the terminal device sends a prompt message to the user to ask the user whether to unfreeze the target background process.
  • a prompt message is sent to the user to ask the user whether to unfreeze the background process, so that the application can be used normally.
  • the terminal device may filter the background process to be frozen in the currently running background process according to the freezeable background process list preset by the user or the evaluation of the security process by the security software, and then stop the background process. , sends a freeze instruction to the background process, causing it to close and fail to start.
  • a freeze instruction to the background process, causing it to close and fail to start.
  • a prompt message is sent to the user to ask whether the background process is to be thawed, so that the application can be used normally.
  • the terminal device can prompt the user to unfreeze the background process in time, so as not to affect the normal use of the application that the user wants to use.
  • FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device may include:
  • the filtering unit 301 is configured to select a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
  • a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started.
  • the above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like.
  • the above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc.
  • the background process of the system search function the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
  • the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
  • the screening unit 301 may select some special moments to filter the currently running background processes.
  • the filtering unit 301 determines whether the current state is converted from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background processes.
  • the filtering unit 301 receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
  • the filtering unit 301 monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background processes.
  • the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes.
  • the filtering unit 301 monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background according to the preset freezeable background process list preset by the user. The background process in the process list is selected as the target background process.
  • the screening unit 301 may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
  • the termination unit 302 is set to stop the target background process from running
  • the termination unit 302 stops the background process and saves data and logs, so as to prevent the background process from being forcibly closed to cause data loss.
  • the first sending unit 303 is configured to send a freeze instruction to the target background process so that the target background process is closed and cannot be started.
  • the termination unit 302 stops the target background process to be frozen
  • the data and the log are saved, and then the first sending unit 303 sends a freeze instruction to the target background process, and the target background process performs the shutdown operation according to the freeze instruction. And modify the corresponding parameters to not start, until the target background process is thawed, it can start normally.
  • the filtering unit 301 may filter the currently running background process when the network process is started or when a new background process occurs, where the filtering unit 301 may be based on a list of freezeable background processes preset by the user or
  • the security software evaluates the background process to filter out the background processes that need to be frozen in the currently running background process.
  • the termination unit 302 stops the background process, and the first sending unit 303 sends a freeze instruction to the background process to turn it off and cannot be started. It can be seen that with the terminal device, unnecessary and malicious background processes can be frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
  • FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device shown in FIG. 4 is optimized by the terminal device shown in FIG. 3. Compared with the terminal device shown in FIG. 3, the terminal device shown in FIG.
  • the monitoring unit 304 is configured to monitor whether there is an application launch dependent on the target background process.
  • the terminal device performs freezing on the process level.
  • the user When the user operates the application from the terminal device, the user cannot find whether one or more processes corresponding to the application have been frozen, and thus may use the terminal for the user.
  • the application in the device is bothered. Therefore, the monitoring unit 304 needs to monitor whether there is an application startup that depends on the target background process (the frozen background process), and if so, ask the user whether to unfreeze the background process to ensure the normal use of the application.
  • the second sending unit 305 is configured to send a prompt message to the user to ask whether the user unfreezes the target background process when an application dependent on the target background process is started.
  • the second sending unit 305 when the monitoring unit 304 detects that an application that depends on the frozen background process is started, the second sending unit 305 sends a prompt message to the user to ask the user whether to unfreeze the background process, so that the application is enabled.
  • the program can be used normally.
  • the first sending unit 303 includes:
  • the first judging subunit 3031 is configured to determine whether the target background process is allowed to be frozen according to the priority of the target background process.
  • the background processes running in the system have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied.
  • the basic functions necessary in the system generally have high priority, such as task manager, key input monitoring, etc., and some applications set a higher priority for their own background processes in order to ensure their own running quality. If the background process with high priority is frozen, it is likely to affect the normal use of the terminal device. Therefore, the first determining sub-unit 3031 determines the priority of the target background process. If the priority is high, it is determined that the background process is not allowed. It is frozen; if the priority is normal, it is judged that the background process is allowed to be frozen.
  • the sending subunit 3032 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.
  • the screening unit 301 includes:
  • the second judging subunit 3011 is configured to determine whether the current state is switched from the power-off state to the power-on state; the first screening sub-unit 3012 is configured to select the target background from the currently running background process when the state is switched from the power-off state to the power-on state. Process; or,
  • the receiving subunit 3013 is configured to receive an operation instruction that the user searches for a freezeable background process; the second screening subunit 3014 is configured to select the target background process from the currently running background process according to the operation instruction; or
  • the monitoring sub-unit 3015 is configured to monitor whether a new background process is started.
  • the third filtering sub-unit 3016 is configured to select a target background process from the currently running background process when a new background process is started.
  • the terminal device may filter the background process to be frozen in the currently running background process according to the freezeable background process list set by the user or the evaluation of the security process by the security software, and then stop the background process.
  • the process sends a freeze instruction to the background process, causing it to shut down and fail to start.
  • the monitoring unit 304 detects that an application dependent on the background process is started, the second sending unit 305 sends a prompt message to the user to ask whether the background process is to be thawed, so that the application can be normal. use.
  • the implementation of the method can make the unnecessary and malicious background processes freeze and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
  • the terminal device can prompt the user to unfreeze the background process in time, so as not to affect the normal use of the application that the user wants to use.
  • FIG. 5 is a schematic structural diagram of still another terminal device according to an 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), an in-vehicle computer, and the terminal is a mobile phone as an example:
  • FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention.
  • the mobile phone 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, and a processor 508. And power supply 509 and other components.
  • RF radio frequency
  • the RF circuit 501 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 508 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • 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.
  • the RF circuit 501 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • the memory 502 can be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 502 can include high speed random access memory, and can 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 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 503 can include a touch panel 5031 and other input devices 5032.
  • the touch panel 5031 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 5031 or near the touch panel 5031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 5031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 508 is provided and can receive commands from the processor 508 and execute them.
  • the touch panel 5031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 503 may also include other input devices 5032.
  • other input devices 5032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 504 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 504 can include a display panel 5041.
  • the display panel 5041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 5031 can cover the display panel 5041. After the touch panel 5031 detects a touch operation thereon or nearby, the touch panel 5031 transmits to the processor 508 to determine the type of the touch event, and then the processor 508 according to the touch event. The type provides a corresponding visual output on display panel 5041.
  • touch panel 5031 and the display panel 5041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 5, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 505, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 5041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 5041 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can be configured on mobile phones are no longer used here. Narration.
  • the audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061.
  • the microphone 5062 converts the collected sound signal into an electrical signal, and the audio circuit 506 is used by the audio circuit 506. After receiving, it is converted into audio data, and then processed by the audio data output processor 508, transmitted to the other mobile phone via the RF circuit 501, or outputted to the memory 502 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 507, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 507, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 508 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 502, and invoking data stored in the memory 502, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 508 may include one or more processing units; preferably, the processor 508 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 508.
  • the handset also includes a power source 509 (such as a battery) that supplies power to the various components.
  • a power source 509 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 508 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the terminal device.
  • Both the application layer and the operating system kernel can be considered as part of the abstraction structure of the processor 508.
  • the processor 508 performs the following operations by calling program code stored in the memory 502:
  • target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
  • a freeze instruction is sent to the target background process described above so that the target background process is closed and cannot be started.
  • processor 508 is further configured to perform the following operations by calling program code stored in the memory 502:
  • a prompt message is sent to the user to ask the user whether to unfreeze the target background process.
  • the processor 508 can filter the currently running background process at the time of startup or when a new background process occurs by calling the program code stored in the memory 502, wherein the terminal device can be based on the user. Pre-set the list of freezeable background processes or the evaluation of the background process by the security software to filter out the background processes that need to be frozen in the currently running background process. After selecting the background process to be frozen, the terminal device stops the background process, sends a freeze instruction to the background process, and causes it to be closed and cannot be started. It can be seen that with the terminal device, unnecessary and malicious background processes can be frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
  • each unit included is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented;
  • the names are also for convenience of distinction from each other and are not intended to limit the scope of protection of the present invention.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention relate to the technical field of terminals. Disclosed are a background process management method and a terminal device. The method comprises: a terminal device selects a target background process from currently running background processes, the target background process being an unnecessary or malicious background process; the terminal device enables the target background process to stop running; and the terminal device sends a freezing instruction to the target background process, such that the target background process is closed and cannot be started. By implementing the embodiments of the present invention, unnecessary and malicious background processes in a terminal device can be frozen, such that the internal storage, electric quantity, and data flow of the terminal device are saved, and personal information and private data of a user are prevented from being stolen.

Description

一种后台进程管理方法及终端设备Background process management method and terminal device
本申请要求于2016年7月28日提交中国专利局,申请号为201610614670.1、发明名称为“一种后台进程管理方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610614670.1, entitled "Backstage Process Management Method and Terminal Equipment", filed on July 28, 2016, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种后台进程管理方法及终端设备。The present invention relates to the field of terminal technologies, and in particular, to a background process management method and a terminal device.
背景技术Background technique
随着终端技术的发展,智能手机、平板电脑、笔记本电脑和个人数字助理(Personal Digital Assistant,PDA)等终端设备已得到广泛的普及,人们已习惯利用这些终端设备来进行娱乐、交流或办公等日常活动。在使用终端设备时,终端设备中的应用程序除了可以前台运行以外,还可以利用后台进程在用户没有发觉的情况下进行后台运行。虽然有些后台进程是为了获取实时的数据,以向用户提供更全面、及时的服务,但后台进程可能在用户未意识到的情况下占用内存,消耗终端设备的电量和数据流量,甚至监听屏幕操作,窃取用户的个人信息和隐私数据。因此,如何对后台进程进行管理,成为一个亟待解决的问题。With the development of terminal technologies, terminal devices such as smart phones, tablets, notebook computers and personal digital assistants (PDAs) have been widely used, and people have become accustomed to using these terminal devices for entertainment, communication or office. Daily activities. When the terminal device is used, the application in the terminal device can use the background process to run in the background without the user's detection, in addition to being able to run in the foreground. Although some background processes are used to obtain real-time data to provide users with more comprehensive and timely services, the background process may occupy memory when the user is not aware of it, consume power and data traffic of the terminal device, and even monitor the screen operation. , stealing personal information and privacy data of users. Therefore, how to manage the background process becomes an urgent problem to be solved.
发明内容Summary of the invention
本发明实施例提供了一种后台进程管理方法及终端设备,可以冻结终端设备中非必须和恶意的后台进程,节省终端设备内存、电量和数据流量,并且避免用户的个人信息和隐私数据被窃取。The embodiment of the invention provides a background process management method and a terminal device, which can freeze unnecessary and malicious background processes in the terminal device, save memory, power and data traffic of the terminal device, and prevent the user's personal information and private data from being stolen. .
本发明实施例第一方面公开了一种后台进程管理方法,包括:A first aspect of the embodiments of the present invention discloses a background process management method, including:
终端设备从当前运行的后台进程中选出目标后台进程;其中,所述目标后台进程为非必须或恶意后台进程;The terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
所述终端设备使所述目标后台进程停止运行;The terminal device stops the target background process from running;
所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。The terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
作为一种可选的实施方式,所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动,包括:As an optional implementation manner, the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started, including:
所述终端设备根据所述目标后台进程的优先级判断所述目标后台进程是否允许被冻结;Determining, by the terminal device, whether the target background process is allowed to be frozen according to a priority of the target background process;
若所述目标后台进程允许被冻结,则所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。If the target background process is allowed to be frozen, the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
作为一种可选的实施方式,所述终端设备从当前运行的后台进程中选出目标后台进程,包括:As an optional implementation manner, the terminal device selects a target background process from a currently running background process, including:
所述终端设备判断当前是否由关机状态转换为开机状态;若当前为由关机状态转换为开机状态,则所述终端设备从所述当前运行的后台进程中选出所述目标后台进程;或者,The terminal device determines whether the current state is switched from the power-off state to the power-on state; if the current state is changed from the power-off state to the power-on state, the terminal device selects the target background process from the currently running background process; or
所述终端设备接收用户查找可冻结的后台进程的操作指令,根据所述操作指令从所述当前运行的后台进程中选出所述目标后台进程;或者,The terminal device receives an operation instruction that the user searches for a freezeable background process, and selects the target background process from the currently running background process according to the operation instruction; or
所述终端设备监测是否启动了新的后台进程;若启动了新的后台进程,则所述终端设备从所述当前运行的后台进程中选出所述目标后台进程。The terminal device monitors whether a new background process is started; if a new background process is started, the terminal device selects the target background process from the currently running background process.
作为一种可选的实施方式,所述终端设备从当前运行的后台进程中选出目标后台进程,包括:As an optional implementation manner, the terminal device selects a target background process from a currently running background process, including:
所述终端设备根据用户预设的可冻结后台进程名单,将所述当前运行的后台进程中在所述后台进程名单里的后台进程选为所述目标后台进程;或者,The terminal device selects, as the target background process, the background process in the background process list in the currently running background process according to the freezeable background process list preset by the user; or
所述终端设备根据所述终端设备中安全软件对后台进程的评价,将所述当前运行的后台进程中所述安全软件评价为非必须或恶意进程的后台进程选为所述目标后台进程。The terminal device selects, as the target background process, a background process in which the security software is evaluated as a non-essential or malicious process in the currently running background process according to the evaluation of the background process by the security software in the terminal device.
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
所述终端设备监测是否有依赖于所述目标后台进程的应用程序启动;The terminal device monitors whether an application that is dependent on the target background process is started;
若有依赖于所述目标后台进程的应用程序启动,则所述终端设备向用户发送提示消息,以询问用户是否解冻所述目标后台进程。If an application that depends on the target background process is started, the terminal device sends a prompt message to the user to ask the user whether to unfreeze the target background process.
本发明实施例第二方面公开了一种终端设备,包括:A second aspect of the embodiment of the present invention discloses a terminal device, including:
筛选单元,设置为从当前运行的后台进程中选出目标后台进程;其中,所述目标后台进程为非必须或恶意后台进程;a filtering unit, configured to select a target background process from a currently running background process; wherein the target background process is a non-essential or malicious background process;
终止单元,设置为使所述目标后台进程停止运行;Terminating the unit, set to stop the target background process from running;
第一发送单元,设置为向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。The first sending unit is configured to send a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
作为一种可选的实施方式,所述第一发送单元,包括:As an optional implementation manner, the first sending unit includes:
第一判断子单元,设置为根据所述目标后台进程的优先级判断所述目标后台进程是否允许被冻结;a first determining subunit, configured to determine, according to a priority of the target background process, whether the target background process is allowed to be frozen;
发送子单元,设置为当所述目标后台进程允许被冻结时,向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。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 manner, the screening unit includes:
第二判断子单元,设置为判断当前是否由关机状态转换为开机状态;第一筛选子单元,设置为当由关机状态转换为开机状态时,从所述当前运行的后台进程中选出所述目标后台进程;或者,a second determining subunit, configured to determine whether the current state is switched from a power off state to a power on state; the first screening subunit is configured to select the current background process from the current running background process when the state is changed from the power off state to the power on state Target background process; or,
接收子单元,设置为接收用户查找可冻结的后台进程的操作指令;第二筛选子单元,设置为根据所述操作指令从所述当前运行的后台进程中选出所述目标后台进程;或者,a receiving subunit, configured to receive an operation instruction that the user searches for a freezeable background process; the second screening subunit is configured to select the target background process from the currently running background process according to the operation instruction; or
监测子单元,设置为监测是否启动了新的后台进程;第三筛选子单元,设置为当启动了新的后台进程时,从所述当前运行的后台进程中选出所述目标后台进程。The monitoring subunit is configured to monitor whether a new background process is started; the third screening subunit is configured to select the target background process from the currently running background process when a new background process is started.
作为一种可选的实施方式,所述筛选单元,具体设置为根据用户预设的可冻结后台进程名单,将所述当前运行的后台进程中在所述后台进程名单里的后台进程选为所述目标后台进程;或者,As an optional implementation manner, the filtering unit is specifically configured to: select, according to a freezeable background process list preset by the user, a background process in the background process list in the currently running background process. The target background process; or,
具体设置为根据所述终端设备中安全软件对后台进程的评价,将所述当前运行的后台进程中所述安全软件评价为非必须或恶意进程的后台进程选为所述目标后台进程。Specifically, it is configured to select, according to the evaluation of the background process by the security software in the terminal device, a background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process as the target background process.
作为一种可选的实施方式,所述终端设备还包括:As an optional implementation manner, the terminal device further includes:
监测单元,设置为监测是否有依赖于所述目标后台进程的应用程序启动;a monitoring unit configured to monitor whether an application that is dependent on the target background process is started;
第二发送单元,设置为当有依赖于所述目标后台进程的应用程序启动时,向用户发送提示消息,以询问用户是否解冻所述目标后台进程。The second sending unit is configured to send a prompt message to the user to ask the user whether to unfreeze the target background process when an application that depends on the target background process is started.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,终端设备从当前运行的后台进程中选出目标后台进程;其中,所述目标后台进程为非必须或恶意后台进程;所述终端设备使所述目标后台进程停止运行;所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。由此可见,实施本发明实施例,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。In the embodiment of the present invention, the terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process; the terminal device stops the target background process from running; The terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started. It can be seen that the implementation of the embodiment of the present invention can prevent unnecessary and malicious background processes from being frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本发明实施例公开的一种后台进程管理方法的流程示意图;1 is a schematic flowchart of a background process management method according to an embodiment of the present invention;
图2为本发明实施例公开的另一种后台进程管理方法的流程示意图;2 is a schematic flowchart of another background process management method according to an embodiment of the present invention;
图3为本发明实施例公开的一种终端设备的结构示意图;FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
图4为本发明实施例公开的另一种终端设备的结构示意图;FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure;
图5为本发明实施例公开的又一种终端设备的结构示意图。FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种后台进程管理方法及终端设备,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。一下分别进行详细说明。The embodiment of the invention provides a background process management method and a terminal device, which can prevent unnecessary and malicious background processes from being frozen and cannot be started, thereby saving memory, saving power and data traffic, and avoiding personal information and privacy of users. The role of data being stolen. Let's take a detailed explanation.
请参阅图1,图1是本发明实施例公开的一种后台进程管理方法的流程示意图。其中,图1所示的后台进程管理方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of 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 device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process.
本发明实施例中,上述终端设备可为智能手机、智能手表、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)等,本发明实施例后续不作复述。In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a palmtop computer, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), etc. Do not repeat.
本发明实施例中,为了节省终端设备的内存、电量和数据流量,可以将终端设备上当前运行的后台进程中筛选出非必须或恶意后台进程,将这些后台进程冻结,使其关闭并且不能启动。其中,上述恶意后台进程,是指会通过监听屏幕动作、键盘输入等操作,窃取用户个人信息和隐私数据的后台进程。上述非必须的后台进程是指用户使用频率极低甚至从未使用过的软件或功能所对应的后台进程,如远程控制功能的后台进程、系统自带记事本的后台进程和系统搜索功能的后台进程等。比如系统搜索功能的后台进程,该后台进程一般默认开机即注册事件运行,然而用户普遍较少用到系统搜索功能,因此,该后台进程可以考虑被冻结。In the embodiment of the present invention, in order to save memory, power, and data traffic of the terminal device, a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started. . The above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like. The above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc. For example, the background process of the system search function, the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
不过,由于用户的使用习惯差异,有些功能可能普遍使用频率极低,而用户出于个人习惯却经常使用。针对这种情况,用户可以手动设置可冻结后台进程名单,从而避免冻结自己常使用的功能的后台进程。However, due to differences in user habits, some features may be commonly used at very low frequencies, and users often use them for personal reasons. In this case, the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
本发明实施例中,终端设备可以选择一些特殊的时刻来对当前正在运行的后台进程进行筛选。作为一种可选的实施方式,终端设备判断当前是否由关机状态转换为开机状态,若当前为由关机状态转换为开机状态,则从当前运行的后台进程中选出目标后台进程。In the embodiment of the present invention, the terminal device may select some special moments to filter the currently running background process. As an optional implementation manner, the terminal device determines whether the current state is changed from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background process.
作为一种可选的实施方式,终端设备接收用户查找可冻结的后台进程的操作指令,根据操作指令从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the terminal device receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
作为一种可选的实施方式,终端设备监测是否启动了新的后台进程,若启动了新的后台进程,则从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the terminal device monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background process.
本发明实施例中,用户可以根据个人的使用习惯预设可冻结的后台进程名单,将使用频率极低甚至从未使用过的应用和功能所对应的后台进程记录进可冻结的后台进程名单。作为一种可选的实施方式,终端设备监测是否启动了新的后台进程,若启动了新的后台进程,则根据用户预设的可冻结后台进程名单,将当前运行的后台进程中在后台进程名单里的后台进程选为目标后台进程。In the embodiment of the present invention, the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes. As an optional implementation manner, the terminal device monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background process according to the preset freezeable background process list preset by the user. The background process in the list is selected as the target background process.
本发明实施例中,终端设备还可以根据终端设备中安全软件对后台进程的评价,将当前运行的后台进程中安全软件评价为非必须或恶意进程的后台进程选为目标后台进程。In the embodiment of the present invention, the terminal device may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
102、终端设备使上述目标后台进程停止运行。102. The terminal device stops the foregoing target background process from running.
本发明实施例中,终端设备筛选出目标后台进程(即需冻结的后台进程)后,使该后台进程停止运行,并保存数据和日志,以防强制关闭后台进程造成数据丢失。In the embodiment of the present invention, after the terminal device filters out the target background process (that is, the background process to be frozen), the background process stops running, and the data and the log are saved, so as to prevent the background process from being forcibly closed to cause data loss.
103、终端设备向上述目标后台进程发送冻结指令,以使上述目标后台进程关闭并且不能启动。103. The terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
本发明实施例中,终端设备将需冻结的目标后台进程停止后,保存数据和日志,之后向该目标后台进程发送冻结指令,该目标后台进程根据冻结指令进行关闭操作,并修改对应的参数为不能启动,直到该目标后台进程被解冻后方能正常启动。In the embodiment of the present invention, after the terminal device stops the target background process to be frozen, the data and the log are saved, and then the freeze command is sent to the target background process, and the target background process performs the shutdown operation according to the freeze instruction, and the corresponding parameter is modified. Cannot start until the target background process is thawed and can start normally.
图1所示的方法中,终端设备可以在刚启动时或出现新的后台进程时对当前运行的后台进程进行筛选,其中,终端设备可以根据用户预先设置的可冻结后台进程名单或安全软件对后台进程的评价来筛选出当前运行的后台进程中需冻结的后台进程。在选出需冻结的后台进程后,终端设备停止该后台进程,向该后台进程发送冻结指令,使其关闭并且不能启动。由此可见,实施该方法,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。In the method shown in FIG. 1, the terminal device may filter the currently running background process when the device is just started or when a new background process occurs, wherein the terminal device may be based on a freezeable background process list or a security software pair preset by the user. The evaluation of the background process filters out the background processes that need to be frozen in the currently running background process. After selecting the background process to be frozen, the terminal device stops the background process, sends a freeze instruction to the background process, and causes it to be closed and cannot be started. It can be seen that the implementation of the method can make the unnecessary and malicious background processes freeze and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
请参阅图2,图2是本发明实施例公开的另一种后台进程管理方法的流程示意图。如图2所示,该方法可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another background process management method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
201、终端设备从当前运行的后台进程中选出目标后台进程;其中,上述目标后台进程为非必须或恶意后台进程。201. The terminal device selects a target background process from a currently running background process, where the target background process is a non-essential or malicious background process.
本发明实施例中,为了节省终端设备的内存、电量和数据流量,可以将终端设备上当前运行的后台进程中筛选出非必须或恶意后台进程,将这些后台进程冻结,使其关闭并且不能启动。其中,上述恶意后台进程,是指会通过监听屏幕动作、键盘输入等操作,窃取用户个人信息和隐私数据的后台进程。上述非必须的后台进程是指用户使用频率极低甚至从未使用过的软件或功能所对应的后台进程,如远程控制功能的后台进程、系统自带记事本的后台进程和系统搜索功能的后台进程等。比如系统搜索功能的后台进程,该后台进程一般默认开机即注册事件运行,然而用户普遍较少用到系统搜索功能,因此,该后台进程可以考虑被冻结。In the embodiment of the present invention, in order to save memory, power, and data traffic of the terminal device, a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started. . The above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like. The above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc. For example, the background process of the system search function, the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
不过,由于用户的使用习惯差异,有些功能可能普遍使用频率极低,而用户出于个人习惯却经常使用。针对这种情况,用户可以手动设置可冻结后台进程名单,从而避免冻结自己常使用的功能的后台进程。However, due to differences in user habits, some features may be commonly used at very low frequencies, and users often use them for personal reasons. In this case, the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
本发明实施例中,终端设备可以选择一些特殊的时刻来对当前正在运行的后台进程进行筛选。作为一种可选的实施方式,终端设备判断当前是否由关机状态转换为开机状态,若当前为由关机状态转换为开机状态,则从当前运行的后台进程中选出目标后台进程。In the embodiment of the present invention, the terminal device may select some special moments to filter the currently running background process. As an optional implementation manner, the terminal device determines whether the current state is changed from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background process.
作为一种可选的实施方式,终端设备接收用户查找可冻结的后台进程的操作指令,根据操作指令从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the terminal device receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
作为一种可选的实施方式,终端设备监测是否启动了新的后台进程,若启动了新的后台进程,则从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the terminal device monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background process.
本发明实施例中,用户可以根据个人的使用习惯预设可冻结的后台进程名单,将使用频率极低甚至从未使用过的应用和功能所对应的后台进程记录进可冻结的后台进程名单。作为一种可选的实施方式,终端设备监测是否启动了新的后台进程,若启动了新的后台进程,则根据用户预设的可冻结后台进程名单,将当前运行的后台进程中在后台进程名单里的后台进程选为目标后台进程。In the embodiment of the present invention, the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes. As an optional implementation manner, the terminal device monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background process according to the preset freezeable background process list preset by the user. The background process in the list is selected as the target background process.
本发明实施例中,终端设备还可以根据终端设备中安全软件对后台进程的评价,将当前运行的后台进程中安全软件评价为非必须或恶意进程的后台进程选为目标后台进程。In the embodiment of the present invention, the terminal device may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
202、终端设备使上述目标后台进程停止运行。202. The terminal device stops the foregoing target background process from running.
本发明实施例中,终端设备筛选出目标后台进程(即需冻结的后台进程)后,使该后台进程停止运行,并保存数据和日志,以防强制关闭后台进程造成数据丢失。In the embodiment of the present invention, after the terminal device filters out the target background process (that is, the background process to be frozen), the background process stops running, and the data and the log are saved, so as to prevent the background process from being forcibly closed to cause data loss.
203、终端设备根据目标后台进程的优先级判断目标后台进程是否允许被冻结。203. The terminal device determines, according to the priority of the target background process, whether the target background process is allowed to be frozen.
本发明实施例中,系统中运行的后台进程都有相应的优先级,优先级决定该后台进程何时运行和占用多少CPU时间。系统中必备的基础功能一般具有高优先级,例如任务管理器、按键输入监听等,而有些应用为了保证自身的运行质量,也会给自身的后台进程设置较高的优先级。具有高优先级的后台进程如果被冻结,很可能会影响终端设备的正常使用,因此,终端设备判断目标后台进程的优先级,若优先级为高,则判断该后台进程不允许被冻结;若优先级为普通,则判断该后台进程允许被冻结。In the embodiment of the present invention, the background processes running in the system have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied. The basic functions necessary in the system generally have high priority, such as task manager, key input monitoring, etc., and some applications set a higher priority for their own background processes in order to ensure their own running quality. If the background process with high priority is frozen, it may affect the normal use of the terminal device. Therefore, the terminal device determines the priority of the target background process. If the priority is high, it determines that the background process is not allowed to be frozen. If the priority is normal, it is determined that the background process is allowed to be frozen.
204、若目标后台进程允许被冻结,则终端设备向目标后台进程发送冻结指令,以使目标后台进程关闭并且不能启动。204. If the target background process is allowed to be frozen, the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
本发明实施例中,终端设备将需冻结的目标后台进程停止后,保存数据和日志,之后向该目标后台进程发送冻结指令,该目标后台进程根据冻结指令进行关闭操作,并修改对应的参数为不能启动,直到该目标后台进程被解冻后方能正常启动。In the embodiment of the present invention, after the terminal device stops the target background process to be frozen, the data and the log are saved, and then the freeze command is sent to the target background process, and the target background process performs the shutdown operation according to the freeze instruction, and the corresponding parameter is modified. Cannot start until the target background process is thawed and can start normally.
205、终端设备监测是否有依赖于目标后台进程的应用程序启动。205. The terminal device monitors whether an application that depends on the target background process starts.
本发明实施例中,终端设备在进程的层面上实行冻结,用户从终端设备上对应用进行操作时,不能发现是否该应用对应的一个或多个进程已被冻结,因而可能会给用户使用终端设备中的应用造成困扰。因此,终端设备需监测是否有依赖于目标后台进程(已冻结的后台进程)的应用启动,若有,则需询问用户是否解冻该后台进程,以保证该应用的正常使用。In the embodiment of the present invention, the terminal device performs freezing on the process level. When the user operates the application from the terminal device, the user cannot find whether one or more processes corresponding to the application have been frozen, and thus may use the terminal for the user. The application in the device is bothered. Therefore, the terminal device needs to monitor whether there is an application startup that depends on the target background process (the frozen background process), and if so, ask the user whether to unfreeze the background process to ensure the normal use of the application.
206、若有依赖于目标后台进程的应用程序启动,则终端设备向用户发送提示消息,以询问用户是否解冻目标后台进程。206. If an application that depends on the target background process is started, the terminal device sends a prompt message to the user to ask the user whether to unfreeze the target background process.
本发明实施例中,当终端设备监测到有依赖于已冻结的后台进程的应用程序启动,则向用户发送提示消息,以询问用户是否解冻该后台进程,以使该应用程序可以正常使用。In the embodiment of the present invention, when the terminal device detects that an application that depends on the frozen background process is started, a prompt message is sent to the user to ask the user whether to unfreeze the background process, so that the application can be used normally.
在图2所描述的方法中,终端设备可以根据用户预先设置的可冻结后台进程名单或安全软件对后台进程的评价来筛选出当前运行的后台进程中需冻结的后台进程,之后停止该后台进程,向该后台进程发送冻结指令,使其关闭并且不能启动。在冻结该后台进程后,若监测到有依赖于该后台进程的应用程序启动,则向用户发送提示消息询问是否要解冻该后台进程,以使上述应用程序可以正常使用。由此可见,实施该方法,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。除此以外,终端设备可以提示用户及时解冻后台进程,从而不会影响用户想要使用的应用程序的正常使用。In the method described in FIG. 2, the terminal device may filter the background process to be frozen in the currently running background process according to the freezeable background process list preset by the user or the evaluation of the security process by the security software, and then stop the background process. , sends a freeze instruction to the background process, causing it to close and fail to start. After the background process is frozen, if it is detected that an application dependent on the background process is started, a prompt message is sent to the user to ask whether the background process is to be thawed, so that the application can be used normally. It can be seen that the implementation of the method can make the unnecessary and malicious background processes freeze and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen. In addition, the terminal device can prompt the user to unfreeze the background process in time, so as not to affect the normal use of the application that the user wants to use.
请参阅图3,图3是本发明实施例公开的一种终端设备的结构示意图。如图3所示,该终端设备可以包括: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:
筛选单元301,设置为从当前运行的后台进程中选出目标后台进程;其中,目标后台进程为非必须或恶意后台进程;The filtering unit 301 is configured to select a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
本发明实施例中,为了节省终端设备的内存、电量和数据流量,可以将终端设备上当前运行的后台进程中筛选出非必须或恶意后台进程,将这些后台进程冻结,使其关闭并且不能启动。其中,上述恶意后台进程,是指会通过监听屏幕动作、键盘输入等操作,窃取用户个人信息和隐私数据的后台进程。上述非必须的后台进程是指用户使用频率极低甚至从未使用过的软件或功能所对应的后台进程,如远程控制功能的后台进程、系统自带记事本的后台进程和系统搜索功能的后台进程等。比如系统搜索功能的后台进程,该后台进程一般默认开机即注册事件运行,然而用户普遍较少用到系统搜索功能,因此,该后台进程可以考虑被冻结。In the embodiment of the present invention, in order to save memory, power, and data traffic of the terminal device, a background process that is currently running on the terminal device may be filtered out of unnecessary or malicious background processes, and the background processes are frozen to be closed and cannot be started. . The above malicious background process refers to a background process that steals user personal information and private data by monitoring screen actions, keyboard input and the like. The above-mentioned non-essential background process refers to a background process corresponding to the software or function that the user uses very low frequency or even never used, such as the background process of the remote control function, the background process of the system with the notepad, and the background of the system search function. Process, etc. For example, the background process of the system search function, the background process generally runs the registration event by default, but the user generally uses the system search function less, so the background process can be considered to be frozen.
不过,由于用户的使用习惯差异,有些功能可能普遍使用频率极低,而用户出于个人习惯却经常使用。针对这种情况,用户可以手动设置可冻结后台进程名单,从而避免冻结自己常使用的功能的后台进程。However, due to differences in user habits, some features may be commonly used at very low frequencies, and users often use them for personal reasons. In this case, the user can manually set a background process that can freeze the list of background processes, thereby avoiding freezing the functions that they often use.
本发明实施例中,筛选单元301可以选择一些特殊的时刻来对当前正在运行的后台进程进行筛选。作为一种可选的实施方式,筛选单元301判断当前是否由关机状态转换为开机状态,若当前为由关机状态转换为开机状态,则从当前运行的后台进程中选出目标后台进程。In the embodiment of the present invention, the screening unit 301 may select some special moments to filter the currently running background processes. As an optional implementation manner, the filtering unit 301 determines whether the current state is converted from the power-off state to the power-on state. If the current state is changed from the power-off state to the power-on state, the target background process is selected from the currently running background processes.
作为一种可选的实施方式,筛选单元301接收用户查找可冻结的后台进程的操作指令,根据操作指令从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the filtering unit 301 receives an operation instruction that the user searches for a freezeable background process, and selects a target background process from the currently running background process according to the operation instruction.
作为一种可选的实施方式,筛选单元301监测是否启动了新的后台进程,若启动了新的后台进程,则从当前运行的后台进程中选出目标后台进程。As an optional implementation manner, the filtering unit 301 monitors whether a new background process is started. If a new background process is started, the target background process is selected from the currently running background processes.
本发明实施例中,用户可以根据个人的使用习惯预设可冻结的后台进程名单,将使用频率极低甚至从未使用过的应用和功能所对应的后台进程记录进可冻结的后台进程名单。作为一种可选的实施方式,筛选单元301监测是否启动了新的后台进程,若启动了新的后台进程,则根据用户预设的可冻结后台进程名单,将当前运行的后台进程中在后台进程名单里的后台进程选为目标后台进程。In the embodiment of the present invention, the user may preset a list of freezeable background processes according to the usage habits of the individual, and record the background process corresponding to the application and function whose usage frequency is extremely low or even never used, into the list of freezeable background processes. As an optional implementation manner, the filtering unit 301 monitors whether a new background process is started. If a new background process is started, the currently running background process is in the background according to the preset freezeable background process list preset by the user. The background process in the process list is selected as the target background process.
本发明实施例中,筛选单元301还可以根据终端设备中安全软件对后台进程的评价,将当前运行的后台进程中安全软件评价为非必须或恶意进程的后台进程选为目标后台进程。In the embodiment of the present invention, the screening unit 301 may also select, as the target background process, the background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process according to the evaluation of the background process by the security software in the terminal device.
终止单元302,设置为使目标后台进程停止运行;The termination unit 302 is set to stop the target background process from running;
本发明实施例中,筛选单元301筛选出目标后台进程(即需冻结的后台进程)后,终止单元302使该后台进程停止运行,并保存数据和日志,以防强制关闭后台进程造成数据丢失。In the embodiment of the present invention, after the screening unit 301 filters out the target background process (that is, the background process to be frozen), the termination unit 302 stops the background process and saves data and logs, so as to prevent the background process from being forcibly closed to cause data loss.
第一发送单元303,设置为向目标后台进程发送冻结指令,以使目标后台进程关闭并且不能启动。The first sending unit 303 is configured to send a freeze instruction to the target background process so that the target background process is closed and cannot be started.
本发明实施例中,终止单元302将需冻结的目标后台进程停止后,保存数据和日志,之后第一发送单元303向该目标后台进程发送冻结指令,该目标后台进程根据冻结指令进行关闭操作,并修改对应的参数为不能启动,直到该目标后台进程被解冻后方能正常启动。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, and then the first sending unit 303 sends a freeze instruction to the target background process, and the target background process performs the shutdown operation according to the freeze instruction. And modify the corresponding parameters to not start, until the target background process is thawed, it can start normally.
图3所示的终端设备中,筛选单元301可以在刚启动时或出现新的后台进程时对当前运行的后台进程进行筛选,其中,筛选单元301可以根据用户预先设置的可冻结后台进程名单或安全软件对后台进程的评价来筛选出当前运行的后台进程中需冻结的后台进程。在选出需冻结的后台进程后,终止单元302停止该后台进程,第一发送单元303向该后台进程发送冻结指令,使其关闭并且不能启动。由此可见,利用该终端设备,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。In the terminal device shown in FIG. 3, the filtering unit 301 may filter the currently running background process when the network process is started or when a new background process occurs, where the filtering unit 301 may be based on a list of freezeable background processes preset by the user or The security software evaluates the background process to filter out the background processes that need to be frozen in the currently running background process. After selecting the background process to be frozen, the termination unit 302 stops the background process, and the first sending unit 303 sends a freeze instruction to the background process to turn it off and cannot be started. It can be seen that with the terminal device, unnecessary and malicious background processes can be frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
请一并参阅图4,图4是本发明实施例公开的另一种终端设备的结构示意图。其中,图4所示的终端设备是由图3所示的终端设备进行优化得到的,与图3所示的终端设备相比,图4所示的终端设备还包括:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. The terminal device shown in FIG. 4 is optimized by the terminal device shown in FIG. 3. Compared with the terminal device shown in FIG. 3, the terminal device shown in FIG.
监测单元304,设置为监测是否有依赖于目标后台进程的应用程序启动。The monitoring unit 304 is configured to monitor whether there is an application launch dependent on the target background process.
本发明实施例中,终端设备在进程的层面上实行冻结,用户从终端设备上对应用进行操作时,不能发现是否该应用对应的一个或多个进程已被冻结,因而可能会给用户使用终端设备中的应用造成困扰。因此,监测单元304需监测是否有依赖于目标后台进程(已冻结的后台进程)的应用启动,若有,则需询问用户是否解冻该后台进程,以保证该应用的正常使用。In the embodiment of the present invention, the terminal device performs freezing on the process level. When the user operates the application from the terminal device, the user cannot find whether one or more processes corresponding to the application have been frozen, and thus may use the terminal for the user. The application in the device is bothered. Therefore, the monitoring unit 304 needs to monitor whether there is an application startup that depends on the target background process (the frozen background process), and if so, ask the user whether to unfreeze the background process to ensure the normal use of the application.
第二发送单元305,设置为当有依赖于目标后台进程的应用程序启动时,向用户发送提示消息,以询问用户是否解冻目标后台进程。The second sending unit 305 is configured to send a prompt message to the user to ask whether the user unfreezes the target background process when an application dependent on the target background process is started.
本发明实施例中,当监测单元304监测到有依赖于已冻结的后台进程的应用程序启动,则第二发送单元305向用户发送提示消息,以询问用户是否解冻该后台进程,以使该应用程序可以正常使用。In the embodiment of the present invention, when the monitoring unit 304 detects that an application that depends on the frozen background process is started, the second sending unit 305 sends a prompt message to the user to ask the user whether to unfreeze the background process, so that the application is enabled. The program can be used normally.
作为一种可选的实施方式,第一发送单元303,包括:As an optional implementation manner, the first sending unit 303 includes:
第一判断子单元3031,设置为根据目标后台进程的优先级判断目标后台进程是否允许被冻结。The first judging subunit 3031 is configured to determine whether the target background process is allowed to be frozen according to the priority of the target background process.
本发明实施例中,系统中运行的后台进程都有相应的优先级,优先级决定该后台进程何时运行和占用多少CPU时间。系统中必备的基础功能一般具有高优先级,例如任务管理器、按键输入监听等,而有些应用为了保证自身的运行质量,也会给自身的后台进程设置较高的优先级。具有高优先级的后台进程如果被冻结,很可能会影响终端设备的正常使用,因此,第一判断子单元3031判断目标后台进程的优先级,若优先级为高,则判断该后台进程不允许被冻结;若优先级为普通,则判断该后台进程允许被冻结。In the embodiment of the present invention, the background processes running in the system have corresponding priorities, and the priorities determine when the background processes run and how much CPU time is occupied. The basic functions necessary in the system generally have high priority, such as task manager, key input monitoring, etc., and some applications set a higher priority for their own background processes in order to ensure their own running quality. If the background process with high priority is frozen, it is likely to affect the normal use of the terminal device. Therefore, the first determining sub-unit 3031 determines the priority of the target background process. If the priority is high, it is determined that the background process is not allowed. It is frozen; if the priority is normal, it is judged that the background process is allowed to be frozen.
发送子单元3032,设置为当目标后台进程允许被冻结时,向目标后台进程发送冻结指令,以使目标后台进程关闭并且不能启动。The sending subunit 3032 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.
作为一种可选的实施方式,筛选单元301,包括:As an optional implementation manner, the screening unit 301 includes:
第二判断子单元3011,设置为判断当前是否由关机状态转换为开机状态;第一筛选子单元3012,设置为当由关机状态转换为开机状态时,从当前运行的后台进程中选出目标后台进程;或者,The second judging subunit 3011 is configured to determine whether the current state is switched from the power-off state to the power-on state; the first screening sub-unit 3012 is configured to select the target background from the currently running background process when the state is switched from the power-off state to the power-on state. Process; or,
接收子单元3013,设置为接收用户查找可冻结的后台进程的操作指令;第二筛选子单元3014,设置为根据操作指令从当前运行的后台进程中选出目标后台进程;或者,The receiving subunit 3013 is configured to receive an operation instruction that the user searches for a freezeable background process; the second screening subunit 3014 is configured to select the target background process from the currently running background process according to the operation instruction; or
监测子单元3015,设置为监测是否启动了新的后台进程;第三筛选子单元3016,设置为当启动了新的后台进程时,从当前运行的后台进程中选出目标后台进程。The monitoring sub-unit 3015 is configured to monitor whether a new background process is started. The third filtering sub-unit 3016 is configured to select a target background process from the currently running background process when a new background process is started.
在图4所描述的终端设备中,终端设备可以根据用户预先设置的可冻结后台进程名单或安全软件对后台进程的评价来筛选出当前运行的后台进程中需冻结的后台进程,之后停止该后台进程,向该后台进程发送冻结指令,使其关闭并且不能启动。在冻结该后台进程后,若监测单元304监测到有依赖于该后台进程的应用程序启动,则第二发送单元305向用户发送提示消息询问是否要解冻该后台进程,以使上述应用程序可以正常使用。由此可见,实施该方法,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。除此以外,终端设备可以提示用户及时解冻后台进程,从而不会影响用户想要使用的应用程序的正常使用。In the terminal device described in FIG. 4, the terminal device may filter the background process to be frozen in the currently running background process according to the freezeable background process list set by the user or the evaluation of the security process by the security software, and then stop the background process. The process sends a freeze instruction to the background process, causing it to shut down and fail to start. After the background process is frozen, if the monitoring unit 304 detects that an application dependent on the background process is started, the second sending unit 305 sends a prompt message to the user to ask whether the background process is to be thawed, so that the application can be normal. use. It can be seen that the implementation of the method can make the unnecessary and malicious background processes freeze and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen. In addition, the terminal device can prompt the user to unfreeze the background process in time, so as not to affect the normal use of the application that the user wants to use.
请参阅图5,图5为本发明实施例公开的又一种终端设备的结构示意图。如图5所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention. As shown in FIG. 5, for the convenience of description, only the parts related to the embodiment of the present invention are shown. For the specific technical details not disclosed, please refer to the method part 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), an in-vehicle computer, and the terminal is a mobile phone as an example:
图5示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路501、存储器502、输入单元503、显示单元504、传感器505、音频电路506、无线保真(wireless fidelity,WiFi)模块507、处理器508、以及电源509等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 5, the mobile phone 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, and a processor 508. And power supply 509 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图5对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 5:
RF电路501可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器508处理;另外,将设计上行的数据发送给基站。通常,RF电路501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路501还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access, WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 501 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 508 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, 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 circuit 501 can also communicate with the network and other devices through wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器502可用于存储软件程序以及模块,处理器508通过运行存储在存储器502的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 502 can be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元503可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元503可包括触控面板5031以及其他输入设备5032。触控面板5031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5031上或在触控面板5031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板5031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5031。除了触控面板5031,输入单元503还可以包括其他输入设备5032。具体地,其他输入设备5032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 503 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 503 can include a touch panel 5031 and other input devices 5032. The touch panel 5031, also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 5031 or near the touch panel 5031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 5031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 508 is provided and can receive commands from the processor 508 and execute them. In addition, the touch panel 5031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5031, the input unit 503 may also include other input devices 5032. Specifically, other input devices 5032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元504可包括显示面板5041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode, OLED)等形式来配置显示面板5041。进一步的,触控面板5031可覆盖显示面板5041,当触控面板5031检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板5041上提供相应的视觉输出。虽然在图5中,触控面板5031与显示面板5041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板5031与显示面板5041集成而实现手机的输入和输出功能。The display unit 504 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 504 can include a display panel 5041. Alternatively, the display panel 5041 can 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. After the touch panel 5031 detects a touch operation thereon or nearby, the touch panel 5031 transmits to the processor 508 to determine the type of the touch event, and then the processor 508 according to the touch event. The type provides a corresponding visual output on display panel 5041. Although the touch panel 5031 and the display panel 5041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 5, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板5041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 5041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 5041 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can be configured on mobile phones are no longer used here. Narration.
音频电路506、扬声器5061,传声器5062可提供用户与手机之间的音频接口。音频电路506可将接收到的音频数据转换后的电信号,传输到扬声器5061,由扬声器5061转换为声音信号输出;另一方面,传声器5062将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经RF电路501以发送给比如另一手机,或者将音频数据输出至存储器502以便进一步处理。The audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the mobile phone. The audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061. On the other hand, the microphone 5062 converts the collected sound signal into an electrical signal, and the audio circuit 506 is used by the audio circuit 506. After receiving, it is converted into audio data, and then processed by the audio data output processor 508, transmitted to the other mobile phone via the RF circuit 501, or outputted to the memory 502 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块507,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 507, which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 507, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器508是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器508可包括一个或多个处理单元;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 502, and invoking data stored in the memory 502, executing The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 508 may include one or more processing units; preferably, the processor 508 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 508.
手机还包括给各个部件供电的电源509(比如电池),优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset also includes a power source 509 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 508 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
前述实施例中,各步骤方法流程可以基于该终端设备的结构实现。其中应用层和操作系统内核均可视为处理器508的抽象化结构的组成部分。In the foregoing embodiment, each step method flow may be implemented based on the structure of the terminal device. Both the application layer and the operating system kernel can be considered as part of the abstraction structure of the processor 508.
在本发明实施例中,处理器508通过调用存储于存储器502中的程序代码,用于执行以下操作:In the embodiment of the present invention, the processor 508 performs the following operations by calling program code stored in the memory 502:
从当前运行的后台进程中选出目标后台进程;其中,目标后台进程为非必须或恶意后台进程;Select the target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
使上述目标后台进程停止运行;Stop the above target background process from running;
向上述目标后台进程发送冻结指令,以使上述目标后台进程关闭并且不能启动。A freeze instruction is sent to the target background process described above so that the target background process is closed and cannot be started.
作为一种可选的实施方式,处理器508通过调用存储于存储器502的程序代码,还用于执行以下操作:As an alternative embodiment, the processor 508 is further configured to perform the following operations by calling program code stored in the memory 502:
监测是否有依赖于上述目标后台进程的应用程序启动;Monitor whether there is an application launch that depends on the target background process described above;
若有依赖于上述目标后台进程的应用程序启动,则向用户发送提示消息,以询问用户是否解冻该目标后台进程。If an application that depends on the target background process is started, a prompt message is sent to the user to ask the user whether to unfreeze the target background process.
图5所示的终端设备中,处理器508通过调用存储于存储器502的程序代码,可以在刚启动时或出现新的后台进程时对当前运行的后台进程进行筛选,其中,终端设备可以根据用户预先设置的可冻结后台进程名单或安全软件对后台进程的评价来筛选出当前运行的后台进程中需冻结的后台进程。在选出需冻结的后台进程后,终端设备停止该后台进程,向该后台进程发送冻结指令,使其关闭并且不能启动。由此可见,利用该终端设备,可以使非必须和恶意的后台进程被冻结而不能启动,从而起到节省内存、节省电量和数据流量,避免用户的个人信息和隐私数据被窃取的作用。In the terminal device shown in FIG. 5, the processor 508 can filter the currently running background process at the time of startup or when a new background process occurs by calling the program code stored in the memory 502, wherein the terminal device can be based on the user. Pre-set the list of freezeable background processes or the evaluation of the background process by the security software to filter out the background processes that need to be frozen in the currently running background process. After selecting the background process to be frozen, the terminal device stops the background process, sends a freeze instruction to the background process, and causes it to be closed and cannot be started. It can be seen that with the terminal device, unnecessary and malicious background processes can be frozen and cannot be started, thereby saving memory, saving power and data traffic, and preventing the user's personal information and private data from being stolen.
值得注意的是,上述终端设备实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It should be noted that, in the foregoing embodiment of the terminal device, each unit included is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented; The names are also for convenience of distinction from each other and are not intended to limit the scope of protection of the present invention.
另外,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(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)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。In addition, those skilled in the art can understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct related hardware, 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 (Erasable Programmable Read Only) Memory, EPROM), One-Time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Read-Only Disc ( Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other medium readable by a computer that can be used to carry or store data.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the embodiments of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (10)

  1. 一种后台进程管理方法,其特征在于,包括:A background process management method, comprising:
    终端设备从当前运行的后台进程中选出目标后台进程;其中,所述目标后台进程为非必须或恶意后台进程;The terminal device selects a target background process from the currently running background process; wherein the target background process is a non-essential or malicious background process;
    所述终端设备使所述目标后台进程停止运行;The terminal device stops the target background process from running;
    所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。The terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  2. 根据权利要求1所述方法,其特征在于,所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动,包括:The method according to claim 1, wherein the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started, including:
    所述终端设备根据所述目标后台进程的优先级判断所述目标后台进程是否允许被冻结;Determining, by the terminal device, whether the target background process is allowed to be frozen according to a priority of the target background process;
    若所述目标后台进程允许被冻结,则所述终端设备向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。If the target background process is allowed to be frozen, the terminal device sends a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  3. 根据权利要求1所述方法,其特征在于,所述终端设备从当前运行的后台进程中选出目标后台进程,包括:The method according to claim 1, wherein the terminal device selects a target background process from the currently running background processes, including:
    所述终端设备判断当前是否由关机状态转换为开机状态;若当前为由关机状态转换为开机状态,则所述终端设备从所述当前运行的后台进程中选出所述目标后台进程;或者,The terminal device determines whether the current state is switched from the power-off state to the power-on state; if the current state is changed from the power-off state to the power-on state, the terminal device selects the target background process from the currently running background process; or
    所述终端设备接收用户查找可冻结的后台进程的操作指令,根据所述操作指令从所述当前运行的后台进程中选出所述目标后台进程;或者,The terminal device receives an operation instruction that the user searches for a freezeable background process, and selects the target background process from the currently running background process according to the operation instruction; or
    所述终端设备监测是否启动了新的后台进程;若启动了新的后台进程,则所述终端设备从所述当前运行的后台进程中选出所述目标后台进程。The terminal device monitors whether a new background process is started; if a new background process is started, the terminal device selects the target background process from the currently running background process.
  4. 根据权利要求1所述方法,其特征在于,所述终端设备从当前运行的后台进程中选出目标后台进程,包括:The method according to claim 1, wherein the terminal device selects a target background process from the currently running background processes, including:
    所述终端设备根据用户预设的可冻结后台进程名单,将所述当前运行的后台进程中在所述后台进程名单里的后台进程选为所述目标后台进程;或者,The terminal device selects, as the target background process, the background process in the background process list in the currently running background process according to the freezeable background process list preset by the user; or
    所述终端设备根据所述终端设备中安全软件对后台进程的评价,将所述当前运行的后台进程中所述安全软件评价为非必须或恶意进程的后台进程选为所述目标后台进程。The terminal device selects, as the target background process, a background process in which the security software is evaluated as a non-essential or malicious process in the currently running background process according to the evaluation of the background process by the security software in the terminal device.
  5. 根据权利要求1~4中任意一项所述方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    所述终端设备监测是否有依赖于所述目标后台进程的应用程序启动;The terminal device monitors whether an application that is dependent on the target background process is started;
    若有依赖于所述目标后台进程的应用程序启动,则所述终端设备向用户发送提示消息,以询问用户是否解冻所述目标后台进程。If an application that depends on the target background process is started, the terminal device sends a prompt message to the user to ask the user whether to unfreeze the target background process.
  6. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    筛选单元,设置为从当前运行的后台进程中选出目标后台进程;其中,所述目标后台进程为非必须或恶意后台进程;a filtering unit, configured to select a target background process from a currently running background process; wherein the target background process is a non-essential or malicious background process;
    终止单元,设置为使所述目标后台进程停止运行;Terminating the unit, set to stop the target background process from running;
    第一发送单元,设置为向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。The first sending unit is configured to send a freeze instruction to the target background process, so that the target background process is closed and cannot be started.
  7. 根据权利要求6所述的终端设备,其特征在于,所述第一发送单元,包括:The terminal device according to claim 6, wherein the first sending unit comprises:
    第一判断子单元,设置为根据所述目标后台进程的优先级判断所述目标后台进程是否允许被冻结;a first determining subunit, configured to determine, according to a priority of the target background process, whether the target background process is allowed to be frozen;
    发送子单元,设置为当所述目标后台进程允许被冻结时,向所述目标后台进程发送冻结指令,以使所述目标后台进程关闭并且不能启动。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.
  8. 根据权利要求6所述的终端设备,其特征在于,所述筛选单元,包括:The terminal device according to claim 6, wherein the screening unit comprises:
    第二判断子单元,设置为判断当前是否由关机状态转换为开机状态;第一筛选子单元,设置为当由关机状态转换为开机状态时,从所述当前运行的后台进程中选出所述目标后台进程;或者,a second determining subunit, configured to determine whether the current state is switched from a power off state to a power on state; the first screening subunit is configured to select the current background process from the current running background process when the state is changed from the power off state to the power on state Target background process; or,
    接收子单元,设置为接收用户查找可冻结的后台进程的操作指令;第二筛选子单元,设置为根据所述操作指令从所述当前运行的后台进程中选出所述目标后台进程;或者,a receiving subunit, configured to receive an operation instruction that the user searches for a freezeable background process; the second screening subunit is configured to select the target background process from the currently running background process according to the operation instruction; or
    监测子单元,设置为监测是否启动了新的后台进程;第三筛选子单元,设置为当启动了新的后台进程时,从所述当前运行的后台进程中选出所述目标后台进程。The monitoring subunit is configured to monitor whether a new background process is started; the third screening subunit is configured to select the target background process from the currently running background process when a new background process is started.
  9. 根据权利要求6所述的终端设备,其特征在于,The terminal device according to claim 6, wherein
    所述筛选单元,具体设置为根据用户预设的可冻结后台进程名单,将所述当前运行的后台进程中在所述后台进程名单里的后台进程选为所述目标后台进程;或者,The filtering unit is specifically configured to: select, according to the freezeable background process list preset by the user, the background process in the background process list in the currently running background process as the target background process; or
    具体设置为根据所述终端设备中安全软件对后台进程的评价,将所述当前运行的后台进程中所述安全软件评价为非必须或恶意进程的后台进程选为所述目标后台进程。Specifically, it is configured to select, according to the evaluation of the background process by the security software in the terminal device, a background process in which the security software in the currently running background process is evaluated as a non-essential or malicious process as the target background process.
  10. 根据权利要求6~9中任意一项所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to any one of claims 6 to 9, wherein the terminal device further comprises:
    监测单元,设置为监测是否有依赖于所述目标后台进程的应用程序启动;a monitoring unit configured to monitor whether an application that is dependent on the target background process is started;
    第二发送单元,设置为当有依赖于所述目标后台进程的应用程序启动时,向用户发送提示消息,以询问用户是否解冻所述目标后台进程。The second sending unit is configured to send a prompt message to the user to ask the user whether to unfreeze the target background process when an application that depends on the target background process is started.
PCT/CN2016/103986 2016-07-28 2016-10-31 Background process management method and terminal device WO2018018772A1 (en)

Applications Claiming Priority (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
CN201610614670.1 2016-07-28

Publications (1)

Publication Number Publication Date
WO2018018772A1 true WO2018018772A1 (en) 2018-02-01

Family

ID=57606083

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428546A (en) * 2022-01-25 2022-05-03 惠州Tcl移动通信有限公司 Background application cleaning method and device, storage medium and terminal equipment

Families Citing this family (11)

* 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
CN113655937B (en) * 2021-08-10 2024-10-18 维沃移动通信(杭州)有限公司 Application management method, device, electronic equipment and readable storage medium

Citations (3)

* 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
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes
CN105302566A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Process optimizing method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101963919A (en) * 2009-07-24 2011-02-02 鸿富锦精密工业(深圳)有限公司 Progress management system
CN102253863B (en) * 2011-06-15 2017-05-03 奇智软件(北京)有限公司 Method for closing processes
CN103345397A (en) * 2013-07-11 2013-10-09 北京奇虎科技有限公司 Method and device for cleaning processes of mobile terminal
CN104199669B (en) * 2014-09-12 2017-12-15 北京奇虎科技有限公司 The method and device being managed to the process of application program
CN105159776B (en) * 2015-08-03 2019-02-19 中科创达软件股份有限公司 Process handling method and device

Patent Citations (3)

* 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
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes
CN105302566A (en) * 2015-11-10 2016-02-03 上海卓易科技股份有限公司 Process optimizing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428546A (en) * 2022-01-25 2022-05-03 惠州Tcl移动通信有限公司 Background application cleaning method and device, storage medium and terminal equipment
CN114428546B (en) * 2022-01-25 2024-04-09 惠州Tcl移动通信有限公司 Background application cleaning method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN106250223B (en) 2020-01-10
CN106250223A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
WO2018018772A1 (en) Background process management method and terminal device
WO2018151505A1 (en) Electronic device and method for displaying screen thereof
WO2018129977A1 (en) Charging control method and apparatus, storage medium, and computer device
EP2561722B1 (en) Use of mobile computing device sensors to initiate a telephone call or modify telephone operation
WO2018018691A1 (en) Esim switching method and terminal device
WO2018171534A1 (en) Mobile terminal-based dual camera power supply control method, system and mobile terminal
WO2012016476A1 (en) Hand-held mobile terminal standby method, micro processor and cellular phone thereof
WO2014183454A1 (en) Method, terminal and computer storage medium for group sending message in instant communication
WO2017107557A1 (en) Mobile terminal-based method and system for popping up quick menu
EP3342172A1 (en) Method of controlling the sharing of videos and electronic device adapted thereto
WO2014019147A1 (en) Screen interface display method and terminal
WO2018076819A1 (en) Data upload method, apparatus, storage medium, electronic device and system
WO2018049897A1 (en) Data backup method and device
WO2016184330A1 (en) Screen unlocking method and device, and storage medium
WO2016188285A1 (en) Process management method and device of terminal application
CN107391198B (en) Task scheduling method and device, computer readable storage medium and mobile terminal
WO2018035930A1 (en) System unlocking method and device
WO2018049971A1 (en) Hotspot network switching method and terminals
WO2018026164A1 (en) Method of processing touch events and electronic device adapted thereto
EP3409073A1 (en) Method and electronic device for providing tethering service
WO2018145597A1 (en) Mobile terminal-based screen light-supplementing photographing method and system, and mobile terminal
JP2022544519A (en) Handover deployment method, network device and terminal device
CN106604277B (en) Wireless network access method and mobile terminal
WO2018076880A1 (en) Data backup method, apparatus, storage medium, and terminal
WO2018191888A1 (en) Method and device for accelerated startup of application, and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16910351

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16910351

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载