CN106569879B - Method for awakening peripheral and mobile terminal - Google Patents

Method for awakening peripheral and mobile terminal Download PDF

Info

Publication number
CN106569879B
CN106569879B CN201610971213.8A CN201610971213A CN106569879B CN 106569879 B CN106569879 B CN 106569879B CN 201610971213 A CN201610971213 A CN 201610971213A CN 106569879 B CN106569879 B CN 106569879B
Authority
CN
China
Prior art keywords
awakening
peripheral
stage
wake
mobile terminal
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
CN201610971213.8A
Other languages
Chinese (zh)
Other versions
CN106569879A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610971213.8A priority Critical patent/CN106569879B/en
Publication of CN106569879A publication Critical patent/CN106569879A/en
Application granted granted Critical
Publication of CN106569879B publication Critical patent/CN106569879B/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/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context

Landscapes

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

Abstract

The invention discloses a method for awakening a peripheral and a mobile terminal, which are used for shortening the time occupied by awakening the peripheral in the awakening process of the mobile terminal. The method comprises the following steps: the mobile terminal executes the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process; the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process.

Description

Method for awakening peripheral and mobile terminal
Technical Field
The invention relates to the field of computers, in particular to a method for waking up a peripheral and a mobile terminal.
Background
At present, the mobile terminal needs to wake up each peripheral again after sleeping each time.
Taking the Linux system as an example, the wake-up process of the Linux system can be mainly divided into the following three stages: off-interrupt wake (denoted as resume _ noirq), system-level wake (denoted as resume _ early), and peripheral-level wake (denoted as resume), as shown in fig. 1, which is a schematic diagram of the Linux system wake-up process. The peripheral equipment is centralized at the resume stage to complete the awakening, and then the awakening process of each peripheral equipment is completed at one time.
Because the number of the mobile terminal peripherals is increasing, the time for waking up each peripheral after the mobile terminal sleeps each time is increased, so that the waking speed of the mobile terminal is slowing down continuously, and the waking speed of the mobile terminal is an important factor influencing the user experience effect.
Therefore, how to reduce the time occupied by waking up the peripheral in the wake-up process of the mobile terminal is a technical problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a method for waking up a peripheral and a mobile terminal, which are used for shortening the time taken for waking up the peripheral in the process of waking up the mobile terminal.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides a method for waking up a peripheral, including:
the mobile terminal executes the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process.
In a possible embodiment, the executing, by the mobile terminal, the operation of the peripheral wake-up second stage in the first peripheral wake-up process in the system wake-up second stage of the system wake-up process includes:
the mobile terminal determines the interval duration between the first system awakening phase and the second system awakening phase;
if the mobile terminal determines that the interval duration is smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible embodiment, the executing, by the mobile terminal, the operation of the peripheral wake-up second stage in the first peripheral wake-up process in the system wake-up second stage of the system wake-up process includes:
if the mobile terminal determines that the waiting time delay is greater than the preset time length, calculating the time difference between the waiting time delay and the preset time length, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the time length corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible embodiment, the preset duration is a minimum value selected from stored historical data, a value in the historical data is an interval duration between the system wake-up first stage and the system wake-up second stage in the system wake-up process, and the interval duration between the system wake-up first stage and the system wake-up second stage in the system wake-up process of this time is increased in the historical data every time the system wake-up process is executed.
In a possible implementation manner, the first peripheral is a Liquid Crystal Display (LCD), the first stage of peripheral awakening is reset operation, and the second stage of peripheral awakening is initialization command sending operation;
the mobile terminal executes the reset operation of the LCD awakening process in the system awakening first stage of the system awakening process;
and the mobile terminal executes the operation of sending an initialization command in the LCD awakening process at the system awakening second stage in the system awakening process.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the first processing module is used for executing the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
and the second processing module is used for executing the operation of the peripheral awakening second stage of the peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process.
In a possible implementation manner, the second processing module is specifically configured to:
determining an interval duration between the system wake-up first phase and the system wake-up second phase;
if the interval duration is determined to be smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible implementation manner, the second processing module is specifically configured to:
if the waiting time delay is determined to be larger than the preset time length, calculating the time difference between the waiting time delay and the preset time length, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the time length corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible embodiment, the preset duration is a minimum value selected from stored historical data, a value in the historical data is an interval duration between the system wake-up first stage and the system wake-up second stage in the system wake-up process, and the interval duration between the system wake-up first stage and the system wake-up second stage in the system wake-up process of this time is increased in the historical data every time the system wake-up process is executed.
In a possible implementation manner, the first peripheral is a Liquid Crystal Display (LCD), the first stage of peripheral awakening is reset operation, and the second stage of peripheral awakening is initialization command sending operation;
the first processing module is specifically configured to: in a system awakening first stage of a system awakening process, executing a reset operation of the LCD awakening process;
the second processing module is specifically configured to: and in a system awakening second stage of the system awakening process, executing the operation of sending an initialization command of the LCD awakening process.
Based on the technical scheme, in the embodiment of the invention, the wake-up process of the first peripheral is divided into a plurality of peripheral wake-up stages according to the waiting time delay, in two consecutive system wake-up stages of the system wake-up process, the operation of the peripheral wake-up first stage is executed in the system wake-up first stage, and the operation of the peripheral wake-up second stage is executed in the system wake-up second stage, so that the waiting time delay existing between the peripheral wake-up first stage and the peripheral wake-up second stage can occupy the time interval between the system wake-up first stage and the system wake-up second stage, thereby effectively shortening the time length occupied by the peripheral wake-up.
Drawings
FIG. 1 is a diagram illustrating a Linux system wake-up process;
FIG. 2 is a schematic flow chart illustrating a process of waking up a peripheral device by a mobile terminal in a system wake-up process according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an optimized peripheral wake-up process according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor finds that, for a part of peripherals, after executing a part of the wake-up process of the peripheral, it is necessary to wait for a certain time period before performing a subsequent wake-up process. For example, in a wake-up process of a Liquid Crystal Display (LCD), a 20 millisecond (ms) time period is required to be waited after an LCD reset (reset) operation is performed to send an initialization command to the LCD, and a 120ms time period is required to be waited after the initialization command is sent to ensure that the LCD can normally operate. The Linux system awakening process is divided into three awakening stages, a certain time interval exists between every two adjacent awakening stages, and if the time interval is used for waiting time delay in the peripheral awakening process, the time length occupied by the peripheral awakening can be effectively shortened.
For example, in the LCD wake-up process, the reset operation in the LCD wake-up process is performed in the system-level wake-up stage of the system wake-up process, and the initialization command sending operation in the LCD wake-up process is performed in the peripheral-level wake-up stage of the system wake-up process, so that the time delay between the system-level wake-up and peripheral-level wake-up stages of the system wake-up process can be used as the waiting time delay between the reset operation and the initialization command sending operation in the LCD wake-up process, thereby shortening the time length occupied by the LCD wake-up.
Based on this, the embodiment of the present invention provides a method for waking up peripherals in a wake-up process of a mobile terminal system, so as to shorten a time taken for waking up each peripheral in the wake-up process of the mobile terminal. The core idea of the method is as follows: the method comprises the steps of dividing the awakening process of the peripheral into a plurality of awakening stages according to the waiting time delay existing in the awakening process of the peripheral, wherein the time interval between adjacent awakening stages of the peripheral is the waiting time delay, and putting the awakening stages of the peripheral into different awakening stages of the system awakening process to be executed respectively so as to replace the waiting time delay required by the awakening process of the peripheral by utilizing the time interval between the different awakening stages in the system awakening process, thereby achieving the purpose of shortening the time occupied by awakening of the peripheral.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In the embodiment of the present invention, as shown in fig. 2, a detailed process of waking up the peripheral in the system wake-up process by the mobile terminal is as follows:
step 201: the mobile terminal executes the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process.
In specific implementation, after the mobile terminal detects a trigger event of system wakeup, a system wakeup process is started.
Specifically, the triggering event includes, but is not limited to, a key trigger, a Universal Serial Bus (USB) trigger, and the like.
Step 202: and the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage and the peripheral awakening second stage.
In a specific embodiment, the mobile terminal determines the interval duration between a first phase of system wakeup and a second phase of system wakeup; if the interval duration is determined to be smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In another specific embodiment, if the mobile terminal determines that the waiting time delay is greater than a preset time length, calculating a time difference between the waiting time delay and the preset time length, and in a system awakening second stage of the system awakening process, after waiting for a time length corresponding to the time difference, executing an operation of the peripheral awakening second stage of the first peripheral awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
Preferably, the preset duration is a minimum value of interval durations between the first system wake-up stage and the second system wake-up stage, which are obtained through multiple statistics.
Specifically, the preset duration is a minimum value selected from stored historical data, a value in the historical data is an interval duration between the system awakening first stage and the system awakening second stage in one system awakening process, and the interval duration between the system awakening first stage and the system awakening second stage in the system awakening process at this time is increased in the historical data every time the system awakening process is executed.
In the embodiment of the present invention, taking Linux system as an example, assuming that the Linux system wake-up process is divided into three stages, the wake-up stage 1 is resume _ noirq, the wake-up stage 2 is resume _ early, and the wake-up stage 3 is resume. Assuming that the first stage of system wake-up is resume _ noirq, the second stage of system wake-up is resume _ early; assuming that the system wakes up the first phase is resume _ early, the system wakes up the second phase is resume.
In a specific implementation, if the peripheral does not depend on each component awakened by a certain system awakening phase, the awakening process of the peripheral can be started in the system awakening phase, otherwise, the awakening process of the peripheral can be started only in the system awakening phase after the system awakening phase.
Optionally, if there are two wait delays in the peripheral wake-up process, the peripheral wake-up process may be divided into a peripheral wake-up stage 1, a peripheral wake-up stage 2, and a peripheral wake-up stage 3, where the peripheral wake-up stage 1 of the system wake-up process performs the operation of the peripheral wake-up stage 1 of the peripheral, the peripheral wake-up stage 2 of the peripheral performs the operation of the peripheral wake-up stage 2 of the system wake-up process performs the operation of the peripheral wake-up stage 3 of the peripheral, and the wake-up stage 3 of the system wake-up process performs the operation of the peripheral wake-up stage 3 of the peripheral, where a first wait delay in the peripheral wake-up process exists between the peripheral wake-up stage 1 and the peripheral wake-up stage 2, and a second wait delay in the peripheral wake-.
In this optional embodiment, if the system wake-up first phase is a wake-up phase 1 of the system wake-up process, and the system wake-up second phase is a wake-up phase 2 of the system wake-up process, the method may further include: and the mobile terminal executes the operation of the peripheral awakening third stage of the first peripheral awakening process in the system awakening third stage of the system awakening process, wherein the system awakening third stage is an awakening stage 3 of the system awakening process, the peripheral awakening first stage is a peripheral awakening stage 1, the peripheral awakening second stage is a peripheral awakening stage 2, and the peripheral awakening third stage is a peripheral awakening stage 3.
For example, assume that the wake-up process of the peripheral is divided into a peripheral wake-up phase 1, a peripheral wake-up phase 2, and a peripheral wake-up phase 3 according to the latency involved. The optimized peripheral awakening process is shown in fig. 3, after the mobile terminal detects a trigger event in a sleep state, it is determined whether the system needs to be awakened, and if so, each wakeup phase of the system wakeup process is performed in turn, and the peripheral wakeup phase 1 of the peripheral wakeup procedure is performed in the resume _ noirq phase of the system wakeup process, the peripheral wakeup phase 2 of the peripheral wakeup flow is performed in the resume _ early phase of the system wakeup process, after executing the peripheral awakening stage 3 of the peripheral awakening flow in the resume stage of the system awakening process, the mobile terminal is in an awakening state, wherein the time interval before the resume _ noirq phase and the resume _ early phase is taken as the latency between the peripheral wakeup phase 1 and the peripheral wakeup phase 2, and the time interval between the resume _ early phase and the resume phase is taken as the latency between the peripheral wake-up phase 2 and the peripheral wake-up phase 3.
Taking the awakening process of the LCD as an example, specifically, the mobile terminal executes the reset operation of the LCD awakening process in the system awakening first stage of the system awakening process; and the mobile terminal executes the operation of sending an initialization command in the LCD awakening process at the system awakening second stage of the system awakening process.
Based on the same inventive concept, the embodiment of the present invention further provides a mobile terminal, and the specific implementation of the mobile terminal may refer to the description of the method embodiment, and repeated details are not repeated, as shown in fig. 4, the mobile terminal mainly includes:
a first processing module 401, configured to execute an operation of the peripheral wake-up first stage in the first peripheral wake-up process in the system wake-up first stage of the system wake-up process;
a second processing module 402, configured to execute an operation of a peripheral wake-up second stage of the peripheral wake-up process in a system wake-up second stage of the system wake-up process, where a wait delay exists between the peripheral wake-up first stage of the first peripheral wake-up process and the peripheral wake-up second stage of the first peripheral wake-up process.
In a possible implementation manner, the second processing module is specifically configured to:
determining an interval duration between the system wake-up first phase and the system wake-up second phase;
if the interval duration is determined to be smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible implementation manner, the second processing module is specifically configured to:
if the waiting time delay is determined to be larger than the preset time length which is the statistic value of the interval time length between the system awakening first stage and the system awakening second stage, calculating the time difference between the waiting time delay and the preset time length, executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the time length corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
In a possible implementation manner, the preset duration is a minimum value of interval durations between the first stage of system wakeup and the second stage of system wakeup obtained through multiple statistics.
Specifically, the preset duration is a minimum value selected from stored historical data, a value in the historical data is an interval duration between the system awakening first stage and the system awakening second stage in one system awakening process, and the interval duration between the system awakening first stage and the system awakening second stage in the system awakening process at this time is increased in the historical data every time the system awakening process is executed.
In a possible embodiment, the system further comprises a detection module for:
and detecting a trigger event of system awakening before the first processing module executes the peripheral awakening first phase of the first peripheral awakening process in the system awakening first phase of the system awakening process.
In a possible implementation manner, the first external device is set as an LCD, the first stage of the external device wake-up is a reset operation, and the second stage of the external device wake-up is an operation of sending an initialization command;
the first processing module is specifically configured to: in a system awakening first stage of a system awakening process, executing a reset operation of the LCD awakening process;
the second processing module is specifically configured to: and in a system awakening second stage of the system awakening process, executing the operation of sending an initialization command of the LCD awakening process.
Based on the technical scheme, in the embodiment of the invention, the peripheral awakening process is divided into a plurality of peripheral awakening stages according to the waiting time delay, and in two continuous system awakening stages of the system awakening process, the operation of the first peripheral awakening stage is executed in the first system awakening stage, and the operation of the second peripheral awakening stage is executed in the second system awakening stage, so that the waiting time delay existing between the first peripheral awakening stage and the second peripheral awakening stage can occupy the time interval between the first system awakening stage and the second system awakening stage, thereby effectively shortening the time length occupied by peripheral awakening and improving the user experience.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of waking a peripheral, comprising:
the mobile terminal executes the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process;
the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, and the operation comprises the following steps:
the mobile terminal determines the interval duration between the first system awakening phase and the second system awakening phase;
if the mobile terminal determines that the interval duration is smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
2. The method of claim 1, wherein the first peripheral device is a Liquid Crystal Display (LCD), the peripheral device waking up a first phase is a reset operation, and the peripheral device waking up a second phase is a send initialization command operation;
the mobile terminal executes the reset operation of the LCD awakening process in the system awakening first stage of the system awakening process;
and the mobile terminal executes the operation of sending an initialization command in the LCD awakening process at the system awakening second stage in the system awakening process.
3. A method of waking a peripheral, comprising:
the mobile terminal executes the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process;
the mobile terminal executes the operation of the peripheral awakening second stage of the first peripheral awakening process in the system awakening second stage of the system awakening process, and the operation comprises the following steps:
if the mobile terminal determines that the waiting time delay is greater than the preset time length, calculating the time difference between the waiting time delay and the preset time length, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the time length corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
4. The method according to claim 3, wherein the preset duration is a minimum value selected from stored historical data, one value in the historical data is an interval duration between the first and second phases of the system wake-up in one time of the system wake-up process, and the interval duration between the first and second phases of the system wake-up in the current time of the system wake-up process is increased in the historical data every time the system wake-up process is performed.
5. The method of claim 3 or 4, wherein the first peripheral device is a Liquid Crystal Display (LCD), the peripheral device wake-up first phase is a reset operation, and the peripheral device wake-up second phase is an operation of sending an initialization command;
the mobile terminal executes the reset operation of the LCD awakening process in the system awakening first stage of the system awakening process;
and the mobile terminal executes the operation of sending an initialization command in the LCD awakening process at the system awakening second stage in the system awakening process.
6. A mobile terminal, comprising:
the first processing module is used for executing the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
the second processing module is used for executing the operation of the peripheral awakening second stage of the peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process;
the second processing module is specifically configured to:
determining an interval duration between the system wake-up first phase and the system wake-up second phase;
if the interval duration is determined to be smaller than the waiting delay, calculating the time difference between the waiting delay and the interval duration, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the duration corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
7. The mobile terminal of claim 6, wherein the first peripheral device is a Liquid Crystal Display (LCD), the peripheral device waking up a first phase is a reset operation, and the peripheral device waking up a second phase is an operation of sending an initialization command;
the first processing module is specifically configured to: in a system awakening first stage of a system awakening process, executing a reset operation of the LCD awakening process;
the second processing module is specifically configured to: and in a system awakening second stage of the system awakening process, executing the operation of sending an initialization command of the LCD awakening process.
8. A mobile terminal, comprising:
the first processing module is used for executing the operation of the peripheral awakening first stage of the first peripheral awakening process in the system awakening first stage of the system awakening process;
the second processing module is used for executing the operation of the peripheral awakening second stage of the peripheral awakening process in the system awakening second stage of the system awakening process, wherein a waiting time delay exists between the peripheral awakening first stage of the first peripheral awakening process and the peripheral awakening second stage of the first peripheral awakening process;
the second processing module is specifically configured to:
if the waiting time delay is determined to be larger than the preset time length, calculating the time difference between the waiting time delay and the preset time length, and executing the operation of the peripheral awakening second stage of the first peripheral awakening process after waiting for the time length corresponding to the time difference in the system awakening second stage of the system awakening process, otherwise, directly executing the operation of the peripheral awakening second stage of the first peripheral awakening process.
9. The mobile terminal of claim 8, wherein the preset duration is a minimum value selected from stored historical data, one value in the historical data is an interval duration between the first phase of the system wake-up and the second phase of the system wake-up in one system wake-up process, and the interval duration between the first phase of the system wake-up and the second phase of the system wake-up in the current system wake-up process is increased in the historical data every time the system wake-up process is executed.
10. The mobile terminal according to claim 8 or 9, wherein the first peripheral device is a liquid crystal display LCD, the first peripheral device wake-up phase is a reset operation, and the second peripheral device wake-up phase is an operation of sending an initialization command;
the first processing module is specifically configured to: in a system awakening first stage of a system awakening process, executing a reset operation of the LCD awakening process;
the second processing module is specifically configured to: and in a system awakening second stage of the system awakening process, executing the operation of sending an initialization command of the LCD awakening process.
CN201610971213.8A 2016-10-28 2016-10-28 Method for awakening peripheral and mobile terminal Active CN106569879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610971213.8A CN106569879B (en) 2016-10-28 2016-10-28 Method for awakening peripheral and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610971213.8A CN106569879B (en) 2016-10-28 2016-10-28 Method for awakening peripheral and mobile terminal

Publications (2)

Publication Number Publication Date
CN106569879A CN106569879A (en) 2017-04-19
CN106569879B true CN106569879B (en) 2020-02-11

Family

ID=58541620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610971213.8A Active CN106569879B (en) 2016-10-28 2016-10-28 Method for awakening peripheral and mobile terminal

Country Status (1)

Country Link
CN (1) CN106569879B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056241A1 (en) * 2017-09-21 2019-03-28 深圳传音通讯有限公司 Wake-up method and wake-up apparatus for smart terminal, and smart terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263456A (en) * 2005-09-15 2008-09-10 英特尔公司 Method and apparatus for quick resumption
CN101689072A (en) * 2007-02-06 2010-03-31 D.S.P.集团有限公司 Integrated waking/while-awake power management system
CN102833829A (en) * 2012-08-17 2012-12-19 广州海格天立通信息技术有限公司 Standby wakeup method based on time division multiple access (TDMA) system
CN103218033A (en) * 2013-03-28 2013-07-24 北京小米科技有限责任公司 Method and device for waking up hardware equipment
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN103562818A (en) * 2011-05-31 2014-02-05 惠普发展公司,有限责任合伙企业 Waking electronic device
WO2014047901A1 (en) * 2012-09-28 2014-04-03 France Telecom Energy saving method for a radio access node
CN104580750A (en) * 2013-10-18 2015-04-29 上海晨兴希姆通电子科技有限公司 Mobile terminal and electricity saving method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150077170A1 (en) * 2013-09-13 2015-03-19 International Business Machines Corporation Efficient wakeup of power gated domains through charge sharing and recycling

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263456A (en) * 2005-09-15 2008-09-10 英特尔公司 Method and apparatus for quick resumption
CN101689072A (en) * 2007-02-06 2010-03-31 D.S.P.集团有限公司 Integrated waking/while-awake power management system
CN103562818A (en) * 2011-05-31 2014-02-05 惠普发展公司,有限责任合伙企业 Waking electronic device
CN102833829A (en) * 2012-08-17 2012-12-19 广州海格天立通信息技术有限公司 Standby wakeup method based on time division multiple access (TDMA) system
WO2014047901A1 (en) * 2012-09-28 2014-04-03 France Telecom Energy saving method for a radio access node
CN103218033A (en) * 2013-03-28 2013-07-24 北京小米科技有限责任公司 Method and device for waking up hardware equipment
CN103402027A (en) * 2013-07-29 2013-11-20 广东欧珀移动通信有限公司 Mobile terminal and method for putting same into sleeping state
CN104580750A (en) * 2013-10-18 2015-04-29 上海晨兴希姆通电子科技有限公司 Mobile terminal and electricity saving method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《基于冗余节点休眠和分阶段唤醒策略的传感器网络三维覆盖控制方法》;蒋鹏,陈峰;《电子与信息学报》;20091231;全文 *
linux dpm机制分析;小小小小小杰;《http://www.voidcn.com/article/p-tgkatopf-pd.html》;20140414;第1-6页 *
linux-3.10.103.tar.gz pci driver;linux内核开发者;《http://cdn.kernel.org/pub/linux/kernel/v3.0》;20160828;第1-11页 *
利用KMDF驱动程序实现USB设备的功耗控制;朱诚,左辉;《计算机应用与软件》;20121231;全文 *

