Method and device for turning off background running of program according to quantity of GPS (Global Positioning System) satellites

A technology based on the number of satellites and GPS modules, which is applied in the field of closing the program to run in the background according to the number of GPS satellites, which can solve the problems of reducing device battery life and occupying system resources, and achieve the effect of avoiding long-term occupation of system resources and improving battery life

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

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the above-mentioned defects in the prior art, and provide a method and device for closing the program to run in the background according to the number of GPS satellites, which solves th

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
  • Method and device for turning off background running of program according to quantity of GPS (Global Positioning System) satellites
  • Method and device for turning off background running of program according to quantity of GPS (Global Positioning System) satellites

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] Embodiment 1 of the present invention provides a method for disabling programs running in the background according to the number of GPS satellites. The embodiment will be described in detail below with reference to the accompanying drawings. figure 1 It is a flow chart of the method of Embodiment 1 of the present invention, please refer to figure 1 , the method of the embodiment of the present invention includes the following steps:

[0036] Step S101, detecting whether there is a social application in the mobile terminal running in the background and initiating a GPS positioning request in the background to call the GPS positioning function;

[0037] Specifically, the social application program can be QQ, WeChat, whasapp and other application programs. Of course, the technical solution of the present invention can also be applied to other application programs that need to call the GPS positioning function.

[0038] Further, the step of detecting whether there is a soc...

Embodiment 2

[0052] Embodiment 2 of the present invention provides a device that closes the program running in the background according to the number of GPS satellites, please refer to figure 2 , the device of the embodiment of the present invention includes a background program request detection module 1, a visible satellite detection module 2, a judging module 3 and a background program closing module 4, and the principles of the above modules will be described in detail below.

[0053] The background program request detection module 1 is used to detect whether there is a social application program running in the background in the mobile terminal and initiates a GPS positioning request in the background to call the GPS positioning function.

[0054] Specifically, the background program request detection module 1 can further detect whether the social application program is in the background running state by entering into the task management module of the mobile terminal and querying the p...

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 invention discloses a method and a device for turning off background running of a program according to a quantity of GPS (Global Positioning System) satellites. The method comprises the following steps: detecting whether a social application is in a background running state and initiates a GPS positioning request in the background or not in a mobile terminal in order to call a GPS positioning function; if so, detecting whether a GPS module of the mobile terminal searches for valid visible satellites at present or not; if no valid visible satellite is searched at present, turning off the background running of the social application; if the valid visible satellites are searched at present, judging whether the quantity of the valid visible satellites is smaller than a preset quantity threshold or not; and if the quantity of the valid visible satellites is smaller than the preset quantity threshold, turning off the background running of the social application. Through adoption of the method and the device, the problems of long-term occupation of system resources and severe reduction of equipment endurance since social applications frequently initiate GPS positioning requests in a poor GPS positioning service environment are solved.

Description

technical field [0001] The present invention relates to the technical field of mobile terminals, and more specifically relates to a method and a device for closing a program running in the background according to the number of GPS satellites. Background technique [0002] At present, GPS, as a convenient positioning service function, is more and more popular among users. Therefore, social applications in mobile terminals, such as QQ, WeChat, etc., are also more and more commonly added GPS positioning functions to the program. [0003] However, when these social applications are running in the background, if the mobile terminal is in an environment with poor GPS positioning, and the system initiates a GPS positioning access request, it will have unlimited access to CPU and network resources. If the user does not timely Turning it off will seriously waste power and greatly affect the battery life of the mobile terminal. Contents of the invention [0004] The purpose of the ...

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): H04L29/08
CPCH04L67/51
Inventor 李路路
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
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