WO2018035927A1 - 一种冻结应用的方法、装置以及终端 - Google Patents

一种冻结应用的方法、装置以及终端 Download PDF

Info

Publication number
WO2018035927A1
WO2018035927A1 PCT/CN2016/100670 CN2016100670W WO2018035927A1 WO 2018035927 A1 WO2018035927 A1 WO 2018035927A1 CN 2016100670 W CN2016100670 W CN 2016100670W WO 2018035927 A1 WO2018035927 A1 WO 2018035927A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
application
target application
terminal
flag bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/100670
Other languages
English (en)
French (fr)
Inventor
董志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2018035927A1 publication Critical patent/WO2018035927A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/56Computer malware detection or handling, e.g. anti-virus arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a method, an apparatus, and a terminal for freezing applications.
  • the embodiment of the invention provides a method, a device and a terminal for freezing an application, which can ensure that the terminal can still ensure security in the case of being attacked by a virus and/or a Trojan.
  • the present invention provides a method of freezing an application, comprising:
  • freeze application function has been enabled, further detecting whether there is a target application, wherein the target application is an application infected with a virus and/or a Trojan, and the virus and/or Trojan cannot be cleared;
  • the target application is frozen.
  • the freezing the target application specifically includes:
  • the terminal modifies the value of the flag bit of the read/write right of the target application from the second value to the first value.
  • the freezing the target application specifically includes:
  • the target application does not have the right to communicate through the terminal, and when the value of the flag bit of the communication authority is the fourth value, the target application has the right to communicate through the terminal;
  • the terminal modifies the value of the flag bit of the communication authority of the target application from the fourth value to the third value.
  • the detecting whether the target application exists specifically includes:
  • the terminal further detects whether there is an application that the virus and/or Trojan cannot be cleared, thereby detecting whether a target application exists.
  • the communication right includes a network connection right, a Bluetooth connection right, a zigbee connection right, and a gps connection right.
  • a second aspect of the present invention provides an apparatus for freezing an application, comprising:
  • a first detection module configured to detect whether a freeze application function has been enabled
  • a second detecting module configured to further detect whether there is a target application when the freeze application function has been enabled, wherein the target application is infected with a virus and/or a Trojan, and the virus and/or Trojan cannot be Cleared application;
  • the processing module is configured to freeze the target application when the target application exists.
  • the processing module further includes:
  • a reading module configured to read a value of a flag bit of the read/write authority of the target application, where the value of the flag bit of the read/write permission includes a first value and a second value, when the read/write permission
  • the target application does not have the right to read and write to the terminal.
  • the value of the flag bit of the read/write permission is the second value, the target application has the terminal.
  • Modifying a module when the value of the flag bit of the read/write right of the target application is set to a second value, the processing module modifies the value of the flag bit of the read/write right of the target application from the second value to First value
  • the processing module further includes:
  • a reading module further configured to read a value of a flag bit of the communication authority of the target application, wherein a value of the flag bit of the communication authority includes a third value and a fourth value, when the flag of the communication authority When the value of the value is the third value, the target application does not have the right to communicate through the terminal, and when the value of the flag bit of the authority of the communication is the fourth value, the target application has communication through the terminal.
  • the modifying module is further configured to: when the value of the flag bit of the communication authority of the target application is a fourth value, the modifying module modifies the value of the flag bit of the communication authority of the target application from the fourth value to the third value value.
  • the second detecting module is specifically configured to:
  • the communication right includes a network connection right, a Bluetooth connection right, a zigbee connection right, and a gps connection right.
  • a third aspect of the present invention provides a terminal for freezing an application, comprising the apparatus for freezing the application described above.
  • the invention protects the user data security by prohibiting the reading and writing authority and communication authority of the terminal infected by the virus and/or Trojan which cannot be cleared, and avoids the harm to the user, and provides the user with rapid processing and infection which cannot be cleared.
  • the solution of the virus and/or Trojan application provides users with a safer environment and improves the user experience.
  • FIG. 1 is a flowchart of a first embodiment of a method for freezing an application according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a second embodiment of a method for freezing an application according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a first embodiment of an apparatus for freezing an application according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a processing module in a first embodiment of an apparatus for freezing an application according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a terminal for freezing an application according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a method for freezing an application according to an embodiment of the present invention.
  • the method of freezing application is applied to a terminal, and the terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), a wearable device (such as a smart watch ( Iwatch, etc.), smart bracelets, etc. or other terminals that can install application clients.
  • the terminal is configured to enable the freeze application function, detecting an application on the terminal that is infected with a virus and/or a Trojan that cannot be cleared, and freezing the detected application of the virus and/or Trojan that cannot be cleared.
  • the method of freezing the application includes the following steps S101-S103.
  • step S101 it is detected whether the freeze application function has been enabled.
  • the frozen application function can be implemented in two ways: (1) The frozen application function is integrated in the system function of the terminal, and as a settable option in the existing system function, the user can be in the system setting. Turn on the freeze application feature. (2) The frozen application can also be a stand-alone application, which can be installed in a terminal running an operating system such as IOS, Android, Windows, etc., and the user can open the frozen application to open the frozen application function.
  • the frozen application function is integrated in the system function of the terminal, and as a settable option in the existing system function, the user can be in the system setting. Turn on the freeze application feature.
  • the frozen application can also be a stand-alone application, which can be installed in a terminal running an operating system such as IOS, Android, Windows, etc., and the user can open the frozen application to open the frozen application function.
  • step S102 if the freeze application function has been enabled, further detecting whether there is a target application, wherein the target application is an application infected with a virus and/or a Trojan, and the virus and/or Trojan cannot be cleared. .
  • the terminal can detect all applications to determine that there are applications in the application that are infected with viruses and/or Trojans that cannot be cleared.
  • the user may also select a part of the application to perform detection by setting, for example, the user may directly select a part of the application to be detected through the touch screen to perform detection; or may be an application with different categories set on the terminal, for example, They are communication applications, video applications, etc., users can directly select the application categories to be detected for detection; and can also establish frequently used application categories according to the user's frequency of use, so that users can select the commonly used application categories for detection; Application categories that are vulnerable to viruses and/or Trojans can be established based on network security data for the user to select for detection.
  • the terminal detects the application to determine the target application, including confirming that the virus and/or Trojan is infected, and the virus cannot be deleted by the terminal's anti-virus software, or the virus and/or Trojan may not appear after the deletion.
  • the application that clears the situation is the target application.
  • step S103 if the target application exists, the target application is frozen.
  • freezing the application of the virus and/or Trojan infected with the unremovable virus includes at least prohibiting the application from reading, tampering with or exchanging the user's personal data.
  • a prompt is displayed to prompt the user that the application has been frozen, and some functions of the application cannot be as usual. use.
  • the terminal can prompt the user to freeze the application information by voice, text or image, wherein the information of the frozen application includes the number, level, restricted function, etc. of the infected virus and/or Trojan, and the terminal.
  • Other types of prompt information may also be used to remind the user, and the embodiment is not limited thereto.
  • the method for freezing the application in the embodiment of the present invention protects the user data security and avoids the harm to the user by prohibiting the read/write permission and the communication authority of the application infected with the virus and/or the Trojan that cannot be cleared. It provides users with a solution to quickly deal with infected viruses and/or Trojans, while providing users with a safer environment and improved user experience.
  • FIG. 2 is a flowchart of a second embodiment of a method for freezing an application according to an embodiment of the present invention.
  • the freeze application method includes steps S201-S206.
  • step S201 it is detected whether the freeze application function has been enabled.
  • the frozen application function can be implemented in two ways: (1) The frozen application function is integrated in the system function of the terminal, and as a settable option in the existing system function, the user can be in the system setting. Turn on the freeze application feature. (2) The frozen application can also be a stand-alone application, which can be installed in a terminal running an operating system such as IOS, Android, Windows, etc., and the user can open the frozen application to open the frozen application function.
  • the frozen application function is integrated in the system function of the terminal, and as a settable option in the existing system function, the user can be in the system setting. Turn on the freeze application feature.
  • the frozen application can also be a stand-alone application, which can be installed in a terminal running an operating system such as IOS, Android, Windows, etc., and the user can open the frozen application to open the frozen application function.
  • step S202 if the freeze application function has been enabled, it is detected whether the application in the terminal has an application infected with a virus and/or a Trojan.
  • the terminal can detect all applications to determine that there are applications in the application that are infected with viruses and/or Trojans that cannot be cleared.
  • the user may also select a part of the application to perform detection by setting, for example, the user may directly select a part of the application to be detected through the touch screen to perform detection; or may be an application with different categories set on the terminal, for example, They are communication applications, video applications, etc., users can directly select the application categories to be detected for detection; and can also establish frequently used application categories according to the user's frequency of use, so that users can select the commonly used application categories for detection; Application categories that are vulnerable to viruses and/or Trojans can be established based on network security data for the user to select for detection.
  • step S203 if there is an application infected with a virus and/or a Trojan, the virus and/or Trojan is deleted.
  • the virus and/or Trojan is first deleted using anti-virus software on the terminal.
  • step S204 an application infected with a virus and/or a Trojan and the virus and/or Trojan cannot be cleared by the terminal's anti-virus software is confirmed.
  • the terminal detects the application to determine the target application, including confirming that the virus and/or Trojan is infected, and the virus cannot be deleted by the terminal's anti-virus software, or the virus and/or Trojan may not appear after the deletion.
  • the application that clears the situation is the target application.
  • step S205 the read and write permission of the application infected with the virus and/or Trojan that cannot be cleared is prohibited.
  • the terminal reads a value of a flag bit of the read/write right of the target application, where the value of the flag bit of the read/write right includes a first value and a second value, when the read/write permission
  • the value of the flag bit is the first value
  • the target application does not have the right to read and write the terminal.
  • the value of the flag bit of the read/write permission is the second value
  • the target application has a right place.
  • the terminal performs the right to read and write; if the value of the flag of the read/write permission of the target application is the second value, the terminal modifies the value of the flag of the read/write permission of the target application from the second value. Is the first value.
  • the application for reading and writing the terminal to the terminal is prohibited by the application of the virus and/or the Trojan infected by the unremovable virus, including prohibiting the application of the virus and/or the Trojan that cannot be cleared. Incoming, tampering, etc.
  • step S206 the communication authority of the application infected with the virus and/or Trojan that cannot be cleared is prohibited.
  • the terminal reads a value of a flag bit of the communication authority of the target application, where the value of the flag bit of the communication authority includes a third value and a fourth value, when the flag of the communication authority is When the value is the third value, the target application does not have the right to communicate through the terminal, and when the value of the flag of the communication permission is the fourth value, the target application has communication through the terminal.
  • Permission if the value of the flag bit of the communication authority of the target application is the fourth value, the terminal modifies the value of the flag bit of the communication authority of the target application from the fourth value to the third value.
  • the communication rights include, but are not limited to, network connection rights, Bluetooth connection rights, zigbee connection rights, and gps connection rights.
  • a prompt is output to prompt the user that the application has been frozen, and some functions of the application cannot be used as usual.
  • the terminal can prompt the user's information of the frozen application by voice, text or image, wherein the information of the frozen application includes the number, level, limited function of the infected virus and/or Trojan, and the like.
  • the terminal may also use other types of prompt information to remind the user, and the embodiment is not limited thereto.
  • the method for freezing the application in the embodiment of the present invention effectively prevents the infection of the virus and/or Trojan that cannot be cleared by prohibiting the read/write permission and communication authority of the application infected with the virus and/or Trojan that cannot be cleared.
  • the application reads, writes, tampers or sends out personal data of the user and receives malicious data, protects the user data security, avoids the harm to the user, and provides the user with a quick treatment of the virus and/or Trojan that cannot be removed.
  • the application solution also provides users with a safer use environment and improves the user experience.
  • FIG. 3 is a schematic structural diagram of a freeze application device according to an embodiment of the present invention.
  • the freezing application device includes:
  • the first detecting module 301 is configured to detect whether the frozen application function has been enabled
  • the second detecting module 302 is configured to further detect whether there is a target application when the freeze application function has been enabled, wherein the target application is infected with a virus and/or a Trojan, and the virus and/or Trojan cannot The application being cleared;
  • the processing module 303 is configured to freeze the target application when the target application exists.
  • the processing module 303 includes:
  • the reading module 401 is configured to read a value of a flag bit of the read/write right of the target application, where the value of the flag bit of the read/write right includes a first value and a second value, when the read and write permission
  • the value of the flag bit is the first value
  • the target application does not have the right to read and write to the terminal
  • the value of the flag bit of the read/write permission is the second value
  • the target application has the The terminal has the right to read and write;
  • the modifying module 402 is configured to: when the value of the flag bit of the read/write right of the target application is a second value, the processing module modifies the value of the flag bit of the read/write right of the target application from the second value Is the first value.
  • the processing module 303 further includes:
  • the reading module 401 is further configured to read a value of a flag bit of the communication authority of the target application, wherein the value of the flag bit of the communication authority includes a third value and a fourth value, when the flag of the communication authority When the value of the bit is a third value, the target application does not have the right to communicate through the terminal, and when the value of the flag bit of the communication authority is the fourth value, the target application has the terminal through Permission to communicate;
  • the modifying module 402 is further configured to: when the value of the flag bit of the communication authority of the target application is a fourth value, the modifying module modifies the value of the flag bit of the communication authority of the target application from the fourth value to the first value Three values.
  • the communication rights include, but are not limited to, network connection rights, Bluetooth connection rights, zigbee connection rights, and gps connection rights.
  • the second detecting module 302 is specifically configured to: the second detecting module 302 can detect all applications to determine that all applications have infections of viruses and/or Trojans that cannot be cleared. application.
  • the user may also select a part of the application to perform detection by setting, for example, the user may directly select a part of the application to be detected through the touch screen to perform detection; or may be an application with different categories set on the terminal, for example, They are communication applications, video applications, etc., users can directly select the application categories to be detected for detection; and can also establish frequently used application categories according to the user's frequency of use, so that users can select the commonly used application categories for detection; Application categories that are vulnerable to viruses and/or Trojans can be established based on network security data for the user to select for detection.
  • the second detecting module 302 detects the application to determine the target application, including confirming that the virus and/or the Trojan is infected, and the virus cannot be deleted by the terminal's anti-virus software, or the virus is re-appeared after the deletion. / or Trojans can not clear applications such as the target application.
  • the freezing application device further includes:
  • the storage module 304 is configured to store related program code and related information of the application infected with the virus and/or Trojan that cannot be cleared, and the information related to the application of the virus and/or Trojan that cannot be cleared includes the infected Information relating to the number and level of viruses and/or Trojans, functions that are restricted by the application, and the like, and applications that are infected with viruses and/or Trojans that cannot be removed.
  • the freeze application device in the embodiment effectively prevents the infection of the virus and/or the Trojan that cannot be removed by prohibiting the read/write permission and the communication permission of the application of the virus and/or the Trojan that cannot be cleared.
  • Read, write, tamper with or send out user personal data and receive malicious data protect user data security, avoid harm to users, and provide users with fast processing of infected viruses and/or Trojans
  • the solution also provides users with a safer use environment and improves the user experience.
  • FIG. 5 illustrates a method for freezing a application according to an embodiment of the present invention.
  • the terminal may be used to implement the method for freezing a application provided in the foregoing embodiment, and the process may be as shown in FIG.
  • the method in the method embodiment is specifically implemented, and the terminal includes the device for freezing the application provided in the foregoing embodiment. Specifically:
  • the terminal 500 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity, wireless).
  • the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 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 The data created by the use of the terminal 500 (such as audio data, phone book, etc.) and the like.
  • memory 120 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. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of 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 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 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.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 500, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 500 can also include at least one type of sensor 150, 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 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 500 moves to the ear. / or backlight.
  • the gravity acceleration 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.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 500.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 500.
  • WiFi is a short-range wireless transmission technology
  • the terminal 500 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 5 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 500, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the terminal 500, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 500 are performed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 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 can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal 500 also includes a power source 190 (such as a battery) for powering various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Executing the one or more programs includes instructions for performing the following operations:
  • freeze application function has been enabled, further detecting whether there is a target application, wherein the target application is an application infected with a virus and/or a Trojan, and the virus and/or Trojan cannot be cleared;
  • the target application is frozen.
  • the freezing of the target application specifically includes:
  • the terminal reads a value of a flag bit of the read/write right of the target application, where the value of the flag bit of the read/write right includes a first value and a second value, when the read/write permission flag bit When the value is the first value, the target application does not have the right to read and write the terminal, and when the value of the flag of the read/write permission is the second value, the target application has the terminal application Read and write permissions;
  • the terminal modifies the value of the flag bit of the read/write right of the target application from the second value to the first value.
  • the freezing of the target application specifically includes:
  • the terminal reads a value of a flag bit of the communication authority of the target application, where the value of the flag bit of the communication authority includes a third value and a fourth value, when the value of the flag bit of the communication authority is When the value is three, the target application does not have the right to communicate through the terminal, and when the value of the flag of the communication authority is the fourth value, the target application has the right to communicate through the terminal;
  • the terminal modifies the value of the flag bit of the communication authority of the target application from the fourth value to the third value.
  • detecting whether the target application exists specifically includes:
  • the terminal detects whether an application in the terminal has an application infected with a virus and/or a Trojan;
  • the terminal further detects whether there is an application in which the virus and/or Trojan cannot be cleared to detect whether a target application exists.
  • the communication permission includes a network connection permission, a Bluetooth connection permission, a zigbee connection permission, and a gps connection permission.
  • the frozen application terminal in this embodiment effectively prevents infection of viruses and/or Trojans that cannot be cleared by prohibiting the read/write permission and communication authority of the application of the virus and/or Trojan that cannot be cleared.
  • Read, write, tamper with or send out user personal data and receive malicious data protect user data security, avoid harm to users, and provide users with fast processing of infected viruses and/or Trojans
  • the solution also provides users with a safer use environment and improves the user experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Telephone Function (AREA)

