Unlock instant, AI-driven research and patent intelligence for your innovation.

Sleep management method and related device

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

Active Publication Date: 2019-11-05
ONEPLUS TECH SHENZHEN
View PDF5 Cites 0 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 related device
  • Sleep management method and related device
  • Sleep management method and related 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

Examples of the present invention provide sleep management methods and related devices to reduce light sleep and state switching.The above sleep management method is applied to the end, including: after the drawing of this frame is completed, the drawing buffer is prepared for the next frame drawing;After describing sleep delay time D, the sending notice is sent to awaken the application of sleeping.Compared with the existing technology, the embodiments of the present invention do not immediately send an end notice after the drawing buffer preparation of the drawing buffer in the next frame. Instead, it predicts and waits for sleep delay time D before sending the end notice.This can push sleep from light sleep to deep sleep. Deep sleep can make the operating system more resource and load release.At the same time, the number of sleep is reduced, and the state switching can be reduced, thereby reducing the burden caused by frequent state switching.

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 Patents(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881G06F9/48G06F9/485G06F1/3228G06F1/3287G06F9/542G06F9/544
Inventor 张文彦白宗正
Owner ONEPLUS TECH SHENZHEN