WO2018000506A1 - Method of freezing application, and device utilizing same - Google Patents

Method of freezing application, and device utilizing same Download PDF

Info

Publication number
WO2018000506A1
WO2018000506A1 PCT/CN2016/092530 CN2016092530W WO2018000506A1 WO 2018000506 A1 WO2018000506 A1 WO 2018000506A1 CN 2016092530 W CN2016092530 W CN 2016092530W WO 2018000506 A1 WO2018000506 A1 WO 2018000506A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
target
target application
application information
space
Prior art date
Application number
PCT/CN2016/092530
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 WO2018000506A1 publication Critical patent/WO2018000506A1/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of software technology, for example, to a method and apparatus for freezing an application.
  • the application freezing technology has been implemented in the intelligent terminal in the related art, and the application may be that the mobile phone has its own refrigerating room to realize the "refrigeration application", that is, the application that is not frequently used is added to the refrigerating room of the mobile phone for refrigerating. Unfreeze the application when it is needed.
  • the present application provides a method and apparatus for freezing an application, which solves the problem of cumbersome operation and poor user experience when using the application freezing function in the related art.
  • the embodiment of the present application provides a method for freezing an application, which is applied to a terminal, where the method includes: pre-setting target application information shared by the first system and the second system of the terminal;
  • the target system being the first system or the second system
  • the target system is the first system, freezing an application in a system space of the second system based on the target application information;
  • the target application information is information of an application that does not need to be frozen
  • the target application information shared by the first system and the second system is preset: Adding the target application information to a white list shared by the first system and the second system;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
  • the target application information is information of an application that needs to be frozen
  • the pre-setting the target application information shared by the first system and the second system includes: adding the target application information to a blacklist shared by the first system and the second system in advance;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • the target application information is information of an application that does not need to be frozen
  • the pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a whitelist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • An application other than the target application corresponding to the second target application information in the system space of the second system is frozen.
  • the target application information is information of an application that needs to be frozen
  • the pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a blacklist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • the method for freezing the application further includes:
  • the embodiment of the present application further provides an apparatus for freezing an application, which is applied to a terminal, where the apparatus includes: a setting module, a determining module, a freezing module, and a processing module;
  • the setting module is configured to preset target application information shared by the first system of the terminal and the second system;
  • the determining module is configured to determine a target system currently applied by the terminal, where the target system is the first system or the second system;
  • the freezing module is configured to freeze an application in a system space of the second system based on the target application information set by the setting module when the determining module determines that the target system is the first system ;
  • the processing module is configured to respond to operations on any of the applications in the system space of the first system.
  • the target application information is information of an application that does not need to be frozen
  • the setting module is configured to add the target application information to a white list shared by the first system and the second system in advance;
  • the freezing module is configured to: when the determining module determines that the target system is the first system, freeze the system space of the second system, except the target application corresponding to the target application information. Applications.
  • the target application information is information of an application that needs to be frozen
  • the setting module is configured to add the target application information to a blacklist shared by the first system and the second system in advance;
  • the freezing module is configured to freeze a target application corresponding to the target application information in a system space of the second system when the determining module determines that the target system is the first system.
  • the target application information is information of an application that does not need to be frozen
  • the setting module is configured to add first target application information corresponding to the first system to a white list shared by the first system and the second system, and corresponding to the second system. Second target application information;
  • the freezing module includes: a first acquiring submodule and a first freezing submodule;
  • the first acquiring sub-module is configured to acquire second target application information corresponding to the second system from the whitelist when the target system is the first system;
  • the first freezing module is configured to freeze an application in the system space of the second system except the target application corresponding to the second target application information acquired by the first acquiring submodule.
  • the target application information is information of an application that needs to be frozen
  • the setting module is configured to add first target application information corresponding to the first system to a blacklist shared by the first system and the second system, and corresponding to the second system. Second target application information;
  • the freeze module includes a second acquisition submodule and a second freeze submodule:
  • the second obtaining sub-module is configured to acquire second target application information corresponding to the second system from the blacklist when the target system is the first system;
  • the second freezing sub-module is configured to freeze a target application corresponding to the second target application information acquired by the second acquiring sub-module in a system space of the second system.
  • the freezing module is further configured to freeze the first system based on the preset target application information when a system currently applied by the terminal is switched from the first system to the second system Applications in system space; and,
  • the processing module is further configured to respond to operations on any of the applications in the system space of the second system.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for performing the above method.
  • the method and device for freezing an application provided by the embodiment of the present application can freeze the system space shared by the two systems based on the preset target application information shared by the two systems after the terminal is currently applied.
  • the application saves memory for the system space of the current system, improves the startup speed of the application in the current system space, ensures smooth operation of the application in the current system space, and significantly improves the satisfaction of the user operating the mobile intelligent terminal. Aspects reduce terminal power consumption.
  • FIG. 1 is a schematic flowchart of a method for freezing an application according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an implementation manner of a method for freezing an application according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another implementation manner of a method for freezing an application according to an embodiment of the present disclosure schematic diagram
  • FIG. 4 is a schematic flowchart of still another implementation manner of a method for freezing an application according to an embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of still another implementation manner of a method for freezing an application according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an apparatus for freezing an application according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a method for freezing an application, which is applicable to a terminal, where the terminal may be, but not limited to, a PC, a PAD, a mobile phone, etc., and the terminal includes a first system and a second system, and the first system is preset.
  • FIG. 1 is a schematic flowchart of a method for freezing an application provided by an embodiment of the present application, which may include:
  • the target system currently applied by the terminal is determined.
  • the target system is the first system or the second system.
  • the user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • the terminal has a common system and a security system.
  • the first system may be a normal system or a security system. If the first system is a normal system, the second system is a security system. In this case, based on a preset
  • the target application information freezes the application in the system space of the security system. If the first system is a security system, the second system is a normal system. At this time, the application in the system space of the ordinary system is frozen based on the preset target application information.
  • the method for freezing an application determines the current application system of the terminal. After the system, the target application information shared by the two systems is used to freeze the application that needs to be frozen in the system space of another system. On the one hand, the system space of the current system saves memory, and the application of the current system space is improved. The speed guarantees the smooth operation of the current system, significantly improves the satisfaction of the user's operation terminal, and reduces the power consumption of the terminal.
  • FIG. 2 a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown.
  • the whitelist shared by the first system and the second system of the terminal is pre-defined.
  • Add target application information, the implementation process can include:
  • S210 it is determined whether the system currently applied by the terminal is the first system.
  • S220a is executed, and when the system currently applied by the terminal is the second system, step S220b is performed.
  • whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
  • an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
  • the target application information may be, but is not limited to, an application identifier of the target application.
  • the target application can be the most important and core applications, such as phone, SMS, address book, and WeChat. These most important and core applications can be added to the whitelist in advance, and when the application in the second system space is frozen, the applications other than these most important and core applications are frozen, so that even The currently applied system is the first system and does not affect the reception of these most important and core application information in the system space of the second system.
  • the user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • an application other than the target application corresponding to the target application information in the system space of the first system is frozen.
  • the user can operate any application in the system space of the second system, that is, the user can use the operating system in the system space of the current system without affecting the uncooled system space of the other system. Use of information to receive.
  • the first system is a common system
  • the second system is a security system.
  • the target applications on the white list shared by the two systems are a phone application, a short message application, and a WeChat application. If the currently applied system is a normal system, In the system space of the security system, other applications except the phone application, the short message application and the WeChat application are frozen, that is, the phone application, the short message application and the WeChat application in the system space of the security system can continue to receive information, and the user can be in the system space of the common system.
  • the whitelist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
  • the target application corresponding to the target information is excluded from the white space in the system space of the first system.
  • the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the white space in the system space of the second system is frozen and corresponding to the target information.
  • An application outside of the target application that responds to user actions on any of the applications in the first system space.
  • the method for freezing an application adds a target application to a white list shared by two systems in advance, and after determining the system currently applied by the terminal, freezes the white space on the system space of another system.
  • the application outside the application saves the memory of the current system space, improves the startup speed of the application in the current system space, ensures the smooth running of the application in the system space of the current system, and significantly improves the satisfaction of the user operation terminal.
  • the terminal power consumption is reduced.
  • freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
  • FIG. 3 a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown.
  • the blacklist shared by the first system and the second system of the terminal is pre-processed.
  • Add target application information, the implementation process can include:
  • step S310 it is determined whether the system currently applied by the terminal is the first system.
  • S320a is executed, and when the currently applied system is the second system, step S320b is performed.
  • the current application of the terminal can be determined by the system identifier of the system currently applied by the terminal. Whether the system is the first system.
  • the target application corresponding to the target application information in the system space of the second system is frozen.
  • the target application information may be, but is not limited to, an application identifier of the target application.
  • the target application may be an application with a lower degree of importance and a lower frequency of use. These applications with lower importance and lower frequency can be added to the blacklist in advance. When the application in the second system space is frozen, these applications with lower importance and lower frequency are frozen. In this way, other applications in the system space of the second system can still receive information.
  • the user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • the target application corresponding to the target application information in the system space of the first system is frozen.
  • the user can operate on any application in the second system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • the first system is a common system
  • the second system is a security system.
  • the target applications on the blacklist shared by the two systems are a video application, a memo application, and a recording application. If the currently applied system is a normal system, The video application, the memo application, and the recording application in the system space of the security system are frozen, that is, other applications in the system space of the security system can continue to receive information, and the user can operate freely in the system space of the ordinary system; if the currently applied system is The security system freezes the video application, the memo application, and the recording application in the system space of the ordinary system, that is, other applications in the system space of the ordinary system can continue to receive information, and the user can operate freely in the system space of the security system.
  • the blacklist shared by the two systems is used to freeze the application on the blacklist in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
  • the target application corresponding to the target information on the blacklist in the system space of the first system is frozen. Responding to user actions on any of the applications in the second system space.
  • the blacklist in the system space of the second system is frozen and corresponding to the target information. The target application, responsive to the user's operation of any of the applications in the first system space.
  • the method for freezing an application adds a target application to a blacklist shared by two systems in advance, and freezes an application on a blacklist in a system space of another system after determining a system currently applied by the terminal.
  • it saves memory for the current system space, improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the satisfaction on the other hand.
  • Terminal power consumption In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
  • the target application information on the whitelist or the blacklist is common to both systems, that is, regardless of which system the current system is, in the other
  • the embodiment of the present application provides another implementation manner of the method for freezing the application.
  • FIG. 4 A schematic flowchart of the implementation manner, in which the first target application information corresponding to the first system and the first corresponding to the second system are added to the white list shared by the first system and the second system of the terminal in advance
  • the second target application information may include:
  • S410 it is determined whether the system currently applied by the terminal is the first system.
  • S420a is executed, and when the currently applied system is the second system, step S420b is performed.
  • whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
  • the target application information may be, but is not limited to, an application identifier of the target application.
  • the information on the whitelist may include a system identifier of the first system and first target application information corresponding to the system identifier of the first system, and a system identifier of the second system and the second The second target application information corresponding to the system identifier of the system.
  • the corresponding second target application information may be obtained from the whitelist based on the system identifier of the second system.
  • the corresponding first target application information may be obtained from the whitelist based on the system identifier of the first system.
  • the user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • the first target application information corresponding to the first system is acquired from the whitelist.
  • the user can operate any application in the system space of the second system, that is, the user can apply the operating system freely in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
  • the first system is a common system
  • the second system is a security system
  • the application corresponding to the security system on the whitelist shared by the two systems is the application a and the application b
  • the application corresponding to the common system is the application a, the application.
  • the currently applied system is a normal system, the application in the system space of the security system except the application a and the application b is frozen, that is, the application a and the application b in the system space of the security system can still receive Information, the user can operate freely in the system space of the ordinary system; if the currently applied system is a security system, the application in the system space of the ordinary system except the application a, the application b and the application c is frozen, that is, the system of the common system The application a, the application b, and the application c in the space can continue to receive information, and the user can operate freely in the system space of the security system.
  • the whitelist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
  • the white space list and the first target application information in the system space of the first system are frozen.
  • the corresponding application outside the target application responds to the user's operation on any application in the second system space.
  • the system currently applied by the terminal is the second system
  • the white space and the second target application in the system space of the second system are frozen.
  • the application outside the target application corresponding to the information responds to the user's operation on any application in the first system space.
  • a first target application corresponding to the first system and a second target application corresponding to the second system are respectively added to the white list shared by the two systems, and the user can be satisfied.
  • the application in the system space of the other system except the target application corresponding to the system in the system space of the other system is frozen, and the memory of the current system space is saved on the one hand. It improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the power consumption of the terminal.
  • freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
  • FIG. 5 a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown.
  • the blacklist shared by the first system and the second system of the terminal is pre-configured.
  • the first target application information corresponding to the first system and the second target application information corresponding to the second system are added, and the implementation process may include:
  • S510 it is determined whether the system currently applied by the terminal is the first system.
  • the system currently applied by the terminal is the first system, executing S520a, and when the currently applied system is the second system, executing S520b.
  • whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
  • the target application information may be, but is not limited to, an application identifier of the target application.
  • the information on the blacklist may include a system identifier of the first system and first target application information corresponding to the system identifier of the first system, and a system identifier of the second system and the second The second target application information corresponding to the system identifier of the system.
  • the corresponding second target application information may be obtained from the blacklist based on the system identifier of the second system.
  • the corresponding first target application information may be obtained from the blacklist based on the system identifier of the first system.
  • the target application corresponding to the second target application information in the system space of the second system is frozen.
  • the user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the unfrozen application information in the system space of another system. Reception.
  • the first target application information corresponding to the first system is obtained from the blacklist.
  • the target application corresponding to the first target application information in the system space of the first system is frozen.
  • the user can operate any application in the system space of the second system, that is, the user can apply the operating system in the system space of the current application without affecting the reception of the unfrozen application information in the system space of another system.
  • the first system is a common system
  • the second system is a security system.
  • the applications corresponding to the security system on the blacklist shared by the two systems are Application A, Application B, Application C, and Application D, corresponding to the common system.
  • the application is Application A, Application B, and Application C, Application E, and Application F: If the currently applied system is a normal system, the application A, Application B, Application C, and Application D in the system space of the security system are frozen, that is, security.
  • Applications other than Application A, Application B, Application C, and Application D in the system space of the system can still receive information, and the user can operate freely in the system space of the ordinary system; if the currently applied system is a security system, the general system will be Application A, Application B, and Application C, Application E, and Application F are frozen in the system space, that is, applications other than Application A, Application B, and Application C, Application E, and Application F in the system space of the general system can continue to receive. Information, users can operate freely in the system space of the security system.
  • the blacklist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
  • the target corresponding to the first target application information on the blacklist in the system space of the first system is frozen.
  • An application that responds to user actions on any of the applications in the second system space if the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the blacklist and the second target application information in the system space of the second system are frozen.
  • the corresponding target application responds to the user's operation on any of the applications in the first system space.
  • a first target application corresponding to the first system and a second target application corresponding to the second system are respectively added to the blacklist shared by the two systems, and the user can be satisfied.
  • the target application corresponding to the system in the black space of the system space of another system is frozen, on the one hand, when The front system space saves memory, improves the startup speed of the application in the current system space, ensures smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the power consumption of the terminal.
  • freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
  • the embodiment of the present application further provides a device for freezing an application, which is applied to a terminal, where the terminal includes a first system and a second system.
  • the application is frozen according to an embodiment of the present application.
  • the structural diagram of the device may include: a setting module 600, a determining module 601, a freezing module 602, and a processing module 603.
  • the setting module 600 is configured to preset target application information shared by the first system and the second system.
  • the determining module 601 is configured to determine a target system currently applied by the terminal, where the target system is the first system or the second system.
  • the freezing module 602 is configured to freeze the application in the system space of the second system based on the target application information preset by the setting module 600 when the determining module 601 determines that the target system currently applied by the terminal is the first system.
  • the processing module 603 is configured to respond to operations on any of the applications in the system space of the first system.
  • the device for freezing the application provided by the embodiment of the present application freezes the application that needs to be frozen in the system space of another system based on the preset target application information after determining the system currently applied by the terminal, on the one hand, the current system
  • the system space saves memory, improves the startup speed of the application in the current system space, ensures the smooth operation of the current system, significantly improves the satisfaction of the user operating the mobile terminal, and reduces the power consumption of the terminal.
  • freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
  • the target application information in the foregoing embodiment is information of an application that does not need to be frozen.
  • the setting module is configured to add target application information on the white list shared by the first system and the second system in advance.
  • the freezing module is configured to: when the determining module determines that the target system currently applied by the terminal is the first system, freeze the target application corresponding to the target application information in the system space of the second system. External application.
  • the target application information is information of an application that needs to be frozen.
  • the setting module is configured to add target application information on the blacklist shared by the first system and the second system in advance.
  • the freezing module is configured to freeze the target application corresponding to the target application information in the system space of the second system when the determining module determines that the target system currently applied by the terminal is the first system.
  • the target application information is information of an application that does not need to be frozen.
  • the setting module is configured to add first target application information corresponding to the first system and second target application information corresponding to the second system to the white list shared by the first system and the second system in advance.
  • the freezing module comprises: a first acquiring sub-module and a first freezing sub-module. among them:
  • the first acquiring sub-module is configured to acquire the second target application information corresponding to the second system from the whitelist when the target system currently applied by the terminal is the first system.
  • the first freezing module is configured to freeze an application in the system space of the second system except the target application corresponding to the second target application information acquired by the first acquiring submodule.
  • the target application information in the foregoing embodiment is information of an application that does not need to be frozen.
  • the setting module is configured to add first target application information corresponding to the first system and second target application information corresponding to the second system to the blacklist shared by the first system and the second system in advance.
  • the freezing module comprises a second acquiring submodule and a second freezing submodule. among them:
  • a second acquiring sub-module configured to: when the target system currently applied by the terminal is the first system, obtain second target application information corresponding to the second system from the blacklist;
  • the second freezing submodule is configured to freeze the target application corresponding to the second target application information acquired by the second acquiring submodule in the system space of the second system.
  • the freezing module is further configured to freeze the first system based on the preset target application information when the system currently applied by the terminal is switched from the first system to the second system.
  • the application in the system space is further configured to freeze the first system based on the preset target application information when the system currently applied by the terminal is switched from the first system to the second system. The application in the system space.
  • processing module is further arranged to respond to operations on any of the applications in the system space of the second system.
  • the device for freezing the application provided by the embodiment of the present application can satisfy the application in the system space of another system based on the whitelist or blacklist shared by the dual system after determining the currently applied system, which greatly satisfies the application.
  • the user has a good experience with the smart terminal, especially the high efficiency switching between the two systems, and the dual system whitelist or blacklist freezing application method can well solve the user's operation requirements for the dual system, and also It saves memory for the current system space, improves the application startup speed, improves the user's operation requirements for system fluency, prevents the dual system from running a large memory, and reduces the phenomenon that the current system is stuck during use, and is certain
  • the power consumption of the terminal is reduced to a certain extent.
  • the embodiment of the present application has strong practicability and can significantly improve the satisfaction of the user operating terminal.
  • FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application.
  • the mobile terminal in the embodiment of the present application may be any device with a touch display screen, such as a tablet computer, a mobile phone, an e-reader, a remote controller, a personal computer (PC), a notebook computer, an in-vehicle device, and a network television. And wearable devices, etc.
  • the mobile terminal in the embodiment of the present application includes: at least one processor 701, such as a CPU, at least one receiver 703, and at least one memory 704.
  • At least one transmitter 705 and at least one communication bus 702 can also be included. Among them, the communication bus 702 is used to implement connection communication between these components.
  • the receiver 703 and the transmitter 705 of the device in this embodiment may be wired transmission ports, or may be wireless devices, for example, including antenna devices, for performing signaling or data communication with other node devices.
  • the memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701.
  • a set of program code is stored in memory 704, and said processor 701 can invoke code stored in memory 704 via communication bus 702 to perform the associated functions.
  • the mobile terminal further includes an input/output device, such as a touch display screen, where the touch display screen is an integration of the touch screen and the display screen, and the touch display screen may be provided with a pressure sensor array.
  • the mobile terminal can detect the pressure parameter through the pressure sensor array, wherein the pressure sensor can be, for example, a resistance strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and a resonant type. Pressure sensor, etc.
  • the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and the touch sensor a lower indium tin oxide substrate; and a pressure sensor disposed on an upper surface or a lower surface of the indium tin oxide substrate; or
  • the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and disposed on the Touch the pressure sensor below the sensor.
  • the processor 701 is applied to a terminal, where the terminal includes a first system and a second system, and preset target application information shared by the first system and the second system, where the application is frozen.
  • Methods include:
  • the target system being the first system or the second system
  • the target system is the first system, freezing an application in a system space of the second system based on the target application information;
  • the processor 701 is further configured to: when the target application information is information of an application that does not need to be frozen;
  • the target application information shared by the first system and the second system is preset to: add the target application information to a white list shared by the first system and the second system in advance;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
  • the processor 701 is further configured to: when the target application information is information of an application that needs to be frozen;
  • the target application information shared by the first system and the second system is set in advance: the target application information is added to a blacklist shared by the first system and the second system in advance;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • the processor 701 is further configured to: when the target application information is information of an application that does not need to be frozen;
  • the target application information shared by the first system and the second system is preset to: add a corresponding to the first system on a white list shared by the first system and the second system in advance First target application information, and second target application information corresponding to the second system;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • An application other than the target application corresponding to the second target application information in the system space of the second system is frozen.
  • the processor 701 is further configured to: when the target application information is information of an application that needs to be frozen;
  • the target application information shared by the first system and the second system is preset to: add a corresponding to the first system on a blacklist shared by the first system and the second system in advance First target application information, and second target application information corresponding to the second system;
  • the application in the system space of the second system is frozen based on the target application information, including:
  • the processor 701 is further configured to: when the system currently applied by the terminal is switched by the first system to the second system, freeze an application in a system space of the first system based on the target application information. ;as well as,
  • the mobile terminal can freeze the system space of another system based on the target application information shared by the two preset systems.
  • the application saves memory for the system space of the current system, improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the current system space, and significantly improves the satisfaction of the user operating the mobile intelligent terminal.
  • the terminal power consumption is reduced.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for executing a method for freezing an application including any one of the foregoing method embodiments. Part or all of the steps.
  • the disclosed methods, apparatus, and devices may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be in electrical, mechanical or other form.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present application, or the part contributing to the related technology or the part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the method and device for freezing an application can freeze the system space shared by the two systems based on the preset target application information shared by the two systems after the terminal is currently applied.
  • Application saves memory for the system space of the current system.
  • the startup speed of the application in the current system space is improved, the smooth running of the application in the current system space is ensured, the satisfaction of the user operating the mobile intelligent terminal is significantly improved, and the power consumption of the terminal is reduced on the other hand.

Abstract

A method of freezing an application and a device utilizing the same are applicable to a terminal comprising a first system and a second system. Target application information shared by the first system and the second system is preconfigured. The method comprises: determining a target system operating on the terminal, wherein the target system is the first system or the second system (S110); when the target system is the first system, freezing, on the basis of the target application information, an application to be frozen in a system space of the second system (S120), and responding to an operation of any application in a system space of the first system (S130).

Description

对应用进行冻结的方法及装置Method and device for freezing application
本申请要求于2016年6月29日提交中国专利局,申请号为201610495643.7、发明名称为“一种对应用进行冻结的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610495643.7, entitled "A Method and Apparatus for Freezing Applications", which is filed on June 29, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及软件技术领域,例如涉及一种对应用进行冻结的方法及装置。The present application relates to the field of software technology, for example, to a method and apparatus for freezing an application.
背景技术Background technique
目前,在相关技术中的智能终端中已经实现了应用冻结技术,应用可以为,手机自带冷藏室实现“冷藏应用”,即把不经常使用的应用添加至手机自带的冷藏室中进行冷藏,当需要使用的时候对应用进行解冻。At present, the application freezing technology has been implemented in the intelligent terminal in the related art, and the application may be that the mobile phone has its own refrigerating room to realize the "refrigeration application", that is, the application that is not frequently used is added to the refrigerating room of the mobile phone for refrigerating. Unfreeze the application when it is needed.
由此可见,在使用智能终端过程中,存在冻结和解冻两个操作,这在一定程度上增加了用户使用移动智能终端的繁琐性,影响了用户体验度。目前,有些终端存在双系统,在这种情况下,需要对两个系统分别进行冻结和相应的解冻,这无疑会使用户的操作变得更加繁琐,特别是在非常紧急的情况下,会给用户带来非常差的满意度体验。It can be seen that in the process of using the smart terminal, there are two operations of freezing and thawing, which increases the cumbersomeness of the user to use the mobile intelligent terminal to a certain extent, and affects the user experience. At present, some terminals have dual systems. In this case, the two systems need to be frozen and correspondingly thawed, which will undoubtedly make the user's operation more complicated, especially in very urgent situations. Users bring a very poor satisfaction experience.
发明内容Summary of the invention
有鉴于此,本申请提供了一种对应用进行冻结的方法及装置,用以解决相关技术中在使用应用冻结功能时操作繁琐,用户体验度较差的问题。In view of this, the present application provides a method and apparatus for freezing an application, which solves the problem of cumbersome operation and poor user experience when using the application freezing function in the related art.
本申请实施例提供一种对应用进行冻结的方法,应用于一终端,,所述方法包括:预先设定终端的所述第一系统和所述第二系统共享的目标应用信息;The embodiment of the present application provides a method for freezing an application, which is applied to a terminal, where the method includes: pre-setting target application information shared by the first system and the second system of the terminal;
确定所述终端当前应用的目标系统,所述目标系统为所述第一系统或所述第二系统;Determining a target system currently applied by the terminal, the target system being the first system or the second system;
当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用;以及,When the target system is the first system, freezing an application in a system space of the second system based on the target application information; and,
响应对所述第一系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the first system.
其中,所述目标应用信息为不需要冻结的应用的信息;The target application information is information of an application that does not need to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预 先在所述第一系统和所述第二系统共享的白名单上添加所述目标应用信息;The target application information shared by the first system and the second system is preset: Adding the target application information to a white list shared by the first system and the second system;
则,当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中除与所述目标应用信息对应的目标应用外的应用。When the target system is the first system, an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
其中,所述目标应用信息为需要冻结的应用的信息;The target application information is information of an application that needs to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的黑名单上添加所述目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding the target application information to a blacklist shared by the first system and the second system in advance;
则,当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中与所述目标应用信息对应的目标应用。And when the target system is the first system, freeze a target application corresponding to the target application information in a system space of the second system.
其中,所述目标应用信息为不需要冻结的应用的信息;The target application information is information of an application that does not need to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的白名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a whitelist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,从所述白名单获取与所述第二系统对应的第二目标应用信息;以及,And acquiring, when the target system is the first system, second target application information corresponding to the second system from the whitelist; and
冻结所述第二系统的系统空间中除与所述第二目标应用信息对应的目标应用外的应用。An application other than the target application corresponding to the second target application information in the system space of the second system is frozen.
其中,所述目标应用信息为需要冻结的应用的信息;The target application information is information of an application that needs to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的黑名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a blacklist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,从所述黑名单获取与所述第二系统对应的第二目标应用信息;以及,And acquiring, when the target system is the first system, second target application information corresponding to the second system from the blacklist; and
冻结所述第二系统的系统空间中与所述第二目标应用信息对应的目标应 用。Freezing the target corresponding to the second target application information in the system space of the second system use.
其中,所述对应用进行冻结的方法还包括:The method for freezing the application further includes:
当所述终端当前应用的系统由所述第一系统切换至所述第二系统时,基于所述目标应用信息冻结所述第一系统的系统空间中的应用;以及,When the system currently applied by the terminal is switched by the first system to the second system, the application in the system space of the first system is frozen based on the target application information; and
响应对所述第二系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the second system.
本申请实施例还提供一种对应用进行冻结的装置,应用于一终端,所述装置包括:设置模块、确定模块、冻结模块和处理模块;The embodiment of the present application further provides an apparatus for freezing an application, which is applied to a terminal, where the apparatus includes: a setting module, a determining module, a freezing module, and a processing module;
所述设置模块,设置为预先设定所述终端的第一系统和所述第二系统共享的目标应用信息;The setting module is configured to preset target application information shared by the first system of the terminal and the second system;
所述确定模块,设置为确定所述终端当前应用的目标系统,所述目标系统为所述第一系统或所述第二系统;The determining module is configured to determine a target system currently applied by the terminal, where the target system is the first system or the second system;
所述冻结模块,设置为在所述确定模块确定出所述目标系统为所述第一系统时,基于所述设置模块设置的所述目标应用信息冻结所述第二系统的系统空间中的应用;The freezing module is configured to freeze an application in a system space of the second system based on the target application information set by the setting module when the determining module determines that the target system is the first system ;
所述处理模块,设置为响应对所述第一系统的系统空间中任一应用的操作。The processing module is configured to respond to operations on any of the applications in the system space of the first system.
其中,所述目标应用信息为不需要冻结的应用的信息;The target application information is information of an application that does not need to be frozen;
所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的白名单上添加所述目标应用信息;The setting module is configured to add the target application information to a white list shared by the first system and the second system in advance;
则所述冻结模块,是设置为当所述确定模块确定出所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中除与所述目标应用信息对应的目标应用外的应用。And the freezing module is configured to: when the determining module determines that the target system is the first system, freeze the system space of the second system, except the target application corresponding to the target application information. Applications.
其中,所述目标应用信息为需要冻结的应用的信息;The target application information is information of an application that needs to be frozen;
所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的黑名单上添加所述目标应用信息;The setting module is configured to add the target application information to a blacklist shared by the first system and the second system in advance;
所述冻结模块,是设置为当所述确定模块确定出所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中与所述目标应用信息对应的目标应用。The freezing module is configured to freeze a target application corresponding to the target application information in a system space of the second system when the determining module determines that the target system is the first system.
其中,所述目标应用信息为不需要冻结的应用的信息;The target application information is information of an application that does not need to be frozen;
所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的白名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The setting module is configured to add first target application information corresponding to the first system to a white list shared by the first system and the second system, and corresponding to the second system. Second target application information;
所述冻结模块包括:第一获取子模块和第一冻结子模块; The freezing module includes: a first acquiring submodule and a first freezing submodule;
所述第一获取子模块,设置为当所述目标系统为所述第一系统时,从所述白名单获取与所述第二系统对应的第二目标应用信息;The first acquiring sub-module is configured to acquire second target application information corresponding to the second system from the whitelist when the target system is the first system;
所述第一冻结模块,设置为冻结所述第二系统的系统空间中除与所述第一获取子模块获取的所述第二目标应用信息对应的目标应用外的应用。The first freezing module is configured to freeze an application in the system space of the second system except the target application corresponding to the second target application information acquired by the first acquiring submodule.
其中,所述目标应用信息为需要冻结的应用的信息;The target application information is information of an application that needs to be frozen;
所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的黑名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The setting module is configured to add first target application information corresponding to the first system to a blacklist shared by the first system and the second system, and corresponding to the second system. Second target application information;
所述冻结模块包括第二获取子模块和第二冻结子模块:The freeze module includes a second acquisition submodule and a second freeze submodule:
所述第二获取子模块,设置为当所述目标系统为所述第一系统时,从所述黑名单获取与所述第二系统对应的第二目标应用信息;The second obtaining sub-module is configured to acquire second target application information corresponding to the second system from the blacklist when the target system is the first system;
所述第二冻结子模块,设置为冻结所述第二系统的系统空间中与所述第二获取子模块获取的所述第二目标应用信息对应的目标应用。The second freezing sub-module is configured to freeze a target application corresponding to the second target application information acquired by the second acquiring sub-module in a system space of the second system.
其中,所述冻结模块,还设置为当所述终端当前应用的系统由所述第一系统切换至所述第二系统时,基于所述预先设定的目标应用信息冻结所述第一系统的系统空间中的应用;以及,The freezing module is further configured to freeze the first system based on the preset target application information when a system currently applied by the terminal is switched from the first system to the second system Applications in system space; and,
所述处理模块,还设置为响应对所述第二系统的系统空间中任一应用的操作。The processing module is further configured to respond to operations on any of the applications in the system space of the second system.
本申请实施例还提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for performing the above method.
本申请实施例提供的对应用进行冻结的方法及装置,能够在确定出终端当前应用的系统后,基于预先设定的两个系统共享的目标应用信息冻结另一个系统的系统空间中需要冻结的应用,一方面为当前系统的系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统空间中应用的顺畅运行,显著提升了用户操作移动智能终端的满意度,另一方面降低了终端功耗。The method and device for freezing an application provided by the embodiment of the present application can freeze the system space shared by the two systems based on the preset target application information shared by the two systems after the terminal is currently applied. The application saves memory for the system space of the current system, improves the startup speed of the application in the current system space, ensures smooth operation of the application in the current system space, and significantly improves the satisfaction of the user operating the mobile intelligent terminal. Aspects reduce terminal power consumption.
附图说明DRAWINGS
图1为本申请实施例提供的对应用进行冻结的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for freezing an application according to an embodiment of the present application;
图2为本申请实施例提供的对应用进行冻结的方法的一实现方式的流程示意图;2 is a schematic flowchart of an implementation manner of a method for freezing an application according to an embodiment of the present disclosure;
图3为本申请实施例提供的对应用进行冻结的方法的另一实现方式的流程 示意图;FIG. 3 is a flowchart of another implementation manner of a method for freezing an application according to an embodiment of the present disclosure schematic diagram;
图4为本申请实施例提供的对应用进行冻结的方法的再一实现方式的流程示意图;FIG. 4 is a schematic flowchart of still another implementation manner of a method for freezing an application according to an embodiment of the present disclosure;
图5为本申请实施例提供的对应用进行冻结的方法的又一实现方式的流程示意图;FIG. 5 is a schematic flowchart of still another implementation manner of a method for freezing an application according to an embodiment of the present disclosure;
图6为本申请实施例提供的对应用进行冻结的装置的结构示意图;FIG. 6 is a schematic structural diagram of an apparatus for freezing an application according to an embodiment of the present disclosure;
图7为本申请实施例提供的移动终端的结构示意图。FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。本申请实施例提供了一种对应用进行冻结的方法,应用于一终端,该终端可以但不限定为PC、PAD以及手机等,终端包括第一系统和第二系统,预先设定第一系统和第二系统共享的目标应用信息,请参阅图1,示出了本申请实施例提供的对应用进行冻结的方法的流程示意图,可以包括:The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are only a part of the embodiments of the present application, and not all embodiments. The embodiment of the present application provides a method for freezing an application, which is applicable to a terminal, where the terminal may be, but not limited to, a PC, a PAD, a mobile phone, etc., and the terminal includes a first system and a second system, and the first system is preset. For the target application information shared by the second system, refer to FIG. 1 , which is a schematic flowchart of a method for freezing an application provided by an embodiment of the present application, which may include:
在S110中,确定终端当前应用的目标系统。In S110, the target system currently applied by the terminal is determined.
其中,目标系统为第一系统或第二系统。The target system is the first system or the second system.
在一种可能的实现方式中,通过终端当前所应用系统的系统标识确定终端当前应用的系统为第一系统还是第二系统。In a possible implementation manner, determining, by the system identifier of the system currently applied by the terminal, whether the system currently applied by the terminal is the first system or the second system.
在S120中,当目标系统为第一系统时,基于预先设定的目标应用信息冻结第二系统的系统空间中的应用。In S120, when the target system is the first system, the application in the system space of the second system is frozen based on the preset target application information.
在S130中,响应对第一系统的系统空间中任一应用的操作。In S130, responding to operations on any of the applications in the system space of the first system.
用户可对第一系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
示例性的,终端上具有普通系统和安全系统,第一系统可以是普通系统也可以是安全系统,如果第一系统为普通系统,那么第二系统为安全系统,此时,基于预先设定的目标应用信息冻结安全系统的系统空间中的应用,如果第一系统为安全系统,那么第二系统为普通系统,此时,基于预先设定的目标应用信息冻结普通系统的系统空间中的应用。Exemplarily, the terminal has a common system and a security system. The first system may be a normal system or a security system. If the first system is a normal system, the second system is a security system. In this case, based on a preset The target application information freezes the application in the system space of the security system. If the first system is a security system, the second system is a normal system. At this time, the application in the system space of the ordinary system is frozen based on the preset target application information.
本申请实施例提供的对应用进行冻结的方法,在确定出终端当前应用的系 统后,基于预先设定的两个系统共享的目标应用信息冻结另一个系统的系统空间中需要冻结的应用,一方面为当前系统的系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的顺畅运行,显著提升了用户操作终端的满意度,另一方面降低了终端功耗。The method for freezing an application provided by the embodiment of the present application determines the current application system of the terminal. After the system, the target application information shared by the two systems is used to freeze the application that needs to be frozen in the system space of another system. On the one hand, the system space of the current system saves memory, and the application of the current system space is improved. The speed guarantees the smooth operation of the current system, significantly improves the satisfaction of the user's operation terminal, and reduces the power consumption of the terminal.
请参阅图2,示出了本申请实施例提供的对应用进行冻结的方法的一实现方式的流程示意图,在该实现方式中,预先在终端的第一系统和第二系统共享的白名单上添加目标应用信息,实现过程可以包括:Referring to FIG. 2, a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown. In this implementation manner, the whitelist shared by the first system and the second system of the terminal is pre-defined. Add target application information, the implementation process can include:
在S210中,判断终端当前应用的系统是否为第一系统,当终端当前应用的系统为第一系统时,执行S220a,当终端当前应用的系统为第二系统时,执行步骤S220b。In S210, it is determined whether the system currently applied by the terminal is the first system. When the system currently applied by the terminal is the first system, S220a is executed, and when the system currently applied by the terminal is the second system, step S220b is performed.
在本实施例中,可通过终端当前所应用系统的系统标识确定终端当前应用的系统是否为第一系统。In this embodiment, whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
在S220a中,冻结第二系统的系统空间中除与目标应用信息对应的目标应用外的应用。In S220a, an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
其中,目标应用信息可以但不限定为目标应用的应用标识。The target application information may be, but is not limited to, an application identifier of the target application.
在本实施例中,目标应用可以为最重要和最核心的应用,例如电话、短信、通讯录以及微信等。可预先将这些最重要和最核心的应用添加至白名单中,当对第二系统空间中的应用进行冻结时,对除这些最重要和最核心的应用之外的应用进行冻结,这样,即便当前应用的系统为第一系统,也不影响第二系统的系统空间中这些最重要和最核心应用信息的接收。In this embodiment, the target application can be the most important and core applications, such as phone, SMS, address book, and WeChat. These most important and core applications can be added to the whitelist in advance, and when the application in the second system space is frozen, the applications other than these most important and core applications are frozen, so that even The currently applied system is the first system and does not affect the reception of these most important and core application information in the system space of the second system.
在S230a中,响应对第一系统的系统空间中任一应用进行的操作。In S230a, an operation is performed in response to any of the applications in the system space of the first system.
用户可对第一系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
当当前应用的系统不是第一系统,即为第二系统时,执行下述S220b-S230b:When the currently applied system is not the first system, that is, the second system, the following S220b-S230b is executed:
在S220b中,冻结第一系统的系统空间中除与目标应用信息对应的目标应用外的应用。In S220b, an application other than the target application corresponding to the target application information in the system space of the first system is frozen.
在S230b中,响应对第二系统的系统空间中任一应用进行的操作。In S230b, an operation is performed in response to any of the applications in the system space of the second system.
用户可对第二系统的系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应 用信息的接收。The user can operate any application in the system space of the second system, that is, the user can use the operating system in the system space of the current system without affecting the uncooled system space of the other system. Use of information to receive.
示例性的,第一系统为普通系统,第二系统为安全系统,两个系统共享的白名单上的目标应用为电话应用、短信应用和微信应用,如果当前应用的系统为普通系统,则将安全系统的系统空间中除电话应用、短信应用和微信应用外的其它应用冻结,即安全系统的系统空间中的电话应用、短信应用和微信应用可以继续接收信息,用户可在普通系统的系统空间中随意操作;如果当前应用的系统为安全系统,则将普通系统的系统空间中除电话应用、短信应用和微信应用之外的应用冻结,即普通系统的系统空间中的电话应用、短信应用和微信应用可以继续接收信息,用户可在安全系统的系统空间中随意操作。本实施例使用两个系统共享的白名单来冻结当前未应用系统空间中的应用以达到保证当前应用的系统空间中应用顺畅运行的目的。Exemplarily, the first system is a common system, and the second system is a security system. The target applications on the white list shared by the two systems are a phone application, a short message application, and a WeChat application. If the currently applied system is a normal system, In the system space of the security system, other applications except the phone application, the short message application and the WeChat application are frozen, that is, the phone application, the short message application and the WeChat application in the system space of the security system can continue to receive information, and the user can be in the system space of the common system. Free operation; if the currently applied system is a security system, the application in the system space of the ordinary system except the phone application, the short message application, and the WeChat application is frozen, that is, the phone application in the system space of the ordinary system, the short message application, and The WeChat application can continue to receive information, and the user can operate freely in the system space of the security system. In this embodiment, the whitelist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
如果终端当前应用的系统为第一系统,那么,当终端当前应用的系统由第一系统切换至第二系统时,冻结第一系统的系统空间中除白名单上与目标信息对应的目标应用外的应用,响应用户对于第二系统空间中任一应用的操作。同样的,如果终端当前应用的系统为第二系统,那么,当终端当前应用的系统由第二系统切换至第一系统时,冻结第二系统的系统空间中除白名单上与目标信息对应的目标应用外的应用,响应用户对于第一系统空间中任一应用的操作。If the system currently applied by the terminal is the first system, when the system currently applied by the terminal is switched from the first system to the second system, the target application corresponding to the target information is excluded from the white space in the system space of the first system. An application that responds to user actions on any of the applications in the second system space. Similarly, if the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the white space in the system space of the second system is frozen and corresponding to the target information. An application outside of the target application that responds to user actions on any of the applications in the first system space.
本申请实施例提供的对应用进行冻结的方法,预先在两个系统共享的白名单上添加目标应用,在确定出终端当前应用的系统后,冻结另一个系统的系统空间中除白名单上的应用之外的应用,一方面为当前系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的系统空间中应用的顺畅运行,显著提升了用户操作终端的满意度,另一方面降低了终端功耗。另外,对系统空间中的应用进行冻结还能保障相应应用更加安全使用,防止终端在使用过程中存在联网行为导致数据或者信息泄露的问题。The method for freezing an application provided by the embodiment of the present application adds a target application to a white list shared by two systems in advance, and after determining the system currently applied by the terminal, freezes the white space on the system space of another system. The application outside the application saves the memory of the current system space, improves the startup speed of the application in the current system space, ensures the smooth running of the application in the system space of the current system, and significantly improves the satisfaction of the user operation terminal. On the other hand, the terminal power consumption is reduced. In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
请参阅图3,示出了本申请实施例提供的对应用进行冻结的方法的一实现方式的流程示意图,在该实现方式中,预先在终端的第一系统和第二系统共享的黑名单上添加目标应用信息,实现过程可以包括:Referring to FIG. 3, a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown. In this implementation manner, the blacklist shared by the first system and the second system of the terminal is pre-processed. Add target application information, the implementation process can include:
在S310中,判断终端当前应用的系统是否为第一系统,当终端当前应用的系统为第一系统时,执行S320a,当前应用的系统为第二系统时,执行步骤S320b。In S310, it is determined whether the system currently applied by the terminal is the first system. When the system currently applied by the terminal is the first system, S320a is executed, and when the currently applied system is the second system, step S320b is performed.
在本实施例中,可通过终端当前所应用系统的系统标识确定终端当前应用 的系统是否为第一系统。In this embodiment, the current application of the terminal can be determined by the system identifier of the system currently applied by the terminal. Whether the system is the first system.
在S320a中,冻结第二系统的系统空间中与目标应用信息对应的目标应用。In S320a, the target application corresponding to the target application information in the system space of the second system is frozen.
其中,目标应用信息可以但不限定为目标应用的应用标识。The target application information may be, but is not limited to, an application identifier of the target application.
在本实施例中,目标应用可以为重要程度比较低以及使用频率比较低的应用。可预先将这些重要程度比较低以及使用频率比较低的应用添加至黑名单中,当对第二系统空间中的应用进行冻结时,对这些重要程度比较低以及使用频率比较低的应用进行冻结,这样,第二系统的系统空间中其它的应用仍然可以接收信息。In this embodiment, the target application may be an application with a lower degree of importance and a lower frequency of use. These applications with lower importance and lower frequency can be added to the blacklist in advance. When the application in the second system space is frozen, these applications with lower importance and lower frequency are frozen. In this way, other applications in the system space of the second system can still receive information.
在S330a中,响应对第一系统的系统空间中任一应用的操作。In S330a, responding to operations on any of the applications in the system space of the first system.
用户可对第一系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
在S320b中,冻结第一系统的系统空间中与目标应用信息对应的目标应用。In S320b, the target application corresponding to the target application information in the system space of the first system is frozen.
在S330b中,响应对第二系统的系统空间中任一应用的操作。In S330b, responding to operations on any of the applications in the system space of the second system.
用户可对第二系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate on any application in the second system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
示例性的,第一系统为普通系统,第二系统为安全系统,两个系统共享的黑名单上的目标应用为视频应用、备忘录应用和录音应用,如果当前应用的系统为普通系统,则将安全系统的系统空间中的视频应用、备忘录应用和录音应用冻结,即安全系统的系统空间中的其它应用可以继续接收信息,用户可在普通系统的系统空间中随意操作;如果当前应用的系统为安全系统,则将普通系统的系统空间中的视频应用、备忘录应用和录音应用冻结,即普通系统的系统空间中的其它应用可以继续接收信息,用户可在安全系统的系统空间中随意操作。本实施例使用两个系统共享的黑名单来冻结当前未应用系统空间中黑名单上的应用以达到保证当前应用的系统空间中应用顺畅运行的目的。Exemplarily, the first system is a common system, and the second system is a security system. The target applications on the blacklist shared by the two systems are a video application, a memo application, and a recording application. If the currently applied system is a normal system, The video application, the memo application, and the recording application in the system space of the security system are frozen, that is, other applications in the system space of the security system can continue to receive information, and the user can operate freely in the system space of the ordinary system; if the currently applied system is The security system freezes the video application, the memo application, and the recording application in the system space of the ordinary system, that is, other applications in the system space of the ordinary system can continue to receive information, and the user can operate freely in the system space of the security system. In this embodiment, the blacklist shared by the two systems is used to freeze the application on the blacklist in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
另外,如果终端当前应用的系统为第一系统,那么,当终端当前应用的系统由第一系统切换至第二系统时,冻结第一系统的系统空间中黑名单上与目标信息对应的目标应用,响应用户对于第二系统空间中任一应用的操作。同样的,如果终端当前应用的系统为第二系统,那么,当终端当前应用的系统由第二系统切换到第一系统时,冻结第二系统的系统空间中黑名单上与目标信息对应的 目标应用,响应用户对于第一系统空间中任一应用的操作。In addition, if the system currently applied by the terminal is the first system, when the system currently applied by the terminal is switched from the first system to the second system, the target application corresponding to the target information on the blacklist in the system space of the first system is frozen. Responding to user actions on any of the applications in the second system space. Similarly, if the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the blacklist in the system space of the second system is frozen and corresponding to the target information. The target application, responsive to the user's operation of any of the applications in the first system space.
本申请实施例提供的对应用进行冻结的方法,预先在两个系统共享的黑名单上添加目标应用,在确定出终端当前应用的系统后,冻结另一个系统的系统空间中黑名单上的应用,一方面为当前系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的系统空间中应用的顺畅运行,显著提升了用户操作终端的满意度,另一方面降低了终端功耗。另外,对系统空间中的应用进行冻结还能保障相应应用更加安全使用,防止终端在使用过程中存在联网行为导致数据或者信息泄露的问题。The method for freezing an application provided by the embodiment of the present application adds a target application to a blacklist shared by two systems in advance, and freezes an application on a blacklist in a system space of another system after determining a system currently applied by the terminal. On the one hand, it saves memory for the current system space, improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the satisfaction on the other hand. Terminal power consumption. In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
在上述两种实现方式中,不管是两个系统共享白名单还是黑名单,白名单或黑名单上的目标应用信息都是两个系统公用的,即,不管当前系统是哪个系统,在对另一个系统的系统空间中的应用进行冻结时,冻结的都是相同的目标应用。然而,在一些时候,用户可能想针对不同的系统冻结不同的应用,基于这方面的考虑,本申请实施例提供了对应用进行冻结的方法的另一实现方式,请参阅图4,示出了该实现方式的流程示意图,在该实现方式中,预先在终端的第一系统和第二系统共享的白名单上添加与第一系统对应的第一目标应用信息,以及与第二系统对应的第二目标应用信息,实现过程可以包括:In the above two implementation manners, whether the two systems share a whitelist or a blacklist, the target application information on the whitelist or the blacklist is common to both systems, that is, regardless of which system the current system is, in the other When an application in a system's system space freezes, the same target application is frozen. However, at some time, the user may want to freeze different applications for different systems. Based on this consideration, the embodiment of the present application provides another implementation manner of the method for freezing the application. Referring to FIG. 4, A schematic flowchart of the implementation manner, in which the first target application information corresponding to the first system and the first corresponding to the second system are added to the white list shared by the first system and the second system of the terminal in advance The second target application information, the implementation process may include:
在S410中,判断终端当前应用的系统是否为第一系统,当终端当前应用的系统为第一系统时,执行S420a,当前应用的系统为第二系统时,执行步骤S420b。In S410, it is determined whether the system currently applied by the terminal is the first system. When the system currently applied by the terminal is the first system, S420a is executed, and when the currently applied system is the second system, step S420b is performed.
在本实施例中,可通过终端当前所应用系统的系统标识确定终端当前应用的系统是否为第一系统。In this embodiment, whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
在S420a中,从白名单获取与第二系统对应的第二目标应用信息。In S420a, second target application information corresponding to the second system is obtained from the whitelist.
其中,目标应用信息可以但不限定为目标应用的应用标识。The target application information may be, but is not limited to, an application identifier of the target application.
在一种可能的实现方式中,白名单上的信息可以包括第一系统的系统标识和与第一系统的系统标识对应的第一目标应用信息,以及,第二系统的系统标识和与第二系统的系统标识对应的第二目标应用信息。In a possible implementation manner, the information on the whitelist may include a system identifier of the first system and first target application information corresponding to the system identifier of the first system, and a system identifier of the second system and the second The second target application information corresponding to the system identifier of the system.
如果判断出当前应用的系统为第一系统时,则可基于第二系统的系统标识从白名单中获取对应的第二目标应用信息。同样的,如果判断出当前应用的系统为第二系统,则可基于第一系统的系统标识从白名单中获取对应的第一目标应用信息。If it is determined that the currently applied system is the first system, the corresponding second target application information may be obtained from the whitelist based on the system identifier of the second system. Similarly, if it is determined that the currently applied system is the second system, the corresponding first target application information may be obtained from the whitelist based on the system identifier of the first system.
在S430a中,冻结第二系统的系统空间中除与第二目标应用信息对应的目标 应用外的应用。In S430a, freezing the target space corresponding to the second target application information in the system space of the second system Apps outside of the app.
在S440a中,响应对第一系统的系统空间中任一应用的操作。In S440a, responding to operations on any of the applications in the system space of the first system.
用户可对第一系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
在判断出当前应用的系统不为第二系统,即为第二系统时,执行下述步骤S420b-S440b:When it is determined that the currently applied system is not the second system, that is, the second system, the following steps S420b-S440b are performed:
在S420b中,从白名单获取与第一系统对应的第一目标应用信息。In S420b, the first target application information corresponding to the first system is acquired from the whitelist.
在S430b中,冻结第一系统的系统空间中除与第一目标应用信息对应的目标应用外的应用。In S430b, an application other than the target application corresponding to the first target application information in the system space of the first system is frozen.
在S440b中,响应对第二系统的系统空间中任一应用的操作。In S440b, responding to operations on any of the applications in the system space of the second system.
用户可对第二系统的系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate any application in the system space of the second system, that is, the user can apply the operating system freely in the system space of the current system without affecting the reception of the unfrozen application information in the system space of another system.
示例性的,第一系统为普通系统,第二系统为安全系统,两个系统共享的白名单上与安全系统对应的应用为应用a和应用b,与普通系统对应的应用为应用a、应用b和应用c:如果当前应用的系统为普通系统,则将安全系统的系统空间中除应用a和应用b外的其它应用冻结,即安全系统的系统空间中的应用a和应用b仍然可以接收信息,用户可在普通系统的系统空间中随意操作;如果当前应用的系统为安全系统,则将普通系统的系统空间中除应用a、应用b和应用c外的应用冻结,即普通系统的系统空间中的应用a、应用b和应用c可以继续接收信息,用户可在安全系统的系统空间中随意操作。本实施例使用两个系统共享的白名单来冻结当前未应用系统空间中的应用以达到保证当前应用的系统空间中应用顺畅运行的目的。Exemplarily, the first system is a common system, and the second system is a security system. The application corresponding to the security system on the whitelist shared by the two systems is the application a and the application b, and the application corresponding to the common system is the application a, the application. b and application c: if the currently applied system is a normal system, the application in the system space of the security system except the application a and the application b is frozen, that is, the application a and the application b in the system space of the security system can still receive Information, the user can operate freely in the system space of the ordinary system; if the currently applied system is a security system, the application in the system space of the ordinary system except the application a, the application b and the application c is frozen, that is, the system of the common system The application a, the application b, and the application c in the space can continue to receive information, and the user can operate freely in the system space of the security system. In this embodiment, the whitelist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
另外,如果终端当前应用的系统为第一系统,那么,当终端当前应用的系统由第一系统切换至第二系统时,冻结第一系统的系统空间中除白名单上与第一目标应用信息对应的目标应用外的应用,响应用户对于第二系统空间中任一应用的操作。同样的,如果终端当前应用的系统为第二系统,那么,当终端当前应用的系统由第二系统切换到第一系统时,冻结第二系统的系统空间中除白名单上与第二目标应用信息对应的目标应用外的应用,响应用户对于第一系统空间中任一应用的操作。 In addition, if the system currently applied by the terminal is the first system, when the system currently applied by the terminal is switched from the first system to the second system, the white space list and the first target application information in the system space of the first system are frozen. The corresponding application outside the target application responds to the user's operation on any application in the second system space. Similarly, if the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the white space and the second target application in the system space of the second system are frozen. The application outside the target application corresponding to the information responds to the user's operation on any application in the first system space.
本申请实施例提供的对应用进行冻结的方法中,在两个系统共享的白名单上分别添加与第一系统对应的第一目标应用以及与第二系统对应的第二目标应用,能够满足用户对于不同系统的应用需求,在确定出终端当前应用的系统后,冻结另一个系统的系统空间中除白名单上与该系统对应的目标应用之外的应用,一方面为当前系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的系统空间中应用的顺畅运行,显著提升了用户操作终端的满意度,另一方面降低了终端功耗。另外,对系统空间中的应用进行冻结还能保障相应应用更加安全使用,防止终端在使用过程中存在联网行为导致数据或者信息泄露的问题。In the method for freezing an application provided by the embodiment of the present application, a first target application corresponding to the first system and a second target application corresponding to the second system are respectively added to the white list shared by the two systems, and the user can be satisfied. For the application requirements of different systems, after determining the system currently applied by the terminal, the application in the system space of the other system except the target application corresponding to the system in the system space of the other system is frozen, and the memory of the current system space is saved on the one hand. It improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the power consumption of the terminal. In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
请参阅图5,示出了本申请实施例提供的对应用进行冻结的方法的一实现方式的流程示意图,在该实现方式中,预先在终端的第一系统和第二系统共享的黑名单上添加与第一系统对应的第一目标应用信息,以及与第二系统对应的第二目标应用信息,实现过程可以包括:Referring to FIG. 5, a schematic flowchart of an implementation manner of a method for freezing an application provided by an embodiment of the present application is shown. In this implementation manner, the blacklist shared by the first system and the second system of the terminal is pre-configured. The first target application information corresponding to the first system and the second target application information corresponding to the second system are added, and the implementation process may include:
在S510中,判断终端当前应用的系统是否为第一系统,当终端当前应用的系统为第一系统时,执行S520a,当前应用的系统为第二系统时,执行S520b。In S510, it is determined whether the system currently applied by the terminal is the first system. When the system currently applied by the terminal is the first system, executing S520a, and when the currently applied system is the second system, executing S520b.
在本实施例中,可通过终端当前所应用系统的系统标识确定终端当前应用的系统是否为第一系统。In this embodiment, whether the system currently applied by the terminal is the first system may be determined by the system identifier of the system currently applied by the terminal.
在S520a中,从黑名单获取与第二系统对应的第二目标应用信息。In S520a, second target application information corresponding to the second system is obtained from the blacklist.
其中,目标应用信息可以但不限定为目标应用的应用标识。The target application information may be, but is not limited to, an application identifier of the target application.
在一种可能的实现方式中,黑名单上的信息可以包括第一系统的系统标识和与第一系统的系统标识对应的第一目标应用信息,以及,第二系统的系统标识和与第二系统的系统标识对应的第二目标应用信息。In a possible implementation manner, the information on the blacklist may include a system identifier of the first system and first target application information corresponding to the system identifier of the first system, and a system identifier of the second system and the second The second target application information corresponding to the system identifier of the system.
如果判断出当前的系统为第一系统时,则可基于第二系统的系统标识从黑名单中获取对应的第二目标应用信息。同样的,如果判断出当前系统为第二系统,则可基于第一系统的系统标识从黑名单中获取对应的第一目标应用信息。If it is determined that the current system is the first system, the corresponding second target application information may be obtained from the blacklist based on the system identifier of the second system. Similarly, if it is determined that the current system is the second system, the corresponding first target application information may be obtained from the blacklist based on the system identifier of the first system.
在S530a中,冻结第二系统的系统空间中与第二目标应用信息对应的目标应用。In S530a, the target application corresponding to the second target application information in the system space of the second system is frozen.
在S540a中,响应对第一系统的系统空间中任一应用的操作。In S540a, responding to operations on any of the applications in the system space of the first system.
用户可对第一系统空间中的任一应用进行操作,即用户在当前系统的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息 的接收。The user can operate on any application in the first system space, that is, the user can apply the operating system in the system space of the current system without affecting the unfrozen application information in the system space of another system. Reception.
在判断出当前应用的系统不为第一系统,即为第二系统时,执行下述S520b-S540b:When it is determined that the currently applied system is not the first system, that is, the second system, the following S520b-S540b is performed:
在S520b中,从黑名单获取与第一系统对应的第一目标应用信息。In S520b, the first target application information corresponding to the first system is obtained from the blacklist.
在S530b中,冻结第一系统的系统空间中与第一目标应用信息对应的目标应用。In S530b, the target application corresponding to the first target application information in the system space of the first system is frozen.
在S540b中,响应对第二系统的系统空间中任一应用进行的操作。In S540b, responding to operations performed on any of the applications in the system space of the second system.
用户可对第二系统的系统空间中的任一应用进行操作,即用户在当前应用的系统空间可以随意操作系统应用,而不影响另一系统的系统空间中未冻结应用信息的接收。The user can operate any application in the system space of the second system, that is, the user can apply the operating system in the system space of the current application without affecting the reception of the unfrozen application information in the system space of another system.
示例性的,第一系统为普通系统,第二系统为安全系统,两个系统共享的黑名单上与安全系统对应的应用为应用A、应用B、应用C和应用D,与普通系统对应的应用为应用A、应用B和应用C、应用E和应用F:如果当前应用的系统为普通系统,则将安全系统的系统空间中的应用A、应用B、应用C和应用D冻结,即安全系统的系统空间中除应用A、应用B、应用C和应用D外的应用仍然可以接收信息,用户可在普通系统的系统空间中随意操作;如果当前应用的系统为安全系统,则将普通系统的系统空间中的应用A、应用B和应用C、应用E和应用F冻结,即普通系统的系统空间中除应用A、应用B和应用C、应用E和应用F外的应用仍然可以继续接收信息,用户可在安全系统的系统空间中随意操作。本实施例使用两个系统共享的黑名单来冻结当前未应用系统空间中的应用以达到保证当前应用的系统空间中应用顺畅运行的目的。Exemplarily, the first system is a common system, and the second system is a security system. The applications corresponding to the security system on the blacklist shared by the two systems are Application A, Application B, Application C, and Application D, corresponding to the common system. The application is Application A, Application B, and Application C, Application E, and Application F: If the currently applied system is a normal system, the application A, Application B, Application C, and Application D in the system space of the security system are frozen, that is, security. Applications other than Application A, Application B, Application C, and Application D in the system space of the system can still receive information, and the user can operate freely in the system space of the ordinary system; if the currently applied system is a security system, the general system will be Application A, Application B, and Application C, Application E, and Application F are frozen in the system space, that is, applications other than Application A, Application B, and Application C, Application E, and Application F in the system space of the general system can continue to receive. Information, users can operate freely in the system space of the security system. In this embodiment, the blacklist shared by the two systems is used to freeze the application in the currently unapplied system space to ensure the smooth running of the application in the system space of the current application.
如果终端当前应用的系统为第一系统,那么,当终端当前应用的系统由第一系统切换至第二系统时,冻结第一系统的系统空间中黑名单上与第一目标应用信息对应的目标应用,响应用户对于第二系统空间中任一应用的操作。同样的,如果终端当前应用的系统为第二系统,那么,当终端当前应用的系统由第二系统切换到第一系统时,冻结第二系统的系统空间中黑名单上与第二目标应用信息对应的目标应用,响应用户对于第一系统空间中任一应用的操作。If the system currently applied by the terminal is the first system, when the system currently applied by the terminal is switched from the first system to the second system, the target corresponding to the first target application information on the blacklist in the system space of the first system is frozen. An application that responds to user actions on any of the applications in the second system space. Similarly, if the system currently applied by the terminal is the second system, when the system currently applied by the terminal is switched from the second system to the first system, the blacklist and the second target application information in the system space of the second system are frozen. The corresponding target application responds to the user's operation on any of the applications in the first system space.
本申请实施例提供的对应用进行冻结的方法中,在两个系统共享的黑名单上分别添加与第一系统对应的第一目标应用以及与第二系统对应的第二目标应用,能够满足用户对于不同系统的应用需求,在确定出终端当前应用的系统后,冻结另一个系统的系统空间中黑名单上与该系统对应的目标应用,一方面为当 前系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的系统空间中应用的顺畅运行,显著提升了用户操作终端的满意度,另一方面降低了终端功耗。另外,对系统空间中的应用进行冻结还能保障相应应用更加安全使用,防止终端在使用过程中存在联网行为导致数据或者信息泄露的问题。In the method for freezing an application provided by the embodiment of the present application, a first target application corresponding to the first system and a second target application corresponding to the second system are respectively added to the blacklist shared by the two systems, and the user can be satisfied. For the application requirements of different systems, after determining the system currently applied by the terminal, the target application corresponding to the system in the black space of the system space of another system is frozen, on the one hand, when The front system space saves memory, improves the startup speed of the application in the current system space, ensures smooth operation of the application in the system space of the current system, significantly improves the satisfaction of the user operation terminal, and reduces the power consumption of the terminal. In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
本申请实施例还提供了一种对应用进行冻结的装置,应用于一终端,该终端包括第一系统和第二系统,请参阅图6,示出了本申请实施例提供的对应用进行冻结的装置的结构示意图,可以包括:设置模块600、确定模块601、冻结模块602和处理模块603。The embodiment of the present application further provides a device for freezing an application, which is applied to a terminal, where the terminal includes a first system and a second system. Referring to FIG. 6, the application is frozen according to an embodiment of the present application. The structural diagram of the device may include: a setting module 600, a determining module 601, a freezing module 602, and a processing module 603.
设置模块600,设置为预先设定第一系统和第二系统共享的目标应用信息。The setting module 600 is configured to preset target application information shared by the first system and the second system.
确定模块601,设置为确定终端当前应用的目标系统,其中,目标系统为第一系统或第二系统。The determining module 601 is configured to determine a target system currently applied by the terminal, where the target system is the first system or the second system.
冻结模块602,设置为在确定模块601确定出终端当前应用的目标系统为第一系统时,基于设置模块600预先设定的目标应用信息冻结第二系统的系统空间中的应用。The freezing module 602 is configured to freeze the application in the system space of the second system based on the target application information preset by the setting module 600 when the determining module 601 determines that the target system currently applied by the terminal is the first system.
处理模块603,设置为响应对第一系统的系统空间中任一应用的操作。The processing module 603 is configured to respond to operations on any of the applications in the system space of the first system.
本申请实施例提供的对应用进行冻结的装置,在确定出终端当前应用的系统后,基于预先设定的目标应用信息冻结另一个系统的系统空间中需要冻结的应用,一方面为当前系统的系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统的顺畅运行,显著提升了用户操作移动终端的满意度,另一方面降低了终端功耗。另外,对系统空间中的应用进行冻结还能保障相应应用更加安全使用,防止终端在使用过程中存在联网行为导致数据或者信息泄露的问题。The device for freezing the application provided by the embodiment of the present application freezes the application that needs to be frozen in the system space of another system based on the preset target application information after determining the system currently applied by the terminal, on the one hand, the current system The system space saves memory, improves the startup speed of the application in the current system space, ensures the smooth operation of the current system, significantly improves the satisfaction of the user operating the mobile terminal, and reduces the power consumption of the terminal. In addition, freezing the application in the system space can also ensure the safer use of the corresponding application, and prevent the problem of data or information leakage caused by the networking behavior during the use of the terminal.
在一种可能的实现方式中,上述实施例中的目标应用信息为不需要冻结的应用的信息。In a possible implementation manner, the target application information in the foregoing embodiment is information of an application that does not need to be frozen.
则设置模块,是设置为预先在第一系统和第二系统共享的白名单上添加目标应用信息。Then, the setting module is configured to add target application information on the white list shared by the first system and the second system in advance.
相应的,冻结模块,是设置为当确定模块确定出终端当前应用的目标系统为第一系统时,冻结第二系统的系统空间中除与目标应用信息对应的目标应用 外的应用。Correspondingly, the freezing module is configured to: when the determining module determines that the target system currently applied by the terminal is the first system, freeze the target application corresponding to the target application information in the system space of the second system. External application.
在种可能的实现方式中,目标应用信息为需要冻结的应用的信息。In a possible implementation manner, the target application information is information of an application that needs to be frozen.
则设置模块,是设置为预先在第一系统和第二系统共享的黑名单上添加目标应用信息。The setting module is configured to add target application information on the blacklist shared by the first system and the second system in advance.
相应的,冻结模块,是设置为当确定模块确定出终端当前应用的目标系统为第一系统时,冻结第二系统的系统空间中与目标应用信息对应的目标应用。Correspondingly, the freezing module is configured to freeze the target application corresponding to the target application information in the system space of the second system when the determining module determines that the target system currently applied by the terminal is the first system.
在再一种可能的实现方式中,目标应用信息为不需要冻结的应用的信息。In yet another possible implementation, the target application information is information of an application that does not need to be frozen.
则设置模块,是设置为预先在第一系统和第二系统共享的白名单上添加与第一系统对应的第一目标应用信息以及与第二系统对应的第二目标应用信息。The setting module is configured to add first target application information corresponding to the first system and second target application information corresponding to the second system to the white list shared by the first system and the second system in advance.
相应的,冻结模块包括:第一获取子模块和第一冻结子模块。其中:Correspondingly, the freezing module comprises: a first acquiring sub-module and a first freezing sub-module. among them:
第一获取子模块,设置为当终端当前应用的目标系统为第一系统时,从白名单获取与第二系统对应的第二目标应用信息。The first acquiring sub-module is configured to acquire the second target application information corresponding to the second system from the whitelist when the target system currently applied by the terminal is the first system.
第一冻结模块,设置为冻结第二系统的系统空间中除与第一获取子模块获取的第二目标应用信息对应的目标应用外的应用。The first freezing module is configured to freeze an application in the system space of the second system except the target application corresponding to the second target application information acquired by the first acquiring submodule.
在又一种可能的实现方式中,上述实施例中的目标应用信息为不需要冻结的应用的信息。In another possible implementation manner, the target application information in the foregoing embodiment is information of an application that does not need to be frozen.
则设置模块,是设置为预先在第一系统和第二系统共享的黑名单上添加与第一系统对应的第一目标应用信息以及与第二系统对应的第二目标应用信息。The setting module is configured to add first target application information corresponding to the first system and second target application information corresponding to the second system to the blacklist shared by the first system and the second system in advance.
相应的,冻结模块包括第二获取子模块和第二冻结子模块。其中:Correspondingly, the freezing module comprises a second acquiring submodule and a second freezing submodule. among them:
第二获取子模块,设置为当终端当前应用的目标系统为第一系统时,从黑名单获取与第二系统对应的第二目标应用信息;a second acquiring sub-module, configured to: when the target system currently applied by the terminal is the first system, obtain second target application information corresponding to the second system from the blacklist;
第二冻结子模块,设置为冻结第二系统的系统空间中与第二获取子模块获取的第二目标应用信息对应的目标应用。The second freezing submodule is configured to freeze the target application corresponding to the second target application information acquired by the second acquiring submodule in the system space of the second system.
上述任一实施例提供的对应用进行冻结的装置中,冻结模块,还设置为当终端当前应用的系统由第一系统切换至第二系统时,基于预先设定的目标应用信息冻结第一系统的系统空间中的应用。In the device for freezing the application provided by any one of the foregoing embodiments, the freezing module is further configured to freeze the first system based on the preset target application information when the system currently applied by the terminal is switched from the first system to the second system. The application in the system space.
相应的,处理模块,还设置为响应对第二系统的系统空间中任一应用的操作。 Correspondingly, the processing module is further arranged to respond to operations on any of the applications in the system space of the second system.
本申请实施例提供的对应用进行冻结的装置,能够在确定出当前应用的系统后,基于双系统共享的白名单或黑名单冻结另一系统的系统空间中的应用,极大程度上满足了用户对智能终端的良好体验,特别是高效率的在两个系统之间来回切换,而且这种双系统白名单或黑名单冻结应用方式可以很好的解决用户对双系统的操作要求,同时也为当前系统空间节省了内存,提升了应用启动速度,提高了用户对系统流畅度的操作要求,防止双系统运行较大占用内存,减少了使用过程中出现当前系统卡顿的现象,并且在一定程度上降低了终端功耗,本申请实施例具有较强的实用性,可以显著提升用户操作终端的满意度。The device for freezing the application provided by the embodiment of the present application can satisfy the application in the system space of another system based on the whitelist or blacklist shared by the dual system after determining the currently applied system, which greatly satisfies the application. The user has a good experience with the smart terminal, especially the high efficiency switching between the two systems, and the dual system whitelist or blacklist freezing application method can well solve the user's operation requirements for the dual system, and also It saves memory for the current system space, improves the application startup speed, improves the user's operation requirements for system fluency, prevents the dual system from running a large memory, and reduces the phenomenon that the current system is stuck during use, and is certain The power consumption of the terminal is reduced to a certain extent. The embodiment of the present application has strong practicability and can significantly improve the satisfaction of the user operating terminal.
如图7所示,图7是本申请实施例公开的一种移动终端的结构示意图。本申请实施例中的移动终端可以是任何具备触控显示屏的设备,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视以及可穿戴设备等。如图7所示,本申请实施例中的移动终端包括:至少一个处理器701,例如CPU,至少一个接收器703,至少一个存储器704。还可以包括至少一个发送器705和至少一个通信总线702。其中,通信总线702用于实现这些组件之间的连接通信。其中,本申请实施例中装置的接收器703和发送器705可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他节点设备进行信令或数据的通信。存储器704可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器704可选的还可以是至少一个位于远离前述处理器701的存储装置。存储器704中存储一组程序代码,且所述处理器701可通过通信总线702,调用存储器704中存储的代码以执行相关的功能。As shown in FIG. 7, FIG. 7 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application. The mobile terminal in the embodiment of the present application may be any device with a touch display screen, such as a tablet computer, a mobile phone, an e-reader, a remote controller, a personal computer (PC), a notebook computer, an in-vehicle device, and a network television. And wearable devices, etc. As shown in FIG. 7, the mobile terminal in the embodiment of the present application includes: at least one processor 701, such as a CPU, at least one receiver 703, and at least one memory 704. At least one transmitter 705 and at least one communication bus 702 can also be included. Among them, the communication bus 702 is used to implement connection communication between these components. The receiver 703 and the transmitter 705 of the device in this embodiment may be wired transmission ports, or may be wireless devices, for example, including antenna devices, for performing signaling or data communication with other node devices. The memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory. The memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701. A set of program code is stored in memory 704, and said processor 701 can invoke code stored in memory 704 via communication bus 702 to perform the associated functions.
所述移动终端还包括输入/输出装置,例如触控显示屏,所述触控显示屏为所述触控屏和所述显示屏的集成,该触控显示屏中可以设置有压力传感器阵列,移动终端能够通过该压力传感器阵列检测压力参数,其中,上述压力传感器例如可以是电阻应变片压力传感器、半导体应变片压力传感器、压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等。The mobile terminal further includes an input/output device, such as a touch display screen, where the touch display screen is an integration of the touch screen and the display screen, and the touch display screen may be provided with a pressure sensor array. The mobile terminal can detect the pressure parameter through the pressure sensor array, wherein the pressure sensor can be, for example, a resistance strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and a resonant type. Pressure sensor, etc.
举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;设置于所述触摸传感器下方的铟锡氧化物基板;以及设置于所述铟锡氧化物基板的上表面或者下表面的压力传感器;或者 For example, the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and the touch sensor a lower indium tin oxide substrate; and a pressure sensor disposed on an upper surface or a lower surface of the indium tin oxide substrate; or
又举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;以及设置于所述触摸传感器下方的压力传感器。For another example, the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and disposed on the Touch the pressure sensor below the sensor.
所述处理器701,应用于一终端,所述终端包括第一系统和第二系统,预先设定所述第一系统和所述第二系统共享的目标应用信息,所述对应用进行冻结的方法包括:The processor 701 is applied to a terminal, where the terminal includes a first system and a second system, and preset target application information shared by the first system and the second system, where the application is frozen. Methods include:
确定所述终端当前应用的目标系统,所述目标系统为所述第一系统或所述第二系统;Determining a target system currently applied by the terminal, the target system being the first system or the second system;
当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用;以及,When the target system is the first system, freezing an application in a system space of the second system based on the target application information; and,
响应对所述第一系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the first system.
所述处理器701,还用于当所述目标应用信息为不需要冻结的应用的信息时;The processor 701 is further configured to: when the target application information is information of an application that does not need to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息为:预先在所述第一系统和所述第二系统共享的白名单上添加所述目标应用信息;The target application information shared by the first system and the second system is preset to: add the target application information to a white list shared by the first system and the second system in advance;
则,所述当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中除与所述目标应用信息对应的目标应用外的应用。When the target system is the first system, an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
所述处理器701,还用于当所述目标应用信息为需要冻结的应用的信息时;The processor 701 is further configured to: when the target application information is information of an application that needs to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息为:预先在所述第一系统和所述第二系统共享的黑名单上添加所述目标应用信息;The target application information shared by the first system and the second system is set in advance: the target application information is added to a blacklist shared by the first system and the second system in advance;
则,所述当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中与所述目标应用信息对应的目标应用。And when the target system is the first system, freeze a target application corresponding to the target application information in a system space of the second system.
所述处理器701,还用于当所述目标应用信息为不需要冻结的应用的信息时;The processor 701 is further configured to: when the target application information is information of an application that does not need to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息为:预先在所述第一系统和所述第二系统共享的白名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息; The target application information shared by the first system and the second system is preset to: add a corresponding to the first system on a white list shared by the first system and the second system in advance First target application information, and second target application information corresponding to the second system;
则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,从所述白名单获取与所述第二系统对应的第二目标应用信息;以及,And acquiring, when the target system is the first system, second target application information corresponding to the second system from the whitelist; and
冻结所述第二系统的系统空间中除与所述第二目标应用信息对应的目标应用外的应用。An application other than the target application corresponding to the second target application information in the system space of the second system is frozen.
可选的,所述处理器701,还用于当所述目标应用信息为需要冻结的应用的信息时;Optionally, the processor 701 is further configured to: when the target application information is information of an application that needs to be frozen;
所述预先设定所述第一系统和所述第二系统共享的目标应用信息为:预先在所述第一系统和所述第二系统共享的黑名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The target application information shared by the first system and the second system is preset to: add a corresponding to the first system on a blacklist shared by the first system and the second system in advance First target application information, and second target application information corresponding to the second system;
则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
当所述目标系统为所述第一系统时,从所述黑名单获取与所述第二系统对应的第二目标应用信息;以及,And acquiring, when the target system is the first system, second target application information corresponding to the second system from the blacklist; and
冻结所述第二系统的系统空间中与所述第二目标应用信息对应的目标应用。And freezing a target application corresponding to the second target application information in a system space of the second system.
所述处理器701,还用于当所述终端当前应用的系统由所述第一系统切换至所述第二系统时,基于所述目标应用信息冻结所述第一系统的系统空间中的应用;以及,The processor 701 is further configured to: when the system currently applied by the terminal is switched by the first system to the second system, freeze an application in a system space of the first system based on the target application information. ;as well as,
响应对所述第二系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the second system.
可选的,上述各个模块的实现可参考图1至图5对应实施例中相关步骤的描述,在此不赘述。For the implementation of the foregoing modules, reference may be made to the description of related steps in the corresponding embodiments in FIG. 1 to FIG. 5, and details are not described herein.
可以看出,本申请实施例技术方案中,首先,移动终端能够在确定出终端当前应用的系统后,基于预先设定的两个系统共享的目标应用信息冻结另一个系统的系统空间中需要冻结的应用,一方面为当前系统的系统空间节省了内存,提升了当前系统空间中应用的启动速度,保证了当前系统空间中应用的顺畅运行,显著提升了用户操作移动智能终端的满意度,另一方面降低了终端功耗。It can be seen that, in the technical solution of the embodiment of the present application, first, after determining the current application system of the terminal, the mobile terminal can freeze the system space of another system based on the target application information shared by the two preset systems. The application saves memory for the system space of the current system, improves the startup speed of the application in the current system space, ensures the smooth operation of the application in the current system space, and significantly improves the satisfaction of the user operating the mobile intelligent terminal. On the one hand, the terminal power consumption is reduced.
本申请实施例还提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行包括上述方法实施例中记载的任何一种对应用进行冻结的方法的部分或全部步骤。 The embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions for executing a method for freezing an application including any one of the foregoing method embodiments. Part or all of the steps.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和设备,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed methods, apparatus, and devices may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some communication interface, device or unit, and may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present application, or the part contributing to the related technology or the part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。The above description of the disclosed embodiments enables those skilled in the art to make or use the application.
工业实用性Industrial applicability
本申请实施例提供的对应用进行冻结的方法及装置,能够在确定出终端当前应用的系统后,基于预先设定的两个系统共享的目标应用信息冻结另一个系统的系统空间中需要冻结的应用,一方面为当前系统的系统空间节省了内存, 提升了当前系统空间中应用的启动速度,保证了当前系统空间中应用的顺畅运行,显著提升了用户操作移动智能终端的满意度,另一方面降低了终端功耗。 The method and device for freezing an application provided by the embodiment of the present application can freeze the system space shared by the two systems based on the preset target application information shared by the two systems after the terminal is currently applied. Application, on the one hand, saves memory for the system space of the current system. The startup speed of the application in the current system space is improved, the smooth running of the application in the current system space is ensured, the satisfaction of the user operating the mobile intelligent terminal is significantly improved, and the power consumption of the terminal is reduced on the other hand.

