Sleep management method and relevant device

A sleep management and sleep technology, applied in the field of control, can solve problems such as operating system burden and operating system busyness, and achieve the effects of reducing busyness and burden, increasing sleep time, and reducing state switching.

Active Publication Date: 2016-11-09
ONEPLUS TECH SHENZHEN
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And multiple working state / sleep state switching will make the operating system busy and bring unnecessary burden to the operating system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sleep management method and relevant device
  • Sleep management method and relevant device
  • Sleep management method and relevant device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] As mentioned above, there will be a lot of light sleep between two drawings, such as sleep B generated in order to achieve a fixed frame rate, sleep A waiting for the operating system to prepare the next drawing buffer, and sleep generated by other waiting jobs Wait, this will cause multiple state switches, which is not conducive to resource and load release.

[0038] However, the present invention provides a sleep management method, a sleep management device and a terminal to solve the above problems.

[0039] The above sleep management method and device can be applied to portable devices (such as mobile phones, tablet computers, game consoles, etc.).

[0040] The sleep management device can be used as a module or component of the operating system (for example, the Surfaceflinger component of the Android system, the GWES component of the Windows system) to execute the above sleep management method. Alternatively, for an application, it may also be considered that the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a sleep management method and relevant device so as to reduce light sleep and state switching. The sleep management method is applied to a terminal and comprises the following steps: after a current frame of drawing is finished, preparing a drawing buffer zone used for a next frame of drawing; after the drawing buffer zone is prepared, predicting sleep delay time D; and after waiting for sleep delay time D, sending an end notice to awaken an application under a sleep state. Compared with the prior art, the sleep management method is characterized in that the end notice is not immediately sent after the drawing buffer zone of the next frame of drawing is prepared, but the end notice is sent after waiting for and predicting sleep delay time D. Therefore, sleep can be pushed to deep sleep from the light sleep, an operating system can obtain more resources and release loads by the deep sleep, meanwhile, sleep frequencies are reduced so as to reduce state switching, and therefore, burdens brought by frequency state switching can be lightened.

Description

technical field [0001] The present invention relates to the technical field of control, in particular to a sleep management method and a related device, in particular to a method and a device for sleep management in graphic drawing. Background technique [0002] Many portable devices (such as mobile phones, tablet computers, etc.) have scenes that require redrawing or switching between frames. Take a mobile phone installed with the Android operating system launched by Google Inc. (Google Inc.) as an example, when an application (such as a game) on the mobile phone draws the next frame, it is called invalidate or redraw. The inter-frame switching refers to the switching of the drawing buffer between two drawing. [0003] There will be many short sleeps between two drawing, which can be called light sleep, and the light sleep takes about tens of microseconds (micro-second). [0004] Take the game application as an example, see Figure 1a and Figure 1b , the game applicatio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881G06F9/48G06F9/485G06F1/3228G06F1/3287G06F9/542G06F9/544
Inventor 张文彦白宗正
Owner ONEPLUS TECH SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products