WO2018018704A1 - Application program freezing method and terminal device - Google Patents

Application program freezing method and terminal device Download PDF

Info

Publication number
WO2018018704A1
WO2018018704A1 PCT/CN2016/097472 CN2016097472W WO2018018704A1 WO 2018018704 A1 WO2018018704 A1 WO 2018018704A1 CN 2016097472 W CN2016097472 W CN 2016097472W WO 2018018704 A1 WO2018018704 A1 WO 2018018704A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
ice
icon
user
frozen
Prior art date
Application number
PCT/CN2016/097472
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 WO2018018704A1 publication Critical patent/WO2018018704A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to an application freezing method and a terminal device.
  • terminal devices such as smartphones, tablets, and personal digital assistants (PDAs) have been widely used.
  • applications can be preset or downloaded in the terminal device, and the user can use these applications for entertainment, communication, office and other activities.
  • the storage space of the system will be occupied, and some applications will automatically run in the background, occupying system memory and increasing the power consumption of the terminal device.
  • the user can freeze some applications that are temporarily unused and occupy a large amount of system memory or consume a large amount of power, so that they cannot be operated, thereby functioning as a "burden" for the system.
  • the frozen application is not displayed on the desktop, which may cause the application to be forgotten by the user to become a "zombie" application in the storage space; or the frozen application displayed on the desktop is similar to the normal application, and it is difficult for the user to distinguish and distinguish . Therefore, how to better apply the application freeze is an urgent problem to be solved.
  • the embodiment of the invention provides an application freezing method and a terminal device.
  • the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the general application. To improve the user experience.
  • the first aspect of the embodiment of the present invention discloses an application freezing method, including:
  • the icon of the application is displayed to be gradually wrapped by ice to indicate that the application has been frozen.
  • the method further includes:
  • the icon of the application is displayed on the desktop with an icon wrapped by ice.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • a second aspect of the embodiment of the present invention discloses a terminal device, including:
  • a receiving unit configured to receive an operation instruction that the user initiates a function of freezing the application
  • a display unit configured to display a list of icons of the application in the terminal device, for the user to select an application to be frozen
  • An obtaining unit configured to acquire an application selected by a user to be frozen
  • Freezing unit for making the application inoperable or unable to start
  • a first effect unit configured to cause an icon of the application to display an effect of being gradually wrapped by ice cubes, To indicate that the application has been frozen.
  • the terminal device further includes:
  • the terminal device further includes:
  • an adjusting unit configured to adjust a thickness of ice on the icon wrapped by the ice block according to a time when the application is frozen; wherein the longer the application is frozen, the icon wrapped by the ice block The thicker the ice is.
  • the terminal device further includes:
  • a first determining unit configured to determine whether a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold
  • a thawing activation unit configured to initiate a process of thawing the application when a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold
  • a second effect unit configured to display an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the process of thawing the application; wherein the time for the user to press the icon wrapped by the ice Long, the thinner the ice on the icon wrapped in ice.
  • the terminal device further includes:
  • a second determining unit configured to determine, when the user's finger leaves the icon wrapped by the ice block, whether the ice on the icon wrapped by the ice block is completely dissolved
  • a thawing unit for restoring the right to run and start the application when the ice on the icon wrapped by the ice is completely dissolved, that is, the application is thawed successfully.
  • an operation instruction for a user to start a function of freezing an application is received; a list of icons of an application in the terminal device is displayed for the user to select an application to be frozen; and an application selected by the user to be frozen is obtained; The application cannot be run or cannot be launched; the icon of the application is shown to be gradually wrapped by ice to indicate that the application has been frozen. It can be seen that, in the embodiment of the present invention, when the application is frozen, the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving the user experience.
  • FIG. 1 is a schematic flowchart of an application freezing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another application freezing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
  • the embodiment of the invention provides an application freezing method and a terminal device.
  • the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the general application. To improve the user experience. The details are described below separately.
  • FIG. 1 is a schematic flowchart diagram of an application freezing method according to an embodiment of the present invention.
  • the application freezing method shown in FIG. 1 may include the following steps:
  • the terminal device may preset some special operations as an operation instruction for starting the function of freezing the application, and start the function of freezing the application by monitoring the special operation performed by the user on the terminal device.
  • the terminal device may use a "shake" operation as an operational command to initiate a freeze application function. Determine whether to start the freeze application function by monitoring whether the user has performed a shake operation on the terminal device.
  • the terminal device has an acceleration sensor, which can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined to the terminal device. A shake operation was performed.
  • the terminal device may be a smart phone, a smart watch, a palmtop computer, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), etc. repeat.
  • PDA personal digital assistant
  • POS point of sales
  • the terminal device displays a list of icons of all the applications in the terminal device, so that the user selects an application to be frozen.
  • the embodiment of the present invention supports the user to perform multiple selections on the application, thereby realizing the requirement of freezing multiple applications in one operation.
  • the touch of the user's finger on the touch screen of the terminal device is monitored to determine an application selected by the user to be frozen.
  • the terminal device may freeze the foregoing application by calling a background interface: the terminal device invokes the background interface, prohibiting the application from registering the system event, thereby turning off the permission for running and starting. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
  • the icon of the application is displayed to be gradually wrapped by the ice to indicate that the application has been frozen.
  • the icon of the application is displayed to be gradually wrapped by the ice, and the effect is gradually frozen by a period of several seconds.
  • the user provides a vivid and vivid experience of freezing the application, so the user experience is better.
  • FIG. 2 is a schematic flowchart diagram of another application freezing method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
  • the terminal device may preset some special operations as an operation instruction for starting the function of freezing the application, and start the function of freezing the application by monitoring the special operation performed by the user on the terminal device.
  • the terminal device may use a "shake" operation as an operational command to initiate a freeze application function. Determine whether to start the freeze application function by monitoring whether the user has performed a shake operation on the terminal device.
  • the terminal device has an acceleration sensor, which can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined to the terminal device. A shake operation was performed.
  • the terminal device displays a list of icons of all the applications in the terminal device, so that the user selects an application to be frozen.
  • the embodiment of the present invention supports the user to perform multiple selections on the application, thereby realizing the requirement of freezing multiple applications in one operation.
  • the terminal device may freeze the foregoing application by calling a background interface: the terminal device invokes the background interface, prohibiting the application from registering the system event, thereby turning off the permission for running and starting. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
  • the icon of the application is displayed to be gradually wrapped by the ice to indicate that the application is frozen.
  • the icon of the application is displayed to be gradually wrapped by the ice, and the user is provided with a vivid and frozen application through a gradual freezing effect of several seconds.
  • the experience of the program, and thus the user experience is better.
  • the icon of the application is replaced with an icon wrapped by ice, and displayed on the desktop.
  • the content of the corresponding field of the desktop launcher is replaced with the icon wrapped by the ice cube to achieve the purpose of replacing the original application icon on the desktop with the icon wrapped by the ice cube.
  • the thickness of the ice on the icon wrapped by the ice block is related to the length of time the application is frozen, and the longer the application is frozen, the icon wrapped by the ice block. The thicker the upper ice is. This allows the user to visually understand how long the application has been frozen by observing the thickness of the ice on the frozen application icon.
  • counting the time when the application is frozen adjusting the thickness of the ice on the icon wrapped by the ice according to the time when the application is frozen; wherein, the time when the application is frozen Long, the thicker the ice on the icon wrapped in ice above.
  • the user can unfreeze the application by long pressing the icon of the frozen application.
  • the original defrosting method can be defrosted by clicking the icon of the frozen application, and the thawing of the application is easily caused by the user's mis-touch; in the embodiment of the present invention, the thawing application can be effectively performed by long-pressing the frozen application. Prevent misunderstanding due to accidental touch.
  • the process of thawing the application is started.
  • the terminal device displays an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the above-mentioned process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the ice wrapped The thinner the ice on the icon.
  • the application if the ice on the icon wrapped by the ice cube is completely dissolved, the application is thawed. The order is successful, the terminal device restores the right to run and start the application; if the ice on the icon wrapped by the ice is not completely dissolved, the application unfreeze is unsuccessful, but the surface ice has reduced the amount of melting before, after When the user needs to unfreeze the application, the time required to long press the application icon is reduced accordingly, so that the user can continue to unfreeze the application next time.
  • the frozen application when the application is frozen, the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving the user.
  • the user can unfreeze the frozen application by long pressing the icon of the frozen application, which can effectively avoid the mis-freezing caused by the accidental touch compared with the direct click of the unfreezing application.
  • FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device may include:
  • the receiving unit 301 is configured to receive an operation instruction that the user starts the function of freezing the application.
  • the terminal device may use a "shake" operation as an operational command to initiate a freeze application function.
  • the receiving unit 301 determines whether to start the freeze application function by monitoring whether the user performs a panning operation on the terminal device.
  • the terminal device has an acceleration sensor, and the receiving unit 301 can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined. The terminal device was shaken.
  • the display unit 302 is configured to display a list of icons of the application in the terminal device, so that the user selects an application to be frozen.
  • the obtaining unit 303 is configured to acquire an application selected by the user to be frozen.
  • the freezing unit 304 is configured to freeze the application selected by the user
  • the freezing unit 304 may freeze the application by calling a background interface: the freezing unit 304 invokes the background interface, prohibiting the application from registering the system event, thereby turning off the running and starting rights. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
  • the first effect unit 305 is configured to cause an icon of the application to display an effect of being gradually wrapped by the ice block to indicate that the application is frozen.
  • the first effect list Element 305 causes the icon of the above application to display the effect of being gradually wrapped by ice, and provides a vivid and vivid experience of freezing the application through a gradual freezing effect of several seconds, so that the user experience is better.
  • the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience.
  • FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device shown in FIG. 4 is optimized by the terminal device shown in FIG. 3. Compared with the terminal device shown in FIG. 3, the terminal device shown in FIG.
  • the replacing unit 306 is configured to display the icon of the application by using an icon wrapped by the ice block on the desktop.
  • the replacement unit 306 replaces the content of the corresponding field of the desktop launcher with the icon wrapped by the ice cube to achieve the purpose of replacing the original application icon on the desktop with the icon wrapped by the ice cube.
  • the thickness of the ice on the icon wrapped by the ice block is related to the length of time the application is frozen, and the longer the application is frozen, the icon wrapped by the ice block. The thicker the upper ice is. This allows the user to visually understand how long the application has been frozen by observing the thickness of the ice on the frozen application icon.
  • the terminal device shown in FIG. 4 further includes:
  • the first determining unit 307 is configured to determine whether the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold.
  • the defrosting start unit 308 is configured to start a process of thawing the application when the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold.
  • the defrosting activation unit 308 starts the process of thawing the application.
  • the terminal device displays an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the above-mentioned process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the ice wrapped The thinner the ice on the icon.
  • the terminal device shown in FIG. 4 further includes:
  • the second determining unit 309 is configured to determine, when the user's finger leaves the icon wrapped by the ice block, whether the ice on the icon wrapped by the ice block is completely dissolved.
  • the thawing unit 310 is configured to restore the permission to run and start the application when the ice on the icon wrapped by the ice is completely dissolved, that is, the application is thawed successfully.
  • the defrosting unit 310 defroses the application successfully, and the terminal device restores the right to run and start the application; if the icon is wrapped by the ice block If the ice is not completely dissolved, the application of the defrosting unit 310 is unsuccessful, but the surface ice has been reduced by the amount that has been melted before, and after the user needs to unfreeze the application, the time required to press the application icon is reduced accordingly. The user will continue to unfreeze the application the next time.
  • the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience.
  • the user can unfreeze the frozen application by long pressing the icon of the frozen application, which can effectively avoid the mis-freezing caused by the accidental touch compared with the direct click of the unfreezing application.
  • FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
  • the terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the terminal is a mobile phone as an example:
  • FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 501, a memory 502, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a wireless fidelity (WiFi) module 507, and a processor 508. And power supply 509 and other components.
  • RF radio frequency
  • the RF circuit 501 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 508 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 501 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to the Global System of Mobile (Global System of Mobile communication, GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (WCDMA) Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 502 can be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 503 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 503 can include a touch panel 5031 and other input devices 5032.
  • the touch panel 5031 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 5031 or near the touch panel 5031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 5031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 508 is provided and can receive commands from the processor 508 and execute them.
  • the touch panel 5031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 503 may also include other input devices 5032.
  • other input devices 5032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 504 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 504 can include a display panel 5041.
  • a liquid crystal display (LCD) or an organic light emitting diode (Organic Light-Emitting) can be used.
  • the display panel 5041 is configured in the form of a Diode, OLED, or the like.
  • the touch panel 5031 can cover the display panel 5041. After the touch panel 5031 detects a touch operation thereon or nearby, the touch panel 5031 transmits to the processor 508 to determine the type of the touch event, and then the processor 508 according to the touch event. The type provides a corresponding visual output on display panel 5041.
  • touch panel 5031 and the display panel 5041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 5, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 505, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 5041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 5041 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061.
  • the microphone 5062 converts the collected sound signal into an electrical signal, and the audio circuit 506 is used by the audio circuit 506. After receiving, it is converted into audio data, and then processed by the audio data output processor 508, transmitted to the other mobile phone via the RF circuit 501, or outputted to the memory 502 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 507, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 507, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 508 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 502, and invoking data stored in the memory 502, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 508 can include one or more processing units; preferably, processing
  • the processor 508 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 508.
  • the handset also includes a power source 509 (such as a battery) that supplies power to the various components.
  • a power source 509 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 508 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the terminal device.
  • Both the application layer and the operating system kernel can be considered as part of the abstraction structure of the processor 508.
  • the processor 508 performs the following operations by calling program code stored in the memory 502:
  • the icon of the above application is displayed to be gradually wrapped by ice to indicate that the above application has been frozen.
  • the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience.
  • each unit included is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented;
  • the names are also for convenience of distinction from each other and are not intended to limit the scope of protection of the present invention.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided are an application program freezing method and a terminal device. The method comprises: receiving an operation instruction of a user for enabling an application program freezing function (101); displaying an icon list of application programs in a terminal device for the user to select therefrom an application program needing to be frozen (102); acquiring the application program needing to be frozen selected by the user (103); disabling the running or starting of the application program (104); and enabling an icon of the application program to display an effect of being gradually covered by an ice cube so as to indicate that the application program has been frozen (105). Thus, by implementing the method, when freezing an application program, the frozen application program is displayed in an effect of being gradually covered by an ice cube, so that a user can more easily distinguish a frozen application from an ordinary application, thus improving the user experience.

Description

一种应用程序冻结方法及终端设备Application freezing method and terminal device
本申请要求于2016年7月29日提交中国专利局,申请号为201610617055.6、发明名称为“一种应用程序冻结方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610617055.6, entitled "Application Freezing Method and Terminal Equipment", filed on July 29, 2016, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种应用程序冻结方法及终端设备。The present invention relates to the field of terminal technologies, and in particular, to an application freezing method and a terminal device.
背景技术Background technique
随着终端技术的不断发展成熟,智能手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等终端设备得到了广泛的普及。终端设备中可以预置或下载多种多样的应用程序,用户可以利用这些应用程序进行娱乐、交流、办公等活动。然而,终端设备中安装过多的应用程序的话,会占用系统的存储空间,并且有些应用程序会自动后台运行,占用系统内存,增加终端设备的电量消耗。针对此问题,用户可以将一些暂时不需要使用的、占用系统内存大的或耗电量大的应用程序冻结起来,使其不能运行,从而起到为系统“减负”的作用。然而,被冻结的应用不在桌面上显示,这样可能会使应用程序被用户遗忘,成为存储空间中的“僵尸”应用;或者在桌面上显示的冻结应用和正常应用类似,用户难以进行辨别和区分。因而,如何更好地进行应用冻结,是一个亟待解决的问题。With the continuous development of terminal technologies, terminal devices such as smartphones, tablets, and personal digital assistants (PDAs) have been widely used. A variety of applications can be preset or downloaded in the terminal device, and the user can use these applications for entertainment, communication, office and other activities. However, if too many applications are installed in the terminal device, the storage space of the system will be occupied, and some applications will automatically run in the background, occupying system memory and increasing the power consumption of the terminal device. In response to this problem, the user can freeze some applications that are temporarily unused and occupy a large amount of system memory or consume a large amount of power, so that they cannot be operated, thereby functioning as a "burden" for the system. However, the frozen application is not displayed on the desktop, which may cause the application to be forgotten by the user to become a "zombie" application in the storage space; or the frozen application displayed on the desktop is similar to the normal application, and it is difficult for the user to distinguish and distinguish . Therefore, how to better apply the application freeze is an urgent problem to be solved.
发明内容Summary of the invention
本发明实施例提供了一种应用程序冻结方法及终端设备,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。The embodiment of the invention provides an application freezing method and a terminal device. When the application is frozen, the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the general application. To improve the user experience.
本发明实施例第一方面公开了一种应用程序冻结方法,包括:The first aspect of the embodiment of the present invention discloses an application freezing method, including:
接收用户启动冻结应用程序功能的操作指令;Receiving an operation instruction for a user to start a freeze application function;
显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序; Displaying a list of icons of applications in the terminal device for the user to select an application to be frozen;
获取用户选择的需冻结的应用程序;Obtain the application selected by the user to be frozen;
使所述应用程序不能运行或不能启动;Making the application inoperable or unable to start;
使所述应用程序的图标显示被冰块逐渐包裹的效果,以表明所述应用程序已被冻结。The icon of the application is displayed to be gradually wrapped by ice to indicate that the application has been frozen.
作为一种可选的实施方式,所述应用程序已被冻结之后,所述方法还包括:As an optional implementation manner, after the application has been frozen, the method further includes:
利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示。The icon of the application is displayed on the desktop with an icon wrapped by ice.
作为一种可选的实施方式,所述利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示之后,所述方法还包括:As an optional implementation manner, after the icon of the application is displayed on the desktop by using the icon wrapped by the ice cube, the method further includes:
统计所述应用程序被冻结的时间;Counting when the application is frozen;
根据所述应用程序被冻结的时间,调整所述被冰块包裹的图标上冰的厚度;其中,所述应用程序被冻结的时间越长,所述被冰块包裹的图标上的冰越厚。Adjusting the thickness of the ice on the icon wrapped by the ice block according to the time when the application is frozen; wherein the longer the application is frozen, the thicker the ice on the icon wrapped by the ice cube .
作为一种可选的实施方式,所述方法还包括:As an optional implementation manner, the method further includes:
判断用户按压所述被冰块包裹的图标的时间是否超过预设时间阈值;Determining whether the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
若用户按压所述被冰块包裹的图标的时间超过预设时间阈值,则启动解冻所述应用程序的过程;If the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold, starting a process of thawing the application;
显示所述被冰块包裹的图标上冰块逐渐溶解的效果以代表所述解冻所述应用程序的过程;其中,用户按压所述被冰块包裹的图标的时间越长,所述被冰块包裹的图标上的冰越薄。Displaying an effect of the ice cube gradually dissolving on the icon wrapped by the ice to represent the process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the iced The thinner the ice on the wrapped icon.
作为一种可选的实施方式,所述启动解冻所述应用程序的过程之后,所述方法还包括:As an optional implementation manner, after the process of starting the thawing of the application, the method further includes:
若用户的手指离开所述被冰块包裹的图标,则判断所述被冰块包裹的图标上的冰是否完全溶解;If the user's finger leaves the icon wrapped by the ice cube, it is determined whether the ice on the icon wrapped by the ice cube is completely dissolved;
若是,则恢复所述应用程序运行和启动的权限,即所述应用程序解冻成功。If so, the right to run and start the application is restored, ie the application is thawed successfully.
本发明实施例第二方面公开了一种终端设备,包括:A second aspect of the embodiment of the present invention discloses a terminal device, including:
接收单元,用于接收用户启动冻结应用程序功能的操作指令;a receiving unit, configured to receive an operation instruction that the user initiates a function of freezing the application;
显示单元,用于显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序;a display unit, configured to display a list of icons of the application in the terminal device, for the user to select an application to be frozen;
获取单元,用于获取用户选择的需冻结的应用程序;An obtaining unit, configured to acquire an application selected by a user to be frozen;
冻结单元,用于使所述应用程序不能运行或不能启动;Freezing unit for making the application inoperable or unable to start;
第一效果单元,用于使所述应用程序的图标显示被冰块逐渐包裹的效果, 以表明所述应用程序已被冻结。a first effect unit, configured to cause an icon of the application to display an effect of being gradually wrapped by ice cubes, To indicate that the application has been frozen.
作为一种可选的实施方式,所述终端设备还包括:As an optional implementation manner, the terminal device further includes:
替换单元,用于利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示。A replacement unit for displaying the icon of the application on the desktop with an icon wrapped by the ice cube.
作为一种可选的实施方式,所述终端设备还包括:As an optional implementation manner, the terminal device further includes:
统计单元,用于统计所述应用程序被冻结的时间;a statistical unit for counting the time when the application is frozen;
调整单元,用于根据所述应用程序被冻结的时间,调整所述被冰块包裹的图标上冰的厚度;其中,所述应用程序被冻结的时间越长,所述被冰块包裹的图标上的冰越厚。And an adjusting unit, configured to adjust a thickness of ice on the icon wrapped by the ice block according to a time when the application is frozen; wherein the longer the application is frozen, the icon wrapped by the ice block The thicker the ice is.
作为一种可选的实施方式,所述终端设备还包括:As an optional implementation manner, the terminal device further includes:
第一判断单元,用于判断用户按压所述被冰块包裹的图标的时间是否超过预设时间阈值;a first determining unit, configured to determine whether a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
解冻启动单元,用于当用户按压所述被冰块包裹的图标的时间超过预设时间阈值时,启动解冻所述应用程序的过程;a thawing activation unit, configured to initiate a process of thawing the application when a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
第二效果单元,用于显示所述被冰块包裹的图标上冰块逐渐溶解的效果以代表所述解冻所述应用程序的过程;其中,用户按压所述被冰块包裹的图标的时间越长,所述被冰块包裹的图标上的冰越薄。a second effect unit, configured to display an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the process of thawing the application; wherein the time for the user to press the icon wrapped by the ice Long, the thinner the ice on the icon wrapped in ice.
作为一种可选的实施方式,所述终端设备还包括:As an optional implementation manner, the terminal device further includes:
第二判断单元,用于当用户的手指离开所述被冰块包裹的图标时,判断所述被冰块包裹的图标上的冰是否完全溶解;a second determining unit, configured to determine, when the user's finger leaves the icon wrapped by the ice block, whether the ice on the icon wrapped by the ice block is completely dissolved;
解冻单元,用于当所述被冰块包裹的图标上的冰完全溶解时,恢复所述应用程序运行和启动的权限,即所述应用程序解冻成功。a thawing unit for restoring the right to run and start the application when the ice on the icon wrapped by the ice is completely dissolved, that is, the application is thawed successfully.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本发明实施例中,接收用户启动冻结应用程序功能的操作指令;显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序;获取用户选择的需冻结的应用程序;使所述应用程序不能运行或不能启动;使所述应用程序的图标显示被冰块逐渐包裹的效果,以表明所述应用程序已被冻结。由此可见,实施本发明实施例,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。 In the embodiment of the present invention, an operation instruction for a user to start a function of freezing an application is received; a list of icons of an application in the terminal device is displayed for the user to select an application to be frozen; and an application selected by the user to be frozen is obtained; The application cannot be run or cannot be launched; the icon of the application is shown to be gradually wrapped by ice to indicate that the application has been frozen. It can be seen that, in the embodiment of the present invention, when the application is frozen, the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving the user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for inventive labor.
图1为本发明实施例公开的一种应用程序冻结方法的流程示意图;1 is a schematic flowchart of an application freezing method according to an embodiment of the present invention;
图2为本发明实施例公开的另一种应用程序冻结方法的流程示意图;2 is a schematic flowchart of another application freezing method according to an embodiment of the present invention;
图3为本发明实施例公开的一种终端设备的结构示意图;FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
图4为本发明实施例公开的另一种终端设备的结构示意图;FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure;
图5为本发明实施例公开的又一种终端设备的结构示意图。FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which . All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods or devices.
本发明实施例提供了一种应用程序冻结方法及终端设备,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。以下分别进行详细说明。The embodiment of the invention provides an application freezing method and a terminal device. When the application is frozen, the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the general application. To improve the user experience. The details are described below separately.
请参阅图1,图1是本发明实施例公开的一种应用程序冻结方法的流程示意图。其中,图1所示的应用程序冻结方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of an application freezing method according to an embodiment of the present invention. The application freezing method shown in FIG. 1 may include the following steps:
101、接收用户启动冻结应用程序功能的操作指令。 101. Receive an operation instruction that the user starts to freeze the application function.
本发明实施例中,终端设备可以预设一些特殊的操作作为启动冻结应用程序功能的操作指令,通过监测用户对终端设备进行的上述特殊操作,从而启动冻结应用程序功能。In the embodiment of the present invention, the terminal device may preset some special operations as an operation instruction for starting the function of freezing the application, and start the function of freezing the application by monitoring the special operation performed by the user on the terminal device.
作为一种可选的实施方式,终端设备可将“摇一摇”操作作为启动冻结应用程序功能的操作指令。通过监测用户是否对终端设备进行了摇一摇操作,确定是否启动冻结应用程序功能。其中,终端设备中具有加速度传感器,可以通过监测用户施加在终端设备上在Z、Y、Z轴方向的加速度力,若其中任一方向的加速度力大于预设的阈值,则判断用户对终端设备进行了摇一摇操作。As an alternative embodiment, the terminal device may use a "shake" operation as an operational command to initiate a freeze application function. Determine whether to start the freeze application function by monitoring whether the user has performed a shake operation on the terminal device. The terminal device has an acceleration sensor, which can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined to the terminal device. A shake operation was performed.
本发明实施例中,终端设备可为智能手机、智能手表、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、销售终端(Point of Sales,POS)等,本发明实施例后续不作复述。In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a palmtop computer, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), etc. repeat.
102、显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序。102. Display a list of icons of the application in the terminal device, so that the user selects an application to be frozen.
本发明实施例中,当启动了冻结应用程序功能后,终端设备显示该终端设备中所有应用程序的图标列表,以便用户从中选择需冻结的应用程序。并且,本发明实施例支持用户对应用程序进行多选,从而实现一次操作便冻结多个应用程序的需求。In the embodiment of the present invention, after the function of freezing the application is started, the terminal device displays a list of icons of all the applications in the terminal device, so that the user selects an application to be frozen. Moreover, the embodiment of the present invention supports the user to perform multiple selections on the application, thereby realizing the requirement of freezing multiple applications in one operation.
103、获取用户选择的需冻结的应用程序。103. Obtain an application selected by the user to be frozen.
本发明实施例中,监测用户的手指在终端设备的触摸屏上的触摸,以确定用户选择的需冻结的应用程序。In the embodiment of the present invention, the touch of the user's finger on the touch screen of the terminal device is monitored to determine an application selected by the user to be frozen.
104、冻结用户选择的所述应用程序;。104. Freeze the application selected by the user;
作为一种可选的实施方式,终端设备可以通过调用后台接口的方式冻结上述应用程序:终端设备调用后台接口,禁止上述应用程序注册系统事件,从而关闭其运行和启动的权限。在冻结了一定的应用程序后,终端设备的内存可以被极大地节省,并且由于后台运行的应用程序变少,也能一定程度上节省终端设备的电量。As an optional implementation manner, the terminal device may freeze the foregoing application by calling a background interface: the terminal device invokes the background interface, prohibiting the application from registering the system event, thereby turning off the permission for running and starting. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
105、使上述应用程序的图标显示被冰块逐渐包裹的效果,以表明上述应用程序已被冻结。105. The icon of the application is displayed to be gradually wrapped by the ice to indicate that the application has been frozen.
作为一种可选的实施方式,当用户确认冻结上述应用程序后,使上述应用程序的图标显示被冰块逐渐包裹的效果,通过长达数秒的逐渐冻结效果,为用 户提供生动鲜明的冻结应用程序的体验,因而用户体验更好。As an optional implementation manner, after the user confirms to freeze the application, the icon of the application is displayed to be gradually wrapped by the ice, and the effect is gradually frozen by a period of several seconds. The user provides a vivid and vivid experience of freezing the application, so the user experience is better.
由此可见,实施图1所描述的方法,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。It can be seen that, by implementing the method described in FIG. 1, when the application is frozen, the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving the user. Experience.
请参阅图2,图2是本发明实施例公开的另一种应用程序冻结方法的流程示意图。如图2所示,该方法可以包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart diagram of another application freezing method according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
201、接收用户启动冻结应用程序功能的操作指令。201. Receive an operation instruction that the user starts to freeze the application function.
本发明实施例中,终端设备可以预设一些特殊的操作作为启动冻结应用程序功能的操作指令,通过监测用户对终端设备进行的上述特殊操作,从而启动冻结应用程序功能。In the embodiment of the present invention, the terminal device may preset some special operations as an operation instruction for starting the function of freezing the application, and start the function of freezing the application by monitoring the special operation performed by the user on the terminal device.
作为一种可选的实施方式,终端设备可将“摇一摇”操作作为启动冻结应用程序功能的操作指令。通过监测用户是否对终端设备进行了摇一摇操作,确定是否启动冻结应用程序功能。其中,终端设备中具有加速度传感器,可以通过监测用户施加在终端设备上在Z、Y、Z轴方向的加速度力,若其中任一方向的加速度力大于预设的阈值,则判断用户对终端设备进行了摇一摇操作。As an alternative embodiment, the terminal device may use a "shake" operation as an operational command to initiate a freeze application function. Determine whether to start the freeze application function by monitoring whether the user has performed a shake operation on the terminal device. The terminal device has an acceleration sensor, which can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined to the terminal device. A shake operation was performed.
202、显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序。202. Display a list of icons of the application in the terminal device, so that the user selects an application to be frozen.
本发明实施例中,当启动了冻结应用程序功能后,终端设备显示该终端设备中所有应用程序的图标列表,以便用户从中选择需冻结的应用程序。并且,本发明实施例支持用户对应用程序进行多选,从而实现一次操作便冻结多个应用程序的需求。In the embodiment of the present invention, after the function of freezing the application is started, the terminal device displays a list of icons of all the applications in the terminal device, so that the user selects an application to be frozen. Moreover, the embodiment of the present invention supports the user to perform multiple selections on the application, thereby realizing the requirement of freezing multiple applications in one operation.
203、获取用户选择的需冻结的应用程序。203. Obtain an application selected by the user to be frozen.
204、冻结用户选择的所述应用程序;。204. Freeze the application selected by the user;
作为一种可选的实施方式,终端设备可以通过调用后台接口的方式冻结上述应用程序:终端设备调用后台接口,禁止上述应用程序注册系统事件,从而关闭其运行和启动的权限。在冻结了一定的应用程序后,终端设备的内存可以被极大地节省,并且由于后台运行的应用程序变少,也能一定程度上节省终端设备的电量。As an optional implementation manner, the terminal device may freeze the foregoing application by calling a background interface: the terminal device invokes the background interface, prohibiting the application from registering the system event, thereby turning off the permission for running and starting. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
205、使上述应用程序的图标显示被冰块逐渐包裹的效果,以表明上述应用程序已被冻结。 205. The icon of the application is displayed to be gradually wrapped by the ice to indicate that the application is frozen.
作为一种可选的实施方式,当用户确认冻结上述应用程序后,使上述应用程序的图标显示被冰块逐渐包裹的效果,通过长达数秒的逐渐冻结效果,为用户提供生动鲜明的冻结应用程序的体验,因而用户体验更好。As an optional implementation manner, after the user confirms to freeze the application, the icon of the application is displayed to be gradually wrapped by the ice, and the user is provided with a vivid and frozen application through a gradual freezing effect of several seconds. The experience of the program, and thus the user experience is better.
206、利用被冰块包裹的图标替代上述应用程序的图标在桌面上显示。206. The icon of the application is replaced with an icon wrapped by ice, and displayed on the desktop.
作为一种可选的实施方式,利用被冰块包裹的图标替换桌面启动器的对应字段的内容,以达到将桌面上原应用图标替换为被冰块包裹的图标的目的。As an alternative embodiment, the content of the corresponding field of the desktop launcher is replaced with the icon wrapped by the ice cube to achieve the purpose of replacing the original application icon on the desktop with the icon wrapped by the ice cube.
除此以外,本发明实施例中,上述被冰块包裹的图标上冰的厚度,与该应用程序被冻结的时间长短有关,该应用程序被冻结的时间越长,则被冰块包裹的图标上冰的厚度越厚。这样用户便能通过观察被冻结的应用程序图标上冰的厚度,对应用被冻结的时间长短有直观的了解。In addition, in the embodiment of the present invention, the thickness of the ice on the icon wrapped by the ice block is related to the length of time the application is frozen, and the longer the application is frozen, the icon wrapped by the ice block. The thicker the upper ice is. This allows the user to visually understand how long the application has been frozen by observing the thickness of the ice on the frozen application icon.
作为一种可选的实施方式,统计上述应用程序被冻结的时间;根据上述应用程序被冻结的时间,调整上述被冰块包裹的图标上冰的厚度;其中,上述应用程序被冻结的时间越长,上述被冰块包裹的图标上的冰越厚。As an optional implementation manner, counting the time when the application is frozen; adjusting the thickness of the ice on the icon wrapped by the ice according to the time when the application is frozen; wherein, the time when the application is frozen Long, the thicker the ice on the icon wrapped in ice above.
207、判断用户按压上述被冰块包裹的图标的时间是否超过预设时间阈值。207. Determine whether the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold.
本发明实施例中,用户可以通过长按被冻结的应用程序的图标的操作来解冻应用程序。原有的解冻方式为点击被冻结的应用程序的图标即可解冻,容易由用户的误触而造成应用程序的解冻;本发明实施例中,通过长按被冻结应用的方式解冻应用,可以有效防止由于误触造成的误解冻情况。In the embodiment of the present invention, the user can unfreeze the application by long pressing the icon of the frozen application. The original defrosting method can be defrosted by clicking the icon of the frozen application, and the thawing of the application is easily caused by the user's mis-touch; in the embodiment of the present invention, the thawing application can be effectively performed by long-pressing the frozen application. Prevent misunderstanding due to accidental touch.
208、若用户按压上述被冰块包裹的图标的时间超过预设时间阈值,则启动解冻上述应用程序的过程。208. If the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold, initiate a process of thawing the application.
作为一种可选的实施方式,若用户按压上述被冰块包裹的图标的时间超过预设时间阈值,则启动解冻上述应用程序的过程。终端设备上显示上述被冰块包裹的图标上冰块逐渐溶解的效果以代表上述解冻上述应用程序的过程;其中,用户按压上述被冰块包裹的图标的时间越长,上述被冰块包裹的图标上的冰越薄。As an optional implementation manner, if the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold, the process of thawing the application is started. The terminal device displays an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the above-mentioned process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the ice wrapped The thinner the ice on the icon.
209、若用户的手指离开上述被冰块包裹的图标,则判断上述被冰块包裹的图标上的冰是否完全溶解。209. If the user's finger leaves the icon wrapped by the ice, it is determined whether the ice on the icon wrapped by the ice is completely dissolved.
210、若是,则恢复上述应用程序运行和启动的权限,即上述应用程序解冻成功。210. If yes, restore the permission of the above application running and starting, that is, the application is thawed successfully.
本发明实施例中,若被冰块包裹的图标上的冰完全溶解,则解冻该应用程 序成功,终端设备恢复该应用程序运行和启动的权限;若被冰块包裹的图标上的冰没有完全溶解,则该应用程序解冻不成功,但表面的冰已减少之前已融化的量,之后用户需要解冻该应用程序时,需要长按该应用程序图标的时间相应减少,方便用户在下一次继续解冻该应用程序。In the embodiment of the present invention, if the ice on the icon wrapped by the ice cube is completely dissolved, the application is thawed. The order is successful, the terminal device restores the right to run and start the application; if the ice on the icon wrapped by the ice is not completely dissolved, the application unfreeze is unsuccessful, but the surface ice has reduced the amount of melting before, after When the user needs to unfreeze the application, the time required to long press the application icon is reduced accordingly, so that the user can continue to unfreeze the application next time.
由此可见,实施图2所描述的方法,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。除此以外,用户可通过长按被冻结应用程序的图标的方式解冻被冻结的应用程序,与直接点击解冻应用程序相比,可以有效避免由于误触造成的误解冻。It can be seen that, by implementing the method described in FIG. 2, when the application is frozen, the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving the user. Experience. In addition, the user can unfreeze the frozen application by long pressing the icon of the frozen application, which can effectively avoid the mis-freezing caused by the accidental touch compared with the direct click of the unfreezing application.
请参阅图3,图3是本发明实施例公开的一种终端设备的结构示意图。如图3所示,该终端设备可以包括:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in FIG. 3, the terminal device may include:
接收单元301,用于接收用户启动冻结应用程序功能的操作指令。The receiving unit 301 is configured to receive an operation instruction that the user starts the function of freezing the application.
作为一种可选的实施方式,终端设备可将“摇一摇”操作作为启动冻结应用程序功能的操作指令。接收单元301通过监测用户是否对终端设备进行了摇一摇操作,确定是否启动冻结应用程序功能。其中,终端设备中具有加速度传感器,可以通过接收单元301监测用户施加在终端设备上在Z、Y、Z轴方向的加速度力,若其中任一方向的加速度力大于预设的阈值,则判断用户对终端设备进行了摇一摇操作。As an alternative embodiment, the terminal device may use a "shake" operation as an operational command to initiate a freeze application function. The receiving unit 301 determines whether to start the freeze application function by monitoring whether the user performs a panning operation on the terminal device. The terminal device has an acceleration sensor, and the receiving unit 301 can monitor the acceleration force applied by the user on the terminal device in the Z, Y, and Z directions. If the acceleration force in any one direction is greater than the preset threshold, the user is determined. The terminal device was shaken.
显示单元302,用于显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序。The display unit 302 is configured to display a list of icons of the application in the terminal device, so that the user selects an application to be frozen.
获取单元303,用于获取用户选择的需冻结的应用程序。The obtaining unit 303 is configured to acquire an application selected by the user to be frozen.
冻结单元304,用于冻结用户选择的所述应用程序;。The freezing unit 304 is configured to freeze the application selected by the user;
作为一种可选的实施方式,冻结单元304可以通过调用后台接口的方式冻结上述应用程序:冻结单元304调用后台接口,禁止上述应用程序注册系统事件,从而关闭其运行和启动的权限。在冻结了一定的应用程序后,终端设备的内存可以被极大地节省,并且由于后台运行的应用程序变少,也能一定程度上节省终端设备的电量。As an optional implementation manner, the freezing unit 304 may freeze the application by calling a background interface: the freezing unit 304 invokes the background interface, prohibiting the application from registering the system event, thereby turning off the running and starting rights. After freezing a certain application, the memory of the terminal device can be greatly saved, and since the number of applications running in the background is reduced, the power of the terminal device can be saved to some extent.
第一效果单元305,用于使上述应用程序的图标显示被冰块逐渐包裹的效果,以表明上述应用程序已被冻结。The first effect unit 305 is configured to cause an icon of the application to display an effect of being gradually wrapped by the ice block to indicate that the application is frozen.
作为一种可选的实施方式,当用户确认冻结上述应用程序后,第一效果单 元305使上述应用程序的图标显示被冰块逐渐包裹的效果,通过长达数秒的逐渐冻结效果,为用户提供生动鲜明的冻结应用程序的体验,因而用户体验更好。As an optional implementation manner, when the user confirms to freeze the application, the first effect list Element 305 causes the icon of the above application to display the effect of being gradually wrapped by ice, and provides a vivid and vivid experience of freezing the application through a gradual freezing effect of several seconds, so that the user experience is better.
由此可见,利用图3所示的终端设备,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。It can be seen that, by using the terminal device shown in FIG. 3, when the application is frozen, the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience.
请一并参阅图4,图4是本发明实施例公开的另一种终端设备的结构示意图。其中,图4所示的终端设备是由图3所示的终端设备进行优化得到的,与图3所示的终端设备相比,图4所示的终端设备还包括:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of another terminal device according to an embodiment of the present invention. The terminal device shown in FIG. 4 is optimized by the terminal device shown in FIG. 3. Compared with the terminal device shown in FIG. 3, the terminal device shown in FIG.
替换单元306,用于利用被冰块包裹的图标替代上述应用程序的图标在桌面上显示。The replacing unit 306 is configured to display the icon of the application by using an icon wrapped by the ice block on the desktop.
作为一种可选的实施方式,替换单元306利用被冰块包裹的图标替换桌面启动器的对应字段的内容,以达到将桌面上原应用图标替换为被冰块包裹的图标的目的。As an alternative embodiment, the replacement unit 306 replaces the content of the corresponding field of the desktop launcher with the icon wrapped by the ice cube to achieve the purpose of replacing the original application icon on the desktop with the icon wrapped by the ice cube.
除此以外,本发明实施例中,上述被冰块包裹的图标上冰的厚度,与该应用程序被冻结的时间长短有关,该应用程序被冻结的时间越长,则被冰块包裹的图标上冰的厚度越厚。这样用户便能通过观察被冻结的应用程序图标上冰的厚度,对应用被冻结的时间长短有直观的了解。In addition, in the embodiment of the present invention, the thickness of the ice on the icon wrapped by the ice block is related to the length of time the application is frozen, and the longer the application is frozen, the icon wrapped by the ice block. The thicker the upper ice is. This allows the user to visually understand how long the application has been frozen by observing the thickness of the ice on the frozen application icon.
作为一种可选的实施方式,图4所示的终端设备还包括:As an optional implementation manner, the terminal device shown in FIG. 4 further includes:
第一判断单元307,用于判断用户按压上述被冰块包裹的图标的时间是否超过预设时间阈值。The first determining unit 307 is configured to determine whether the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold.
解冻启动单元308,用于当用户按压上述被冰块包裹的图标的时间超过预设时间阈值时,启动解冻上述应用程序的过程。The defrosting start unit 308 is configured to start a process of thawing the application when the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold.
作为一种可选的实施方式,若用户按压上述被冰块包裹的图标的时间超过预设时间阈值,则解冻启动单元308启动解冻上述应用程序的过程。终端设备上显示上述被冰块包裹的图标上冰块逐渐溶解的效果以代表上述解冻上述应用程序的过程;其中,用户按压上述被冰块包裹的图标的时间越长,上述被冰块包裹的图标上的冰越薄。As an optional implementation manner, if the user presses the icon wrapped by the ice block for more than a preset time threshold, the defrosting activation unit 308 starts the process of thawing the application. The terminal device displays an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the above-mentioned process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the ice wrapped The thinner the ice on the icon.
作为一种可选的实施方式,图4所示的终端设备还包括:As an optional implementation manner, the terminal device shown in FIG. 4 further includes:
第二判断单元309,用于当用户的手指离开上述被冰块包裹的图标时,判断上述被冰块包裹的图标上的冰是否完全溶解。 The second determining unit 309 is configured to determine, when the user's finger leaves the icon wrapped by the ice block, whether the ice on the icon wrapped by the ice block is completely dissolved.
解冻单元310,用于当上述被冰块包裹的图标上的冰完全溶解时,恢复上述应用程序运行和启动的权限,即上述应用程序解冻成功。The thawing unit 310 is configured to restore the permission to run and start the application when the ice on the icon wrapped by the ice is completely dissolved, that is, the application is thawed successfully.
本发明实施例中,若被冰块包裹的图标上的冰完全溶解,则解冻单元310解冻该应用程序成功,终端设备恢复该应用程序运行和启动的权限;若被冰块包裹的图标上的冰没有完全溶解,则解冻单元310该应用程序解冻不成功,但表面的冰已减少之前已融化的量,之后用户需要解冻该应用程序时,需要长按该应用程序图标的时间相应减少,方便用户在下一次继续解冻该应用程序。In the embodiment of the present invention, if the ice on the icon wrapped by the ice cube is completely dissolved, the defrosting unit 310 defroses the application successfully, and the terminal device restores the right to run and start the application; if the icon is wrapped by the ice block If the ice is not completely dissolved, the application of the defrosting unit 310 is unsuccessful, but the surface ice has been reduced by the amount that has been melted before, and after the user needs to unfreeze the application, the time required to press the application icon is reduced accordingly. The user will continue to unfreeze the application the next time.
由此可见,利用图4所示的终端设备,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。除此以外,用户可通过长按被冻结应用程序的图标的方式解冻被冻结的应用程序,与直接点击解冻应用程序相比,可以有效避免由于误触造成的误解冻。It can be seen that, by using the terminal device shown in FIG. 4, when the application is frozen, the frozen application is displayed by the effect of being gradually wrapped by the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience. In addition, the user can unfreeze the frozen application by long pressing the icon of the frozen application, which can effectively avoid the mis-freezing caused by the accidental touch compared with the direct click of the unfreezing application.
请参阅图5,图5为本发明实施例公开的又一种终端设备的结构示意图。如图5所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of still another terminal device according to an embodiment of the present invention. As shown in FIG. 5, for the convenience of description, only the parts related to the embodiment of the present invention are shown. For the specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the terminal is a mobile phone as an example:
图5示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路501、存储器502、输入单元503、显示单元504、传感器505、音频电路506、无线保真(wireless fidelity,WiFi)模块507、处理器508、以及电源509等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 5, the mobile phone includes: a radio frequency (RF) circuit 501, a memory 502, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a wireless fidelity (WiFi) module 507, and a processor 508. And power supply 509 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
下面结合图5对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 5:
RF电路501可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器508处理;另外,将设计上行的数据发送给基站。通常,RF电路501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路501还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of  Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 501 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 508 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 501 can also communicate with the network and other devices through wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to the Global System of Mobile (Global System of Mobile communication, GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (WCDMA) Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), etc.
存储器502可用于存储软件程序以及模块,处理器508通过运行存储在存储器502的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 502 can be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Moreover, memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元503可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元503可包括触控面板5031以及其他输入设备5032。触控面板5031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5031上或在触控面板5031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板5031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5031。除了触控面板5031,输入单元503还可以包括其他输入设备5032。具体地,其他输入设备5032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 503 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. Specifically, the input unit 503 can include a touch panel 5031 and other input devices 5032. The touch panel 5031, also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 5031 or near the touch panel 5031. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 5031 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 508 is provided and can receive commands from the processor 508 and execute them. In addition, the touch panel 5031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5031, the input unit 503 may also include other input devices 5032. Specifically, other input devices 5032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元504可包括显示面板5041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting  Diode,OLED)等形式来配置显示面板5041。进一步的,触控面板5031可覆盖显示面板5041,当触控面板5031检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板5041上提供相应的视觉输出。虽然在图5中,触控面板5031与显示面板5041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板5031与显示面板5041集成而实现手机的输入和输出功能。The display unit 504 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 504 can include a display panel 5041. Alternatively, a liquid crystal display (LCD) or an organic light emitting diode (Organic Light-Emitting) can be used. The display panel 5041 is configured in the form of a Diode, OLED, or the like. Further, the touch panel 5031 can cover the display panel 5041. After the touch panel 5031 detects a touch operation thereon or nearby, the touch panel 5031 transmits to the processor 508 to determine the type of the touch event, and then the processor 508 according to the touch event. The type provides a corresponding visual output on display panel 5041. Although the touch panel 5031 and the display panel 5041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 5, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板5041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 5041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 5041 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路506、扬声器5061,传声器5062可提供用户与手机之间的音频接口。音频电路506可将接收到的音频数据转换后的电信号,传输到扬声器5061,由扬声器5061转换为声音信号输出;另一方面,传声器5062将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经RF电路501以发送给比如另一手机,或者将音频数据输出至存储器502以便进一步处理。The audio circuit 506, the speaker 5061, and the microphone 5062 can provide an audio interface between the user and the mobile phone. The audio circuit 506 can transmit the converted electrical data of the received audio data to the speaker 5061, and convert it into a sound signal output by the speaker 5061. On the other hand, the microphone 5062 converts the collected sound signal into an electrical signal, and the audio circuit 506 is used by the audio circuit 506. After receiving, it is converted into audio data, and then processed by the audio data output processor 508, transmitted to the other mobile phone via the RF circuit 501, or outputted to the memory 502 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块507,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 507, which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 507, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器508是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器508可包括一个或多个处理单元;优选的,处理 器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 502, and invoking data stored in the memory 502, executing The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 508 can include one or more processing units; preferably, processing The processor 508 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 508.
手机还包括给各个部件供电的电源509(比如电池),优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The handset also includes a power source 509 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 508 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
前述实施例中,各步骤方法流程可以基于该终端设备的结构实现。其中应用层和操作系统内核均可视为处理器508的抽象化结构的组成部分。In the foregoing embodiment, each step method flow may be implemented based on the structure of the terminal device. Both the application layer and the operating system kernel can be considered as part of the abstraction structure of the processor 508.
在本发明实施例中,处理器508通过调用存储于存储器502中的程序代码,用于执行以下操作:In the embodiment of the present invention, the processor 508 performs the following operations by calling program code stored in the memory 502:
接收用户启动冻结应用程序功能的操作指令;Receiving an operation instruction for a user to start a freeze application function;
显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序;Displaying a list of icons of applications in the terminal device for the user to select an application to be frozen;
获取用户选择的需冻结的应用程序;Obtain the application selected by the user to be frozen;
冻结用户选择的所述应用程序;;Freezing the application selected by the user;
使上述应用程序的图标显示被冰块逐渐包裹的效果,以表明上述应用程序已被冻结。The icon of the above application is displayed to be gradually wrapped by ice to indicate that the above application has been frozen.
由此可见,利用图5所示的终端设备,在冻结应用程序时,被冻结的应用程序以被冰块逐渐包裹的效果显示,可以使用户更容易区分被冻结的应用与普通应用,进而提高用户体验。It can be seen that, by using the terminal device shown in FIG. 5, when the application is frozen, the frozen application is displayed by the effect of gradually wrapping the ice, which makes it easier for the user to distinguish the frozen application from the normal application, thereby improving user experience.
值得注意的是,上述终端设备实施例中,所包括的各个单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It should be noted that, in the foregoing embodiment of the terminal device, each unit included is only divided according to functional logic, but is not limited to the foregoing division, as long as the corresponding function can be implemented; The names are also for convenience of distinction from each other and are not intended to limit the scope of protection of the present invention.
另外,本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, those skilled in the art can understand that all or part of the steps in implementing the foregoing method embodiments may be performed by a program to instruct related hardware, and the corresponding program may be stored in a computer readable storage medium. The storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想 到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。 The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think within the technical scope disclosed in the embodiments of the present invention. Variations or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (10)

  1. 一种应用程序冻结方法,其特征在于,包括:An application freezing method, comprising:
    接收用户启动冻结应用程序功能的操作指令;Receiving an operation instruction for a user to start a freeze application function;
    显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序;Displaying a list of icons of applications in the terminal device for the user to select an application to be frozen;
    获取用户选择的需冻结的应用程序;Obtain the application selected by the user to be frozen;
    冻结用户选择的所述应用程序;Freezing the application selected by the user;
    使所述应用程序的图标显示被冰块逐渐包裹的效果,以表明所述应用程序已被冻结。The icon of the application is displayed to be gradually wrapped by ice to indicate that the application has been frozen.
  2. 根据权利要求1所述方法,其特征在于,所述应用程序已被冻结之后,所述方法还包括:The method of claim 1, wherein after the application has been frozen, the method further comprises:
    利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示。The icon of the application is displayed on the desktop with an icon wrapped by ice.
  3. 根据权利要求2所述方法,其特征在于,所述利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示之后,所述方法还包括:The method according to claim 2, wherein after the icon of the application is displayed on the desktop instead of the icon wrapped by the ice cube, the method further comprises:
    统计所述应用程序被冻结的时间;Counting when the application is frozen;
    根据所述应用程序被冻结的时间,调整所述被冰块包裹的图标上冰的厚度;其中,所述应用程序被冻结的时间越长,所述被冰块包裹的图标上的冰越厚。Adjusting the thickness of the ice on the icon wrapped by the ice block according to the time when the application is frozen; wherein the longer the application is frozen, the thicker the ice on the icon wrapped by the ice cube .
  4. 根据权利要求3所述方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    判断用户按压所述被冰块包裹的图标的时间是否超过预设时间阈值;Determining whether the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
    若用户按压所述被冰块包裹的图标的时间超过预设时间阈值,则启动解冻所述应用程序的过程;If the time when the user presses the icon wrapped by the ice block exceeds a preset time threshold, starting a process of thawing the application;
    显示所述被冰块包裹的图标上冰块逐渐溶解的效果以代表所述解冻所述应用程序的过程;其中,用户按压所述被冰块包裹的图标的时间越长,所述被冰块包裹的图标上的冰越薄。Displaying an effect of the ice cube gradually dissolving on the icon wrapped by the ice to represent the process of thawing the application; wherein the longer the user presses the icon wrapped by the ice, the iced The thinner the ice on the wrapped icon.
  5. 根据权利要求4所述方法,其特征在于,所述启动解冻所述应用程序的过程之后,所述方法还包括:The method according to claim 4, wherein after the step of initiating the thawing of the application, the method further comprises:
    若用户的手指离开所述被冰块包裹的图标,则判断所述被冰块包裹的图标上的冰是否完全溶解;If the user's finger leaves the icon wrapped by the ice cube, it is determined whether the ice on the icon wrapped by the ice cube is completely dissolved;
    若是,则恢复所述应用程序运行和启动的权限,即所述应用程序解冻成功。 If so, the right to run and start the application is restored, ie the application is thawed successfully.
  6. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    接收单元,用于接收用户启动冻结应用程序功能的操作指令;a receiving unit, configured to receive an operation instruction that the user initiates a function of freezing the application;
    显示单元,用于显示终端设备中的应用程序的图标列表,以供用户从中选择需冻结的应用程序;a display unit, configured to display a list of icons of the application in the terminal device, for the user to select an application to be frozen;
    获取单元,用于获取用户选择的需冻结的应用程序;An obtaining unit, configured to acquire an application selected by a user to be frozen;
    冻结单元,用于使所述应用程序不能运行或不能启动;Freezing unit for making the application inoperable or unable to start;
    第一效果单元,用于使所述应用程序的图标显示被冰块逐渐包裹的效果,以表明所述应用程序已被冻结。The first effect unit is configured to cause the icon of the application to display an effect of being gradually wrapped by the ice to indicate that the application has been frozen.
  7. 根据权利要求6所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 6, wherein the terminal device further comprises:
    替换单元,用于利用被冰块包裹的图标替代所述应用程序的图标在桌面上显示。A replacement unit for displaying the icon of the application on the desktop with an icon wrapped by the ice cube.
  8. 根据权利要求7所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 7, wherein the terminal device further comprises:
    统计单元,用于统计所述应用程序被冻结的时间;a statistical unit for counting the time when the application is frozen;
    调整单元,用于根据所述应用程序被冻结的时间,调整所述被冰块包裹的图标上冰的厚度;其中,所述应用程序被冻结的时间越长,所述被冰块包裹的图标上的冰越厚。And an adjusting unit, configured to adjust a thickness of ice on the icon wrapped by the ice block according to a time when the application is frozen; wherein the longer the application is frozen, the icon wrapped by the ice block The thicker the ice is.
  9. 根据权利要求8所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 8, wherein the terminal device further comprises:
    第一判断单元,用于判断用户按压所述被冰块包裹的图标的时间是否超过预设时间阈值;a first determining unit, configured to determine whether a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
    解冻启动单元,用于当用户按压所述被冰块包裹的图标的时间超过预设时间阈值时,启动解冻所述应用程序的过程;a thawing activation unit, configured to initiate a process of thawing the application when a time when the user presses the icon wrapped by the ice block exceeds a preset time threshold;
    第二效果单元,用于显示所述被冰块包裹的图标上冰块逐渐溶解的效果以代表所述解冻所述应用程序的过程;其中,用户按压所述被冰块包裹的图标的时间越长,所述被冰块包裹的图标上的冰越薄。a second effect unit, configured to display an effect of gradually dissolving the ice on the icon wrapped by the ice to represent the process of thawing the application; wherein the time for the user to press the icon wrapped by the ice Long, the thinner the ice on the icon wrapped in ice.
  10. 根据权利要求9所述的终端设备,其特征在于,所述终端设备还包括:The terminal device according to claim 9, wherein the terminal device further comprises:
    第二判断单元,用于当用户的手指离开所述被冰块包裹的图标时,判断所述被冰块包裹的图标上的冰是否完全溶解;a second determining unit, configured to determine, when the user's finger leaves the icon wrapped by the ice block, whether the ice on the icon wrapped by the ice block is completely dissolved;
    解冻单元,用于当所述被冰块包裹的图标上的冰完全溶解时,恢复所述应用程序运行和启动的权限,即所述应用程序解冻成功。 a thawing unit for restoring the right to run and start the application when the ice on the icon wrapped by the ice is completely dissolved, that is, the application is thawed successfully.
PCT/CN2016/097472 2016-07-29 2016-08-31 Application program freezing method and terminal device WO2018018704A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610617055.6A CN106250225A (en) 2016-07-29 2016-07-29 A kind of application program freezing method and terminal unit
CN201610617055.6 2016-07-29

Publications (1)

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

Family

ID=57606905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097472 WO2018018704A1 (en) 2016-07-29 2016-08-31 Application program freezing method and terminal device

Country Status (2)

Country Link
CN (1) CN106250225A (en)
WO (1) WO2018018704A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055210A (en) * 2016-06-24 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Method and device for processing icons
CN106874716A (en) * 2017-01-09 2017-06-20 维沃移动通信有限公司 The method and mobile terminal of a kind of control of authority
CN109219115A (en) * 2018-08-20 2019-01-15 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the method, apparatus and storage device for freezing end application
CN113348443B (en) * 2019-04-12 2023-04-04 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
US20150160976A1 (en) * 2013-12-06 2015-06-11 Samsung Electronics Co., Ltd. Multitasking method and electronic device therefor
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus
CN105653146A (en) * 2014-11-14 2016-06-08 阿里巴巴集团控股有限公司 Touch screen terminal object protection method and device
CN105786480A (en) * 2015-12-29 2016-07-20 上海闻泰电子科技有限公司 Application processing system and processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106662963B (en) * 2014-05-19 2020-12-08 三星电子株式会社 Method and apparatus for managing application package installed in mobile communication terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150160976A1 (en) * 2013-12-06 2015-06-11 Samsung Electronics Co., Ltd. Multitasking method and electronic device therefor
CN104881299A (en) * 2014-02-28 2015-09-02 可牛网络技术(北京)有限公司 Application program freezing method and apparatus
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN105653146A (en) * 2014-11-14 2016-06-08 阿里巴巴集团控股有限公司 Touch screen terminal object protection method and device
CN105786480A (en) * 2015-12-29 2016-07-20 上海闻泰电子科技有限公司 Application processing system and processing method

