CN104793995B - The method and device for controlling GPS to call - Google Patents

The method and device for controlling GPS to call Download PDF

Info

Publication number
CN104793995B
CN104793995B CN201510209714.8A CN201510209714A CN104793995B CN 104793995 B CN104793995 B CN 104793995B CN 201510209714 A CN201510209714 A CN 201510209714A CN 104793995 B CN104793995 B CN 104793995B
Authority
CN
China
Prior art keywords
gps location
intelligent terminal
location function
gps
application program
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
CN201510209714.8A
Other languages
Chinese (zh)
Other versions
CN104793995A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510209714.8A priority Critical patent/CN104793995B/en
Publication of CN104793995A publication Critical patent/CN104793995A/en
Application granted granted Critical
Publication of CN104793995B publication Critical patent/CN104793995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention is applied to intelligent terminal technical field, there is provided the method and device that a kind of control GPS is called, methods described include:When detecting application call GPS location function, the precedence information of the current status information of intelligent terminal and the application program is obtained;The startup of the GPS location function is controlled according to the precedence information of the current status information of the intelligent terminal and the application program.The present invention realizes the mode that dynamic adjusts application call GPS location function, avoid GPS location function and be chronically at opening, efficiently solving when existing application arbitrarily calls GPS location function causes the problem of intelligent terminal power consumption is big, security is low.

Description

