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

Releasing method and device for awakening locks

A technology for releasing devices and wake-up locks, which is applied in the field of release methods and devices for wake-up locks, which can solve the problems of waste of terminal power, not being released immediately, and increased power consumption of standby batteries, so as to save power, improve battery life, reduce The effect of power consumption

Active Publication Date: 2016-10-12
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in the process of using a smartphone, some applications often start other applications and run in the background. After releasing the wake lock held by it, the wake lock held by the background application associated with the application process is not released immediately, and the wake lock of the system needs to be held for a period of time to ensure its normal operation, but if If the wake-up lock cannot be released for a long time, the mobile phone will not be able to sleep normally. It seems that the mobile phone is no longer working. In fact, when the mobile phone is in standby, the background CPU and other devices are always working, which increases unnecessary standby battery. power consumption
If the user's mobile phone has more such application processes running in the background, there will be more associated application processes running in the background and holding wake locks, resulting in waste of terminal power
[0004] It can be seen from the above that after the application process is closed in the existing terminal, its associated application process will continue to run in the background and hold a wake lock, resulting in a waste of terminal power

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
  • Releasing method and device for awakening locks
  • Releasing method and device for awakening locks
  • Releasing method and device for awakening locks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] This embodiment will be described from the perspective of the device for releasing the wake lock. The device can be integrated into a terminal. electronic equipment.

[0053] see figure 1 , figure 1 It is a schematic flowchart of a method for releasing a wake-up lock provided in Embodiment 1 of the present invention. The method for releasing a wake-up lock in this embodiment includes:

[0054] Step S101, when closing the application process, release the wake lock held by the application process.

[0055] Specifically, a closing instruction from the user may be received, the instruction including identification information of the application process, and according to the above closing instruction, the application process is closed and the wake lock held by the application process is released at the same time.

[0056]In the embodiment of the present invention, after closing the application process and before releasing the wake lock of the application process, the abov...

Embodiment 2

[0078] This embodiment will further introduce the processing method of the present invention on the basis of the method described in Embodiment 1, refer to figure 2 , the release method of the wake lock provided by the embodiment of the present invention includes:

[0079] Step S201, releasing the wake lock held by the application process when closing the application process.

[0080] Step S202, acquiring user identification information in the closed application process.

[0081] Specifically, the uid of the application process can be obtained. Taking the terminal based on the android system as an example, in order to realize data sharing, android almost assigns a different uid to each application. Generally, different processes of the same business use the same uid. Yes, attribute information of the application process may be acquired, wherein the above attribute information includes the uid of the application process.

[0082] Step S203, searching for processes with the s...

Embodiment 3

[0103] This embodiment will take a smart phone as an example, the above-mentioned wake-up lock is a cpu lock, and describe the specific implementation steps of this solution in practical applications, please refer to image 3 , including the following steps:

[0104] Step S301, when the smart phone closes the application process, release the cpu lock held by the application process.

[0105] For example, when application A is closed, the system will find the cpu lock corresponding to A in the working state in the background, and release the cpu lock.

[0106] Step S302, the smart phone acquires the uid in the closed application process;

[0107] Step S303, the smart phone searches the system for processes with the same uid;

[0108] In step S304, the smart phone determines that the process is an associated application process.

[0109] For example, if the same uid is used in the process of application process A and application process B, after application A is closed, the u...

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 discloses a releasing method and device for awakening locks. The method comprises the steps that when an application process is stopped, the awakening lock held by the application process is released; an associated application process associated with the application process is determined; whether the associated application process holds the awakening lock or not is judged, and if yes, the awakening lock held by the associated application process is released. According to the scheme, the awakening lock held by the associated application process associated with the application process can be further released while the awakening lock of the application process is released when the application process is stopped, therefore, electricity consumption in a terminal is reduced, the electric quantity of the terminal is saved, and then the endurance capacity of the terminal can be improved.

Description

technical field [0001] The present invention relates to the field of terminal technology, in particular to a method and device for releasing a wake lock. Background technique [0002] With the development of the field of electronic communication, the functions of mobile terminals such as smart phones are becoming more and more powerful. Users can not only make calls and send text messages through smart phones, but also install various functional applications in mobile terminals according to their needs to meet Your own needs in different aspects (such as games, reading, music, video playback, shopping, etc.). [0003] At present, in the process of using a smartphone, some applications often start other applications and run in the background. After releasing the wake lock held by it, the wake lock held by the background application associated with the application process is not released immediately, and the wake lock of the system needs to be held for a period of time to ens...

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
IPC IPC(8): G06F1/32
CPCG06F1/32G06F1/329
Inventor 张俊
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD