WO2017206863A1 - 一种应用程序处理方法、装置、存储介质及电子设备 - Google Patents

一种应用程序处理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2017206863A1
WO2017206863A1 PCT/CN2017/086460 CN2017086460W WO2017206863A1 WO 2017206863 A1 WO2017206863 A1 WO 2017206863A1 CN 2017086460 W CN2017086460 W CN 2017086460W WO 2017206863 A1 WO2017206863 A1 WO 2017206863A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
wake
frequency
lock
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/086460
Other languages
English (en)
French (fr)
Inventor
张俊
黄国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2017206863A1 publication Critical patent/WO2017206863A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an application processing method, apparatus, storage medium, and electronic device.
  • Embodiments of the present invention provide an application processing method, apparatus, storage medium, and electronic device, which can reduce standby power consumption of a terminal.
  • an embodiment of the present invention provides an application processing method, including:
  • the application is prohibited from waking up the terminal by using the wakeup lock.
  • an embodiment of the present invention provides an application processing apparatus, including: a receiving module, an obtaining module, a first determining module, and a processing module;
  • the receiving module is configured to receive a frequency acquisition instruction when the terminal is in a standby state
  • the obtaining module is configured to acquire, according to the frequency acquisition instruction, a wake-up frequency corresponding to the application, where the wake-up frequency is a frequency at which the application wakes up the terminal by using a wake-up lock held by the application;
  • the first determining module is configured to determine whether the wake-up frequency is greater than a preset threshold
  • the processing module is configured to prohibit the application from waking up the terminal by using the wakeup lock when the first determining module determines to be YES.
  • an embodiment of the present invention provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the application processing method.
  • an embodiment of the present invention provides an electronic device, including a processor and a memory, the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is configured to perform the following steps. :
  • the application is prohibited from waking up the electronic device by using the wakeup lock.
  • Embodiments of the present invention provide an application processing method, apparatus, storage medium, and electronic device, which can reduce standby power consumption of a terminal.
  • FIG. 1 is a schematic flowchart of an application processing method according to an embodiment of the present invention.
  • FIG. 2 is another schematic flowchart of an application processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an application processing apparatus according to an embodiment of the present invention.
  • FIG. 3b is another schematic structural diagram of an application processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 5 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides an application processing method, including:
  • the application is prohibited from waking up the terminal by using the wakeup lock.
  • the step of acquiring the wake-up frequency corresponding to the application according to the frequency acquisition instruction comprises:
  • the step of disabling the application to wake up the terminal by using the wakeup lock comprises:
  • the application is closed to prohibit the application from waking up the terminal through the wake lock.
  • the method further includes:
  • the step of prohibiting the application from waking up the terminal by the wakeup lock is performed.
  • the method before the terminal is in the standby state, the method further includes:
  • the step of determining whether the application is a preset application according to the preset identifier set and the application identifier corresponding to the application includes:
  • the method further includes:
  • the wake-up clock corresponding to the application is set to be non-awake to prohibit the application from waking up the terminal by using a wake-up lock.
  • the present embodiment will be described in the context of an application processing device.
  • the application processing device may be integrated into the terminal in the form of software or hardware.
  • the terminal may be a device such as a smart phone or a tablet computer.
  • An application processing method includes: receiving a frequency acquisition instruction when the terminal is in a standby state, and acquiring a wake-up frequency corresponding to the application according to the frequency acquisition instruction, wherein the wake-up frequency is that the application wakes up by the wake lock held by the application The frequency of the terminal, and then determining whether the wake-up frequency is greater than a preset threshold. If it is greater, the application is prohibited from waking up the terminal by the wake-up lock.
  • the application processing method As shown in Figure 1, the application processing method, the specific process can be as follows:
  • the terminal is in a standby state, that is, the terminal is in a blackout state, wherein the frequency acquisition instruction may be triggered by the terminal itself.
  • a timer may be integrated in the terminal, and the timer may be an APP.
  • the form is integrated in the terminal, and the frequency acquisition instruction is triggered every preset time interval, and the preset time interval may be set to 1 min, 10 min, etc.; the frequency acquisition instruction may also be sent by a server, for example, the timer may be integrated.
  • the server is configured to periodically send a frequency acquisition instruction to the terminal, or the timer may be integrated into the terminal, and the terminal periodically receives the frequency acquisition instruction sent by the server. That is, the above step “When the terminal is in the standby state, the receiving frequency acquisition command” may specifically be:
  • the frequency acquisition command is received every preset time period.
  • a wake-up frequency corresponding to the application where the wake-up frequency is a frequency at which the application wakes up the terminal by using the wake-up lock held by the application.
  • the application can be an application running in the background, and the wake-up frequency corresponding to the application running in the background can be various.
  • the wake-up frequency corresponding to multiple applications running in the background can be adopted in a traversal manner.
  • the detection is performed to obtain the wake-up frequency corresponding to each application, and the wake-up frequency corresponding to the background application may be detected in a manner of detecting one by one to obtain the wake-up frequency corresponding to the application; in this embodiment, the wake-up frequency may be Is the average number of times the application wakes up the terminal over a period of time by holding the wakelock, or the total number of times the terminal wakes up within the unit time.
  • PARTIAL_WAKE_LOCK can be used to keep the CPU. Operation, screen and keyboard lights may be turned off; SCREEN_DIM_WAKE_LOCK can be used to keep the CPU running, allowing the screen to be displayed but may be gray, allowing the keyboard lights to be turned off, etc. SCREEN_BRIGHT_WAKE_LOCK can be used to keep the CPU Run, allowing the screen to remain highlighted, allowing the keyboard to be turned off; FULL_WAKE_LOCK can be used to keep the CPU running, keep the screen highlighted, and keep the keyboard light on.
  • the type of the wake-up lock may preferably be PARTIAL_WAKE_LOCK, which may be used to wake up the terminal to maintain the terminal system in an operating state.
  • the application can wake up the terminal by setting the wake-up clock, that is, the application can periodically trigger the application to wake up the lock through the wake-up clock, and wake up the terminal through the wake-up lock; for example, the terminal wakes up the clock
  • a wake-up instruction may be sent, according to which the application may be triggered to apply for a wake-up lock, so that the application can hold the wake-up lock, and the wake-up lock can be used to wake up the terminal system to perform related tasks (such as Receiving push messages, etc.), the application can automatically release the wake lock after the task is completed.
  • the wake-up frequency can be obtained based on the clock frequency of the wake-up clock.
  • the wake-up wake-up terminal can be equal to the wake-up clock triggering application to apply for the wake-up lock frequency, that is, the clock trigger frequency of the wake-up clock.
  • they are collectively referred to as a clock frequency. Therefore, the wake-up frequency corresponding to the application may be obtained according to the clock frequency of the wake-up clock, that is, the step “acquiring the wake-up frequency corresponding to the application running in the background according to the frequency acquisition instruction” may be as follows:
  • the wake-up frequency corresponding to the application is obtained according to the clock frequency.
  • the wake-up frequency may be equal to the clock frequency to a certain extent, that is, the clock frequency may be directly used as the wake-up frequency, but the wake-up frequency may not be exactly equal to the clock frequency due to some factors, for example, after the wake-up clock is triggered.
  • the application is interrupted when applying for a wakelock, or the application is blocked before waking up the terminal with a wakeup lock, and so on.
  • the wake-up clock can be set through the Alarm mechanism.
  • Alarm is a class provided by Android for completing the alarm-type timed task.
  • the system can manage all the Alarms through the AlarmManager, and the Alarm can support one-time timing. Task or cycle timed tasks.
  • a thread such as AlarmThread
  • step 103 Determine whether the wake-up frequency is greater than a preset threshold; if yes, execute step 104, and if no, end the process.
  • the preset threshold may be a standard value used to measure the wake-up frequency after multiple experimental tests, or may be set by the user according to actual conditions such as user requirements and performance of the terminal device.
  • the application is prohibited from waking up the terminal by using a wakeup lock.
  • the application When the wake-up frequency is greater than the preset threshold, the application may be prohibited from waking up the terminal by the wake-up lock to reduce power consumption of the terminal; wherein, the method for prohibiting the application from waking up the terminal by using the wake-up lock may be various, for example, the application may be cancelled.
  • the wake-up clock corresponding to the program may either prevent the application from applying for a wake-up lock, or may release the wake-up lock before waking up the terminal, and the like.
  • the step of “prohibiting the application from waking up the terminal by the wakeup lock” may specifically include: setting the wakeup clock corresponding to the application to be non-awake to prohibit the application from waking up the terminal through the wakeup lock; or shutting down the application to The application is prohibited from waking up the terminal with a wake-up lock.
  • closing the application can be manifested as completely killing the application, not only canceling the currently set wake-up clock, but also eliminating the possibility that the terminal system will continue to be executed after being woken up by other wake-up sources, except that the application can be ended.
  • the process tree corresponding to the application can be ended, and the power consumption of the terminal is reduced.
  • an embodiment of the present invention provides an application processing method, by receiving a frequency acquisition instruction when the terminal is in a standby state, and acquiring a wake-up frequency corresponding to the application according to the frequency acquisition instruction, where the wake-up frequency is passed by the application.
  • the wake-up lock held by the wake-up lock wakes up the frequency of the terminal, and then determines whether the wake-up frequency is greater than a preset threshold. If it is greater, the application is prohibited from waking up the terminal through the wake-up lock; the solution can detect the background when the terminal is in standby The wake-up frequency corresponding to the application is greater than the preset threshold, and the wake-up terminal is disabled.
  • the standby power consumption of the terminal is reduced.
  • the method may be used to disable the wake-up lock to wake up the terminal when the wake-up frequency corresponding to the application is greater than a preset threshold.
  • this method has a problem of inaccurate processing.
  • the terminal may The frequency at which the chat software wakes up the terminal is too high, and the application is prohibited from waking up the terminal to receive the information, so that the user cannot timely check and receive the reply of the user of the other party.
  • the embodiment may further define the foregoing application processing method, that is, after the determining that the wake-up frequency is greater than the preset threshold, prohibiting the application from waking up the terminal by the wake-up lock, the method may further include :
  • the step of disabling the application from waking up by the wakeup lock is performed.
  • the application that determines the wakeup frequency abnormality may be determined by determining whether the application is a preset application, so as to avoid the problem of inaccurate processing.
  • an application processing mechanism may be added for processing an application that has detected an abnormal wake-up frequency; for example, the processing mechanism may be integrated in the terminal in the form of an APP, which may provide a user.
  • the editable interface can list all the applications installed in the terminal system. The user can choose whether to authorize the system to automatically process when the wakeup frequency corresponding to the application is abnormal, and use the authorized application as the preset application.
  • the processing mechanism may confirm whether the application authorization information is automatically processed by the user authorization system after receiving the application identification information of the application for the wake-up frequency abnormality provided by the terminal, that is, the foregoing step “determining whether the application is For the default application, the specific process can be as follows:
  • the application identification information may be package name information of the application, and the sample application identifier may be a package name of the preset application.
  • the method may further include:
  • the setup request carrying an application identifier of the application
  • the application identifier of the application is used as a sample application identifier, and is added to the preset identifier set.
  • the user can select one or more applications that need to be automatically processed as the default application for system authorization according to the requirements, and when the application is determined to be the preset application, the application can be automatically killed and indirectly cancelled.
  • the app sets the clock to disable wake-up of the terminal.
  • the wake-up clock corresponding to the application is set to be non-awake to prohibit the application from waking up the terminal through the wake-up lock.
  • the kill operation when it is determined that the application is not a preset application, the kill operation will not be performed on the application, but the wake-up clock type set by the application can be automatically adjusted to be a non-waking clock. To some extent, reduce the standby power consumption of the terminal.
  • the user may also be reminded, for example, in the form of a pop-up window to remind the user that the application has a frequent abnormal wake-up request, which makes it difficult for the terminal to enter deep sleep and still be in a working power state to improve user experience.
  • an embodiment of the present invention provides an application processing method.
  • the wake-up terminal is woken up by the wake-up lock. If not, the wake-up clock corresponding to the application is adjusted to be non-wakeable to prohibit the application from waking up the terminal through the wake-up lock; the solution may be performed according to the authorization condition of the application when the wake-up frequency is greater than a preset threshold.
  • Different degrees of processing to disable the wake-up lock to wake up the terminal improve the processing accuracy, and reduce the standby power consumption of the terminal.
  • the application processing device is specifically integrated into a smart phone, and the smart phone system is an Android system as an example for detailed description.
  • an application processing method the specific process can be as follows:
  • the frequency acquisition instruction is received every preset time period.
  • the frequency acquisition instruction may be triggered by the smart phone itself.
  • a timer may be integrated in the smart phone, and the timer may be integrated into the smart phone in the form of an APP, and the frequency acquisition is triggered every preset time interval.
  • the preset time interval can be set to 1 min, 10 min, and the like.
  • the smart phone acquires a clock frequency of the wake-up clock corresponding to the application running in the background according to the frequency acquisition instruction, and uses the clock frequency as the wake-up frequency.
  • the clock frequency is the clock trigger frequency of the wake-up clock, that is, the wake-up clock triggers the application to apply for the wake-up lock frequency.
  • the clock frequency can be equivalent to the wake-up lock to wake up the wake-up frequency of the smart phone, that is, the clock frequency can be directly As wake-up frequency
  • the wake-up frequency is the frequency at which the application wakes up the smart phone through the wake lock held by the application, and the application can wake up the clock to wake up the smart phone in order to ensure the normal completion of the work, that is, the application can pass
  • the wake-up clock periodically triggers its application for a wake-up lock, so that the application can hold the wake-up lock, and can wake up the terminal system through the wake-up lock to perform related tasks (such as receiving push messages, etc.), after the task is completed, the application This wake lock can be released automatically.
  • the smart phone determines whether the wake-up frequency is greater than a preset threshold; if yes, step 204 is performed, and if not, the process ends.
  • the preset threshold may be a standard value used to measure the wake-up frequency after multiple experimental tests, or may be set by the user according to actual needs of the user and the performance of the smart phone device.
  • the smart phone determines whether the application is a preset application; if yes, step 205 is performed, and if no, step 206 is performed.
  • the method for determining whether the application is a preset application may be multiple.
  • the smart phone may receive an application identifier acquisition instruction, obtain an application identifier of the application according to the application identifier acquisition instruction, and then invoke the terminal storage area. And determining, by the preset identifier set, whether there is a sample application identifier that is the same as the application identifier in the preset identifier set, and if yes, determining that the application is a preset application, if not, determining the The application is not a preset application.
  • the related function can be called to record the data of the wake-up clock.
  • the Alarm-related data can be recorded in the package-based Alarm-related data, where each package can correspond to one application.
  • a detection function can be added to the terminal, and the alarm wake-up frequency can be detected every other set time, and a function switch can be set for the user to selectively turn the detection function on or off. For example, by traversing BroadcastStats, the alarm wake-up frequency of the package can be calculated, and the alarm wake-up frequency can be judged. When the wake-up frequency of the alarm reaches a certain threshold, the package name information of the corresponding package can be obtained and stored in the terminal storage area.
  • the information in the obtained list mReportlist can be broadcasted to the relevant program for the next processing operation.
  • the smartphone kills the application to prohibit waking up the mobile phone system.
  • an application processing mechanism may be added for killing an application that has detected an abnormal wake-up frequency; for example, the processing mechanism may be integrated in a smart phone in the form of an APP, which may provide A user-editable interface that lists all the applications installed in the system. The user can choose whether to authorize the system to automatically kill the processing when the application wakes up abnormally. When it is determined that the application is the default application. That is, the application has been authorized to automatically process the system, then the smartphone will be able to kill the application to prevent the application from waking up the phone system through the wake lock.
  • the smart phone adjusts the wake-up clock corresponding to the application to be non-awake to prohibit the wake-up of the mobile phone system.
  • the application When it is determined that the application is not a preset application, the application will not be closed, but the wake-up clock corresponding to the application may be adjusted to be non-awake to prohibit the application from waking up the mobile phone system through the wake-up lock;
  • the window can be popped up or other forms to remind the user that the application has a frequent abnormal wake-up request, which makes it difficult for the smart phone to enter deep sleep and is still in a working power consumption state.
  • an embodiment of the present invention provides an application processing method.
  • a smart phone When a smart phone is in a standby state, receiving a frequency acquisition instruction, and acquiring a clock frequency corresponding to the wake-up clock of an application running in the background according to the frequency acquisition instruction, The clock frequency is used as the wake-up frequency, and then it is determined whether the wake-up frequency is greater than a preset threshold.
  • the application is a preset application, and if so, the application is closed to prohibit the wake-up of the mobile phone system, and if not, then The wake-up clock corresponding to the application is adjusted to be non-wakeable to prohibit the wake-up of the mobile phone system; the solution can prohibit the wake-up terminal if the wake-up frequency corresponding to the background application is greater than the preset threshold when the terminal is in standby, compared with the prior art. In terms of, the standby power consumption of the terminal is reduced.
  • An embodiment of the present invention further provides an application processing device, including: a receiving module, an obtaining module, a first determining module, and a processing module;
  • the receiving module is configured to receive a frequency acquisition instruction when the terminal is in a standby state
  • the obtaining module is configured to acquire, according to the frequency acquisition instruction, a wake-up frequency corresponding to the application, where the wake-up frequency is a frequency at which the application wakes up the terminal by using a wake-up lock held by the application;
  • the first determining module is configured to determine whether the wake-up frequency is greater than a preset threshold
  • the processing module is configured to prohibit the application from waking up the terminal by using the wakeup lock when the first determining module determines to be YES.
  • the obtaining module is configured to:
  • the processing module is configured to:
  • the application is closed to prohibit the application from waking up the terminal through the wake lock.
  • the apparatus further includes: a second determining module
  • the second determining module is configured to: after the first determining module determines to be YES, the processing module prohibits the application from awakening the terminal by using the wake-up lock, according to the preset identifier set and the application An application identifier corresponding to the program, determining whether the application is a preset application, where the preset identifier set includes a plurality of sample application identifiers;
  • the processing module is configured to prohibit the application from waking up the terminal by using the wakeup lock when the second determining module determines to be YES.
  • the processing module is further configured to:
  • the second determining module determines that the application is not a preset application, setting a wake-up clock corresponding to the application to be non-waking, to prohibit the application from waking up the terminal by using a wake-up lock.
  • the embodiment of the present invention further provides an application processing device, which may be integrated into the terminal in the form of software or hardware, and the terminal may specifically include a mobile phone and a tablet computer. , laptop or personal computer (PC, Personal) Computer) and other equipment.
  • an application processing device which may be integrated into the terminal in the form of software or hardware, and the terminal may specifically include a mobile phone and a tablet computer. , laptop or personal computer (PC, Personal) Computer) and other equipment.
  • the application processing device may include a receiving module 301, an obtaining module 302, a first determining module 303, and a processing module 304, where:
  • the receiving module 301 is configured to receive a frequency acquisition instruction when the terminal is in a standby state
  • the obtaining module 302 is configured to acquire, according to the frequency acquisition instruction, a wake-up frequency corresponding to the application, where the wake-up frequency is a frequency at which the application wakes up the terminal by using the wake-up lock held by the application;
  • the first determining module 303 is configured to determine whether the wake-up frequency is greater than a preset threshold
  • the processing module 304 is configured to, when the first determining module 303 determines YES, prohibit the application from waking up the terminal by using the wakeup lock.
  • the obtaining module 302 is configured to obtain a clock frequency of the wake-up clock corresponding to the application according to the frequency acquisition instruction, where the wake-up clock is used to trigger an application to apply for a wake-up lock; and acquire the application according to the clock frequency. The corresponding wake-up frequency.
  • the processing module 304 is specifically configured to set the wake-up clock corresponding to the application to be non-awake to prohibit the application from waking up the terminal through the wake-up lock;
  • the application processing device may further include: a second determining module 305;
  • the second judging module 305 is configured to: after the first judging module 303 determines that the method is YES, the processing module 304 prohibits the application program from determining, by using the preset identifier set and the application identifier corresponding to the application program, whether the application program is a preset application, wherein the preset identification set includes a plurality of sample application identifiers;
  • the processing module 304 can be specifically configured to prohibit the application from waking up the terminal by using the wakeup lock when the second determining module 305 determines YES.
  • an embodiment of the present invention provides an application processing apparatus.
  • the receiving module 301 receives a frequency acquisition instruction, and the obtaining module 302 acquires a wake-up frequency corresponding to the application according to the frequency acquisition instruction, and the wakeup is performed.
  • the frequency is that the application wakes up the frequency of the terminal by using the wake-up lock held by the application, and the determining module 303 determines whether the wake-up frequency is greater than a preset threshold.
  • the processing module 304 prohibits the application from waking up the terminal by using the wake-up lock;
  • the terminal is in standby, if it is detected that the wake-up frequency corresponding to the background application is greater than the preset threshold, the wake-up terminal is disabled, and the standby power consumption of the terminal is reduced compared with the prior art.
  • the embodiment of the invention further provides an electronic device, which may be a terminal such as a smart phone or a tablet computer.
  • the electronic device 400 includes a processor 401, a memory 402, a display screen 403, and a control circuit 404.
  • the processor 401 is electrically connected to the memory 402, the display screen 403, and the control circuit 404, respectively.
  • the processor 401 is a control center of the electronic device 400, which connects various parts of the entire electronic device using various interfaces and lines, executes the electronic by running or loading an application stored in the memory 402, and calling data stored in the memory 402.
  • the various functions and processing data of the device enable overall monitoring of the electronic device.
  • the processor 401 in the electronic device 400 loads the instructions corresponding to the process of one or more applications into the memory 402 according to the following steps, and is stored and stored in the memory 402 by the processor 401.
  • the application thus implementing various functions:
  • the application is prohibited from waking up the electronic device by using the wakeup lock.
  • the processor 401 when acquiring the wake-up frequency corresponding to the application according to the frequency acquisition instruction, performs the following steps: acquiring, according to the frequency acquisition instruction, a clock frequency of the wake-up clock corresponding to the application, The wake-up clock is used to trigger the application to apply for a wake-up lock; and acquire a wake-up frequency corresponding to the application according to the clock frequency.
  • the processor 401 when the application is prohibited from waking up the electronic device by the wake-up lock, the processor 401 performs the step of setting the wake-up clock corresponding to the application to be non-awake to prohibit the application. Awakening the electronic device by the wake-up lock; or closing the application to prohibit the application from waking up the electronic device through the wake-up lock.
  • the processor 401 after determining that the wake-up frequency is greater than a preset threshold, before the application is prohibited from waking up the electronic device by using the wake-up lock, the processor 401 further performs the following steps: according to the preset identifier set and the An application identifier corresponding to the application, determining whether the application is a preset application, where the preset identifier set includes a plurality of sample application identifiers; and if the preset application is, prohibiting the application from awakening by the The lock wakes up the electronic device.
  • the processor 401 when the electronic device is in the standby state, before receiving the frequency acquisition instruction, the processor 401 further performs the steps of: receiving a setting request of the application, where the setting request carries an application identifier of the application; The setting request uses an application identifier of the application as a sample application identifier, and adds the sample application identifier to a preset identifier set.
  • the processor 401 when determining whether the application is a preset application according to the preset identifier set and the application identifier corresponding to the application, performs the following steps: acquiring an application identifier of the application; Determining whether there is a sample application identifier that is the same as the application identifier in the preset identifier set; if yes, determining that the application is a preset application; if not, determining that the application is not pre- Set the application.
  • the processor 401 further performs the following steps: when determining that the application is not a preset application, setting the wake-up clock corresponding to the application to be non-awake to prohibit the application from waking up The lock wakes up the electronic device.
  • Memory 402 can be used to store applications and data.
  • the application stored in the memory 402 contains instructions that are executable in the processor.
  • Applications can form various functional modules.
  • the processor 401 executes various functional applications and data processing by running an application stored in the memory 402.
  • the display screen 403 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 404 is electrically connected to the display screen 403 for controlling the display screen 403 to display information.
  • the electronic device 400 further includes a radio frequency circuit 405, an input unit 406, an audio circuit 407, a sensor 408, and a power source 409.
  • the processor 401 is electrically connected to the radio frequency circuit 405, the input unit 406, the audio circuit 407, the sensor 408, and the power source 409, respectively.
  • the radio frequency circuit 405 is configured to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the input unit 406 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls.
  • the input unit 406 can include a fingerprint identification module.
  • the audio circuit 407 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • Sensor 408 is used to collect external environmental information.
  • Sensor 408 can include one or more of ambient brightness sensors, acceleration sensors, gyroscopes, and the like.
  • Power source 409 is used to power various components of electronic device 400.
  • the power supply 409 can be logically coupled to the processor 401 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the electronic device receives a frequency acquisition instruction when the electronic device is in a standby state, and acquires a wake-up frequency corresponding to the application program according to the frequency acquisition instruction, where the wake-up frequency is a wake-up lock held by the application program.
  • Wake up the frequency of the electronic device determine whether the wake-up frequency is greater than a preset threshold, and if greater, prohibit the application from waking up the electronic device through the wake-up lock.
  • the solution can prohibit the wake-up of the electronic device if the wake-up frequency corresponding to the background application is greater than the preset threshold when the electronic device is in standby, thereby reducing the standby power consumption of the electronic device.
  • the embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the application processing method described in any of the foregoing embodiments.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

一种应用程序处理方法、应用程序处理装置、存储介质及电子设备,该方法包括:在终端处于待机状态时,接收频率获取指令(101);根据频率获取指令获取应用程序对应的唤醒频率(102);判断该唤醒频率是否大于预设阈值(103);若大于该预设阈值,则禁止应用程序通过唤醒锁唤醒终端(104)。

Description

一种应用程序处理方法、装置、存储介质及电子设备 技术领域
本发明涉及计算机技术领域,特别涉及一种应用程序处理方法、装置、存储介质及电子设备。
背景技术
随着互联网的发展和移动通信网络的发展,同时也伴随着终端的处理能力和存储能力的迅猛发展,海量的应用程序得到了迅速传播和使用;常用的应用程序在方便用户工作和生活的同时,不乏新开发的应用程序也进入到用户的日常生活,提高了用户的生活质量、使用终端的频率以及使用中的娱乐感。
技术问题
本发明实施例提供一种应用程序处理方法、装置、存储介质及电子设备,可以降低终端的待机功耗。
技术解决方案
第一方面,本发明实施例提供一种应用程序处理方法,包括:
在终端处于待机状态时,接收频率获取指令;
根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
判断所述唤醒频率是否大于预设阈值;
若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述终端。
第二方面,本发明实施例提供一种应用程序处理装置,包括:接收模块、获取模块、第一判断模块和处理模块;
所述接收模块,用于在终端处于待机状态时,接收频率获取指令;
所述获取模块,用于根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
所述第一判断模块,用于判断所述唤醒频率是否大于预设阈值;
所述处理模块,用于在所述第一判断模块判断为是时,禁止所述应用程序通过所述唤醒锁唤醒所述终端。
第三方面,本发明实施例提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述应用程序处理方法。
第四方面,本发明实施例提供一种电子设备,包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
在所述电子设备处于待机状态时,接收频率获取指令;
根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述电子设备的频率;
判断所述唤醒频率是否大于预设阈值;
若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
有益效果
本发明实施例提供一种应用程序处理方法、装置、存储介质及电子设备,可以降低终端的待机功耗。
附图说明
图1是本发明实施例提供的应用程序处理方法的流程示意图。
图2是本发明实施例提供的应用程序处理方法的另一流程示意图。
图3a是本发明实施例提供的应用程序处理装置的结构示意图。
图3b是本发明实施例提供的应用程序处理装置的另一结构示意图。
图4是本发明实施例提供的电子设备的结构示意图。
图5是本发明实施例提供的电子设备的另一结构示意图。
本发明的最佳实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
当终端中的应用在后台挂起使终端进入待机状态时,有的应用在退到后台后,通过唤醒时钟触发其申请唤醒锁而频繁地唤醒系统,看上去终端已经不再工作,实际上终端在待机的时候,后台的CPU等设备一直处于工作状态,增加了不必要的待机功耗。
本发明实施例提供一种应用程序处理方法,包括:
在终端处于待机状态时,接收频率获取指令;
根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
判断所述唤醒频率是否大于预设阈值;
若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述终端。
在一些实施例中,所述根据所述频率获取指令获取应用程序对应的唤醒频率的步骤包括:
根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;
根据所述时钟频率获取所述应用程序对应的唤醒频率。
在一些实施例中,所述禁止所述应用程序通过所述唤醒锁唤醒所述终端的步骤包括:
将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述终端;或者
关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述终端。
在一些实施例中,在判断所述唤醒频率大于预设阈值之后,禁止所述应用程序通过所述唤醒锁唤醒所述终端之前,所述方法还包括:
根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;
若是预设应用程序,则执行禁止所述应用程序通过所述唤醒锁唤醒所述终端的步骤。
在一些实施例中,在终端处于待机状态之前,所述方法还包括:
接收应用程序的设置请求,所述设置请求携带所述应用程序的应用标识;
根据所述设置请求将所述应用程序的应用标识作为样本应用标识,并将所述样本应用标识添加至预设标识集合。
在一些实施例中,所述根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序的步骤包括:
获取所述应用程序的应用标识;
判断在所述预设标识集合中是否存在与所述应用标识相同的样本应用标识;
若存在,则判断所述应用程序为预设应用程序;
若不存在,则判断所述应用程序不为预设应用程序。
在一些实施例中,所述方法还包括:
在判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述终端。
本实施例将从应用程序处理装置的角度进行描述,该应用程序处理装置具体可以软件或者硬件的形式集成在终端中,该终端可以为智能手机、平板电脑等设备。一种应用程序处理方法,包括:在终端处于待机状态时,接收频率获取指令,根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒所述终端的频率,然后,判断该唤醒频率是否大于预设阈值,若大于,则禁止应用程序通过唤醒锁唤醒终端。
如图1所示,应用程序处理方法,具体流程可以如下:
101、在终端处于待机状态时,接收频率获取指令。
在本发明实施例中,终端处于待机状态也即终端处于熄屏状态,其中,该频率获取指令可以是由终端本身触发接收的,比如,可以在终端集成一个定时器,该定时器可以APP的形式集成在终端,每隔预设时间间隔触发该频率获取指令,该预设时间间隔可以设置为1min、10min等等;该频率获取指令还可以是由服务器发送的,比如,可以将定时器集成在该服务器中,设定服务器定时向终端发送频率获取指令,或者可以将该定时器集成在终端中,设定终端定时接收服务器发送的频率获取指令。也即,上述步骤“在终端处于待机状态时,接收频率获取指令”具体可以为:
在终端熄屏时,每隔预设时间段接收频率获取指令。
102、根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒终端的频率。
其中,该应用程序可以为后台运行的应用程序,而获取后台运行的应用程序对应的唤醒频率方式可以有多种,比如,可以采取遍历的方式对后台运行的多个应用程序各自对应的唤醒频率进行检测、以获取各应用程序对应的唤醒频率,也可以采用逐个检测的方式对后台应用程序对应的唤醒频率进行检测、以获取应用程序对应的唤醒频率;在本实施例中,该唤醒频率可以是该应用程序通过持有的唤醒锁在一段时间内唤醒终端的平均次数,也可以是在单位时间内唤醒终端的总次数。
其中,唤醒锁的类型可以有多种,各种锁的类型对CPU、屏幕、键盘的影响也不尽相同,以Android系统为例,PARTIAL_WAKE_LOCK可以用于保持CPU 运转,屏幕和键盘灯有可能是关闭的;SCREEN_DIM_WAKE_LOCK可以用于保持CPU运转,允许保持屏幕显示但有可能是灰的,允许关闭键盘灯等;SCREEN_BRIGHT_WAKE_LOCK可以用于保持CPU 运转,允许保持屏幕高亮显示,允许关闭键盘灯;FULL_WAKE_LOCK可以用于保持CPU 运转,保持屏幕高亮显示,键盘灯也保持亮度。
在本实施例中,该唤醒锁的类型可以优选为PARTIAL_WAKE_LOCK,可以用于唤醒终端使终端系统维持运行的状态。应用程序为了保证其工作的正常完成,可以通过设定唤醒时钟唤醒终端,也即该应用程序可以通过该唤醒时钟定时地触发其申请唤醒锁,通过该唤醒锁唤醒终端;比如,终端在唤醒时钟被触发后,可以发送唤醒指令,根据所述唤醒指令可以触发应用程序申请一个唤醒锁,以使该应用程序可以持有该唤醒锁,并可以通过该唤醒锁唤醒终端系统以执行相关任务(如接收推送消息等),在任务完成后,应用程序可以自动释放该唤醒锁。
在一些实施例中,该唤醒频率可以基于唤醒时钟的时钟频率来获取,一般情况下唤醒锁唤醒终端的频率可以等同于唤醒时钟触发应用程序申请唤醒锁的频率,也即唤醒时钟的时钟触发频率,在本发明实施例中统称为时钟频率。因此,可以通过根据该唤醒时钟的时钟频率来获取应用程序对应的唤醒频率,也即步骤“根据频率获取指令获取后台运行的应用程序对应的唤醒频率”具体流程可以如下:
根据频率获取指令获取应用程序对应的唤醒时钟的时钟频率,该唤醒时钟用于触发应用程序申请唤醒锁;
根据该时钟频率获取应用程序对应的唤醒频率。本实施例中,该唤醒频率在一定程度上可以等于时钟频率,也即可以直接将时钟频率作为唤醒频率,但可能由于某些因素导致唤醒频率不完全等于时钟频率,比如,唤醒时钟被触发后应用程序在申请唤醒锁时被中断,或者应用程序通过唤醒锁唤醒终端之前被阻止等等。
其中,以Android系统为例,该唤醒时钟可以通过Alarm机制进行设定,Alarm是Android提供的用于完成闹钟式定时任务的类,系统可以通过AlarmManager来管理所有的Alarm,Alarm可以支持一次性定时任务或者循环定时任务。
比如,首先可以创建一个唤醒时钟,并将其存储于终端系统列表(如batch列表)或者服务器的云存储列表中,这些列表可以用于存储所有的唤醒时钟,随后可以由检测机制对该列表进行遍历,其中,该检测机制可以用于检测唤醒时钟是否达到定时时间,该检测机制可以是一个线程(如AlarmThread),假设该唤醒时钟设定为5s后唤醒,则一旦该检测机制检测到唤醒时钟达到时间便会把它取出来去执行触发对应的应用程序申请唤醒锁以唤醒终端。
103、判断该唤醒频率是否大于预设阈值;若是,执行步骤104,若否,结束流程。
其中,该预设阈值可以是经过多次实验测试而来用于衡量该唤醒频率大小的标准值,也可以根据用户需求和终端设备的性能等实际情况由用户自行设定。
104、禁止应用程序通过唤醒锁唤醒终端。
其中,在判断唤醒频率大于预设阈值时,可以禁止应用程序通过唤醒锁唤醒终端以减少终端的功耗;其中,禁止应用程序通过唤醒锁唤醒终端的方法可以有多种,比如,可以取消应用程序对应的唤醒时钟,或者可以阻止应用程序申请唤醒锁,又或者可以在唤醒终端之前释放唤醒锁等等。
在一些实施例中,上述步骤“禁止应用程序通过唤醒锁唤醒终端”具体可以包括:将应用程序对应的唤醒时钟设置为不可唤醒,以禁止应用程序通过唤醒锁唤醒终端;或者关闭该应用程序以禁止应用程序通过唤醒锁唤醒终端。
其中,关闭该应用程序具体可以表现为彻底杀死该应用程序,不仅可以取消当前设定的唤醒时钟,还可以杜绝终端系统被其他唤醒源唤醒后继续执行的可能性,除了可以结束该应用程序的进程外,还可以结束该应用程序对应的进程树,减少了终端的功耗。
本领域技术人员可以理解,本实施方式除了可以应用于安装了Android系统的智能终端外,还可以用于其他操作系统的智能终端,比如IOS系统、Symbian系统、Windows Phone系统、BlackBerryOS系统等等,适用于多种操作系统,应用广泛。
由上可知,本发明实施例提供了一种应用程序处理方法,通过在终端处于待机状态时,接收频率获取指令,根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒所述终端的频率,然后,判断该唤醒频率是否大于预设阈值,若大于,则禁止应用程序通过唤醒锁唤醒终端;该方案可以在终端待机时,若检测到后台应用程序对应的唤醒频率大于预设阈值则禁止唤醒终端,相对于现有技术而言,减少了终端的待机功耗。
本实施例将在上述实施例的基础上,对本发明应用程序处理方法作进一步介绍。由上述实施例可知,该方法可以在应用程序对应的唤醒频率大于预设阈值时关闭该应用程序以禁止唤醒锁唤醒终端。然而,该方法存在处理不准确的问题。
比如,在终端后台将聊天软件(如微信)挂起等待对方用户的消息回复时,若对方用户长时间没有进行回复,而又多次接收到该聊天软件的推送消息,那么终端可能会因该聊天软件唤醒终端的频率过高而禁止该应用程序唤醒终端接收信息,导致用户无法及时查收到对方用户的消息回复。
为了克服上述处理不准确的问题,本实施例可以对上述应用程序处理方法进一步限定,也即,在判断唤醒频率大于预设阈值之后,禁止应用程序通过唤醒锁唤醒终端之前,该方法还可以包括:
根据预设标识集合以及应用程序对应的应用标识,判断该应用程序是否为预设应用程序,其中,该预设标识集合包括多个样本应用标识;
若是,则执行禁止应用程序通过唤醒锁唤醒的步骤。
其中,可以通过判断该应用程序是否为预设应用程序来确定是否关闭该唤醒频率异常的应用程序(即唤醒频率大于预设阈值的应用程序),以避免处理不准确的问题。
在本发明实施例中,可以增加一个应用程序的处理机制,用于对已经检测到的唤醒频率异常的应用程序进行处理;比如,该处理机制可以APP的形式集成在终端,其可以提供一个用户可以编辑的界面,可以罗列出所有终端系统中安装的应用程序,用户可以选择是否授权系统在应用程序对应的唤醒频率异常时自动处理,将授权的应用程序作为上述预设应用程序。
在一些实施例中,该处理机制可以在接收到终端提供的唤醒频率异常的应用程序的应用标识信息后,确认是否在用户授权系统自动处理的列表中,也即上述步骤“判断该应用程序是否为预设应用程序”具体流程可以如下:
获取该应用程序的应用标识;
判断在预设标识集合中是否存在与该应用标识相同的样本应用标识;
若是,则判断该应用程序为预设应用程序;
若否,则判断该应用程序不为预设应用程序。
其中,该应用标识信息可以是该应用程序的包名信息,该样本应用标识可以是该预设应用程序的包名。
可以理解的是,本实施例中需要预先建立该预设标识集合,也即在终端处于待机状态之前,该方法还可以包括:
接收应用程序的设置请求,该设置请求携带应用程序的应用标识;
根据该设置请求将该应用程序的应用标识作为样本应用标识,并添加至预设标识集合。
其中,用户可以根据需求,选择需要自动处理的一个或者多个应用程序作为预设应用程序进行系统授权,在判断该应用程序为预设应用程序时,可以自动杀死该应用程序,间接地取消该应用程序设定的时钟,以禁止唤醒终端。
在一些实施例中,可以在判断该应用程序不为预设应用程序时,将该应用程序对应的唤醒时钟设置为不可唤醒,以禁止应用程序通过唤醒锁唤醒终端。
其中,在判断该应用程序不为预设应用程序时,将不会对该应用程序执行杀死操作,而是可以将该应用程序设定的唤醒时钟类型自动调整下,调整为不可唤醒的时钟,在一定程度上减少终端的待机功耗。在具体实施过程中,还可以对用户进行提醒,比如,以弹窗形式提醒用户该应用程序存在申请时钟唤醒频繁异常的情况,导致终端很难进入深度睡眠,仍然处于工作耗电状态,以提升用户体验。
由上可知,本发明实施例提供了一种应用程序处理方法,在上述应用程序处理方法的基础上,通过判断该应用程序是否为预设应用程序,若是,则关闭该应用程序以禁止应用程序通过唤醒锁唤醒终端,若否,则将该应用程序对应的唤醒时钟调整为不可唤醒以禁止应用程序通过唤醒锁唤醒终端;该方案可以在唤醒频率大于预设阈值时根据应用程序的授权情况进行不同程度的处理以禁止唤醒锁唤醒终端,提高了处理的准确性,同时减少了终端的待机功耗。
根据上述实施例,以下将举例作进一步详细说明。
在本实施例中,将以该应用程序处理装置具体集成在智能手机中,该智能手机系统为Android系统为例进行详细描述。
如图2所示,一种应用程序处理方法,具体流程可以如下:
201、智能手机处于待机状态时,每隔预设时间段接收频率获取指令。
其中,该频率获取指令可以是由智能手机本身触发接收的,比如,可以在智能手机中集成一个定时器,该定时器可以APP的形式集成在智能手机,每隔预设时间间隔触发该频率获取指令,该预设时间间隔可以设置为1min、10min等等。
202、智能手机根据频率获取指令获取后台运行的应用程序对应的唤醒时钟的时钟频率,将该时钟频率作为唤醒频率。
其中,时钟频率为唤醒时钟的时钟触发频率,即唤醒时钟触发应用程序申请唤醒锁的频率,该时钟频率在一定程度上可以等同于唤醒锁唤醒智能手机的唤醒频率,也即可以直接将时钟频率作为唤醒频率
在实际应用中,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒智能手机的频率,应用程序为了保证其工作的正常完成,可以申请唤醒时钟唤醒智能手机,也即该应用程序可以通过该唤醒时钟定时地触发其申请唤醒锁,使该应用程序可以持有该唤醒锁,并可以通过该唤醒锁唤醒终端系统以执行相关任务(如接收推送消息等),在任务完成后,应用程序可以自动释放该唤醒锁。
203、智能手机判断该唤醒频率是否大于预设阈值;若是,执行步骤204,若否,结束流程。
其中,该预设阈值可以是经过多次实验测试而来用于衡量该唤醒频率大小的标准值,也可以根据用户需求和智能手机设备的性能等实际情况由用户自行设定。
204、智能手机判断该应用程序是否为预设应用程序;若是,执行步骤205,若否,执行步骤206。
其中,判断该应用程序是否为预设应用程序的方式可以有多种,比如,智能手机可以接收应用标识获取指令,根据该应用标识获取指令获取该应用程序的应用标识,随后可以调用终端存储区域中的预设标识集合,判断在该预设标识集合中是否存在与该应用标识相同的样本应用标识,若存在,则可以判断该应用程序为预设应用程序,若不存在,则可以判断该应用程序不为预设应用程序。
在具体实施过程中,可以调用相关函数用于记录唤醒时钟的数据,比如,可以通过类BroadcastStats记录以Package为单位的Alarm相关的数据,其中,每个Package可以对应一个应用程序。在实际应用中,可以在终端增加一个检测功能,每隔一个设定的时间进行一次Alarm唤醒频率的检测,还可以为其设置一个功能开关,以使用户可以选择性地打开或者关闭该检测功能,比如,可以通过遍历BroadcastStats,计算Package的Alarm唤醒频率,并对Alarm唤醒频率进行判断,当该Alarm唤醒频率达到一定阈值时,可以获取对应的Package的包名信息,并存储在终端存储区域中,如保存在自定义的列表mReportlist中,此外,还可以获取并保存其他相关信息以便提供给用户查看,如Alarm唤醒频率信息等。在对BroadcastStats遍历完成后,可以将得到的列表mReportlist中的信息通过广播发送给相关的程序进行下一步的处理操作。
205、智能手机杀死该应用程序以禁止唤醒手机系统。
在实际应用中,可以增加一个应用程序的处理机制,用于对已经检测到的唤醒频率异常的应用程序进行杀死处理;比如,该处理机制可以APP的形式集成在智能手机中,其可以提供一个用户可以编辑的界面,可以罗列出所有系统中安装的应用程序,用户可以选择是否授权系统在应用程序对应的唤醒频率异常时自动杀死处理,当判断该应用程序是为预设应用程序,也即该应用程序已授权系统自动处理,则智能手机将可以杀死该应用程序,以禁止应用程序通过唤醒锁唤醒手机系统。
206、智能手机将该应用程序对应的唤醒时钟调整为不可唤醒以禁止唤醒手机系统。
在判断该应用程序不为预设应用程序时,将不会对该应用程序执行关闭操作,但可以将该应用程序对应的唤醒时钟调整为不可唤醒,以禁止应用程序通过唤醒锁唤醒手机系统;此外,还可以弹窗形式或者其他形式提醒用户该应用程序存在申请时钟唤醒频繁异常的情况,导致智能手机很难进入深度睡眠,仍然处于工作耗电状态。
由上可知,本发明实施例提供了一种应用程序处理方法,通过在智能手机处于待机状态时,接收频率获取指令,根据频率获取指令获取后台运行的应用程序对应的唤醒时钟的时钟频率,将该时钟频率作为唤醒频率,然后,判断该唤醒频率是否大于预设阈值,若大于,判断该应用程序是否为预设应用程序,若是,则关闭该应用程序以禁止唤醒手机系统,若否,则将该应用程序对应的唤醒时钟调整为不可唤醒以禁止唤醒手机系统;该方案可以在终端待机时,若检测到后台应用程序对应的唤醒频率大于预设阈值则禁止唤醒终端,相对于现有技术而言,减少了终端的待机功耗。
本发明实施例还提供一种应用程序处理装置,包括:接收模块、获取模块、第一判断模块和处理模块;
所述接收模块,用于在终端处于待机状态时,接收频率获取指令;
所述获取模块,用于根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
所述第一判断模块,用于判断所述唤醒频率是否大于预设阈值;
所述处理模块,用于在所述第一判断模块判断为是时,禁止所述应用程序通过所述唤醒锁唤醒所述终端。
在一些实施例中,所述获取模块用于:
根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;
根据所述时钟频率获取所述应用程序对应的唤醒频率。
在一些实施例中,所述处理模块用于:
将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述终端;或者
关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述终端。
在一些实施例中,所述装置还包括:第二判断模块;
所述第二判断模块,用于在所述第一判断模块判断为是之后,所述处理模块禁止所述应用程序通过所述唤醒锁唤醒所述终端之前,根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;
所述处理模块,用于在所述第二判断模块判断为是时禁止所述应用程序通过所述唤醒锁唤醒所述终端。
在一些实施例中,所述处理模块还用于:
在所述第二判断模块判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述终端。
为了更好地实施上述实施例中的方法,本发明实施例还提供一种应用程序处理装置,该应用程序处理装置可以软件或硬件的形式集成在终端中,该终端具体可以包括手机、平板电脑、笔记本电脑或个人计算机(PC,Personal Computer)等设备。
如图3a所示,该应用程序处理装置可以包括接收模块301、获取模块302、第一判断模块303和处理模块304,其中:
接收模块301,用于在终端处于待机状态时,接收频率获取指令;
获取模块302,用于根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒终端的频率;
第一判断模块303,用于判断唤醒频率是否大于预设阈值;
处理模块304,用于在第一判断模块303判断为是时,禁止应用程序通过唤醒锁唤醒终端。
在一些实施例中,获取模块302,具体可以用于根据频率获取指令获取该应用程序对应的唤醒时钟的时钟频率,该唤醒时钟用于触发应用程序申请唤醒锁;根据该时钟频率获取该应用程序对应的唤醒频率。
在一些实施例中,所述处理模块304,具体用于将应用程序对应的唤醒时钟设置为不可唤醒,以禁止应用程序通过唤醒锁唤醒终端;或者
关闭应用程序以禁止该应用程序通过唤醒锁唤醒终端。
在一些实施例中,请参阅图3b,所述应用程序处理装置还可以包括:第二判断模块305;
第二判断模块305,用于在第一判断模块303判断为是之后,处理模块304禁止应用程序通过唤醒锁唤醒终端之前,根据预设标识集合以及应用程序对应的应用标识,判断该应用程序是否为预设应用程序,其中,该预设标识集合包括多个样本应用标识;
处理模块304,具体可以用于在第二判断模块305判断为是时禁止应用程序通过唤醒锁唤醒终端。
由上可知,本发明实施例提供了一种应用程序处理装置,通过在终端处于待机状态时,接收模块301接收频率获取指令,获取模块302根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒所述终端的频率,判断模块303判断该唤醒频率是否大于预设阈值,若大于,处理模块304禁止应用程序通过唤醒锁唤醒终端;该方案可以在终端待机时,若检测到后台应用程序对应的唤醒频率大于预设阈值则禁止唤醒终端,相对于现有技术而言,减少了终端的待机功耗。
本发明实施例还提供一种电子设备,该电子设备可以是智能手机、平板电脑等终端。如图4所示,电子设备400包括处理器401、存储器402、显示屏403以及控制电路404。其中,处理器401分别与存储器402、显示屏403、控制电路404电性连接。
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能:
在所述电子设备处于待机状态时,接收频率获取指令;
根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述电子设备的频率;
判断所述唤醒频率是否大于预设阈值;
若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
在一些实施例中,根据所述频率获取指令获取应用程序对应的唤醒频率时,处理器401执行以下步骤:根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;根据所述时钟频率获取所述应用程序对应的唤醒频率。
在一些实施例中,禁止所述应用程序通过所述唤醒锁唤醒所述电子设备时,处理器401执行以下步骤:将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述电子设备;或者关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
在一些实施例中,判断所述唤醒频率大于预设阈值之后,禁止所述应用程序通过所述唤醒锁唤醒所述电子设备之前,处理器401还执行以下步骤:根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;若是预设应用程序,则禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
在一些实施例中,所述电子设备处于待机状态时,接收频率获取指令之前,处理器401还执行以下步骤:接收应用程序的设置请求,所述设置请求携带所述应用程序的应用标识;根据所述设置请求将所述应用程序的应用标识作为样本应用标识,并将所述样本应用标识添加至预设标识集合。
在一些实施例中,根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序时,处理器401执行以下步骤:获取所述应用程序的应用标识;判断在所述预设标识集合中是否存在与所述应用标识相同的样本应用标识;若存在,则判断所述应用程序为预设应用程序;若不存在,则判断所述应用程序不为预设应用程序。
在一些实施例中,处理器401还执行以下步骤:在判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述电子设备。
存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可在处理器中执行的指令。应用程序可以组成各种功能模块。处理器401通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。
显示屏403可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。
控制电路404与显示屏403电性连接,用于控制显示屏403显示信息。
在一些实施例中,如图5所示,电子设备400还包括:射频电路405、输入单元406、音频电路407、传感器408以及电源409。其中,处理器401分别与射频电路405、输入单元406、音频电路407、传感器408以及电源409电性连接。
射频电路405用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。
输入单元406可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元406可以包括指纹识别模组。
音频电路407可通过扬声器、传声器提供用户与电子设备之间的音频接口。
传感器408用于采集外部环境信息。传感器408可以包括环境亮度传感器、加速度传感器、陀螺仪等传感器中的一种或多种。
电源409用于给电子设备400的各个部件供电。在一些实施例中,电源409可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图5中未示出,电子设备400还可以包括摄像头、蓝牙模块等,在此不再赘述。
本发明实施例提供的电子设备,在所述电子设备处于待机状态时,接收频率获取指令,根据频率获取指令获取应用程序对应的唤醒频率,该唤醒频率为该应用程序通过其持有的唤醒锁唤醒所述电子设备的频率,判断该唤醒频率是否大于预设阈值,若大于,则禁止应用程序通过唤醒锁唤醒所述电子设备。该方案可以在电子设备待机时,若检测到后台应用程序对应的唤醒频率大于预设阈值则禁止唤醒电子设备,从而可以减少电子设备的待机功耗。
本发明实施例还提供一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行上述任一实施例所述的应用程序处理方法。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
以上对本发明实施例所提供的一种应用程序处理方法、装置存储介质及电子设备进行了详细介绍,本文中应用程序了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用程序范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种应用程序处理方法,其中,包括:
    在终端处于待机状态时,接收频率获取指令;
    根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
    判断所述唤醒频率是否大于预设阈值;
    若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述终端。
  2. 如权利要求1所述的应用程序处理方法,其中,所述根据所述频率获取指令获取应用程序对应的唤醒频率的步骤,包括:
    根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;
    根据所述时钟频率获取所述应用程序对应的唤醒频率。
  3. 如权利要求2所述的应用程序处理方法,其中,所述禁止所述应用程序通过所述唤醒锁唤醒所述终端的步骤,包括:
    将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述终端;或者
    关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述终端。
  4. 如权利要求1所述的应用程序处理方法,其中,在判断所述唤醒频率大于预设阈值之后,禁止所述应用程序通过所述唤醒锁唤醒所述终端之前,所述方法还包括:
    根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;
    若是预设应用程序,则执行禁止所述应用程序通过所述唤醒锁唤醒所述终端的步骤。
  5. 如权利要求4所述的应用程序处理方法,其中,在终端处于待机状态之前,所述方法还包括:
    接收应用程序的设置请求,所述设置请求携带所述应用程序的应用标识;
    根据所述设置请求将所述应用程序的应用标识作为样本应用标识,并将所述样本应用标识添加至预设标识集合。
  6. 如权利要求5所述的应用程序处理方法,其中,所述根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序的步骤,包括:
    获取所述应用程序的应用标识;
    判断在所述预设标识集合中是否存在与所述应用标识相同的样本应用标识;
    若存在,则判断所述应用程序为预设应用程序;
    若不存在,则判断所述应用程序不为预设应用程序。
  7. 如权利要求4所述的应用程序处理方法,其中,所述方法还包括:
    在判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述终端。
  8. 一种应用程序处理装置,其中,包括:接收模块、获取模块、第一判断模块和处理模块;
    所述接收模块,用于在终端处于待机状态时,接收频率获取指令;
    所述获取模块,用于根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述终端的频率;
    所述第一判断模块,用于判断所述唤醒频率是否大于预设阈值;
    所述处理模块,用于在所述第一判断模块判断为是时,禁止所述应用程序通过所述唤醒锁唤醒所述终端。
  9. 如权利要求8所述的应用程序处理装置,其中,所述获取模块用于:
    根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;
    根据所述时钟频率获取所述应用程序对应的唤醒频率。
  10. 如权利要求9所述的应用程序处理装置,其中,所述处理模块用于:
    将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述终端;或者
    关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述终端。
  11. 如权利要求8所述的应用程序处理装置,其中,所述装置还包括:第二判断模块;
    所述第二判断模块,用于在所述第一判断模块判断为是之后,所述处理模块禁止所述应用程序通过所述唤醒锁唤醒所述终端之前,根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;
    所述处理模块,用于在所述第二判断模块判断为是时禁止所述应用程序通过所述唤醒锁唤醒所述终端。
  12. 如权利要求11所述的应用程序处理装置,其中,所述处理模块还用于:
    在所述第二判断模块判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述终端。
  13. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1至7任一项所述的应用程序处理方法。
  14. 一种电子设备,其中,包括处理器和存储器,所述处理器与所述存储器电性连接,所述存储器用于存储指令和数据,所述处理器用于执行以下步骤:
    在所述电子设备处于待机状态时,接收频率获取指令;
    根据所述频率获取指令获取应用程序对应的唤醒频率,所述唤醒频率为所述应用程序通过其持有的唤醒锁唤醒所述电子设备的频率;
    判断所述唤醒频率是否大于预设阈值;
    若大于所述预设阈值,则禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
  15. 如权利要求14所述的电子设备,其中,根据所述频率获取指令获取应用程序对应的唤醒频率时,所述处理器用于执行以下步骤:
    根据所述频率获取指令,获取所述应用程序对应的唤醒时钟的时钟频率,所述唤醒时钟用于触发所述应用程序申请唤醒锁;
    根据所述时钟频率获取所述应用程序对应的唤醒频率。
  16. 如权利要求15所述的电子设备,其中,禁止所述应用程序通过所述唤醒锁唤醒所述电子设备时,所述处理器用于执行以下步骤:
    将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过所述唤醒锁唤醒所述电子设备;或者
    关闭所述应用程序以禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
  17. 如权利要求14所述的电子设备,其中,在判断所述唤醒频率大于预设阈值之后,禁止所述应用程序通过所述唤醒锁唤醒所述电子设备之前,所述处理器还用于执行以下步骤:
    根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序,其中,所述预设标识集合包括多个样本应用标识;
    若是预设应用程序,则禁止所述应用程序通过所述唤醒锁唤醒所述电子设备。
  18. 如权利要求17所述的电子设备,其中,在所述电子设备处于待机状态时,接收频率获取指令之前,所述处理器还用于执行以下步骤:
    接收应用程序的设置请求,所述设置请求携带所述应用程序的应用标识;
    根据所述设置请求将所述应用程序的应用标识作为样本应用标识,并将所述样本应用标识添加至预设标识集合。
  19. 如权利要求18所述的电子设备,其中,根据预设标识集合以及所述应用程序对应的应用标识,判断所述应用程序是否为预设应用程序时,所述处理器用于执行以下步骤:
    获取所述应用程序的应用标识;
    判断在所述预设标识集合中是否存在与所述应用标识相同的样本应用标识;
    若存在,则判断所述应用程序为预设应用程序;
    若不存在,则判断所述应用程序不为预设应用程序。
  20. 如权利要求17所述的电子设备,其中,所述处理器还用于执行以下步骤:
    在判断所述应用程序不为预设应用程序时,将所述应用程序对应的唤醒时钟设置为不可唤醒,以禁止所述应用程序通过唤醒锁唤醒所述电子设备。