The method and device for controlling GPS to call
Technical field
The present invention is applied to intelligent terminal technical field, more particularly to the method and device that a kind of control GPS is called.
Background technology
The configuration more and more higher of existing Android intelligent terminal, function is more and more, and application program can arbitrarily call intelligence Other device functions in energy terminal, for example call GPS location function to obtain the positional information of intelligent terminal.
However, need to consume the very big electricity of intelligent terminal after calling GPS location function.Intelligent terminal never call GPS and In when putting out screen holding state, power consumption is generally 10mA;And call GPS and when GPS is constantly in opening, power consumption is then up to 80mA to 200mA.In addition, application program arbitrarily calls GPS location function, easily user is caused in the case of user is unwitting The leakage of individual privacy, security are low.
The content of the invention
In consideration of it, the embodiment of the present invention provides the method and device that a kind of control GPS is called, to solve existing application Arbitrarily call the problem of intelligent terminal power consumption caused by GPS location function is big, security is low.
First aspect, there is provided a kind of method that control GPS is called, methods described include:
When detecting application call GPS location function, the current status information of intelligent terminal and described is obtained The precedence information of application program;
The GPS is controlled according to the precedence information of the current status information of the intelligent terminal and the application program The startup of positioning function.
Further, the priority of the status information current according to the intelligent terminal and the application program is believed Breath controls the startup of the GPS location function to include:
It is first excellent in the priority that the current status information of the intelligent terminal is bright screen state and the application program During first level, start the GPS location function, and set the GPS location function to be in normally open.
Further, the priority of the status information current according to the intelligent terminal and the application program is believed Breath controls the startup of the GPS location function also to include:
It is second excellent in the priority that the current status information of the intelligent terminal is bright screen state and the application program During first level, or in the current status information of the intelligent terminal it is that to put out the priority of screen state and the application program be first During priority, start the GPS location function, and the GPS location function is closed when meeting preparatory condition.
Further, it is described the GPS location function is closed when meeting preparatory condition to include:
If getting the current positional information of the intelligent terminal in preset time, the GPS location function is closed, Otherwise, the GPS location function is closed after preset time arrival.
Further, the priority of the status information current according to the intelligent terminal and the application program is believed Breath controls the startup of the GPS location function to include:
It is that to put out the priority of screen state and the application program be second excellent in the current status information of the intelligent terminal During first level, GPS location function described in No starting.
Second aspect, there is provided the device that a kind of control GPS is called, described device include:
Acquisition module, for when detecting application call GPS location function, obtaining the current state of intelligent terminal The precedence information of information and the application program;
Control module, for being believed according to the priority of the current status information of the intelligent terminal and the application program Breath controls the startup of the GPS location function.
Further, the control module includes:
First control unit, for being bright screen state and the application program in the current status information of the intelligent terminal Priority when being the first priority, start the GPS location function, and set the GPS location function to be in normally open.
Further, the control module includes:
Second control unit, for being bright screen state and the application program in the current status information of the intelligent terminal Priority when being the second priority, or in the current status information of the intelligent terminal to put out screen state and described apply journey When the priority of sequence is the first priority, start the GPS location function, and close the GPS when meeting preparatory condition and determine Bit function.
Further, second control unit includes:
Promoter unit, for opening the GPS location function, to obtain the current positional information of the intelligent terminal;
Subelement is closed, if the positional information current for getting the intelligent terminal in preset time, closes institute GPS location function is stated, otherwise, the GPS location function is closed after preset time arrival.
Further, the control module also includes:
3rd control unit, for putting out screen state and the application program in the current status information of the intelligent terminal Priority when being the second priority, GPS location function described in No starting.
Compared with prior art, the embodiment of the present invention adds the control to application call GPS, should whenever detecting During with routine call GPS location function, the priority letter of the current status information of intelligent terminal and the application program is obtained Breath;The GPS location is controlled according to the precedence information of the current status information of the intelligent terminal and the application program The startup of function;It is achieved thereby that dynamic adjusts the mode of application call GPS location function, GPS location function is avoided to grow Phase is in opening, and efficiently solving when existing application arbitrarily calls GPS location function causes intelligent terminal power consumption The problem of big, and prevent malicious application to call GPS location function to steal the individual privacy of user, improve GPS and determine The security that bit function calls.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the implementation process figure for the method that the control GPS that the embodiment of the present invention one provides is called;
Fig. 2 is the first implementation process figure of step S102 in the method that the control GPS that the embodiment of the present invention two provides is called;
Fig. 3 is the second implementation process figure of step S102 in the method that the control GPS that the embodiment of the present invention three provides is called;
Fig. 4 is the composition structure chart for the device that the control GPS that the embodiment of the present invention four provides is called.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention adds the control to application call GPS, whenever detecting that application call GPS determines During bit function, the precedence information of the current status information of intelligent terminal and the application program is obtained;According to the intelligence The precedence information of the current status information of terminal and the application program controls the startup of the GPS location function;So as to The mode that dynamic adjusts application call GPS location function is realized, GPS location function is avoided and is chronically at opening state State, the problem of causing intelligent terminal power consumption big when existing application arbitrarily calls GPS location function is efficiently solved, and The individual privacy for preventing malicious application to call GPS location function to steal user, improve the peace of GPS location funcall Quan Xing.The embodiment of the present invention additionally provides corresponding device, is described in detail individually below.
Embodiment one
Fig. 1 shows the implementation process for the method that the control GPS that the embodiment of the present invention one provides is called, for the ease of saying It is bright, it illustrate only part related to the present invention.
In embodiments of the present invention, methods described is applied to intelligent terminal, and the intelligent terminal includes but is not limited to intelligence Mobile phone, tablet personal computer etc..Wherein, multiple application programs are installed, the multiple application program includes GPS on the intelligent terminal Application program is positioned, GPS location function can be realized, obtains the current positional information of intelligent terminal in real time;It is the multiple to answer The GPS location application program can be called with the application program in program in addition to the GPS location application program.
As shown in figure 1, methods described includes:
In step S101, when detecting application call GPS location function, the current state of intelligent terminal is obtained The precedence information of information and the application program.
In embodiments of the present invention, during application call GPS location function, GPS location application program launching can be triggered Positioning function, but GPS location function is still not actuated.Preferably, can be sent out by detecting application program to GPS location application program The call instruction sent has detected whether application call GPS location function.When having detected application call GPS location During function, the precedence information of the current status information of intelligent terminal and the application program is obtained.Wherein, intelligent terminal is worked as Preceding status information include but is not limited to the intelligent terminal be in bright screen state, the intelligent terminal be in put out screen state.Institute State priority to be determined according to the function of application program, including but not limited to the first priority, the second priority.Exemplarily, it is right In navigation-related application (such as Baidu map, by bus net etc.), its priority is the first priority;For except with navigate phase Remaining applications (such as social software, including but not limited to QQ, microblogging, wechat etc.) outside the application of pass, its priority are Second priority.
In step s 102, believed according to the priority of the current status information of the intelligent terminal and the application program Breath controls the startup of the GPS location function.
The embodiment of the present invention is previously according to priority, there is provided different application under same intelligent terminal status information The mode of GPS location function, and same application is called to call GPS location function under different intelligent terminal's status information Mode.
When the priority of application program is the first priority, and the status information of the intelligent terminal is bright screen state, then Start the GPS location function, and set the GPS location function to be in normally open.When the priority of the application program For the second priority, and when the status information of the intelligent terminal is bright screen state, then start the GPS location function, and Meet to close the GPS location function during preparatory condition;Or when the priority of the application program is the first priority, and The status information of the intelligent terminal is when putting out screen state, then to start the GPS location function, and close when meeting preparatory condition Close the GPS location function.If the priority of the application program is the second priority, and the status information of the intelligent terminal During to put out screen state, then GPS location function described in No starting.
By above-mentioned steps S102, when application program is navigation-related application (such as Baidu map, by bus net etc.), And GPS location function is called when intelligent terminal is in bright screen state, now, start the GPS location function, and described in setting GPS location function is in normally open, to cause the navigation-related application to obtain in real time and update such as on map The current positional information of intelligent terminal.If navigation-related the applying calls GPS when intelligent terminal is in and puts out screen state Positioning function, then start the GPS location function, and the GPS location function is closed when meeting preparatory condition, to realize intelligence Can terminal current positional information of regular voice broadcast in the case where putting out screen state.When application program is in addition to navigation-related application Remaining applications (such as social software, including but not limited to QQ, microblogging, wechat etc.), and be in bright screen in intelligent terminal GPS location function is called during state, now, starts the GPS location function, and the GPS is closed when meeting preparatory condition Positioning function, the problem of intelligent terminal power consumption is big caused by GPS is arbitrarily called so as to efficiently solve application program;If institute Remaining applications are stated when intelligent terminal is in and puts out screen state during calling GPS location function, then GPS location described in No starting Function, and then prevent malicious application to improve GPS tune by calling GPS location function to steal the individual privacy of user Security.
The embodiment of the present invention adds the control to application call GPS, whenever detecting that application call GPS determines During bit function, the precedence information of the current status information of intelligent terminal and the application program is obtained;According to the intelligence The precedence information of the current status information of terminal and the application program controls the startup of the GPS location function;So as to The mode that dynamic adjusts application call GPS location function is realized, GPS location function is avoided and is chronically at opening state State, the problem of causing intelligent terminal power consumption big when existing application arbitrarily calls GPS location function is efficiently solved, and The individual privacy for preventing malicious application to call GPS location function to steal user, improve the peace of GPS location funcall Quan Xing.
Embodiment two
In the embodiment shown in fig. 1, step S102 is the second priority and intelligent terminal in the priority of application program When status information is bright screen state, or in the priority of application program it is that the status information of the first priority and intelligent terminal is When putting out screen state, start the GPS location function, and the GPS location function is closed when meeting preparatory condition.It is given below It implements flow.
As shown in Fig. 2 step S102 includes:
In step s 201, the GPS location function is opened, to obtain the current positional information of intelligent terminal.
In step S202, when starting timer.
In step S203, if getting the current positional information of the intelligent terminal in preset time, institute is closed State GPS location function.
In step S204, if not getting the current positional information of the intelligent terminal in the preset time, After reaching the preset time, the GPS location function is closed.
In embodiments of the present invention, increase is provided with a preset time, and the preset time is set according to network transmission speed It is fixed, preferably 1min.In application program be the first priority (such as navigation-related application program) and intelligent terminal is in Screen state is put out, or when the application program is the second priority (such as application in addition to navigation-related application program) And intelligent terminal is in bright screen state, then GPS location function is opened, while start timer and start timing.If described default The positional information of intelligent terminal is got in time, then closes the GPS location function;Otherwise, it is strong after preset time arrival System closes the GPS location function;It is whole so as to solve intelligence caused by existing application arbitrarily calls GPS location function The problem of holding power consumption big, also prevent malicious application and calls GPS location function for a long time, effectively saved intelligent terminal Electricity.
Embodiment three
Generally, the application software of malice can also intelligent terminal be in put out the users such as screen state it is unwitting in the case of obtain The positional information of user.In the embodiment shown in fig. 1, in step S102, application program priority for the second priority and The status information of intelligent terminal is No starting GPS location function when putting out screen state.It will be given below providing No starting GPS The specific implementation flow of positioning function.
As shown in figure 3, step S102 also includes:
In step S301, if the priority of the application program is the state letter of the second priority and the intelligent terminal When ceasing to put out screen state, forbid opening the GPS location function.
In step s 302, the application program is obtained, and records the application program.
In step S303, in intelligent terminal from screen state is put out into after bright screen state, prompt message is ejected.
Wherein, the prompt message includes the information warning that the application program may be malicious application.To remind User is updated or killed virus to the software of intelligent terminal in time;Malicious application is prevented in the unwitting situation of user The lower individual privacy for calling GPS location function to steal user, it is effectively improved the security of GPS calling.
Preferably, it is synchronous to obtain the application call GPS location work(when step S302 obtains the application program The temporal information of energy, and record the application program and temporal information.In step S303, when intelligent terminal enters from screen state is put out After entering bright screen state, while eject the prompt message comprising the application program and temporal information.
Example IV
Fig. 4 shows the composition structure for the device that the control GPS that the embodiment of the present invention four provides is called, for the ease of saying It is bright, it illustrate only part related to the present invention.
In embodiments of the present invention, described device is used to realize that the control GPS described in Fig. 1 to Fig. 3 any embodiments to be called Method, can be the unit for being built in the hardware cell of intelligent terminal, software unit or software and hardware combining.The intelligence is eventually End includes but is not limited to smart mobile phone, tablet personal computer etc..Multiple application programs are installed, including GPS determines on the intelligent terminal Position application program, realizes GPS location function.
As shown in figure 4, described device includes:
Acquisition module 41, for when detecting application call GPS location function, obtaining the current shape of intelligent terminal The precedence information of state information and the application program;
Control module 42, for the priority according to the current status information of the intelligent terminal and the application program Information controls the startup of the GPS location function.
In embodiments of the present invention, the priority includes but is not limited to the first priority, the second priority.It is exemplary Ground, for navigation-related application (such as Baidu map, by bus net etc.), its priority is the first priority;For except with The remaining applications (such as social software, including but not limited to QQ, microblogging, wechat etc.) navigated outside related application, its is excellent First level is the second priority.The current status information of the intelligent terminal includes but is not limited to put out screen state, bright screen state.This hair Bright embodiment calls GPS location there is provided different application previously according to priority under same intelligent terminal status information The mode of function, and same application call the mode of GPS location function under different intelligent terminal's status information.
The control module 42 also includes:
First control unit 421, for being bright screen state and the application in the current status information of the intelligent terminal When the priority of program is the first priority, start the GPS location function, and set the GPS location function to be in normally opened State.
Second control unit 422, for being bright screen state and the application in the current status information of the intelligent terminal When the priority of program is the second priority, or the current status information of the intelligent terminal for put out screen state and it is described should When with the priority of program being the first priority, start the GPS location function, and described in closing when meeting preparatory condition GPS location function.
3rd control unit 423, for putting out screen state and the application in the current status information of the intelligent terminal When the priority of program is the second priority, GPS location function described in No starting.
Exemplarily, when application program is navigation-related application (such as Baidu map, by bus net etc.), and in intelligence Terminal calls GPS location function when being in bright screen state, now, starts the GPS location function, and set the GPS location Function is in normally open, to cause the navigation-related application to obtain in real time and update intelligent terminal such as on map Current positional information.When application program is remaining applications (such as social software, the bag in addition to navigation-related application Include but be not limited to QQ, microblogging, wechat etc.), and GPS location function is called when intelligent terminal is in bright screen state, now, start The GPS location function, and the GPS location function is closed when meeting preparatory condition, efficiently solve application program with The problem of intelligent terminal power consumption is big caused by meaning calling GPS;Further, if the remaining applications are at intelligent terminal When GPS location function is called when screen state is put out, then GPS location function described in No starting, so as to prevent malicious application journey Sequence improves the security of GPS calling by calling GPS location function to steal the individual privacy of user.
Further, second control unit 422 includes:
Promoter unit 4221, for opening the GPS location function, believed with obtaining the current position of the intelligent terminal Breath.
Subelement 4222 is closed, if the position letter current for getting the intelligent terminal in preset time range Breath, closes the GPS location function, otherwise, the GPS location function is closed after preset time arrival.
In embodiments of the present invention, increase is provided with a preset time, and the preset time is set according to network transmission speed It is fixed, preferably 1min.In application program be the first priority (such as navigation-related application program) and intelligent terminal is in Screen state is put out, or when the application program is the second priority (such as application in addition to navigation-related application program) And intelligent terminal is in bright screen state, then GPS location function is opened, and getting the positional information of intelligent terminal or pre- If the time closes the GPS location function after reaching;So as to solve intelligent terminal caused by arbitrarily calling GPS location function The problem of power consumption is big, it is therefore prevented that it is long-term to call GPS location function, effectively save the electricity of intelligent terminal.
Preferably, the 3rd control unit 423 includes:
No starting subelement 4231, for forbidding opening the GPS location function.
Subelement 4232 is prompted, enters bright screen shape from screen state is put out for recording the application program, and in intelligent terminal After state, prompt message is ejected.
Wherein, it may be malicious application that the prompt message, which includes the application program,.To remind user to enter in time Row software upgrading or antivirus;Malicious application is prevented to call GPS location function to steal in the case of user is unwitting The individual privacy of user, it is effectively improved the security of GPS location funcall.
It should be noted that the device in the embodiment of the present invention can be used for realizing whole skills in above method embodiment Art scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and it is implemented Process can refer to the associated description in above-described embodiment, and here is omitted.
The embodiment of the present invention adds the control to application call GPS, whenever detecting that application call GPS determines During bit function, the precedence information of the current status information of intelligent terminal and the application program is obtained;According to the intelligence The precedence information of the current status information of terminal and the application program controls the startup of the GPS location function;So as to The mode that dynamic adjusts application call GPS location function is realized, avoids GPS location function from being chronically at opening, Efficiently solve the problem of causing intelligent terminal power consumption big when existing application arbitrarily calls GPS location function, Yi Jifang Stop the individual privacy that malicious application calls GPS location function to steal user, improve the safety of GPS location funcall Property.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (8)

1. a kind of method that control GPS is called, it is characterised in that methods described includes:
When detecting application call GPS location function, the current status information of intelligent terminal and the application are obtained The precedence information of program;
The GPS location is controlled according to the precedence information of the current status information of the intelligent terminal and the application program The startup of function;
The precedence information of the status information current according to the intelligent terminal and the application program controls the GPS The startup of positioning function includes:
It is the second priority in the priority that the current status information of the intelligent terminal is bright screen state and the application program When, or in the current status information of the intelligent terminal be that to put out the priority of screen state and the application program be first preferential During level, start the GPS location function, and the GPS location function is closed when meeting preparatory condition.
2. the method that control GPS is called as claimed in claim 1, it is characterised in that described current according to the intelligent terminal Status information and the precedence information of the application program control the startup of the GPS location function to include:
It is the first priority in the priority that the current status information of the intelligent terminal is bright screen state and the application program When, start the GPS location function, and set the GPS location function to be in normally open.
3. the method that control GPS is called as claimed in claim 1, it is characterised in that described to be closed when meeting preparatory condition The GPS location function includes:
If getting the current positional information of the intelligent terminal in preset time, the GPS location function is closed, it is no Then, the GPS location function is closed after preset time arrival.
4. the method that control GPS is called as claimed in claim 1, it is characterised in that described current according to the intelligent terminal Status information and the precedence information of the application program control the startup of the GPS location function to include:
It is that to put out the priority of screen state and the application program be the second priority in the current status information of the intelligent terminal When, GPS location function described in No starting.
5. the device that a kind of control GPS is called, it is characterised in that described device includes:
Acquisition module, for when detecting application call GPS location function, obtaining the current status information of intelligent terminal And the precedence information of the application program;
Control module, for the precedence information control according to the current status information of the intelligent terminal and the application program Make the startup of the GPS location function;
The control module includes:
Second control unit, for being the excellent of bright screen state and the application program in the current status information of the intelligent terminal When first level is the second priority, or in the current status information of the intelligent terminal it is to put out screen state and the application program When priority is the first priority, start the GPS location function, and the GPS location work(is closed when meeting preparatory condition Energy.
6. the device that control GPS is called as claimed in claim 5, it is characterised in that the control module includes:
First control unit, for being the excellent of bright screen state and the application program in the current status information of the intelligent terminal When first level is the first priority, start the GPS location function, and set the GPS location function to be in normally open.
7. the device that control GPS is called as claimed in claim 5, it is characterised in that second control unit includes:
Promoter unit, for opening the GPS location function, to obtain the current positional information of the intelligent terminal;
Subelement is closed, if the positional information current for getting the intelligent terminal in preset time, closes the GPS Positioning function, otherwise, the GPS location function is closed after preset time arrival.
8. the device that control GPS is called as claimed in claim 5, it is characterised in that the control module also includes:
3rd control unit, for being put out screen state and the application program excellent in the current status information of the intelligent terminal When first level is the second priority, GPS location function described in No starting.
CN201510209714.8A 2015-04-27 2015-04-27 The method and device for controlling GPS to call Active CN104793995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510209714.8A CN104793995B (en) 2015-04-27 2015-04-27 The method and device for controlling GPS to call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510209714.8A CN104793995B (en) 2015-04-27 2015-04-27 The method and device for controlling GPS to call

Publications (2)

Publication Number Publication Date
CN104793995A CN104793995A (en) 2015-07-22
CN104793995B true CN104793995B (en) 2017-11-10

Family

ID=53558808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510209714.8A Active CN104793995B (en) 2015-04-27 2015-04-27 The method and device for controlling GPS to call

Country Status (1)

Country Link
CN (1) CN104793995B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102416549B1 (en) * 2015-08-12 2022-07-04 삼성전자주식회사 A method for managing an application and an electronic device therefor
CN105550204A (en) * 2015-12-01 2016-05-04 小米科技有限责任公司 Method and device for controlling position locating module
CN105553963B (en) * 2015-12-10 2019-11-29 小米科技有限责任公司 The control method and device of positioning service
CN105573470A (en) * 2015-12-14 2016-05-11 广东欧珀移动通信有限公司 Method and apparatus for closing GPS positioning request of background program according to access time
CN105554104B (en) * 2015-12-14 2018-12-11 广东欧珀移动通信有限公司 According to GPS satellite number bolt down procedure running background method and device
EP3419348B1 (en) 2016-03-18 2020-11-18 Huawei Technologies Co., Ltd. Terminal device and method for processing positioning information for terminal device
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal positioning mode selection method and device
CN105955073A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Automatic starting method, system and mobile intelligent devices for satellite positioning device
CN105960004B (en) * 2016-06-30 2020-04-07 宇龙计算机通信科技(深圳)有限公司 Mobile terminal positioning function control method and mobile terminal
CN106102011A (en) * 2016-07-29 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of terminal positioning processes
CN106231563A (en) * 2016-09-29 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of reduce the method for power consumption, device and terminal
CN107884796A (en) * 2016-09-30 2018-04-06 中兴通讯股份有限公司 A kind of global positioning system location processing method and terminal
CN106572442A (en) * 2016-10-28 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Positioning method, positioning device and mobile terminal
CN108170484A (en) * 2016-12-05 2018-06-15 中兴通讯股份有限公司 A kind of control method and device
CN106888432A (en) * 2017-01-23 2017-06-23 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN106872996B (en) * 2017-01-23 2020-02-14 北京安云世纪科技有限公司 Method and device for optimizing performance of positioning system and mobile terminal
CN106851801B (en) * 2017-01-23 2019-11-26 北京安云世纪科技有限公司 Optimization method, device and the mobile terminal of positioning system performance
CN106878945B (en) * 2017-01-23 2019-11-26 北京安云世纪科技有限公司 Optimization method, device and the mobile terminal of positioning system performance
CN107015244A (en) * 2017-03-23 2017-08-04 北京珠穆朗玛移动通信有限公司 GPS control methods and mobile terminal
CN107040979B (en) * 2017-03-23 2020-05-19 北京珠穆朗玛移动通信有限公司 Control method of functional module and mobile terminal
CN107368175B (en) * 2017-07-03 2023-07-04 北京小米移动软件有限公司 Processing method and device for reducing terminal power consumption and terminal
CN108156313B (en) * 2017-12-13 2019-12-31 Oppo广东移动通信有限公司 Positioning control method and device, storage medium and terminal equipment
CN108829228A (en) * 2018-06-01 2018-11-16 Oppo(重庆)智能科技有限公司 Positioning function control method, mobile terminal and computer readable storage medium
CN110855838A (en) * 2019-11-22 2020-02-28 RealMe重庆移动通信有限公司 Positioning service control method, positioning service control device, mobile terminal and storage medium
CN111428262B (en) * 2020-03-03 2024-01-09 Oppo广东移动通信有限公司 Positioning application monitoring method and device, electronic equipment and storage medium
CN112153571A (en) * 2020-09-18 2020-12-29 浪潮电子信息产业股份有限公司 Electronic equipment and equipment retrieval system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136472A (en) * 2011-11-29 2013-06-05 腾讯科技(深圳)有限公司 Method and mobile device of stopping application program to steal privacy
CN103424756A (en) * 2012-05-24 2013-12-04 Lg电子株式会社 Mobile terminal and GPS engine control method thereof
CN103596252A (en) * 2013-11-28 2014-02-19 贝壳网际(北京)安全技术有限公司 Method and device for controlling mobile terminal and mobile terminal
CN103905653A (en) * 2014-03-24 2014-07-02 小米科技有限责任公司 Mobile equipment data service control method and device
CN104460935A (en) * 2013-09-18 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003211B2 (en) * 2007-03-20 2015-04-07 Power Assure, Inc. Method and apparatus for holistic power management to dynamically and automatically turn servers, network equipment and facility components on and off inside and across multiple data centers based on a variety of parameters without violating existing service levels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136472A (en) * 2011-11-29 2013-06-05 腾讯科技(深圳)有限公司 Method and mobile device of stopping application program to steal privacy
CN103424756A (en) * 2012-05-24 2013-12-04 Lg电子株式会社 Mobile terminal and GPS engine control method thereof
CN104460935A (en) * 2013-09-18 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN103596252A (en) * 2013-11-28 2014-02-19 贝壳网际(北京)安全技术有限公司 Method and device for controlling mobile terminal and mobile terminal
CN103905653A (en) * 2014-03-24 2014-07-02 小米科技有限责任公司 Mobile equipment data service control method and device

Also Published As

Publication number Publication date
CN104793995A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104793995B (en) The method and device for controlling GPS to call
CN104461749B (en) A kind of application program synchronous method, sychronisation and the terminal of multisystem terminal
CN104657213B (en) Using the method and terminal of switching between a kind of system
CN103679007B (en) A kind of manage the method for application program authority, device and mobile device
EP3270619B1 (en) Network connection control method and system for mobile terminal
CN104516806B (en) The testing result methods of exhibiting and system of the power consumption information of mobile terminal
CN104134036B (en) Method and device for obtaining Root permission
CN104020999B (en) A kind of management method of application program and system
CN102508701A (en) User terminal and method for controlling automatically-operating application program
CN104346137B (en) A kind of management method, system and the computer readable storage medium of application networking
CN104601818B (en) A kind of method and device of the switching operating system in communication process
CN108650391A (en) A kind of display methods and terminal of caller id information
CN104182704A (en) Safety strategy setting method, safety strategy setting device and terminal
CN108023805A (en) The collocation method and device of interaction authority
CN105704758A (en) Method and device of closing social applications based on flow monitoring
CN106528386A (en) Control method of application broadcast and terminal
CN103220392A (en) Method and device for automatically recording sound as well as mobile terminal
CN108279765A (en) The method for managing power supply and mobile device of mobile device
CN108810949A (en) A kind of processing method and terminal of management and control wifi hotspot
CN108196960A (en) A kind of management-control method of application, terminal and storage medium
CN105934933A (en) Method for preventing loss of terminal, and terminal
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium
CN105611046A (en) Strategy customization-based Android mobile phone security protection system and protection method thereof
CN103631643B (en) A kind of application program networking control method and system
CN105607727B (en) Information display method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP03 Change of name, title or address