Claims (13)

  1. 一种对应用进行冻结的方法,应用于一终端,所述方法包括:A method for freezing an application is applied to a terminal, and the method includes:
    预先设定终端的第一系统和第二系统共享的目标应用信息;确定所述终端当前应用的目标系统,所述目标系统为所述第一系统或所述第二系统;Determining target application information shared by the first system and the second system of the terminal; determining a target system currently applied by the terminal, the target system being the first system or the second system;
    当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用;以及,When the target system is the first system, freezing an application in a system space of the second system based on the target application information; and,
    响应对所述第一系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the first system.
  2. 根据权利要求1所述的对应用进行冻结的方法,其中,所述目标应用信息为不需要冻结的应用的信息;The method of freezing an application according to claim 1, wherein the target application information is information of an application that does not need to be frozen;
    所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的白名单上添加所述目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding the target application information to a white list shared by the first system and the second system in advance;
    则,所述当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
    当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中除与所述目标应用信息对应的目标应用外的应用。When the target system is the first system, an application other than the target application corresponding to the target application information in the system space of the second system is frozen.
  3. 根据权利要求1所述的方法,其中,所述目标应用信息为需要冻结的应用的信息;The method of claim 1, wherein the target application information is information of an application that needs to be frozen;
    所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的黑名单上添加所述目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding the target application information to a blacklist shared by the first system and the second system in advance;
    则,所述当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:Then, when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
    当所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中与所述目标应用信息对应的目标应用。And when the target system is the first system, freeze a target application corresponding to the target application information in a system space of the second system.
  4. 根据权利要求1所述的对应用进行冻结的方法,其中,所述目标应用信息为不需要冻结的应用的信息;The method of freezing an application according to claim 1, wherein the target application information is information of an application that does not need to be frozen;
    所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的白名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a whitelist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
    则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
    当所述目标系统为所述第一系统时,从所述白名单获取与所述第二系统对应的第二目标应用信息;以及, And acquiring, when the target system is the first system, second target application information corresponding to the second system from the whitelist; and
    冻结所述第二系统的系统空间中除与所述第二目标应用信息对应的目标应用外的应用。An application other than the target application corresponding to the second target application information in the system space of the second system is frozen.
  5. 根据权利要求1所述的对应用进行冻结的方法,其中,所述目标应用信息为需要冻结的应用的信息;The method of freezing an application according to claim 1, wherein the target application information is information of an application that needs to be frozen;
    所述预先设定所述第一系统和所述第二系统共享的目标应用信息包括:预先在所述第一系统和所述第二系统共享的黑名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The pre-setting the target application information shared by the first system and the second system includes: adding, in advance, a blacklist shared by the first system and the second system, corresponding to the first system First target application information, and second target application information corresponding to the second system;
    则当所述目标系统为所述第一系统时,基于所述目标应用信息冻结所述第二系统的系统空间中的应用,包括:And when the target system is the first system, the application in the system space of the second system is frozen based on the target application information, including:
    当所述目标系统为所述第一系统时,从所述黑名单获取与所述第二系统对应的第二目标应用信息;以及,And acquiring, when the target system is the first system, second target application information corresponding to the second system from the blacklist; and
    冻结所述第二系统的系统空间中与所述第二目标应用信息对应的目标应用。And freezing a target application corresponding to the second target application information in a system space of the second system.
  6. 根据权利要求1-5中任意一项所述的对应用进行冻结的方法,还包括:The method of freezing an application according to any one of claims 1 to 5, further comprising:
    当所述终端当前应用的系统由所述第一系统切换至所述第二系统时,基于所述目标应用信息冻结所述第一系统的系统空间中的应用;以及,When the system currently applied by the terminal is switched by the first system to the second system, the application in the system space of the first system is frozen based on the target application information; and
    响应对所述第二系统的系统空间中任一应用的操作。Responding to operations on any of the applications in the system space of the second system.
  7. 一种对应用进行冻结的装置,应用于一终端,所述装置包括:设置模块、确定模块、冻结模块和处理模块;其中,An apparatus for freezing an application is applied to a terminal, where the apparatus includes: a setting module, a determining module, a freezing module, and a processing module; wherein
    所述设置模块,设置为预先设定所述终端的第一系统和所述第二系统共享的目标应用信息;The setting module is configured to preset target application information shared by the first system of the terminal and the second system;
    所述确定模块,设置为确定所述终端当前应用的目标系统,所述目标系统为所述第一系统或所述第二系统;The determining module is configured to determine a target system currently applied by the terminal, where the target system is the first system or the second system;
    所述冻结模块,设置为在所述确定模块确定出所述目标系统为所述第一系统时,基于所述设置模块设置的所述目标应用信息冻结所述第二系统的系统空间中的应用;以及,The freezing module is configured to freeze an application in a system space of the second system based on the target application information set by the setting module when the determining module determines that the target system is the first system ;as well as,
    所述处理模块,设置为响应对所述第一系统的系统空间中任一应用的操作。The processing module is configured to respond to operations on any of the applications in the system space of the first system.
  8. 根据权利要求7所述的对应用进行冻结的装置,其中,所述目标应用信息为不需要冻结的应用的信息;The apparatus for freezing an application according to claim 7, wherein the target application information is information of an application that does not need to be frozen;
    所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的白名单上添加所述目标应用信息;以及, The setting module is configured to add the target application information to a white list shared by the first system and the second system in advance; and
    所述冻结模块,是设置为当所述确定模块确定出所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中除与所述目标应用信息对应的目标应用外的应用。The freezing module is configured to: when the determining module determines that the target system is the first system, freeze a system space of the second system except a target application corresponding to the target application information. application.
  9. 根据权利要求7所述的对应用进行冻结的装置,其中,所述目标应用信息为需要冻结的应用的信息;The apparatus for freezing an application according to claim 7, wherein the target application information is information of an application that needs to be frozen;
    所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的黑名单上添加所述目标应用信息;以及,The setting module is configured to add the target application information to a blacklist shared by the first system and the second system in advance; and
    所述冻结模块,是设置为当所述确定模块确定出所述目标系统为所述第一系统时,冻结所述第二系统的系统空间中与所述目标应用信息对应的目标应用。The freezing module is configured to freeze a target application corresponding to the target application information in a system space of the second system when the determining module determines that the target system is the first system.
  10. 根据权利要求7所述的对应用进行冻结的装置,其中,所述目标应用信息为不需要冻结的应用的信息;The apparatus for freezing an application according to claim 7, wherein the target application information is information of an application that does not need to be frozen;
    所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的白名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The setting module is configured to add first target application information corresponding to the first system to a white list shared by the first system and the second system, and corresponding to the second system. Second target application information;
    所述冻结模块包括:第一获取子模块和第一冻结子模块;The freezing module includes: a first acquiring submodule and a first freezing submodule;
    所述第一获取子模块,设置为当所述目标系统为所述第一系统时,从所述白名单获取与所述第二系统对应的第二目标应用信息;以及,The first obtaining sub-module is configured to acquire second target application information corresponding to the second system from the whitelist when the target system is the first system; and
    所述第一冻结模块,设置为冻结所述第二系统的系统空间中除与所述第一获取子模块获取的所述第二目标应用信息对应的目标应用外的应用。The first freezing module is configured to freeze an application in the system space of the second system except the target application corresponding to the second target application information acquired by the first acquiring submodule.
  11. 根据权利要求7所述的对应用进行冻结的装置,其中,所述目标应用信息为需要冻结的应用的信息;The apparatus for freezing an application according to claim 7, wherein the target application information is information of an application that needs to be frozen;
    所述设置模块,是设置为预先在所述第一系统和所述第二系统共享的黑名单上添加与所述第一系统对应的第一目标应用信息,以及与所述第二系统对应的第二目标应用信息;The setting module is configured to add first target application information corresponding to the first system to a blacklist shared by the first system and the second system, and corresponding to the second system. Second target application information;
    所述冻结模块包括第二获取子模块和第二冻结子模块:The freeze module includes a second acquisition submodule and a second freeze submodule:
    所述第二获取子模块,设置为当所述目标系统为所述第一系统时,从所述黑名单获取与所述第二系统对应的第二目标应用信息;以及,The second obtaining sub-module is configured to: when the target system is the first system, acquire second target application information corresponding to the second system from the blacklist; and
    所述第二冻结子模块,设置为冻结所述第二系统的系统空间中与所述第二获取子模块获取的所述第二目标应用信息对应的目标应用。The second freezing sub-module is configured to freeze a target application corresponding to the second target application information acquired by the second acquiring sub-module in a system space of the second system.
  12. 根据权利要求7-11中任意一项所述的对应用进行冻结的装置,其中,所述冻结模块,还设置为当所述终端当前应用的系统由所述第一系统切换至所 述第二系统时,基于所述预先设定的目标应用信息冻结所述第一系统的系统空间中的应用;以及,The apparatus for freezing an application according to any one of claims 7 to 11, wherein the freezing module is further configured to switch from the first system to the system when the system currently applied by the terminal is When the second system is described, the application in the system space of the first system is frozen based on the preset target application information; and,
    所述处理模块,还设置为响应对所述第二系统的系统空间中任一应用的操作。The processing module is further configured to respond to operations on any of the applications in the system space of the second system.
  13. 一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-6任一项的方法。 A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-6.
PCT/CN2016/092530 2016-06-29 2016-07-31 Method of freezing application, and device utilizing same WO2018000506A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610495643.7 2016-06-29
CN201610495643.7A CN106201710B (en) 2016-06-29 2016-06-29 Method and device for freezing application

Publications (1)

Publication Number Publication Date
WO2018000506A1 true WO2018000506A1 (en) 2018-01-04

Family

ID=57462420

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092530 WO2018000506A1 (en) 2016-06-29 2016-07-31 Method of freezing application, and device utilizing same

Country Status (2)

Country Link
CN (1) CN106201710B (en)
WO (1) WO2018000506A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630751B (en) * 2020-05-06 2023-10-20 成都鼎桥通信技术有限公司 Bluetooth using method and device based on dual systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254885A1 (en) * 2011-03-31 2012-10-04 International Business Machines Corporation Running a plurality of instances of an application
CN103763322A (en) * 2014-01-23 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Method and device for controlling process of software and terminals
CN104407892A (en) * 2014-11-24 2015-03-11 南京酷派软件技术有限公司 System switching method, system switching device and terminal
CN104680090A (en) * 2015-02-06 2015-06-03 西安酷派软件科技有限公司 Application hiding control method, device and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6098251B2 (en) * 2013-03-14 2017-03-22 日本電気株式会社 Redundant system
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus
EP4224315A1 (en) * 2014-03-19 2023-08-09 Huawei Device Co., Ltd. Application data synchronization method and apparatus
US20160055031A1 (en) * 2014-11-13 2016-02-25 Mediatek Inc. Dual-System Architecture With Fast Recover And Switching Of Operating System
CN105468426A (en) * 2016-01-05 2016-04-06 珠海市魅族科技有限公司 Application freezing method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120254885A1 (en) * 2011-03-31 2012-10-04 International Business Machines Corporation Running a plurality of instances of an application
CN103763322A (en) * 2014-01-23 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Method and device for controlling process of software and terminals
CN104407892A (en) * 2014-11-24 2015-03-11 南京酷派软件技术有限公司 System switching method, system switching device and terminal
CN104680090A (en) * 2015-02-06 2015-06-03 西安酷派软件科技有限公司 Application hiding control method, device and mobile terminal