PCT/CN2017/086460 2016-05-31 2017-05-29 一种应用程序处理方法、装置、存储介质及电子设备 Ceased WO2017206863A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610379635.6 2016-05-31
CN201610379635.6A CN106055074A (zh) 2016-05-31 2016-05-31 一种应用程序处理方法及装置

Publications (1)

Publication Number Publication Date
WO2017206863A1 true WO2017206863A1 (zh) 2017-12-07

Family

ID=57172918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086460 Ceased WO2017206863A1 (zh) 2016-05-31 2017-05-29 一种应用程序处理方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN106055074A (zh)
WO (1) WO2017206863A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113170015A (zh) * 2018-11-20 2021-07-23 深圳市欢太科技有限公司 通话处理方法、计算机可读存储介质和电子设备
CN114880193A (zh) * 2022-06-15 2022-08-09 深圳市视美泰技术股份有限公司 守护进程方法、装置、设备及存储介质
CN115226191A (zh) * 2022-07-27 2022-10-21 深圳市元征科技股份有限公司 唤醒方法、装置、设备及介质
CN115543063A (zh) * 2022-10-12 2022-12-30 思瑞浦微电子科技(苏州)股份有限公司 处理器运行控制方法及组件和可读存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055074A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序处理方法及装置
CN106774792A (zh) * 2016-11-28 2017-05-31 宇龙计算机通信科技(深圳)有限公司 电源管理方法及系统
CN106598714B (zh) * 2016-11-30 2021-05-07 台州市吉吉知识产权运营有限公司 一种Alarm优化管理方法及系统
CN106686633A (zh) * 2017-02-20 2017-05-17 苏州蜗牛数字科技股份有限公司 一种阻止wifi恶意频繁唤醒的方法
CN107145425B (zh) * 2017-05-08 2019-02-05 Oppo广东移动通信有限公司 信息处理方法、装置和移动终端
CN107168851B (zh) * 2017-05-08 2019-02-05 Oppo广东移动通信有限公司 信息处理方法、装置和移动终端
CN108563319A (zh) * 2018-04-02 2018-09-21 Oppo广东移动通信有限公司 信息处理方法、装置、移动终端和计算机可读存储介质
CN109981299B (zh) * 2019-03-05 2021-06-01 青岛海信传媒网络技术有限公司 唤醒方法和装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970255A (zh) * 2014-04-01 2014-08-06 联想(北京)有限公司 一种信息处理方法及电子设备
CN104038635A (zh) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 一种移动终端及其异常待机的提示方法
CN104221445A (zh) * 2013-11-15 2014-12-17 华为终端有限公司 一种唤醒终端系统的方法及终端
CN104346563A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理的方法及电子设备
CN104486823A (zh) * 2014-12-09 2015-04-01 锤子科技(北京)有限公司 一种数据业务唤醒源的控制方法、装置及系统
CN106055074A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346563A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理的方法及电子设备
CN104221445A (zh) * 2013-11-15 2014-12-17 华为终端有限公司 一种唤醒终端系统的方法及终端
CN103970255A (zh) * 2014-04-01 2014-08-06 联想(北京)有限公司 一种信息处理方法及电子设备
CN104038635A (zh) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 一种移动终端及其异常待机的提示方法
CN104486823A (zh) * 2014-12-09 2015-04-01 锤子科技(北京)有限公司 一种数据业务唤醒源的控制方法、装置及系统
CN106055074A (zh) * 2016-05-31 2016-10-26 广东欧珀移动通信有限公司 一种应用程序处理方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113170015A (zh) * 2018-11-20 2021-07-23 深圳市欢太科技有限公司 通话处理方法、计算机可读存储介质和电子设备
CN113170015B (zh) * 2018-11-20 2022-07-12 深圳市欢太科技有限公司 通话处理方法、通话处理装置、计算机可读存储介质和电子设备
CN114880193A (zh) * 2022-06-15 2022-08-09 深圳市视美泰技术股份有限公司 守护进程方法、装置、设备及存储介质
CN115226191A (zh) * 2022-07-27 2022-10-21 深圳市元征科技股份有限公司 唤醒方法、装置、设备及介质
CN115543063A (zh) * 2022-10-12 2022-12-30 思瑞浦微电子科技(苏州)股份有限公司 处理器运行控制方法及组件和可读存储介质