Abstract

一种冻结应用的方法、装置以及终端。所述方法包括:检测冻结应用功能是否已经被启用(S101);如果所述冻结应用功能已经被启用,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用(S102);若存在所述目标应用,则将所述目标应用冻结(S103),所述将目标应用冻结包括禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限。本方法保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。

Description

一种冻结应用的方法、装置以及终端
本申请要求于2016年8月24日提交中国专利局,申请号为201610718846.8、发明名称为“一种冻结应用的方法、装置以及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子技术领域,特别涉及一种冻结应用的方法、装置以及终端。
背景技术
现阶段,随着技术的不断发展,终端的使用日益普及,基于终端的应用也越来越多。然而,现在的终端的应用非常容易受到病毒和/或木马的攻击,导致用户数据被更改、数据外发或者接收到恶意数据等。如何保证终端在应用受到病毒和/或木马的攻击的情况下仍然能保证终端的安全,是现阶段亟需解决的问题。
发明内容
本发明实施例提供一种冻结应用的方法、装置以及终端,能够保证终端在受到病毒和/或木马的攻击的情况下仍然能保证安全。
第一方面,本发明提供了一种冻结应用的方法,包括:
检测冻结应用功能是否已经被启用;
如果所述冻结应用功能已经被启用,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
若存在所述目标应用,则将所述目标应用冻结。
优选地,所述将所述目标应用冻结具体包括:
读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
若所述目标应用的读写权限的标志位的值为第二值,则所述终端将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
优选地,所述将所述目标应用冻结具体包括:
读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
若所述目标应用的通信权限的标志位的值为第四值,则所述终端将所述目标应用的通信权限的标志位的值从第四值修改为第三值。优选地,所述检测是否存在目标应用具体包括:
检测终端中的应用是否存在感染了病毒和/或木马的应用;
若存在感染了病毒和/或木马的应用,则对所述病毒和/或木马进行删除;
所述终端进一步检测是否存在所述病毒和/或木马无法被清除的应用,从而检测是否存在目标应用。
优选地,所述通信权限包括网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
本发明第二方面提供了一种冻结应用的装置,包括:
第一检测模块,设置为检测冻结应用功能是否已经被启用;
第二检测模块,设置为在所述冻结应用功能已经被启用时,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
处理模块,设置为存在所述目标应用时,将所述目标应用进行冻结。
优选地,所述处理模块还包括:
读取模块,设置为读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
修改模块,设置为在所述目标应用的读写权限的标志位的值为第二值时,则所述处理模块将所述目标应用的读写权限的标志位的值从第二值修改为第一值
优选地,所述处理模块还包括:
读取模块,还设置为读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
修改模块,还设置为在所述目标应用的通信权限的标志位的值为第四值时,所述修改模块将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
优选地,所述第二检测模块具体设置为:
检测终端中的应用是否存在感染了病毒和/或木马的应用;
进一步检测是否存在所述病毒和/或木马无法被清除的应用从而检测是否存在目标应用。
优选地,所述通信权限包括网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
本发明第三方面提供了一种冻结应用的终端,包括上述所述的冻结应用的装置。
实施本发明实施例,具有如下有益效果:
本发明通过禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限,保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种冻结应用的方法的第一实施例的流程图。
图2是本发明实施例提供的一种冻结应用的方法的第二实施例的流程图。
图3是本发明实施例提供的一种冻结应用的装置的第一实施例的结构示意图。
图4是本发明实施例提供的一种冻结应用的装置的第一实施例中的处理模块的结构示意图。
图5是本发明实施例提供的一种冻结应用的终端的第一实施例的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
请参阅图1,图1是本发明实施例提供的一种冻结应用的方法第一实施例的流程图。在本实施方式中,该冻结应用的方法应用于终端,所述终端可以是手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(MID,mobile internet device)、可穿戴设备(例如智能手表(iwatch等)、智能手环等)或其他可以安装应用客户端的终端。所述终端用于启用冻结应用功能之后,检测所述终端上感染了无法清除的病毒和/或木马的应用,对检测到的所述感染了无法清除的病毒和/或木马的应用做冻结处理。所述冻结应用的方法包括以下步骤S101-S103。
在步骤S101中,检测冻结应用功能是否已经被启用。
在本实施方式中,可以通过两种方式实现冻结应用功能:(1)、冻结应用功能集成在终端的系统功能中,作为现有的系统功能中的一个可设置选项,用户可以在系统设置中开启冻结应用功能。(2)、冻结应用也可为一个独立的应用,可安装在运行IOS、Android、Windows等操作系统的终端中,用户可以通过打开该冻结应用,从而开启冻结应用功能。
在步骤S102中,如果所述冻结应用功能已经被启用,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用。
在本实施方式中,所述终端可以对所有的应用进行检测,以确定所有的应用中存在感染了无法清除的病毒和/或木马的应用。在另一种实施方式中,用户还可以通过设置,选择部分应用进行检测,例如,可以是用户通过触摸屏直接选取需检测的部分应用进行检测;还可以是终端上设置有不同类别的应用,例如分别是通讯类应用、视频类应用等,用户可以直接选择需要检测的应用类别进行检测;还可以根据用户的使用频率建立常使用应用类别,以供用户选择所述常使用应用类别进行检测;还可以根据网络安全数据建立容易受到病毒和/或木马的攻击的应用类别供用户选择进行检测。
其中,所述终端对应用进行检测以确定目标应用,包括确认感染了病毒和/或木马,并且该病毒不能够被终端的杀毒软件所删除,或者删除后还会再出现病毒和/或木马不能清除等情况的应用为目标应用。
在步骤S103中,若存在所述目标应用,则将所述目标应用冻结。
具体的,在检测到了感染了无法清除的病毒和/或木马的目标应用之后,对所述感染了无法清除的病毒和/或木马的应用做冻结处理。在本实施方式中,对所述感染了无法清除的病毒和/或木马的应用做冻结处理至少包括禁止所述应用对终端的读取、篡改或者外发用户个人数据的权限。
在其他实施方式中,当有应用被冻结处理后,若用户需要再次使用所述感染了病毒和/或木马的应用,则输出提示,提示用户该应用已被冻结,该应用的部分功能不能如常使用。可以理解的是,终端可以通过语音、文字或者图像来提示用户被冻结应用的信息,其中,被冻结应用的信息包括所感染的病毒和/或木马的数量、等级、被限制的功能等,终端还可以使用其他类型的提示信息来提醒用户,本实施例并不以此为限。
上述可知,本发明实施例中的冻结应用的方法,通过禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限,保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。
图2是本发明实施例提供的一种冻结应用的方法第二实施例的流程图。在本实施方式中,该冻结应用方法包括步骤S201-S206。
在步骤S201中,检测冻结应用功能是否已经被启用。
在本实施方式中,可以通过两种方式实现冻结应用功能:(1)、冻结应用功能集成在终端的系统功能中,作为现有的系统功能中的一个可设置选项,用户可以在系统设置中开启冻结应用功能。(2)、冻结应用也可为一个独立的应用,可安装在运行IOS、Android、Windows等操作系统的终端中,用户可以通过打开该冻结应用,从而开启冻结应用功能。
在步骤S202中,如果所述冻结应用功能已经被启用,检测所述终端中的应用是否存在感染了病毒和/或木马的应用。
在本实施方式中,所述终端可以对所有的应用进行检测,以确定所有的应用中存在感染了无法清除的病毒和/或木马的应用。在另一种实施方式中,用户还可以通过设置,选择部分应用进行检测,例如,可以是用户通过触摸屏直接选取需检测的部分应用进行检测;还可以是终端上设置有不同类别的应用,例如分别是通讯类应用、视频类应用等,用户可以直接选择需要检测的应用类别进行检测;还可以根据用户的使用频率建立常使用应用类别,以供用户选择所述常使用应用类别进行检测;还可以根据网络安全数据建立容易受到病毒和/或木马的攻击的应用类别供用户选择进行检测。
在步骤S203中,若存在感染了病毒和/或木马的应用,则对所述病毒和/或木马进行删除。
具体的,如果检测到存在感染了病毒和/或木马的应用,则首先利用终端上的杀毒软件对所述病毒和/或木马进行删除。
在步骤S204中,确认感染了病毒和/或木马并且所述病毒和/或木马无法被终端的杀毒软件清除的应用。
其中,所述终端对应用进行检测以确定目标应用,包括确认感染了病毒和/或木马,并且该病毒不能够被终端的杀毒软件所删除,或者删除后还会再出现病毒和/或木马不能清除等情况的应用为目标应用。
在步骤S205中,禁止所述感染了无法清除的病毒和/或木马的应用对终端的读写权限。
具体的,所述终端读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对所述终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;如果所述目标应用的读写权限的标志位的值为第二值,则所述终端将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
具体的,禁止所述感染了无法清除的病毒和/或木马的应用对终端的读写权限,包括禁止所述感染了无法清除的病毒和/或木马的应用对终端的数据进行读取、写入、篡改等操作。
在步骤S206中,禁止所述感染了无法清除的病毒和/或木马的应用的通信权限。
具体的,所述终端读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过所述终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;如果所述目标应用的通信权限的标志位的值为第四值,则所述终端将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
具体的,所述通信权限包括但不限于网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
在其他实施方式中,在步骤S205和S206之后,若用户需要再次使用所述感染了病毒和/或木马的应用,则输出提示,提示用户该应用已被冻结,该应用的部分功能不能如常使用。可以理解的是,终端可以通过语音、文字或者图像来提示用户的被冻结应用的信息,其中,被冻结应用的信息包括所感染的病毒和/或木马的数量、等级、被限制的功能等,终端还可以使用其他类型的提示信息来提醒用户,本实施例并不以此为限。
上述可知,本发明实施例中的冻结应用的方法,通过禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限,有效防止感染了无法清除的病毒和/或木马的应用读取、写入、篡改或是外发用户个人数据以及接收恶意数据,保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。
图3是本发明实施例提供的一种冻结应用装置的结构示意图。在本实施方式中,该冻结应用装置包括:
第一检测模块301,设置为检测冻结应用功能是否已经被启用;
第二检测模块302,设置为在所述冻结应用功能已经被启用时,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
处理模块303,设置为存在所述目标应用时,将所述目标应用冻结。
其中,参阅图4,如图4所示,所述处理模块303包括:
读取模块401,设置为读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
修改模块402,设置为在所述目标应用的读写权限的标志位的值为第二值时,则所述处理模块将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
在其他实施例中,所述处理模块303还包括:
读取模块401,还设置为读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过所述终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
修改模块402,还设置为在所述目标应用的通信权限的标志位的值为第四值时,所述修改模块将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
其中,所述通信权限包括但不限于网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
在本实施方式中,所述第二检测模块302具体设置为:所述第二检测模块302可以对所有的应用进行检测,以确定所有的应用中存在感染了无法清除的病毒和/或木马的应用。在另一种实施方式中,用户还可以通过设置,选择部分应用进行检测,例如,可以是用户通过触摸屏直接选取需检测的部分应用进行检测;还可以是终端上设置有不同类别的应用,例如分别是通讯类应用、视频类应用等,用户可以直接选择需要检测的应用类别进行检测;还可以根据用户的使用频率建立常使用应用类别,以供用户选择所述常使用应用类别进行检测;还可以根据网络安全数据建立容易受到病毒和/或木马的攻击的应用类别供用户选择进行检测。
其中,所述第二检测模块302对应用进行检测以确定目标应用,包括确认感染了病毒和/或木马,并且该病毒不能够被终端的杀毒软件所删除,或者删除后还会再出现病毒和/或木马不能清除等情况的应用为目标应用。其中,在其他实施方式中,所述冻结应用装置还包括:
存储模块304,设置为存储相关程序代码以及所述感染了无法清除的病毒和/或木马的应用的相关信息,所述感染了无法清除的病毒和/或木马的应用的相关信息包括所感染的病毒和/或木马的数量、等级、该应用被限制的功能等所有和所述感染了无法清除的病毒和/或木马的应用相关的信息。
可以理解的是,本实施例的装置的各功能模块可根据上述图1-图2所示方法实施例中的方法具体实现,其具体过程可以参照上述方法实施例的相关描述。
上述可知,本实施例中的冻结应用装置,通过禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限,有效防止感染了无法清除的病毒和/或木马的应用读取、写入、篡改或是外发用户个人数据以及接收恶意数据,保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。
请参阅图5,其示出了本发明实施例所涉及的冻结应用的终端,该终端可以用于实施上述实施例中提供的冻结应用的方法,其过程可根据上述图1-图2所示方法实施例中的方法具体实现,所述终端包括上述实施例中提供的冻结应用的装置。具体来讲:
终端500可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(wireless fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端500的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端500的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图5中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端500还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端500移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于终端500还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端500之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端500的通信。
WiFi属于短距离无线传输技术,终端500通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块170,但是可以理解的是,其并不属于终端500的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端500的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端500还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端500还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:
终端检测冻结应用功能是否已经被启用;
如果所述冻结应用功能已经被启用,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
如果存在所述目标应用,则将所述目标应用冻结。
具体的,将所述目标应用冻结具体包括:
所述终端读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对所述终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
如果所述目标应用的读写权限的标志位的值为第二值,则所述终端将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
具体的,将所述目标应用进行冻结具体包括:
所述终端读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过所述终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
如果所述目标应用的通信权限的标志位的值为第四值,则所述终端将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
具体的,检测是否存在目标应用具体包括:
所述终端检测所述终端中的应用是否存在感染了病毒和/或木马的应用;
如果存在感染了病毒和/或木马的应用,则对所述病毒和/或木马进行删除;
所述终端进一步检测是否存在所述病毒和/或木马无法被清除的应用从而检测是否存在目标应用。
具体的,所述通信权限包括网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
上述可知,本实施例中的冻结应用终端,通过禁止感染了无法清除的病毒和/或木马的应用对终端的读写权限和通信权限,有效防止感染了无法清除的病毒和/或木马的应用读取、写入、篡改或是外发用户个人数据以及接收恶意数据,保护了用户数据安全,避免了对用户的危害,给用户提供了快速处理感染了无法清除的病毒和/或木马的应用的方案,同时给用户提供了更为安全的使用环境,提升了用户体验。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (11)

  1. 一种冻结应用的方法,其特征在于,包括:
    检测冻结应用功能是否已经被启用;
    如果所述冻结应用功能已经被启用,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
    若存在所述目标应用,则将所述目标应用冻结。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述目标应用冻结具体包括:
    读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
    若所述目标应用的读写权限的标志位的值为第二值,则所述终端将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
  3. 根据权利要求1所述的方法,其特征在于,所述将所述目标应用冻结具体包括:
    读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
    若所述目标应用的通信权限的标志位的值为第四值,则所述终端将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
  4. 根据权利要求1所述的方法,其特征在于,所述检测是否存在目标应用具体包括:
    检测终端中的应用是否存在感染了病毒和/或木马的应用;
    若存在感染了病毒和/或木马的应用,则对所述病毒和/或木马进行删除;
    所述终端进一步检测是否存在所述病毒和/或木马无法被清除的应用,从而检测是否存在目标应用。
  5. 根据权利要求3所述的方法,其特征在于,所述通信权限包括网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
  6. 一种冻结应用的装置,其特征在于,包括:
    第一检测模块,设置为检测冻结应用功能是否已经被启用;
    第二检测模块,设置为在所述冻结应用功能已经被启用时,进一步检测是否存在目标应用,其中,所述目标应用为感染了病毒和/或木马,并且所述病毒和/或木马无法被清除的应用;
    处理模块,设置为存在所述目标应用时,将所述目标应用冻结。
  7. 根据权利要求6所述的装置,其特征在于,所述处理模块包括:
    读取模块,设置为读取所述目标应用的读写权限的标志位的值,其中,所述读写权限的标志位的值包括第一值以及第二值,当所述读写权限的标志位的值为第一值时,所述目标应用不具有对终端进行读写的权限,当所述读写权限的标志位的值为第二值时,所述目标应用具有对所述终端进行读写的权限;
    修改模块,设置为在所述目标应用的读写权限的标志位的值为第二值时,则所述处理模块将所述目标应用的读写权限的标志位的值从第二值修改为第一值。
  8. 根据权利要求6所述的装置,其特征在于,所述处理模块包括:
    读取模块,还设置为读取所述目标应用的通信权限的标志位的值,其中,所述通信权限的标志位的值包括第三值以及第四值,当所述通信权限的标志位的值为第三值时,所述目标应用不具有通过终端进行通信的权限,当所述通信的权限的标志位的值为第四值时,所述目标应用具有通过所述终端进行通信的权限;
    修改模块,还设置为在所述目标应用的通信权限的标志位的值为第四值时,所述修改模块将所述目标应用的通信权限的标志位的值从第四值修改为第三值。
  9. 根据权利要求6所述的装置,其特征在于,所述第二检测模块具体设置为:
    检测终端中的应用是否存在感染了病毒和/或木马的应用;
    进一步检测是否存在所述病毒和/或木马无法被清除的应用,从而检测是否存在目标应用。
  10. 根据权利要求8所述的装置,其特征在于,所述通信权限包括网络连接权限、蓝牙连接权限、zigbee连接权限、gps连接权限。
  11. 一种终端,其特征在于,包括如权利要求6-10任一项所述的冻结应用的装置。
PCT/CN2016/100670 2016-08-24 2016-09-28 一种冻结应用的方法、装置以及终端 Ceased WO2018035927A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610718846.8A CN106339630B (zh) 2016-08-24 2016-08-24 一种冻结应用的方法、装置以及终端
CN201610718846.8 2016-08-24

Publications (1)

Publication Number Publication Date
WO2018035927A1 true WO2018035927A1 (zh) 2018-03-01

Family

ID=57825774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100670 Ceased WO2018035927A1 (zh) 2016-08-24 2016-09-28 一种冻结应用的方法、装置以及终端

Country Status (2)

Country Link
CN (1) CN106339630B (zh)
WO (1) WO2018035927A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111859382A (zh) * 2019-04-30 2020-10-30 中兴通讯股份有限公司 应用控制方法、终端及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377805A (zh) * 2007-09-02 2009-03-04 黄长生 未知病毒防治方法
CN102012982A (zh) * 2010-11-17 2011-04-13 许丽涛 一种保护智能设备安全运行的方法及装置
CN102306254A (zh) * 2011-08-29 2012-01-04 奇智软件(北京)有限公司 一种病毒或恶意程序的防御方法和系统
CN105873028A (zh) * 2016-03-28 2016-08-17 宇龙计算机通信科技(深圳)有限公司 终端控制方法、终端控制装置和终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134700A1 (en) * 2013-11-14 2015-05-14 Salesforce.Com, Inc. Terminating user access to database systems
CN105677460B (zh) * 2015-12-28 2019-07-23 小米科技有限责任公司 应用程序处理方法以及装置
CN105468426A (zh) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 一种应用冻结的方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377805A (zh) * 2007-09-02 2009-03-04 黄长生 未知病毒防治方法
CN102012982A (zh) * 2010-11-17 2011-04-13 许丽涛 一种保护智能设备安全运行的方法及装置
CN102306254A (zh) * 2011-08-29 2012-01-04 奇智软件(北京)有限公司 一种病毒或恶意程序的防御方法和系统
CN105873028A (zh) * 2016-03-28 2016-08-17 宇龙计算机通信科技(深圳)有限公司 终端控制方法、终端控制装置和终端

Also Published As

Publication number Publication date
CN106339630A (zh) 2017-01-18
CN106339630B (zh) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2018018772A1 (zh) 一种后台进程管理方法及终端设备
WO2017164585A1 (en) Electronic device and control method thereof
JP7462657B2 (ja) 指示信号の伝送方法、端末及びネットワーク機器
WO2017122980A1 (en) Electronic device and method for authenticating identification information thereof
WO2017142309A1 (en) Electronic device and method for controlling application and component
WO2017107557A1 (zh) 一种基于移动终端的快捷菜单弹出方法及系统
WO2018171534A1 (zh) 基于移动终端的双摄像头供电控制方法、系统及移动终端
WO2016184330A1 (zh) 一种屏幕解锁方法、装置及存储介质
WO2017067271A1 (zh) 一种指纹识别方法、指纹识别装置和移动终端
WO2018018691A1 (zh) 一种eSIM切换方法及终端设备
WO2016129936A1 (ko) 보안 메시지 전송 장치 및 그 처리 방법
WO2014000652A1 (zh) 浏览器插件安装方法、装置及终端
WO2018076879A1 (zh) 数据备份方法、装置、存储介质及终端
WO2018026164A1 (en) Method of processing touch events and electronic device adapted thereto
CN106529312B (zh) 一种移动终端的权限控制方法、装置及移动终端
WO2018049881A1 (zh) 一种数据迁移方法及装置
WO2018035930A1 (zh) 一种系统解锁方法和设备
WO2018191888A1 (zh) 应用程序加速启动方法、装置及终端
WO2013182073A1 (zh) 鉴定文件安全性的方法、系统及存储介质
CN107194217A (zh) 用户数据访问控制方法、设备和计算机可读存储介质
CN110505279B (zh) 设置延时的方法及设备
WO2018076931A1 (zh) 前置摄像头拍照自动补光系统及其方法
WO2018032580A1 (zh) 一种通知消息显示方法及装置
WO2018035927A1 (zh) 一种冻结应用的方法、装置以及终端
WO2017215663A1 (zh) 一种音效处理的方法及终端

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: 16913947

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: 16913947

Country of ref document: EP

Kind code of ref document: A1