Also Published As

Publication number Publication date
CN106201710A (en) 2016-12-07
CN106201710B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US10659200B2 (en) Companion application for activity cooperation
US10884692B2 (en) Electronic device and method for displaying and transmitting images thereof
US20170235435A1 (en) Electronic device and method of application data display therefor
US20160241543A1 (en) Devices and control method thereof and application login system
US20170237930A1 (en) Method of controlling the sharing of videos and electronic device adapted thereto
US9860359B2 (en) Method for communicating with neighbor device, electronic device, and storage medium
AU2018273505B2 (en) Method for capturing fingerprint and associated products
US9386622B2 (en) Call service method and apparatus
US20150229849A1 (en) Photographing method of an electronic device and the electronic device thereof
US10999501B2 (en) Electronic device and method for controlling display of panorama image
JP2016533065A (en) Near-field communication-based data transmission method and apparatus, and near-field communication device
US20150065053A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
US9897693B2 (en) Method and apparatus using light amount values and determined weight value for controlling gesture sensor
EP3487201B1 (en) Electronic device for controlling an external device using a number and method thereof
KR102294040B1 (en) Method and apparatus for transmitting and receiving data
CN105578385B (en) Method for transmitting and receiving data by electronic equipment and electronic equipment using same
US9544536B2 (en) Video call method in packet-switched network and device supporting the same
US11385690B2 (en) Electronic device for switching between communication channels and control method thereof
US11323880B2 (en) Method for wireless connection and electronic device therefor
US9904864B2 (en) Method for recommending one or more images and electronic device thereof
CN106330681B (en) Method, system and related equipment for sharing film watching information
US10397702B2 (en) Method of detecting external devices and electronic device for processing same
WO2015062506A1 (en) Multi-icon selection method and terminal
US20150341827A1 (en) Method and electronic device for managing data flow
WO2018000506A1 (en) Method of freezing application, and device utilizing same

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

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

Country of ref document: EP

Kind code of ref document: A1