Also Published As

Publication number Publication date
CN106055074A (zh) 2016-10-26

Similar Documents

Publication Publication Date Title
WO2017206863A1 (zh) 一种应用程序处理方法、装置、存储介质及电子设备
EP3516846B1 (en) Application data sharing and decision service platform
KR101641174B1 (ko) 셧다운 상태에서의 알람의 구현방법, 이동 단말기, 프로그램 및 기록매체
US11665190B2 (en) System to rate the security of a device through fingerprint analysis
US8059570B2 (en) Mobile network device battery conservation system and methods
US10251130B2 (en) Adaptive and static keep alive message detection and simulation
EP3516850B1 (en) Systems and methods for sharing application data between isolated applications executing on one or more application platforms
TW201421230A (zh) 可攜式電子設備及其操作方法、以及非暫時性記錄媒體
KR101332814B1 (ko) 폴링 제어 장치 및 방법
CN103576852A (zh) 具有传感器集线器的移动设备以及控制该设备的方法
US11832189B2 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN108604189A (zh) 控制终端温度的方法及终端
CN106055077A (zh) 一种基于唤醒锁的处理方法及装置
CN106547335A (zh) 能耗降低方法和移动终端
CN105516768A (zh) 一种基于蓝牙的电视遥控器位置提醒方法及系统
CN109788536B (zh) 传感器控制方法、传感器控制装置、传感器及存储介质
CN117369888A (zh) 电子设备的唤醒方法、装置、电子设备和可读存储介质
CN114428546B (zh) 后台应用清理方法、装置、存储介质及终端设备
CN108536547A (zh) 信息处理方法、装置、计算机设备和计算机可读存储介质
CN111596974A (zh) 一种基于有限状态机算法的智能化采集系统及方法
CN105142023A (zh) 唤醒待机电视的方法及装置
CN108762981B (zh) 黑屏处理方法及相关装置
CN106325985A (zh) 一种定时器调整方法及系统以及移动终端
US20190268845A1 (en) Power save in machine type communication device
WO2018120607A1 (zh) 数据处理方法及终端

Legal Events

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

Ref document number: 17805808

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

Country of ref document: EP

Kind code of ref document: A1