Also Published As

Publication number Publication date
CN106250225A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN108234763B (en) Horizontal and vertical screen switching method and device and terminal
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
CN106250223B (en) Background process management method and terminal equipment
WO2016150331A1 (en) Method and device for operating game client
CN111095221B (en) Method and terminal for refreshing display exception handling
CN110837327B (en) Message viewing method and terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN107967153B (en) Application program management method and mobile terminal
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN106406924B (en) Control method and device for starting and quitting picture of application program and mobile terminal
WO2018018704A1 (en) Application program freezing method and terminal device
WO2015131768A1 (en) Video processing method, apparatus and system
WO2019128190A1 (en) Method for use in controlling application program, mobile terminal and readable storage medium
EP3418871B1 (en) Swiping response acceleration method and related products
WO2020010965A1 (en) Mobile terminal, and method and device for updating application thereof
WO2019076250A1 (en) Push message management method and related products
WO2014094600A1 (en) Mobile terminal and method for reducing power consumption thereof
CN107770449B (en) Continuous shooting method, electronic device and storage medium
JP6974620B2 (en) Notification message processing method and terminal
CN107341032B (en) Data loading method, mobile terminal and computer readable storage medium
US11150913B2 (en) Method, device, and terminal for accelerating startup of application
CN106598656B (en) Mobile terminal and forbidden application starting method and device thereof
WO2017215663A1 (en) Sound effect processing method and terminal
WO2017206903A1 (en) Application control method and related device
CN110032422B (en) Application management method, terminal equipment and computer readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1