CN106959857B - Application control method and device of electronic equipment - Google Patents

Application control method and device of electronic equipment Download PDF

Info

Publication number
CN106959857B
CN106959857B CN201710197044.1A CN201710197044A CN106959857B CN 106959857 B CN106959857 B CN 106959857B CN 201710197044 A CN201710197044 A CN 201710197044A CN 106959857 B CN106959857 B CN 106959857B
Authority
CN
China
Prior art keywords
application
preset
time period
fixed time
wake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710197044.1A
Other languages
Chinese (zh)
Other versions
CN106959857A (en
Inventor
欧华富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710197044.1A priority Critical patent/CN106959857B/en
Publication of CN106959857A publication Critical patent/CN106959857A/en
Application granted granted Critical
Publication of CN106959857B publication Critical patent/CN106959857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • 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
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application control method and an application control device of electronic equipment. The electronic equipment installs at least one application, and the application control method comprises the following steps: awakening at least one part of the at least one application within a fixed time period of a preset period according to a preset application awakening strategy; freezing at least one part of the at least one application outside a fixed time period of the preset cycle, and not performing a wake-up operation on the at least one part of the at least one application if a preset condition is met.

Description

Application control method and device of electronic equipment
Technical Field
The present invention relates to the field of control technologies, and in particular, to an application control method and an application control apparatus for an electronic device.
Background
With the rapid development of mobile electronic devices, mobile terminals with intelligent operating systems are widely used. The android system is used as an operating system by more and more mobile terminals to complete various task operations such as internet surfing, communication, application program running and the like.
In the aspect of application program control of the mobile terminal, various intelligent operating systems often adopt an alarm awakening mechanism to awaken an application process. However, since the application programs applied to the smart operating system are various in variety, and the operation and trigger mode of each application program are different from each other, the smart operating system needs to frequently and irregularly wake up each application by using an alarm message, which will result in a long system activation time and excessive resource occupation, so that the system operation of the mobile terminal is not smooth enough and the power consumption is too fast, which affects the user experience.
Disclosure of Invention
According to an aspect of the present invention, there is provided an application control method of an electronic device, wherein the electronic device installs at least one application, the method including: awakening at least one part of the at least one application within a fixed time period of a preset period according to a preset application awakening strategy; freezing at least one part of the at least one application outside a fixed time period of the preset cycle, and not performing a wake-up operation on the at least one part of the at least one application if a preset condition is met.
According to another aspect of the present invention, there is provided an application control apparatus of an electronic device, wherein the electronic device installs at least one application, the apparatus including: the awakening unit is configured to awaken at least one part of the at least one application within a fixed time period of a preset cycle according to a preset application awakening strategy; a freezing unit configured to freeze at least a portion of the at least one application outside a fixed time period of the preset cycle and not perform a wake-up operation on the at least a portion of the at least one application if a preset condition is satisfied.
According to the application control method and the application control device of the electronic equipment, the application can be awakened in the preset fixed time period through the preset application awakening strategy, and the application is frozen outside the time period, so that the system activation time is greatly reduced, the resource occupation ratio is reduced, the system can operate smoothly, the power consumption is reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 schematically illustrates a flow chart of an application control method of an electronic device according to an embodiment of the present invention;
fig. 2 schematically illustrates a block diagram of a configuration of an application control apparatus of an electronic device according to an embodiment of the present invention;
fig. 3 schematically illustrates a block diagram of a configuration of an application control apparatus of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention.
In an intelligent operating system of a mobile terminal, particularly an Android operating system, an alarm wake-up mechanism is generally adopted to wake up a related application process at a specific time. In the alarm wake-up mechanism, the application can be started within a specified time or periodically, using a global timer alarmmmanager as a system-level reminder service. Specifically, when the alarm clock sounds (time out), an intention (Intent) associated therewith will be emitted by the system in a broadcast, and then the target application will be automatically launched. Even when the device is in sleep, the registered alarm clock can be reserved; if the alarm is turned off or restarted, the alarm will be cleared. In this process, the alarm clock manager (alarmmmanager) will have a CPU wake-up lock to ensure that the handset will not sleep until the broadcast is processed. The application program awakening mechanism of the android system can cause the system to occupy too many resources and consume too fast electric quantity.
In view of the above, an embodiment of the present invention proposes an application control method applied to an electronic device in which at least one application is installed. Fig. 1 shows a flow chart of an application control method 100 of an electronic device according to an embodiment of the invention. The electronic device to which the application control method in the embodiment of the present invention is applied may be various terminals that can be used to load an application program, such as a mobile phone, a PDA, a tablet computer, a notebook computer, and the like, and may also be a portable, pocket, handheld, computer-embedded, or vehicle-mounted device, which is not limited herein.
As shown in fig. 1, in step S101, at least a portion of the at least one application is woken up within a fixed time period of a preset cycle according to a preset application wake-up policy.
In this step, the application may be wakened within a fixed time period of a preset cycle by a preset application wake-up policy, and optionally, at least a part of at least one application installed in the electronic device may be wakened up. Of course, in the embodiment of the present invention, at least a part of each application, or all of each application, or a part of an application and all of another part of the application in the plurality of applications may also be woken up. The expressions in the application control method are all examples, and in practical application, the number, the type and the content of awakening of the awakened application are not limited herein. The application wakeup policy in the embodiment of the invention can be set according to the actual application scenario.
Optionally, before waking up the application in the embodiment of the present invention, the method may further include: and classifying the at least one application to obtain a preset type of application so as to wake up the preset type of application within a fixed time period in a preset period. In one example of the invention, the preset type of application may be a non-forced wake-up application and/or an application that complies with a freeze policy. In an electronic device using an android operating system as an example, the alarm clock type or the application type registered by the adopted application program can be various. For example, the alarm clock type registered by some applications may be an application of a precise alarm clock type, and the wake-up of such an application needs to be unchangeable within a preset certain time or period, otherwise, the application implementation error may be caused, and therefore, this type of application may also be regarded as a forced wake-up application, and such an application must be woken up within a certain period regardless of the alarm clock setting of the current system. The alarm clock type registered by another type of application program can be a non-precise alarm clock type application program, the wakeup time or time period of the application program is not very strictly limited, and can be changed along with the change of the operating system setting, so that the application program can also be regarded as a non-forced wakeup application. Further, the applications in the electronic device may also include applications that are compliant with the freeze policy and applications that are not compliant with the freeze policy. For applications that do not comply with the freeze policy, the control policy of the embodiment of the present invention that wakes up the application for a fixed period of time and freezes the application for a fixed period of time cannot be adopted, but it is desirable to keep such applications in a state that is always operable in the background or in a state that can send and receive messages, for example, the application such as WeChat, QQ, etc. that is continuously running in the background can be regarded as an application that does not comply with the freeze policy in some embodiments. Conversely, an application that conforms to the freeze policy can perform the freeze operation according to the system setting without affecting the user experience. In the embodiment of the present invention, for each of the alarm clock types or application types listed above, an application alarm clock registration event may be monitored first, and when an alarm clock registration is initiated by an application, applications are classified according to the alarm clock type and/or the application type, so as to obtain applications of a preset type. Specifically, applications that can be controlled according to the method in the embodiment of the present invention may be listed in a white list, such as an unforced wake-up application and/or an application that conforms to a freeze policy, as applications of a preset type, and subsequently controlled according to the method in the embodiment of the present invention; applications which cannot be controlled according to the method in the embodiment of the invention are listed in a blacklist and are subsequently processed and controlled according to the original control method of the operating system in the electronic equipment. The above application program and/or alarm clock classification mechanism and the operation for classifying the application program are only examples, and in practical application, any application program classification mechanism may be adopted to obtain an application of a preset type and perform the operation.
In step S102, at least a portion of the at least one application is frozen outside of a fixed time period of the preset cycle, and a wake-up operation is not performed on the at least a portion of the at least one application if a preset condition is satisfied.
In this step, the application or a part of the application may be frozen outside the fixed time period, and the frozen application or part of the application may not be wakened up when a preset condition is satisfied. Optionally, at least a portion of at least one application in the electronic device may be frozen. Of course, in the embodiment of the present invention, at least a part of each application, or all of each application, or a part of one application and all of another part of applications in the plurality of applications may be frozen. The application frozen in step S102 may be the same as the application woken up in step S101 or may be different from the application woken up in step S101. In addition, in the embodiment of the present invention, the white list/black list mechanism may be further adopted to freeze the preset type of application listed in the white list, and not freeze the application in the black list. The expressions in the above steps are all examples, and in practical application, the number, the type and the content of the frozen applications are not limited herein. The application freezing policy in the embodiment of the present invention may be set according to an actual application scenario.
Optionally, the preset period and the fixed time period in the embodiment of the present invention may have various setting manners. Preferably, considering that the period in the android system is generally in minutes, the broadcast message will be sent out every minute, and therefore, the preset period in the embodiment of the present invention may also be one minute or an integral multiple of one minute. And correspondingly, the fixed time period within the preset period may also be a fixed time period within 1 minute or several minutes. For example, when the preset period is one minute, the fixed period may be 5 s. Preferably, the fixed time period may be 0-5 s per minute, and at least a portion of the at least one application may be woken up within the first 5s per minute, and thus may also be frozen within the 6 th-59 th s per minute. The setting of the preset period and the fixed time period is only an example, and any period and time period that meet the requirements of practical application may be adopted for application wakeup and freezing, which is not limited herein.
In an embodiment of the present invention, freezing the application may include keeping a process of at least a portion of the at least one application in a memory of the electronic device but not running the at least a portion of the at least one application. Thus, the operation of freezing an application program in the embodiment of the present invention is distinguished from the operation of ending the application or killing the process. After the application program is finished or the process is killed, the application program needs to be restarted when in use, and the reserved process hung in the memory cannot be directly read for operation, so that the starting time is increased. Therefore, the freezing application program in the embodiment of the invention reserves the relevant process of the application, improves the time efficiency when the application program is reused, and improves the user experience.
During the freezing of an application, there may be various triggering events that trigger the application to wake up immediately. Thus, the wake-up mechanism of the application in the freeze can be controlled by preset conditions. Optionally, when an operation instruction of the user on at least one part of the at least one application is received, at least one part of the application can be immediately awakened; and when the operation instruction of the user on at least one part of the at least one application is not received, the awakening operation on at least one part of the at least one application can not be carried out.
According to the application control method of the electronic equipment, provided by the embodiment of the invention, the application can be awakened in the preset fixed time period through the preset application awakening strategy, and the application is frozen outside the time period, so that the system activation time is greatly reduced, the resource occupation ratio is reduced, the system can operate smoothly, the power consumption is reduced, and the user experience is improved.
Next, a block diagram of an application control apparatus of an electronic device according to an embodiment of the present invention is described with reference to fig. 2. The apparatus may perform the application control method of the electronic device. Since the operation of the apparatus is substantially the same as the respective steps of the application control method of the electronic device described above, only a brief description thereof will be made herein, and a repetitive description of the same will be omitted.
As shown in fig. 2, the apparatus 200 includes a wakeup unit 210 and a freeze unit 220. It should be appreciated that fig. 2 only shows components relevant to an embodiment of the present invention, and other components are omitted, but this is merely illustrative and the apparatus 200 may include other components as desired.
As shown in fig. 2, the waking unit 210 wakes up at least a portion of the at least one application within a fixed time period of a preset cycle according to a preset application wake policy.
In this embodiment of the present invention, the waking unit 210 may wake up the application within a fixed time period of a preset cycle through a preset application wake policy, and optionally, the waking unit 210 may wake up at least a portion of at least one application installed in the electronic device. Of course, the wake-up unit 210 in the embodiment of the present invention may also wake up at least a part of each application, or all of each application, or a part of one application and all of another part of the applications. The above descriptions of the wake-up unit 210 are all examples, and in practical applications, the number, types, and contents of the wake-up unit 210 are not limited herein. The application wakeup policy in the embodiment of the invention can be set according to the actual application scenario.
Optionally, the control apparatus according to the embodiment of the present invention may further include a classifying unit (not shown) configured to classify the at least one application, and obtain an application of a preset type, so that the application of the preset type is woken up within a fixed time period in a preset cycle. In one example of the invention, the preset type of application may be a non-forced wake-up application and/or an application that complies with a freeze policy. In an electronic device using an android operating system as an example, the alarm clock type or the application type registered by the adopted application program can be various. For example, the alarm clock type registered by some applications may be an application of a precise alarm clock type, and the wake-up of such an application needs to be unchangeable within a preset certain time or period, otherwise, the application implementation error may be caused, and therefore, this type of application may also be regarded as a forced wake-up application, and such an application must be woken up within a certain period regardless of the alarm clock setting of the current system. The alarm clock type registered by another type of application program can be a non-precise alarm clock type application program, the wakeup time or time period of the application program is not very strictly limited, and can be changed along with the change of the operating system setting, so that the application program can also be regarded as a non-forced wakeup application. Further, the applications in the electronic device may also include applications that are compliant with the freeze policy and applications that are not compliant with the freeze policy. For applications that do not comply with the freeze policy, the control policy of the embodiment of the present invention that wakes up the application for a fixed period of time and freezes the application for a fixed period of time cannot be adopted, but it is desirable to keep such applications in a state that is always operable in the background or in a state that can send and receive messages, for example, the application such as WeChat, QQ, etc. that is continuously running in the background can be regarded as an application that does not comply with the freeze policy in some embodiments. Conversely, an application that conforms to the freeze policy can perform the freeze operation according to the system setting without affecting the user experience. In the embodiment of the present invention, the classifying unit may monitor an application alarm clock registration event for each listed alarm clock type or application type, and when it is found that the application initiates alarm clock registration, classify the application according to the alarm clock type and/or the application type to obtain the application of a preset type. Specifically, the classifying unit may list applications that can be controlled according to the method in the embodiment of the present invention in a white list, such as an unforced wake-up application and/or an application that conforms to a freezing policy, as applications of a preset type, and subsequently control the applications according to the method in the embodiment of the present invention; applications which cannot be controlled according to the method in the embodiment of the invention are listed in a blacklist and are subsequently processed and controlled according to the original control method of the operating system in the electronic equipment. The classification mechanism of the classification unit for the application program and/or the alarm clock and the operation for classifying the application program are only examples, and in practical application, the classification unit may adopt any application program classification mechanism to obtain an application of a preset type and perform the operation.
The freezing unit 220 freezes at least a portion of the at least one application outside a fixed time period of the preset cycle and does not perform a wake-up operation on the at least a portion of the at least one application if a preset condition is satisfied.
The freezing unit 220 may freeze the application or a portion of the application outside the fixed period of time and does not perform a wake-up operation on the frozen application or the portion of the application when a preset condition is satisfied. Optionally, the freezing unit 220 may freeze at least a part of at least one application in the electronic device. Of course, the freezing unit 220 in the embodiment of the present invention may also freeze at least a part of each application, or all of each application, or a part of one application and all of another part of applications in the plurality of applications. The application frozen by the freezing unit 220 may be the same as the application woken up in the wake-up unit 210 or may be different from the application woken up in the wake-up unit 210. In addition, in the embodiment of the present invention, the white list/the black list acquired by the classification unit may be further adopted, and the freezing operation is performed on the preset type of application listed in the white list, but not performed on the application in the black list. The above descriptions of the freezing unit 220 are all examples, and in practical applications, the number and types of applications frozen by the freezing unit 220 and the content of the frozen applications are not limited herein. The application freezing policy in the embodiment of the present invention may be set according to an actual application scenario.
Optionally, the preset period and the fixed time period in the embodiment of the present invention may have various setting manners. Preferably, considering that the period in the android system is generally in minutes, the broadcast message will be sent out every minute, and therefore, the preset period in the embodiment of the present invention may also be one minute or an integral multiple of one minute. And correspondingly, the fixed time period within the preset period may also be a fixed time period within 1 minute or several minutes. For example, when the preset period is one minute, the fixed period may be 5 s. Preferably, the fixed time period may be 0-5 s per minute, and at least a portion of the at least one application may be woken up within the first 5s per minute, and thus may also be frozen within the 6 th-59 th s per minute. The setting of the preset period and the fixed time period is only an example, and any period and time period which meet the practical application may be adopted for application wakeup and freeze, for example, wakeup is performed for the first 1 minute of every 5 minutes, freeze is performed for the remaining 4 minutes, and the like, and is not limited herein.
In an embodiment of the present invention, the freezing of the application by the freezing unit 220 may include keeping a process of at least a part of the at least one application in a memory of the electronic device, but not running the at least a part of the at least one application. Therefore, the freezing unit 220 in the embodiment of the present invention freezes the application program differently from the operation of ending the application or killing the process. After the application program is finished or the process is killed, the application program needs to be restarted when in use, and the reserved process hung in the memory cannot be directly read for operation, so that the starting time is increased. Therefore, the freezing unit 220 in the embodiment of the present invention freezes the application program, and retains the relevant process of the application, thereby improving the time efficiency when the application program is reused, and improving the user experience.
During the freezing of the application by the freezing unit 220, there may be various triggering events that trigger the application to wake up immediately. Thus, the wake-up mechanism of the application in the freeze can be controlled by preset conditions. Optionally, when receiving an operation instruction of the user on at least a part of the at least one application, the wake-up unit 210 may wake up at least a part of the application immediately; and when the operation instruction of the user on at least one part of the at least one application is not received, the awakening operation on at least one part of the at least one application can not be carried out.
According to the application control device of the electronic equipment, provided by the embodiment of the invention, the application can be awakened in the preset fixed time period through the preset application awakening strategy, and the application is frozen outside the time period, so that the system activation time is greatly reduced, the resource occupation ratio is reduced, the system can be operated smoothly, the power consumption is reduced, and the user experience is improved.
Next, a block diagram of an application control apparatus according to an embodiment of the present invention is described with reference to fig. 3. The apparatus may perform the application control method described above. Since the operation of the apparatus is substantially the same as the respective steps of the information processing method described above with reference to fig. 1, only a brief description thereof will be given here, and a repetitive description of the same will be omitted.
The application control device 300 of fig. 3 may include one or more processors 310 and memory 320, although the application control device 300 may also include other components such as input units, output units (not shown), etc., which are interconnected via a bus system and/or other form of connection mechanism (not shown). It should be noted that the components and configuration of the application control device 300 shown in fig. 3 are exemplary only, and not limiting, and the application control device 300 may have other components and configurations as desired.
The processor 310 is a control center, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the application control apparatus. Preferably, the processor 310 may include one or more processing cores; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
Memory 320 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium.
The processor 310 may execute the program instructions to perform the steps of: awakening at least one part of the at least one application within a fixed time period of a preset period according to a preset application awakening strategy; freezing at least one part of the at least one application outside a fixed time period of the preset cycle, and not performing a wake-up operation on the at least one part of the at least one application if a preset condition is met.
Wherein before waking up at least a portion of the at least one application within a fixed time period in a preset cycle, the method further comprises: classifying the at least one application to obtain an application of a preset type; the waking up at least a portion of the at least one application for a fixed period of time in a preset cycle comprises: awakening the application of the preset type within a fixed time period in a preset period; the freezing at least one part of the at least one application outside the fixed time period of the preset cycle and not performing the wake-up operation on the at least one part of the at least one application if a preset condition is met comprises: freezing the preset type of application outside the fixed time period of the preset period, and not performing awakening operation on the preset type of application under the condition that a preset condition is met. Preferably, the preset type of application may include: an unforced wake-up of an application and/or an application that complies with a freeze policy. Preferably, the freezing of at least a portion of the at least one application outside of the fixed time period of the preset period may include: maintaining a process of at least a portion of the at least one application in a memory of the electronic device but not running at least a portion of the at least one application. Preferably, the preset condition may be: no operating instruction of the user to at least one part of the at least one application is received.
The input unit may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Preferably, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and can receive and execute commands sent by the processor 310. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit may comprise other input devices than a touch sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The output unit may output various information, such as image information, application control information, and the like, to the outside (e.g., a user). For example, the output unit may be a display unit operable to display information input by or provided to a user and various graphic user interfaces of the application control apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit may include a display panel, and preferably, the display panel may be configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel according to the type of the touch event. The touch-sensitive surface and the display panel may be implemented as two separate components for input and output functions, or in some embodiments, the touch-sensitive surface may be integrated with the display panel for input and output functions.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific implementation of the information processing method described above may refer to the corresponding description in the product embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not implemented.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An application control method of an electronic device, wherein the electronic device installs at least one application, the method comprising:
according to a preset application awakening strategy, awakening a part of the at least one application within a fixed time period of a preset period;
freezing a part of the at least one application outside a fixed time period of the preset cycle, and not performing a wake-up operation on the part of the at least one application if a preset condition is met;
wherein said freezing a portion of the at least one application outside of a fixed time period of the preset period comprises: maintaining a process of a portion of the at least one application in a memory of the electronic device but not running a portion of the at least one application.
2. The application control method of claim 1,
before waking up a part of the at least one application within a fixed time period in a preset cycle, the method further comprises: classifying the at least one application to obtain an application of a preset type;
the waking up a part of the at least one application within a fixed time period in a preset cycle comprises: awakening the application of the preset type within a fixed time period in a preset period;
the freezing a part of the at least one application outside the fixed time period of the preset cycle and not performing a wake-up operation on the part of the at least one application if a preset condition is met comprises: freezing the preset type of application outside the fixed time period of the preset period, and not performing awakening operation on the preset type of application under the condition that a preset condition is met.
3. The application control method of claim 2, wherein the preset type of application comprises:
an unforced wake-up of an application and/or an application that complies with a freeze policy.
4. The application control method according to any one of claims 1 to 3, wherein the preset condition is:
no operation instruction of a part of the at least one application by a user is received.
5. An application control apparatus of an electronic device, wherein the electronic device installs at least one application, the apparatus comprising:
the awakening unit is configured to awaken a part of the at least one application within a fixed time period of a preset cycle according to a preset application awakening strategy;
a freezing unit configured to freeze a portion of the at least one application outside a fixed time period of the preset cycle and not perform a wake-up operation on the portion of the at least one application if a preset condition is satisfied;
wherein the freezing unit retains a process of a portion of the at least one application in a memory of the electronic device but does not run a portion of the at least one application.
6. The application control apparatus of claim 5,
the device further comprises: the classification unit is configured to classify the at least one application to acquire a preset type of application before the awakening unit awakens a part of the at least one application within a fixed time period in a preset cycle;
the awakening unit awakens the application of the preset type within a fixed time period in a preset period;
the freezing unit freezes the application of the preset type outside a fixed time period of the preset period, and does not perform a wake-up operation on the application of the preset type when a preset condition is met.
7. The application control apparatus of claim 6, wherein the preset type of application comprises:
an unforced wake-up of an application and/or an application that complies with a freeze policy.
8. The application control device of any one of claims 5 to 7, wherein the preset condition is:
no operation instruction of a part of the at least one application by a user is received.
CN201710197044.1A 2017-03-29 2017-03-29 Application control method and device of electronic equipment Active CN106959857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710197044.1A CN106959857B (en) 2017-03-29 2017-03-29 Application control method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710197044.1A CN106959857B (en) 2017-03-29 2017-03-29 Application control method and device of electronic equipment

Publications (2)

Publication Number Publication Date
CN106959857A CN106959857A (en) 2017-07-18
CN106959857B true CN106959857B (en) 2020-05-26

Family

ID=59470541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710197044.1A Active CN106959857B (en) 2017-03-29 2017-03-29 Application control method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN106959857B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807849A (en) * 2017-10-20 2018-03-16 广东欧珀移动通信有限公司 Using freezing method and related product
CN109992361B (en) * 2017-12-29 2021-08-31 Oppo广东移动通信有限公司 Application freezing method and device, terminal and computer readable storage medium
CN110032429B (en) * 2018-01-10 2022-03-18 Oppo广东移动通信有限公司 Information processing method and device, mobile terminal and computer readable storage medium
CN110045994B (en) * 2018-01-12 2022-09-16 Oppo广东移动通信有限公司 Application program processing method and device, electronic equipment and computer readable storage medium
CN108132803B (en) * 2018-01-17 2021-02-12 吉浦斯信息咨询(深圳)有限公司 Timing keep-alive and awakening method, system, terminal and medium based on mobile terminal
CN111522634B (en) * 2019-02-02 2024-04-12 华为技术有限公司 Application management method, device and equipment
CN110377140B (en) * 2019-07-16 2021-04-20 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for awakening operating system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298515A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Awakening control method and device for application program in mobile terminal and mobile terminal
JP6123830B2 (en) * 2015-03-30 2017-05-10 日本電気株式会社 Information processing apparatus, power control method, program, and control apparatus
CN105487855B (en) * 2015-11-20 2019-03-01 魅族科技(中国)有限公司 A kind of application wakes up the method and terminal of terminal
CN106168902A (en) * 2016-06-29 2016-11-30 北京金山安全软件有限公司 Awakening control method, device and equipment

Also Published As

Publication number Publication date
CN106959857A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
CN106959857B (en) Application control method and device of electronic equipment
CN110058889B (en) Application awakening method and device
CN105589336B (en) Multi-processor device
EP3627906A1 (en) Data transmission method, base station, and terminal
US9152199B2 (en) Power state dependent wake-up alarm
CN110018901B (en) Memory recovery method and device, computer equipment and computer readable storage medium
KR102294180B1 (en) Electronic device and method for controlling power in electronic device
CN109144232B (en) Process processing method and device, electronic equipment and computer readable storage medium
EP3650983B1 (en) Method for managing trigger, and terminal device
WO2019128546A1 (en) Application program processing method, electronic device, and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
KR20160105274A (en) Electronic device and applacation controlling method thereof
CN112988256B (en) Application starting method and device, storage medium and electronic equipment
US20170329382A1 (en) Power management method and power management apparatus for user equipment
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
CN112530056A (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN104156050A (en) Task monitoring method and electronic device
CN109992375B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN111290794A (en) Screen awakening method and device, storage medium and mobile terminal
CN111225434B (en) Application response method, system, storage medium and communication module
CN110989820A (en) Method and device for controlling power consumption of processor, processor and electronic device
WO2019128586A1 (en) Application processing method, electronic device, and computer readable storage medium
CN112153214A (en) Terminal state control method and terminal
WO2018010438A1 (en) Responding method and apparatus for terminal

Legal Events

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