Also Published As

Publication number Publication date
CN106569879A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
KR101503627B1 (en) Minimizing resource latency between processor application states in a portable computing device by scheduling resource set transitions
TWI494857B (en) Method for performing wake-up event management, and associated apparatus and associated computer program product
EP3320438B1 (en) High availability and energy-efficient watchdog timer
KR101677820B1 (en) Conserving power through work load estimation for a portable computing device using scheduled resource set transitions
US10317984B2 (en) System on chip, method of managing power thereof, and electronic device
US9195285B2 (en) Techniques for platform duty cycling
TWI578152B (en) Apparatus, article and controller for entering a low power state
KR20160110509A (en) Syncronization of interrupt processing to reduce power consumption
CN112530056A (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
CN105159722B (en) RTC wakes up the method and computer of system
EP3134805B1 (en) Latency-based power mode units for controlling power modes of processor cores, and related methods and systems
WO2012087533A1 (en) Minimizing resource latency between processor application states in a portable computing device by using a next-active state set
CN106569879B (en) Method for awakening peripheral and mobile terminal
CN110989820A (en) Method and device for controlling power consumption of processor, processor and electronic device
US9785463B2 (en) Using per task time slice information to improve dynamic performance state selection
CN114174956A (en) Preemptive wake-up circuit for waking up from low power mode
CN106528092A (en) System awakening method and apparatus
CN115309507B (en) CPU resource occupancy rate calculation method, device, equipment and medium
CN111142653A (en) PCIe device low-power-consumption control method and device and electronic device
CN112579005B (en) Method, device, computer equipment and storage medium for reducing average power consumption of SSD
CN112948297B (en) Screen control method and device, double-screen terminal equipment and storage medium
CN104571461A (en) Terminal
CN105022647B (en) A kind of control method and terminal of application installation
CN104503856B (en) A kind of control method and device of embedded system
WO2016122859A1 (en) Timer-based processing unit operational scaling employing timer resetting on idle process scheduling

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
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder