CN106060907A - Positioning module control method and terminal - Google Patents
Positioning module control method and terminal Download PDFInfo
- Publication number
- CN106060907A CN106060907A CN201610352961.8A CN201610352961A CN106060907A CN 106060907 A CN106060907 A CN 106060907A CN 201610352961 A CN201610352961 A CN 201610352961A CN 106060907 A CN106060907 A CN 106060907A
- Authority
- CN
- China
- Prior art keywords
- terminal
- locating module
- base station
- described terminal
- module
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
- H04W52/028—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
Embodiments of the invention provide a positioning module control method and a terminal. The method comprises the steps as follows: a terminal detects whether a base station to which the terminal is connected changes; and if the terminal detects that the base station to which the terminal is connected does not change in a first specified duration, the terminal closes a positioning module or closes the function of the positioning module to interrupt to awaken an application processor of the terminal. According to the embodiments of the invention, the terminal controls the positioning module and the function of the positioning module to interrupt to awaken the application processor according to whether the base station to which the terminal is connected changes or not, and the terminal automatically closes the positioning module if the base station to which the terminal is connected does not change, so that the positioning module neither needs to awaken the application processor frequently nor needs to perform a positioning operation frequently. Therefore, the power consumption of the terminal is reduced, and the standby time of the terminal is prolonged.
Description
Technical field
The present invention relates to communication technical field, particularly relate to control method and the terminal of a kind of locating module.
Background technology
Along with popularizing of terminal, user is more and more higher to the requirement of terminal, and terminal needs to arrange locating module, visits for needs
Ask that the application of the geographical location information of terminal provides geographical location information.
During realizing the present invention, inventor finds to there is techniques below problem in prior art:
In prior art, after user opens locating module, will not actively close locating module, or forget to close location
Module.So, when locating module is in opening, can use interrupts to wake up up the application processor of terminal frequently, and hold
Row positioning action, causes power consumption of terminal to increase, and shortens terminal standby cruising time.
[summary of the invention]
In view of this, embodiments provide a kind of locating module control method and terminal, specify duration first
When the base station that interior terminal is accessed does not changes, the locating module closed a terminal or close described locating module and interrupt calling out
The function of application processor of described terminal of waking up, decreases power consumption of terminal, adds terminal standby cruising time.
First aspect, embodiments provides the control method of a kind of locating module, and wherein, described method includes:
Whether the base station that the described terminal of terminal detection is accessed changes;
If detecting, the base station that described terminal is accessed in the first appointment duration does not change, and described terminal is closed
Described locating module or close described locating module and interrupt waking up up the function of application processor of described terminal.
In conjunction with first aspect, embodiments provide the first possible implementation of first aspect, wherein, institute
State terminal and detect whether the base station accessed of described terminal changes, including:
Described terminal receives the information carrying Base Station Identification that described base station sends;
The Base Station Identification carried in the information that described Base Station Identification and last time are received by described terminal contrasts;
If described Base Station Identification is consistent with the Base Station Identification carried in the information that the last time receives, described terminal detects
The base station that described terminal is accessed does not changes;
If the Base Station Identification carried in the information that described Base Station Identification and last time receive is inconsistent, described terminal detects
The base station accessed to described terminal changes.
In conjunction with the first possible implementation of first aspect or first aspect, embodiments provide first
The implementation that the second of aspect is possible, wherein said method also includes:
If detecting, the base station that described terminal is accessed in the first appointment duration changes, and described terminal keeps described
Locating module or described locating module interrupt waking up up the opening of the function of the application processor of described terminal.
In conjunction with the implementation that the first or the second of first aspect are possible, embodiments provide first party
The third possible implementation in face, wherein, described terminal is closed described locating module or closes in described locating module
After the function of the disconnected application processor waking up described terminal up, described method also includes:
Whether the base station that the described terminal of described terminal detection is accessed changes, if detecting in first specifies duration
The base station that described terminal is accessed changes, the last time interval opening described locating module of described terminal judges distance
Whether reach the second appointment duration;
If the last time interval opening described locating module of distance reaches described second and specifies duration, described terminal
Open described locating module.
In conjunction with the implementation that the first or the second of first aspect are possible, embodiments provide first party
The 4th kind of possible implementation in face, wherein said terminal is closed described locating module or closes the interruption of described locating module
After the function of the application processor waking up described terminal up, described method also includes:
Whether the base station that the described terminal of described terminal detection is accessed changes, if detecting in first specifies duration
The base station that described terminal is accessed changes, and the described terminal judges distance described locating module of last unlatching interrupts waking up institute up
Whether the time interval of the function stating the application processor of terminal reaches the 3rd appointment duration;
If distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between interval reach described 3rd specify duration, described terminal open described locating module interrupt wake up up described terminal application process
The function of device.
In conjunction with the third possible implementation of first aspect, embodiments provide the 5th kind of first aspect
Possible implementation, wherein, described method also includes:
If the last time interval opening described locating module of distance is not up to described second and specifies duration, described end
End keeps the closed mode of described locating module, until the last time interval opening described locating module of distance reaches described
During the second appointment duration, open described locating module.
In conjunction with the 4th kind of possible implementation of first aspect, embodiments provide the 6th kind of first aspect
Possible implementation, wherein, described method also includes:
If distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between interval the not up to the most described 3rd specify duration, described terminal keeps what described locating module interrupted waking up up described terminal to answer use
The closed mode of the function of reason device, until the application that the distance described locating module of last unlatching interrupts waking up up described terminal processes
When the time interval of the function of device reaches described 3rd appointment duration, open described locating module and interrupt waking up answering of described terminal up
By the function of processor.
Second aspect, embodiments provides a kind of terminal, and wherein, described terminal includes:
Detection module, whether the base station accessed for detecting described terminal changes;
Control module, for detecting, at described detection module, the base station that described terminal is accessed in the first appointment duration
When not changing, close described locating module or close described locating module interrupt wake up up described terminal application process
The function of device.
In conjunction with second aspect, embodiments provide the first possible implementation of second aspect, wherein, institute
State detection module, specifically for:
Receive the information carrying Base Station Identification that described base station sends;
The Base Station Identification carried in the information described Base Station Identification and last time are received contrasts;
If described Base Station Identification is consistent with the Base Station Identification carried in the information that the last time receives, described terminal detected
The base station accessed does not changes;
If the Base Station Identification carried in the information that described Base Station Identification and last time receive is inconsistent, described end detected
The base station that end is accessed changes.
In conjunction with the first possible implementation of second aspect or second aspect, embodiments provide second
The implementation that the second of aspect is possible, wherein, described control module, it is additionally operable to:
When described detection module detects that the base station that described terminal is accessed in the first appointment duration changes, protect
Hold described locating module or described locating module and interrupt waking up up the opening of the function of the application processor of described terminal.
In conjunction with the first possible implementation of second aspect or second aspect, embodiments provide second
The third possible implementation of aspect, wherein, described control module is closed described locating module or closes described location
After the function of the application processor that modules interrupts wakes up described terminal up, described detection module, it is additionally operable to: detect described terminal institute
Whether the base station accessed changes, if detecting, the base station that described terminal is accessed in the first appointment duration changes,
The judging distance last time opens whether the time interval of described locating module reaches the second appointment duration;
Described control module, if being additionally operable to described detection module the distance described locating module of last unlatching to be detected
Time interval reaches described second and specifies duration, opens described locating module.
In conjunction with the first possible implementation of second aspect or second aspect, embodiments provide second
4th kind of possible implementation of aspect, wherein, described control module is closed described locating module or closes described location
After the function of the application processor that modules interrupts wakes up described terminal up, described detection module, it is additionally operable to: detect described terminal institute
Whether the base station accessed changes, if detecting, the base station that described terminal is accessed in the first appointment duration changes,
The described locating module of judging distance last time unlatching interrupts waking up up the time interval of the function of the application processor of described terminal
No reach the 3rd appointment duration;
Described control module, detects in the distance described locating module of last unlatching if being additionally operable to described detection module
The time interval of the function of the disconnected application processor waking up described terminal up reaches the described 3rd and specifies duration, and described opening module is opened
Open described locating module and interrupt waking up up the function of the application processor of described terminal.
In conjunction with the third possible implementation of second aspect, embodiments provide the 5th kind of second aspect
Possible implementation, wherein, described control module, it is additionally operable to:
If described detection module detects distance, the last time interval opening described locating module is not up to described
Second specifies duration, and described opening module keeps the closed mode of described locating module, and it is described fixed to open until the distance last time
When the time interval of position module reaches described second appointment duration, open described locating module.
In conjunction with the 4th kind of possible implementation of second aspect, embodiments provide the 6th kind of second aspect
Possible implementation, wherein, described control module, it is additionally operable to:
If distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between interval the not up to the most described 3rd specify duration, what described opening module kept that described locating module interrupts waking up up described terminal should
By the closed mode of processor function, until distance last open that described locating module interrupts waking up up described terminal answer use
When the time interval of the function of reason device reaches described 3rd appointment, open described locating module and interrupt waking up up the application of described terminal
The function of processor.
In the control method of a kind of locating module that the embodiment of the present invention provides and terminal, with prior art, locating module
When being in opening, use interrupts to wake up up the application processor of terminal frequently, and perform positioning action, cause terminal merit
Consumption increases, and the problem shortening terminal standby cruising time is compared, the embodiment of the present invention, and terminal is specified in duration eventually according to first
Whether the base station that end is accessed changes, and the function that locating module and locating module interrupt waking up up application processor is carried out
Control, when the base station that terminal is accessed in the first appointment duration does not change, automatically locating module is closed, with
And close the function that the interruption of described locating module wakes up the application processor of described terminal up, thus avoid locating module and frequently call out
Wake up application processor, it is to avoid locating module frequently executes positioning action, therefore decreases power consumption of terminal, extends terminal standby
Cruising time.
[accompanying drawing explanation]
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by embodiment required use attached
Figure is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for this area
From the point of view of those of ordinary skill, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
Fig. 1 shows the flow chart of the control method of a kind of locating module provided in the embodiment of the present invention;
Fig. 2 shows the structure chart of a kind of terminal provided in the embodiment of the present invention.
[detailed description of the invention]
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail
State.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under not making creative work premise all its
Its embodiment, broadly falls into the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for describing the purpose of specific embodiment, and is not intended to be limiting
The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims
It is also intended to include most form, unless context clearly shows that other implications.
Should be appreciated that term "and/or" used herein is only a kind of incidence relation describing affiliated partner, represent
Three kinds of relations, such as, A and/or B can be there are, can represent: individualism A, there is A and B, individualism B these three simultaneously
Situation.It addition, character "/" herein, typically represent forward-backward correlation to as if the relation of a kind of "or".
Although should be appreciated that when possible employing term first, second, third, etc. are to describe appointment in embodiments of the present invention
Long, but these specify duration to should not necessarily be limited by these terms.These terms are only used for appointment duration is distinguished from each other out.Such as, exist
In the case of range of embodiment of the invention, first specifies duration can also be referred to as the second appointment duration, similarly, the
Two specify duration can also be referred to as the first appointment duration.
It addition, the word used in embodiments of the present invention " if " can be construed to " ... time " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if it is determined that " or " as
Fruit detection (condition of statement or event) " " when determining " or " in response to determining " can be construed to or " when detection (statement
Condition or event) time " or " in response to detection (condition of statement or event) ".
Embodiment one
As it is shown in figure 1, the flow chart of control method of a kind of locating module provided for the embodiment of the present invention, the method bag
Include following steps:
Step 101, terminal detect whether the base station that this terminal accessed changes.
It should be noted that terminal is provided with locating module, for for needing answering of the geographical location information of access terminal
With providing geographical location information.
Wherein, after terminal starts, there is information mutual between terminal and the base station of access, terminal receives what base station sent
Can carry the information of Base Station Identification in information, the Base Station Identification carried in the information that this is received by terminal receives with last
To information in the Base Station Identification that carries contrast, if the base carried in this Base Station Identification and the last information received
Station identifications is consistent, then terminal detects that the base station self accessed does not changes;If this Base Station Identification connect with the last time
The Base Station Identification carried in the information received is inconsistent, and terminal detects that the base station that described terminal is accessed changes.
Such as, after terminal receives the information that base station A sends, Base Station Identification A and the last time will carried in this information
Receive the Base Station Identification carried in the information that terminal receives to contrast, if the base station carried in this information received for twice
Mark is all A, then the information that the terminal last time receives also is sent by base station A, i.e. terminal detects what self was accessed
Base station is A, does not change.If the last Base Station Identification carried in the information that terminal receives that receives is not A, then terminal
The information that last time receives does not has base station A to send, i.e. terminal detects that the base station self accessed there occurs change, eventually
End there occurs that base station switches.
It should be noted that the geographical position of terminal is different, different base stations can be accessed, if a terminal detects that accessed
Base station change, then the geographical position of terminal necessarily there occurs change.
If step 102 detects that the base station that above-mentioned terminal is accessed in the first appointment duration does not change, described
Terminal is closed described locating module or closes the function that the interruption of described locating module wakes up the application processor of described terminal up.
It should be noted that the embodiment of the present invention is applied in the case of the locating module of terminal opened by user,
After terminal opens locating module according to the instruction of user, in first specifies duration, detect what above-mentioned terminal was accessed
Base station does not change, then close the locating module of this terminal, or close this end of locating module terminal wake-up of this terminal
The function of the application processor of end.
Such as, when first specifies a length of 60 seconds, then, when locating module is in opening, terminal detects institute in 60 seconds
The base station accessed is when changing, then close this locating module, or closes described locating module and interrupt waking up described end up
The function of the application processor of end.
It should be noted that when the locating module of terminal is in opening there is interruption and wake up application processor up
The function of (Application Processor, AP) a, i.e. interrupting information can be produced frequently, and utilize this interrupting information
Wake up application processor up, to perform positioning action.If in first specifies duration, the base station that terminal is accessed does not changes
Becoming, then may determine that terminal does not exists or only exists the geographical position of little scope and move, in this case, terminal is by closing
Locating module, or the interruption closing locating module wakes up the function of application processor up, can reach to reduce locating module and interrupt calling out
The purpose of awake application processor, and do not interfere with the location in the geographical position of self.
In the embodiment of the present invention, whether the base station that the described terminal of terminal detection is accessed changes;If detecting
The base station that in one appointment duration, described terminal is accessed does not changes, and described terminal closes described locating module or closedown
Described locating module interrupts waking up up the function of the application processor of described terminal.In terminal specifies duration according to first, terminal is connect
Whether the base station entered changes, and the function that locating module and locating module interrupt waking up up application processor is controlled,
When the base station that terminal is accessed in the first appointment duration does not change, automatically locating module is closed, Yi Jiguan
Close described locating module and interrupt waking up up the function of application processor of described terminal, thus avoid that locating module frequently wakes up up should
With processor, it is to avoid locating module frequently executes positioning action, therefore decreases power consumption of terminal, extend terminal standby continuation of the journey
Time.
Further, the embodiment of the present invention can also include: if terminal detects described terminal in the first appointment duration
The base station accessed changes, and described terminal keeps described locating module or described locating module to interrupt waking up described terminal up
The opening of function of application processor.
It should be noted that the embodiment of the present invention is applied in the case of the locating module of terminal opened by user,
In first specifies duration, when above-mentioned terminal detects that the base station self accessed changes, then keep described locating module
Opening or keep described locating module to interrupt waking up up the opening of function of the application processor of described terminal, this
Sample, terminal can perform positioning action.
Such as, when first specify time a length of 60 seconds, then after the locating module of terminal is opened by user, if at 60 seconds
In, the base station that terminal is accessed changes, then described in be held in position the opening of module or keep described locating module
Interrupt waking up up the opening of the function of the application processor of described terminal, and perform positioning action.
If it should be noted that and detecting that the base station that described terminal is accessed in the first appointment duration changes, then
May determine that terminal exists geographical position and moves, in this case, terminal opens locating module, or opens in locating module
The disconnected function waking up application processor up, updates the geographical position of self.
When the base station that described terminal is accessed in the first appointment duration changes, it is held in position module or location mould
The interruption of block wakes up the opening of the function of application processor up, occurs according to the base station that terminal in the first appointment duration is accessed
Change, automatically locating module is controlled, makes terminal in time the address location of self be updated, do not affecting terminal
While the location in geographical position, decrease power consumption of terminal, extend terminal standby cruising time, improve Consumer's Experience.
Further, the time of locating module opened in terminal record every time, according to the described locating module of double unlatching
Time interval whether reach the second appointment duration, open locating module.
When terminal close described locating module or close described locating module interrupt wake up up described terminal application process
After the function of device, whether the base station that the terminal continuation described terminal of detection is accessed changes, if detecting and specifying first
The base station that in duration, described terminal is accessed changes, described terminal judges distance is last open described locating module time
Between be spaced whether reach the second appointment duration;If the last time interval opening described locating module of distance reaches described the
Two specify duration, and described terminal opens described locating module.
Concrete, the base station that described terminal is accessed in terminal is according to the first appointment duration does not change,
Close locating module or close described locating module interrupt wake up described terminal up application processor function in the case of,
Whether the base station that continuation detection terminal is accessed changes, if be detected that terminal is connect in next first specifies duration
The base station entered changes, then whether the last time interval opening described locating module of terminal judges distance reaches described the
Two specify duration, if it is, described terminal opens described locating module.
Such as, after the locating module of terminal is opened by user, the moment that terminal record location module is opened, at first
Specifying duration in 60 seconds, terminal detects that the base station self accessed does not changes, then close locating module or closedown
Locating module interrupts waking up up the function of the application processor of terminal, if in next first specifies duration 60 seconds, terminal is examined
Measure the base station self accessed to change, then determine whether whether the last time interval opening locating module of distance reaches
Duration is specified 90 seconds, if it is, terminal opens locating module to second.
If the last time interval opening described locating module of distance is not up to described second and specifies duration, described end
End keeps the closed mode of described locating module, until the last time interval opening described locating module of distance reaches described
During the second appointment duration, open described locating module.
Such as, after the locating module of terminal is opened by user, the moment that terminal record location module is opened, at first
Specifying duration in 60 seconds, terminal detects that the base station self accessed does not changes, then close locating module or closedown
Locating module interrupts waking up up the function of the application processor of terminal, if in next first specifies duration 60 seconds, terminal is examined
Measure the base station self accessed to change, then determine whether whether the last time interval opening locating module of distance reaches
Specifying duration 90 seconds to second, if the last time interval opening locating module of distance is 70 seconds, not up to second specifies
Duration 90 seconds, then in ensuing 20 seconds, terminal is first held in position the closedown of module, determines until reaching last unlatching of distance
When the time interval of position module is 90 seconds, open locating module.
Further, terminal record is opened locating module every time and is interrupted waking up up the function of the application processor of described terminal
Time, interrupt whether waking up the time interval of the function of the application processor of described terminal up according to double unlatching locating module
Reach the 3rd appointment duration, open described locating module and interrupt waking up up the function of the application processor of described terminal.
It should be noted that the second appointment duration and the 3rd appointment duration can be equal, it is also possible to.
When terminal close described locating module or close described locating module interrupt wake up up described terminal application process
After the function of device, whether the base station that the terminal continuation described terminal of detection is accessed changes, if detecting and specifying first
The base station that in duration, described terminal is accessed changes, and described terminal judges distance is last opens the interruption of described locating module
Whether the time interval of the function waking up the application processor of described terminal up reaches the 3rd appointment duration, if the distance last time opens
Open described locating module to interrupt waking up up the time interval of function of the application processor of described terminal and reach the described 3rd when specifying
Long, described terminal opens the function that the interruption of described locating module wakes up the application processor of described terminal up.
Concrete, the base station that described terminal is accessed in terminal is according to the first appointment duration does not change,
Close locating module or close described locating module interrupt wake up described terminal up application processor function in the case of,
Whether the base station that continuation detection terminal is accessed changes, if be detected that terminal is connect in next first specifies duration
The base station entered changes, then terminal judges distance last open that described locating module interrupts waking up up described terminal answer use
The time interval of the function of reason device reaches the described 3rd and specifies duration, interrupts if it is, described terminal opens described locating module
Wake up the function of the application processor of described terminal up.
Such as, after the locating module of terminal is opened by user, terminal record is opened locating module and is interrupted waking up described end up
In the moment of the function of the application processor of end, in first is specified duration 60 seconds, terminal detects the base station self accessed
Do not change, then close locating module or close the function that locating module interruption wakes up the application processor of terminal up, as
Fruit is in next first specifies duration 60 seconds, and terminal detects that the base station self accessed changes, then determine whether away from
Whether the time interval interrupting waking up up the function of the application processor of described terminal from last time unlatching locating module reaches the 3rd
Specify duration 90 seconds, if it is, terminal opens locating module interrupts waking up up the function of the application processor of described terminal.
If distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between interval the not up to the most described 3rd specify duration, described terminal keeps what described locating module interrupted waking up up described terminal to answer use
The closed mode of the function of reason device, until the application that the distance described locating module of last unlatching interrupts waking up up described terminal processes
When the time interval of the function of device reaches described 3rd appointment duration, open described locating module and interrupt waking up answering of described terminal up
By the function of processor.
Such as, after the locating module of terminal is opened by user, the moment that terminal record location module is opened, at first
Specifying duration in 60 seconds, terminal detects that the base station self accessed does not changes, then close locating module or closedown
Locating module interrupts waking up up the function of the application processor of terminal, if in next first specifies duration 60 seconds, terminal is examined
Measure the base station self accessed to change, then determine whether that the last unlatching of distance described locating module interruption wakes up up described
Whether the time interval of the function of the application processor of terminal reaches the 3rd appointment duration 90 seconds, if last unlatching of distance is determined
The time interval of position module is 70 seconds, and the not up to the 3rd specifies duration 90 seconds, then in ensuing 20 seconds, terminal first keeps fixed
Position modules interrupts wakes up the closed mode of the function of the application processor of terminal up, until reaching distance last unlatching locating module
When the time interval of the function that interruption wakes up the application processor of terminal up is 90 seconds, opens locating module and interrupt waking up answering of terminal up
By the function of processor.
In above-described embodiment, when whether reaching the second appointment according to the time interval of the described locating module of double unlatching
Long, open locating module, or interrupt waking up up the application processor of described terminal according to double unlatching locating module
Whether the time interval of function reaches the 3rd appointment duration, and that opens that described locating module interrupts waking up described terminal up answers use
The function of reason device.Avoid terminal and locating module or locating module interrupt waking up up the application processor of described terminal frequently
Being turned on and off of function, decrease power consumption of terminal, extend terminal standby cruising time.
Embodiment 2
As in figure 2 it is shown, the structure chart of a kind of terminal provided for the embodiment of the present invention, wherein, described terminal includes:
Detection module 21, whether the base station accessed for detecting described terminal changes;
Control module 22, for detecting, at described detection module, the base that described terminal is accessed in the first appointment duration
Stand when not changing, close described locating module or close that described locating module interrupts waking up up described terminal answer use
The function of reason device.
Wherein, described detection module 21, specifically for:
Receive the information carrying Base Station Identification that described base station sends;
The Base Station Identification carried in the information described Base Station Identification and last time are received contrasts;
If described Base Station Identification is consistent with the Base Station Identification carried in the information that the last time receives, described terminal detected
The base station accessed does not changes;
If the Base Station Identification carried in the information that described Base Station Identification and last time receive is inconsistent, described end detected
The base station that end is accessed changes.
Described control module 22, is additionally operable to: described terminal institute in the first appointment duration detected at described detection module
The base station accessed is when changing, and keeps what described locating module or described locating module interrupted waking up up described terminal to answer use
The opening of the function of reason device.
Wherein, described control module 22 close described locating module or close described locating module interrupt wake up described end up
After the function of the application processor of end, described detection module 21, it is additionally operable to: detect whether the base station that described terminal accessed is sent out
Raw change, if detecting, the base station that described terminal is accessed in the first appointment duration changes, it is judged that the distance last time opens
Whether the time interval opening described locating module reaches the second appointment duration;
Described control module 22, if being additionally operable to described detection module the distance described locating module of last unlatching to be detected
Time interval reach described second specify duration, open described locating module.
Wherein, described control module 22 close described locating module or close described locating module interrupt wake up described end up
After the function of the application processor of end, described detection module 21, it is additionally operable to: detect whether the base station that described terminal accessed is sent out
Raw change, if detecting, the base station that described terminal is accessed in the first appointment duration changes, it is judged that the distance last time opens
Open described locating module and interrupt waking up up the time interval of function of the application processor of described terminal when whether reaching the 3rd appointment
Long;
Described control module 22, if being additionally operable to described detection module the distance described locating module of last unlatching to be detected
The time interval interrupting waking up up the function of the application processor of described terminal reaches described 3rd appointment duration, described opening module
Open described locating module and interrupt waking up up the function of the application processor of described terminal.
Wherein, described control module 22, it is additionally operable to:
If described detection module detects distance, the last time interval opening described locating module is not up to described
Second specifies duration, and described opening module keeps the closed mode of described locating module, and it is described fixed to open until the distance last time
When the time interval of position module reaches described second appointment duration, open described locating module.
Described control module 22, is additionally operable to:
If distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between interval the not up to the most described 3rd specify duration, what described opening module kept that described locating module interrupts waking up up described terminal should
By the closed mode of processor function, until distance last open that described locating module interrupts waking up up described terminal answer use
When the time interval of the function of reason device reaches described 3rd appointment, open described locating module and interrupt waking up up the application of described terminal
The function of processor.
In the embodiment of the present invention, whether the base station that the described terminal of terminal detection is accessed changes;If detecting
The base station that in one appointment duration, described terminal is accessed does not changes, and described terminal closes described locating module or closedown
Described locating module interrupts waking up up the function of the application processor of described terminal.In terminal specifies duration according to first, terminal is connect
Whether the base station entered changes, and the function that locating module and locating module interrupt waking up up application processor is controlled,
When the base station that terminal is accessed in the first appointment duration does not change, automatically locating module is closed, Yi Jiguan
Close described locating module and interrupt waking up up the function of application processor of described terminal, thus avoid that locating module frequently wakes up up should
With processor, it is to avoid locating module frequently executes positioning action, therefore decreases power consumption of terminal, extend terminal standby continuation of the journey
Time.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, such as, multiple unit or group when realizing
Part can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown
Or the coupling each other discussed or direct-coupling or communication connection can be indirect by some interfaces, device or unit
Coupling or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer
Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each
The part steps of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various
The medium of program code can be stored.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.
Claims (14)
1. the control method of a locating module, it is characterised in that described method includes:
Whether the base station that the described terminal of terminal detection is accessed changes;
If detecting, the base station that described terminal is accessed in the first appointment duration does not change, and described terminal is closed described
Locating module or close described locating module and interrupt waking up up the function of application processor of described terminal.
2. the method for claim 1, it is characterised in that whether the base station that the described terminal of described terminal detection is accessed is sent out
Raw change, including:
Described terminal receives the information carrying Base Station Identification that described base station sends;
The Base Station Identification carried in the information that described Base Station Identification and last time are received by described terminal contrasts;
If described Base Station Identification is consistent with the Base Station Identification carried in the information that the last time receives, described terminal detects described
The base station that terminal is accessed does not changes;
If the Base Station Identification carried in the information that described Base Station Identification and last time receive is inconsistent, described terminal detects institute
State the base station that terminal accessed to change.
3. method as claimed in claim 1 or 2, it is characterised in that described method also includes:
If detecting, the base station that described terminal is accessed in the first appointment duration changes, and described terminal keeps described location
Module or described locating module interrupt waking up up the opening of the function of the application processor of described terminal.
4. method as claimed in claim 1 or 2, it is characterised in that described terminal is closed described locating module or closes institute
After stating the function of the application processor that locating module interrupts waking up described terminal up, described method also includes:
Whether the base station that the described terminal of described terminal detection is accessed changes, if detecting in first specifies duration described
The base station that terminal is accessed changes, and whether the time interval of the described terminal judges distance described locating module of last unlatching
Reach the second appointment duration;
If the last time interval opening described locating module of distance reaches described second and specifies duration, described terminal is opened
Described locating module.
5. method as claimed in claim 1 or 2, it is characterised in that described terminal is closed described locating module or closes institute
After stating the function of the application processor that locating module interrupts waking up described terminal up, described method also includes:
Whether the base station that the described terminal of described terminal detection is accessed changes, if detecting in first specifies duration described
The base station that terminal is accessed changes, and the described terminal judges distance described locating module of last unlatching interrupts waking up described end up
Whether the time interval of the function of the application processor of end reaches the 3rd appointment duration;
If the distance described locating module of last unlatching interrupted between the time waking up the function of the application processor of described terminal up
Duration, described terminal unlatching described locating module interruption is specified to wake up the application processor of described terminal up every reaching the described 3rd
Function.
6. method as claimed in claim 4, it is characterised in that described method also includes:
If the last time interval opening described locating module of distance is not up to described second and specifies duration, described terminal is protected
Hold the closed mode of described locating module, until the last time interval opening described locating module of distance reaches described second
When specifying duration, open described locating module.
7. method as claimed in claim 5, it is characterised in that described method also includes:
If the distance described locating module of last unlatching interrupted between the time waking up the function of the application processor of described terminal up
Specifying duration every the most described 3rd, described terminal keeps described locating module to interrupt waking up up the application processor of described terminal
The closed mode of function, open described locating module interrupt waking up up the application processor of described terminal until distance be last
The time interval of function reaches the described 3rd when specifying duration, and that opens that described locating module interrupts waking up described terminal up answers use
The function of reason device.
8. a terminal, it is characterised in that described terminal includes:
Detection module, whether the base station accessed for detecting described terminal changes;
At described detection module, control module, for detecting that the base station that described terminal is accessed in the first appointment duration does not has
When changing, close described locating module or close described locating module and interrupt waking up up the application processor of described terminal
Function.
9. terminal as claimed in claim 8, it is characterised in that described detection module, specifically for:
Receive the information carrying Base Station Identification that described base station sends;
The Base Station Identification carried in the information described Base Station Identification and last time are received contrasts;
If described Base Station Identification is consistent with the Base Station Identification carried in the information that the last time receives, detect that described terminal is connect
The base station entered does not changes;
If the Base Station Identification carried in the information that described Base Station Identification and last time receive is inconsistent, described terminal institute detected
The base station accessed changes.
10. terminal as claimed in claim 8 or 9, it is characterised in that described control module, is additionally operable to:
When described detection module detects that the base station that described terminal is accessed in the first appointment duration changes, keep institute
State locating module or described locating module and interrupt waking up up the opening of the function of the application processor of described terminal.
11. terminals as claimed in claim 8 or 9, it is characterised in that described control module closes described locating module or pass
After closing the function of the application processor that described locating module interrupts waking up described terminal up, described detection module, it is additionally operable to: detection
Whether the base station that described terminal is accessed changes, if the base station that described terminal is accessed in the first appointment duration being detected
Change, it is judged that whether the last time interval opening described locating module of distance reaches the second appointment duration;
Described control module, if being additionally operable to described detection module the distance last time opening described locating module to be detected
Interval reaches described second and specifies duration, opens described locating module.
12. terminals as claimed in claim 8 or 9, it is characterised in that described control module closes described locating module or pass
After closing the function of the application processor that described locating module interrupts waking up described terminal up, described detection module, it is additionally operable to: detection
Whether the base station that described terminal is accessed changes, if the base station that described terminal is accessed in the first appointment duration being detected
Change, it is judged that distance is last open described locating module interrupt waking up up the application processor of described terminal function time
Between be spaced whether reach the 3rd appointment duration;
Described control module, if being additionally operable to described detection module to detect that the distance described locating module of last unlatching interrupts calling out
The time interval of the function of the application processor of described terminal of waking up reaches the described 3rd and specifies duration, and described opening module opens institute
State locating module and interrupt waking up up the function of the application processor of described terminal.
13. terminals as claimed in claim 11, it is characterised in that described control module, are additionally operable to:
If described detection module detects distance, the last time interval opening described locating module is not up to described second
Specifying duration, described opening module keeps the closed mode of described locating module, until distance is last opens described location mould
When the time interval of block reaches described second appointment duration, open described locating module.
14. terminals as claimed in claim 12, it is characterised in that described control module, are additionally operable to:
If the distance described locating module of last unlatching interrupted between the time waking up the function of the application processor of described terminal up
Specifying duration every the most described 3rd, described opening module keeps what described locating module interrupted waking up described terminal up to answer use
The closed mode of reason device function, until the distance described locating module of last unlatching interrupts waking up up the application processor of described terminal
The time interval of function reach the described 3rd when specifying, open described locating module and interrupt waking up up the application of described terminal and process
The function of device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352961.8A CN106060907A (en) | 2016-05-25 | 2016-05-25 | Positioning module control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352961.8A CN106060907A (en) | 2016-05-25 | 2016-05-25 | Positioning module control method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106060907A true CN106060907A (en) | 2016-10-26 |
Family
ID=57175909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610352961.8A Pending CN106060907A (en) | 2016-05-25 | 2016-05-25 | Positioning module control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106060907A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106358275A (en) * | 2016-10-31 | 2017-01-25 | 合肥移顺信息技术有限公司 | Low-power-consumption positioning method based on base station positioning |
CN106412342A (en) * | 2016-12-19 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Positioning control method, positioning control apparatus and terminal |
CN106877966A (en) * | 2017-03-16 | 2017-06-20 | 珠海市魅族科技有限公司 | A kind of time synchronization control method and device |
CN108449707A (en) * | 2018-03-08 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Wearable device and its localization method |
WO2019232759A1 (en) * | 2018-06-07 | 2019-12-12 | 华为技术有限公司 | Information pushing method and terminal device |
WO2020088650A1 (en) * | 2018-11-01 | 2020-05-07 | 华为技术有限公司 | Application processor awakening method and device applied to mobile terminal |
US11907041B2 (en) | 2018-11-01 | 2024-02-20 | Huawei Technologies Co., Ltd. | Application processor wakeup method and apparatus applied to mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101902765A (en) * | 2010-03-29 | 2010-12-01 | 北京冠图创新信息技术有限公司 | Method and system for controlling working of mobile station GPS |
CN102088657A (en) * | 2010-11-19 | 2011-06-08 | 厦门雅迅网络股份有限公司 | Power saving method for global positioning system (GPS) module |
CN102938925A (en) * | 2011-08-15 | 2013-02-20 | 张晨 | Energy consumption control method and device and mobile terminal device |
CN104066163A (en) * | 2014-04-24 | 2014-09-24 | 深圳市研强通信技术有限公司 | Power consumption saving device, mobile terminal and power consumption saving method |
CN105101366A (en) * | 2015-05-29 | 2015-11-25 | 努比亚技术有限公司 | Mobile terminal control method and mobile terminal |
-
2016
- 2016-05-25 CN CN201610352961.8A patent/CN106060907A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101902765A (en) * | 2010-03-29 | 2010-12-01 | 北京冠图创新信息技术有限公司 | Method and system for controlling working of mobile station GPS |
CN102088657A (en) * | 2010-11-19 | 2011-06-08 | 厦门雅迅网络股份有限公司 | Power saving method for global positioning system (GPS) module |
CN102938925A (en) * | 2011-08-15 | 2013-02-20 | 张晨 | Energy consumption control method and device and mobile terminal device |
CN104066163A (en) * | 2014-04-24 | 2014-09-24 | 深圳市研强通信技术有限公司 | Power consumption saving device, mobile terminal and power consumption saving method |
CN105101366A (en) * | 2015-05-29 | 2015-11-25 | 努比亚技术有限公司 | Mobile terminal control method and mobile terminal |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106358275A (en) * | 2016-10-31 | 2017-01-25 | 合肥移顺信息技术有限公司 | Low-power-consumption positioning method based on base station positioning |
CN106358275B (en) * | 2016-10-31 | 2023-03-21 | 合肥移顺信息技术有限公司 | Low-power-consumption positioning method based on base station positioning |
CN106412342A (en) * | 2016-12-19 | 2017-02-15 | 宇龙计算机通信科技(深圳)有限公司 | Positioning control method, positioning control apparatus and terminal |
CN106412342B (en) * | 2016-12-19 | 2021-03-09 | 宇龙计算机通信科技(深圳)有限公司 | Positioning control method, positioning control device and terminal |
CN106877966A (en) * | 2017-03-16 | 2017-06-20 | 珠海市魅族科技有限公司 | A kind of time synchronization control method and device |
CN108449707A (en) * | 2018-03-08 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Wearable device and its localization method |
CN108449707B (en) * | 2018-03-08 | 2021-08-17 | 深圳市沃特沃德股份有限公司 | Wearable device and positioning method thereof |
WO2019232759A1 (en) * | 2018-06-07 | 2019-12-12 | 华为技术有限公司 | Information pushing method and terminal device |
US11483677B2 (en) | 2018-06-07 | 2022-10-25 | Huawei Technologies Co., Ltd. | Information pushing method and terminal device |
WO2020088650A1 (en) * | 2018-11-01 | 2020-05-07 | 华为技术有限公司 | Application processor awakening method and device applied to mobile terminal |
US11907041B2 (en) | 2018-11-01 | 2024-02-20 | Huawei Technologies Co., Ltd. | Application processor wakeup method and apparatus applied to mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106060907A (en) | Positioning module control method and terminal | |
US9549292B2 (en) | Method for detecting context of a mobile device and a mobile device with a context detection module | |
CN103533167B (en) | Method and system for intelligently turning prompt off according to current state of user | |
EP1631050B1 (en) | Mobile system, method, and computer program for managing conversational user interface according to detected usage patterns | |
CN106507445B (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
CN103077721A (en) | Voice memorandum method of mobile terminal and mobile terminal | |
CN105474129A (en) | Method for performing power saving mode in electronic device and electronic device thereof | |
US6963744B2 (en) | Method and system for saving power in mobile units | |
CN104950318B (en) | The electricity saving method and mobile device of a kind of d GPS locating module | |
CN106102141A (en) | A kind of processing method and processing device based on packet | |
CN106060909A (en) | Network access method and mobile terminal | |
CN108510986A (en) | Voice interactive method, device, electronic equipment and computer readable storage medium | |
CN109309760A (en) | Falling protection method, device, equipment and the storage medium of smart machine | |
EP3706043A1 (en) | Application program control method and apparatus, medium, and electronic device | |
CN104750589B (en) | A kind of memory parameter adjusting method and mobile terminal | |
CN105232051B (en) | A kind of children's self monitor system based on abnormal speech identification technology | |
CN104598192B (en) | Information processing method and electronic equipment | |
CN105933520A (en) | Mobile terminal alarm clock method based on wearable equipment, mobile terminal alarm clock device thereof and alarm clock system | |
CN113574906A (en) | Information processing apparatus, information processing method, and information processing program | |
CN105739686A (en) | Control method and device of mobile terminal | |
CN104102337A (en) | Method and apparatus for determining proximity level between user and electronic device | |
CN107832131B (en) | Application program closing method and device, storage medium and electronic equipment | |
CN106020426B (en) | A kind of method for releasing and device waking up lock | |
CN113242352A (en) | Method and device for closing music playing program and computer equipment | |
CN110049537A (en) | A kind of electricity saving method of intelligent wearable device, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |
|
RJ01 | Rejection of invention patent application after publication |