CN105682032B - A kind of station-keeping mode control method, device and mobile terminal - Google Patents

A kind of station-keeping mode control method, device and mobile terminal Download PDF

Info

Publication number
CN105682032B
CN105682032B CN201610024521.XA CN201610024521A CN105682032B CN 105682032 B CN105682032 B CN 105682032B CN 201610024521 A CN201610024521 A CN 201610024521A CN 105682032 B CN105682032 B CN 105682032B
Authority
CN
China
Prior art keywords
mobile terminal
mode
value
gps module
parameter
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
CN201610024521.XA
Other languages
Chinese (zh)
Other versions
CN105682032A (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 CN201610024521.XA priority Critical patent/CN105682032B/en
Publication of CN105682032A publication Critical patent/CN105682032A/en
Application granted granted Critical
Publication of CN105682032B publication Critical patent/CN105682032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of station-keeping mode control method, device and mobile terminal.Methods described includes:The mode of operation of global position system GPS module in mobile terminal is obtained, the mode of operation of the GPS module includes close pattern and operational mode;The environmental information and movement state information of mobile terminal are obtained, and switches the mode of operation of the GPS module according to the environmental information and movement state information.Technical scheme provided in an embodiment of the present invention, switch the technological means of the mode of operation of GPS module by the environmental information according to mobile terminal and movement state information, solve mobile terminal GPS module in position fixing process in the prior art and be constantly in running status, the big technical problem of caused mobile terminal power consumption, existing station-keeping mode control technology is optimized, the mode of operation for being rationally accurately controlled GPS module in mobile terminal is ensure that according to the environmental information of mobile terminal and movement state information.

Description

A kind of station-keeping mode control method, device and mobile terminal
Technical field
The present embodiments relate to field of locating technology, more particularly to a kind of station-keeping mode control method, device and movement Terminal.
Background technology
Location Based service (Location Based Service, LBS) is the positioning method commonly used in mobile terminal. LBS location technologies include global positioning system (Global Positioning System, GPS) positioning, network positions and base station Positioning.Wherein, GPS location has precision high, and without using data network, but locating speed is slow, and relies on the signal of gps satellite State, it is unavailable indoors the features such as;Network positions have precision low, it is necessary to using data network, and locating speed is fast, independent of Gps satellite signal, indoor the features such as can be used;The features such as architecture has precision relatively low, and locating speed is fast, and interior can be used.
At present, the positioning method combined by GPS location with network positions or architecture, it is quickly fixed to provide the user Position response and accurate positioning.But a problem is brought therefrom, when user uses LBS related application indoors, no Open GPS module with can avoiding.Because the power consumption of GPS module is larger, when causing to use LBS related application indoors, to shifting Dynamic terminal brings extra power consumption, makes that the battery life of mobile terminal is shorter, and Consumer's Experience is poor.
The content of the invention
The embodiment of the present invention provides a kind of station-keeping mode control method, device and mobile terminal, to optimize existing positioning Mode Control Technology, rationally control the mode of operation of GPS module in mobile terminal.
In a first aspect, the embodiments of the invention provide a kind of station-keeping mode control method, including:
The mode of operation of global position system GPS module in mobile terminal is obtained, the mode of operation of the GPS module includes Close pattern and operational mode;
The environmental information and movement state information of the mobile terminal are obtained, and according to the environmental information and motion state Information switches the mode of operation of the GPS module.
In second aspect, the embodiments of the invention provide a kind of station-keeping mode control device, including:
Mode of operation acquisition module, it is described for obtaining the mode of operation of global position system GPS module in mobile terminal The mode of operation of GPS module includes close pattern and operational mode;
First mode of operation handover module, for obtaining the environmental information and movement state information of the mobile terminal, and Switch the mode of operation of the GPS module according to the environmental information and movement state information.
In the third aspect, the embodiments of the invention provide a kind of mobile terminal, the mobile terminal is integrated with such as second party Station-keeping mode control device described in face.
The embodiment of the present invention switches the work of GPS module by the environmental information according to mobile terminal and movement state information The technological means of pattern, solves in the prior art that mobile terminal GPS module in position fixing process is constantly in running status, leads The big technical problem of the mobile terminal power consumption of cause, optimizes existing station-keeping mode control technology, according to the environment of mobile terminal Information and movement state information ensure that the mode of operation for being rationally accurately controlled GPS module in mobile terminal.
Brief description of the drawings
Fig. 1 is the flow chart for the station-keeping mode control method that the embodiment of the present invention one provides;
Fig. 2 is the flow chart for the station-keeping mode control method that the embodiment of the present invention two provides;
Fig. 3 is the flow chart of the environmental information determination methods for the mobile terminal that the embodiment of the present invention two provides;
Fig. 4 is the flow chart of the motion state determination methods for the mobile terminal that the embodiment of the present invention two provides;
Fig. 5 is the flow chart for the station-keeping mode control method that the embodiment of the present invention three provides;
Fig. 6 is the structural representation for the station-keeping mode control device that the embodiment of the present invention four provides.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to the specific reality of the present invention Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that for the ease of describing, illustrate only in accompanying drawing related to the present invention Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail Apply processing or method that example is described as describing as flow chart.Although operations (or step) are described as order by flow chart Processing, but many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations It can be rearranged.The processing can be terminated when its operations are completed, it is also possible to being not included in accompanying drawing Additional step.The processing can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 gives the flow chart of the station-keeping mode control method of the offer of the embodiment of the present invention one, the method for the present embodiment It can be performed by station-keeping mode control device, the device can realize that described device can be made by way of hardware and/or software It is arranged on for a part for the mobile terminal with navigation feature inside the mobile terminal.
As shown in figure 1, the station-keeping mode control method that the present embodiment provides specifically includes following steps:
Step 101, the mode of operation for obtaining global position system GPS module in mobile terminal, the work of the GPS module Pattern includes close pattern and operational mode.
It is whole that mobile terminal described in the present embodiment includes but is not limited to mobile phone, tablet personal computer, notebook, vehicle mounted guidance The equipment such as end.
It can also comprise the following steps before this step:The application identities of current application software are detected, in the application When mark matches with default application identities, the positioning function of the locating module of mobile terminal is opened.The locating module includes GPS Module, network location module and architecture module.The positioning function of the locating module for opening mobile terminal can pass through Following two modes are realized:First, the mode of operation of the GPS module is close pattern, and the network location module and base station are determined Position module is operational mode;2nd, the mode of operation of the GPS module is operational mode, and the network location module and base station are determined Position module is close pattern.
Wherein, the application identities are used to identify whether application software is navigation type application software, the default application mark Know and be used to identify the mark that the application software is navigation type application software to be set in advance.
Step 102, the environmental information and movement state information for obtaining the mobile terminal, and according to the environmental information and Movement state information switches the mode of operation of the GPS module.
Wherein, the environmental information can include the information that mobile terminal is in indoor or outdoors, the motion state letter Breath can be kept in motion including mobile terminal or the information of inactive state.
The benefit that the step is so set is:According to two factors of the environmental information of mobile terminal and movement state information come The switching of the mode of operation of GPS module is carried out, the precision of mode of operation switching can be improved.
Further, can also comprise the following steps:The application identities of the current operation application software of detection, are answered according to described The positioning function of turning-off mobile terminal is determined whether with mark.When the application identities and default application identities mismatch, close Close the positioning function of mobile terminal.
Station-keeping mode control method provided in an embodiment of the present invention, pass through the environmental information according to mobile terminal and motion shape The technological means of the mode of operation of state information switching GPS module, solves mobile terminal GPS in position fixing process in the prior art Module is constantly in running status, the big technical problem of caused mobile terminal power consumption, optimizes existing station-keeping mode control Technology, it ensure that according to the environmental information of mobile terminal and movement state information and be rationally accurately controlled GPS moulds in mobile terminal The mode of operation of block.
Embodiment two
Fig. 2 gives the flow chart of the station-keeping mode control method of the offer of the embodiment of the present invention two.The present embodiment is to implement Optimized based on example one.In the present embodiment, will obtain mobile terminal environmental information and movement state information, and according to The mode of operation that the environmental information and movement state information switch the GPS module is specifically optimized for:Obtain mobile terminal Environmental information and movement state information, judge whether mobile terminal is in indoor environment and inactive state;It is in mobile terminal Indoor environment and inactive state and when GPS module is in operational mode, close pattern is switched to by the mode of operation of GPS module.
Accordingly, as shown in Fig. 2 the station-keeping mode control method that the present embodiment provides specifically includes following steps:
Step 201, the mode of operation for obtaining global position system GPS module in mobile terminal, the work of the GPS module Pattern includes close pattern and operational mode.
Whether step 202, the environmental information and movement state information for obtaining the mobile terminal, judge the mobile terminal In indoor environment and inactive state.
Wherein, judge whether the mobile terminal can include in indoor environment:The collection of timing acquisition GPS module is defended Star information, and when the satellite information currently obtained is identical with the upper satellite information once obtained, the environment pre-set is joined Several values adds 1, and the initial value of the ambient parameter is 0;The value of the ambient parameter obtained in the first setting time is big When default ambient parameter threshold value, determine that the mobile terminal is in indoor environment, otherwise, it determines the mobile terminal is in Outdoor environment.
Because at outdoor due to being influenceed by outdoor environment, such as the blocking of building, weather condition etc., currently obtain The satellite information that takes is usually what is differed with the last satellite information obtained, by the satellite information currently obtained with it is upper When the satellite information once obtained is identical, the mode that the value of the ambient parameter pre-set adds 1 can accurately be judged Whether mobile terminal is in indoor environment.
Further, can also include:Differed in the satellite information currently obtained and the upper satellite information once obtained When, if the intensity level of the satellite information Satellite signal currently obtained is less than default signal strength threshold, and the satellite information In number of satellites be less than default value, then the value of the ambient parameter is added 1, otherwise, it determines the mobile terminal is in Outdoor environment.
Wherein, default signal strength threshold can be 5, and default value can be 3, and the intensity of the satellite-signal passes through The power ratio of carrier wave and noise is weighed.
Judge whether the mobile terminal remains static or motion state can include:It is mobile whole described in timing acquisition The movement velocity at end, when the movement velocity is more than setting speed, the value of the motion state parameterses pre-set is added 1, Otherwise, the value of the inactive state parameter pre-set is added 1, the motion state parameterses and the initial of inactive state parameter take It is worth for 0;When the value of the motion state parameterses obtained in the second setting time is more than setup parameter threshold value, it is determined that described Mobile terminal is kept in motion;The value of the inactive state parameter obtained in the second setting time is more than setup parameter During threshold value, determine that the mobile terminal remains static.
Wherein, the span of the setting speed can be 1m/s-2m/s, for example, can value be 1.2m/s.
In addition, judge whether the mobile terminal remains static or motion state can also include:Passed using gravity Sensor measures the acceleration of mobile terminal;When the acceleration meets to impose a condition, determine that mobile terminal is kept in motion, Otherwise, it determines the mobile terminal remains static.
Wherein, the acceleration meets that preparatory condition can be that average value of the acceleration in setting time reaches setting threshold Value, or the value of acceleration is increasing always in setting time.
In addition, judge whether the mobile terminal remains static or motion state can also include:The 3rd is obtained to set Fix time the displacement of interior mobile terminal;When the displacement is more than setpoint distance threshold value, determine that mobile terminal is in Motion state, otherwise, it determines the mobile terminal remains static.
Wherein, the displacement for obtaining mobile terminal in the 3rd setting time can be obtained using gravity sensor Take.
Step 203, when the mobile terminal is in indoor environment and inactive state and GPS module is in operational mode, The mode of operation of GPS module is switched into close pattern.
When mobile terminal is in indoor environment and remains static, GPS module is just closed, room is in mobile terminal Interior environment and when being kept in motion, GPS module is in operational mode, is driving or is using for example, carrying mobile terminal in user Family carry mobile terminal prepare from it is indoor move towards outdoor in the case of, GPS module is in operational mode, is not to judge to move With regard to the closing GPS module of blindness when dynamic terminal be in indoor environment, but it is in indoor environment in mobile terminal and is in static During state, GPS module is just closed, the navigation needs of user is more bonded, more accurately carries out cutting for GPS module mode of operation Change.
It can also comprise the following steps after this step:According to setting time interval function or setting time interval by institute The mode of operation for stating GPS module switches to operational mode.
The setting time interval function can be the incremental function of time interval, or the letter to be successively decreased with time interval Number.The benefit that the step is so set is:After the mode of operation of GPS module is switched into close pattern, between one GPS module is waken up every the time, the mode of operation of GPS module is switched into operational mode, with the GPS's of quick response user Location requirement.
The station-keeping mode control method that the present embodiment provides, believed by the environmental information and motion state that obtain mobile terminal Breath, when mobile terminal is in indoor environment and inactive state and GPS module is in operational mode, by the Working mould of GPS module Formula switches to the technological means of close pattern, solves mobile terminal GPS module in position fixing process in the prior art and locates always In running status, the big technical problem of caused mobile terminal power consumption, existing station-keeping mode control technology is optimized, ensure that Rationally it is accurately controlled the mode of operation of GPS module in mobile terminal.
Exemplary, Fig. 3 gives the stream of the environmental information determination methods of the mobile terminal of the offer of the embodiment of the present invention two Cheng Tu.As shown in figure 3, the environmental information determination methods for the mobile terminal that the present embodiment provides may comprise steps of:
Step 301, the initial value of the ambient parameter pre-set is set to 0.
Step 302, the satellite information of timing acquisition GPS module collection.
Whether the satellite information that step 303, judgement currently obtain and the satellite information that the last time obtains are identical, if so, holding Row step 304, otherwise, perform step 305.
Step 304, the value of the ambient parameter pre-set added 1.
It is strong whether the intensity level for the satellite information Satellite signal that step 305, judgement currently obtain is less than default signal Threshold value is spent, and whether the number of satellites in the satellite information is less than default value, if so, performing step 304, otherwise, redirects and holds Row step 302.
Step 306, judge whether to reach the first setting time, if so, performing step 307, otherwise, redirect execution step 302。
Step 307, judge whether the value of ambient parameter is more than default ambient parameter threshold value, if so, performing step 308, otherwise, perform step 309.
Step 308, determine that mobile terminal is in indoor environment.
Step 309, determine that mobile terminal is in outdoor environment.
Exemplary, Fig. 4 gives the flow of the motion state of mobile terminal determination methods of the offer of the embodiment of the present invention two Figure.As shown in figure 4, the motion state of mobile terminal determination methods that the present embodiment provides comprise the following steps:
Step 401, the initial value of the motion state parameterses pre-set and the inactive state parameter pre-set set For 0.
The movement velocity of step 402, timing acquisition mobile terminal.
Step 403, judge whether the movement velocity is more than setting speed, if so, performing step 404, otherwise, perform step Rapid 405.
Step 404, the value of motion state parameterses added 1.
Step 405, the value of inactive state parameter added 1.
Step 406, judge whether to reach the second setting time, if so, performing step 407, otherwise, redirect execution step 402。
Step 407, judge whether the value of motion state parameterses is more than setup parameter threshold value, if so, step 408 is performed, Otherwise redirect and perform step 402.
Step 408, determine that mobile terminal is kept in motion.
Step 409, judge whether to reach the second setting time, if so, performing step 410, otherwise, redirect execution step 402。
Step 410, judge whether the value of inactive state parameter is more than setup parameter threshold value, if so, step 411 is performed, Otherwise, redirect and perform step 402.
Step 411, determine that mobile terminal remains static.
Embodiment three
Fig. 5 gives the flow chart of the station-keeping mode control method of the offer of the embodiment of the present invention three.The present embodiment is to implement Optimized based on example one and embodiment two.In the present embodiment, the environmental information and motion state of mobile terminal will be obtained Information, and be specifically optimized for according to the mode of operation of the environmental information and the movement state information switching GPS module:Obtain The environmental information of mobile terminal, judges whether mobile terminal is in indoor environment;Indoor environment and GPS moulds are in mobile terminal When block is in operational mode, the mode of operation of GPS module is switched into close pattern;Obtain the motion state letter of mobile terminal Breath, judges whether mobile terminal is kept in motion;When mobile terminal is kept in motion, by the mode of operation of GPS module Switch to operational mode.
Accordingly, as shown in figure 5, the station-keeping mode control method that the present embodiment provides specifically includes following steps:
Step 501, the mode of operation for obtaining global position system GPS module in mobile terminal, the work of the GPS module Pattern includes close pattern and operational mode.
Step 502, the environmental information for obtaining the mobile terminal, judge whether the mobile terminal is in indoor environment.
Wherein, judge whether the specific steps in indoor environment can be found in above-described embodiment two to mobile terminal.
Step 503, when the mobile terminal is in indoor environment and GPS module is in operational mode, by GPS module Mode of operation switches to close pattern.
Step 504, the movement state information for obtaining the mobile terminal, judge the mobile terminal whether in motion shape State.
Wherein, judge that the specific steps whether mobile terminal is kept in motion can be found in above-described embodiment two.
Step 505, when the mobile terminal is kept in motion, the mode of operation of GPS module is switched into operation mould Formula.
The present embodiment is when judging that mobile terminal is in indoor environment, first by the Working mould of the GPS module of mobile terminal Formula switches to close pattern, is judging whether mobile terminal is kept in motion, if mobile terminal is kept in motion GPS again The mode of operation of module switches to operational mode, and the benefit so set is:It is preferential to close when mobile terminal is in indoor environment GPS module is closed, to reduce the power consumption of mobile terminal.
The station-keeping mode control method that the present embodiment provides, believed by the environmental information and motion state that obtain mobile terminal Breath, when mobile terminal is in indoor environment, close pattern operational mode is switched to by the mode of operation of GPS module, if mobile Terminal is kept in motion, then the mode of operation of GPS module is switched to the technological means of operational mode, solves prior art Middle mobile terminal GPS module in position fixing process is constantly in running status, the big technical problem of caused mobile terminal power consumption, Existing station-keeping mode control technology is optimized, ensure that the mode of operation for being rationally accurately controlled GPS module in mobile terminal.
Example IV
Fig. 6 gives the structural representation of the station-keeping mode control device of the offer of the embodiment of the present invention four.As shown in fig. 6, The station-keeping mode control device that the present embodiment provides includes:
Mode of operation acquisition module 61, for obtaining the mode of operation of global position system GPS module in mobile terminal, institute Stating the mode of operation of GPS module includes close pattern and operational mode;
First mode of operation handover module 62, for obtaining the environmental information and movement state information of the mobile terminal, And switch the mode of operation of the GPS module according to the environmental information and movement state information.
The embodiment of the present invention switches the work of GPS module by the environmental information according to mobile terminal and movement state information The technological means of pattern, solves in the prior art that mobile terminal GPS module in position fixing process is constantly in running status, leads The big technical problem of the mobile terminal power consumption of cause, optimizes existing station-keeping mode control technology, according to the environment of mobile terminal Information and movement state information ensure that the mode of operation for being rationally accurately controlled GPS module in mobile terminal.
On the basis of the various embodiments described above, the first mode of operation handover module is specifically used for:
The environmental information and movement state information of the mobile terminal are obtained, judges the mobile terminal whether in interior Environment and inactive state;
When the mobile terminal is in indoor environment and inactive state and GPS module is in operational mode, by GPS module Mode of operation switch to close pattern.
On the basis of the various embodiments described above, the first mode of operation handover module is specifically used for:
The environmental information of the mobile terminal is obtained, judges whether the mobile terminal is in indoor environment;
When the mobile terminal is in indoor environment and GPS module is in operational mode, by the mode of operation of GPS module Switch to close pattern;
The movement state information of the mobile terminal is obtained, judges whether the mobile terminal is kept in motion;
When the mobile terminal is kept in motion, the mode of operation of GPS module is switched into operational mode.
On the basis of the various embodiments described above, in addition to:
Second mode of operation handover module, for after the mode of operation of GPS module is switched into close pattern, according to The mode of operation of the GPS module is switched to operational mode by setting time interval function or setting time interval.
On the basis of the various embodiments described above, the first mode of operation handover module judges whether mobile terminal is in room Interior environment is specially:
Timing acquisition GPS module collection satellite information, and the satellite information currently obtained with it is upper once obtain defend When star information is identical, the value of the ambient parameter pre-set is added 1, the initial value of the ambient parameter is 0;
When the value of the ambient parameter obtained in the first setting time is more than default ambient parameter threshold value, it is determined that described Mobile terminal is in indoor environment, otherwise, it determines the mobile terminal is in outdoor environment.
On the basis of the various embodiments described above, the first mode of operation handover module is specifically additionally operable to:
When the satellite information currently obtained differs with the upper satellite information once obtained, if the satellite letter currently obtained The intensity level of breath Satellite signal is less than default signal strength threshold, and the number of satellites in the satellite information is less than present count Value, then add 1, otherwise, it determines the mobile terminal is in outdoor environment by the value of the ambient parameter.
On the basis of the various embodiments described above, whether the first mode of operation handover module judges mobile terminal in quiet Only state or motion state are specially:
The movement velocity of mobile terminal described in timing acquisition, when the movement velocity is more than setting speed, it will set in advance The value for the motion state parameterses put adds 1, otherwise, the value of the inactive state parameter pre-set is added into 1, the motion state The initial value of parameter and inactive state parameter is 0;
When the value of the motion state parameterses obtained in the second setting time is more than setup parameter threshold value, institute is determined Mobile terminal is stated to be kept in motion;
When the value of the inactive state parameter obtained in the second setting time is more than setup parameter threshold value, institute is determined Mobile terminal is stated to remain static.
On the basis of the various embodiments described above, whether the first mode of operation handover module judges mobile terminal in quiet Only state or motion state are specially:
Utilize the acceleration of gravity sensor measurement mobile terminal;
When the acceleration meets to impose a condition, determine that the mobile terminal is kept in motion, otherwise, it determines described Mobile terminal remains static.
On the basis of the various embodiments described above, whether the first mode of operation handover module judges mobile terminal in quiet Only state or motion state are specially:
Obtain the displacement of mobile terminal in the 3rd setting time;
When the displacement is more than setpoint distance threshold value, determine that the mobile terminal is kept in motion, otherwise, really The fixed mobile terminal remains static.
On the basis of the various embodiments described above, in addition to:
Positioning function closedown module, for detecting the application identities of current operation application software, according to the application identities Determine whether to close the positioning function of the mobile terminal.
Station-keeping mode control device provided in an embodiment of the present invention can perform the positioning mould that any embodiment of the present invention provides Formula control method, possess the corresponding functional module of execution method and beneficial effect.
The present embodiment also provides a kind of mobile terminal, and the mobile terminal is integrated with the station-keeping mode control of the present embodiment offer Device processed, described device can perform the station-keeping mode control method that any embodiment of the present invention provides, it is corresponding to possess execution method Functional module and beneficial effect.
The technical principle that above are only presently preferred embodiments of the present invention and used.The invention is not restricted to spy described here Determine embodiment, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from Protection scope of the present invention.Therefore, although being described in further detail by above example to the present invention, this hair It is bright to be not limited only to above example, without departing from the inventive concept, other more equivalence enforcements can also be included Example, and the scope of the present invention is determined by the scope of claim.

Claims (17)

  1. A kind of 1. station-keeping mode control method, it is characterised in that including:
    The mode of operation of global position system GPS module in mobile terminal is obtained, the mode of operation of the GPS module includes closing Pattern and operational mode;
    The environmental information and movement state information of the mobile terminal are obtained, judges whether the mobile terminal is in indoor environment And inactive state;
    When the mobile terminal is in indoor environment and inactive state and GPS module is in operational mode, by the work of GPS module Operation mode switches to close pattern;
    The mode of operation of the GPS module is switched into operational mode according to setting time interval function, between the setting time Every function for the incremental function of time interval or the function to be successively decreased with time interval;
    Wherein, judge the mobile terminal whether remain static including:
    The movement velocity of mobile terminal described in timing acquisition, when the movement velocity is more than setting speed, by what is pre-set The value of motion state parameterses adds 1, otherwise, the value of the inactive state parameter pre-set is added into 1, the motion state parameterses Initial value with inactive state parameter is 0;
    When the value of the motion state parameterses obtained in the second setting time is more than setup parameter threshold value, the shifting is determined Dynamic terminal is kept in motion;
    When the value of the inactive state parameter obtained in the second setting time is more than setup parameter threshold value, the shifting is determined Dynamic terminal remains static.
  2. 2. according to the method for claim 1, it is characterised in that judge whether the mobile terminal is in indoor environment bag Include:
    The satellite information of timing acquisition GPS module collection, and believe in the satellite information currently obtained and the upper satellite once obtained Manner of breathing adds 1 simultaneously, by the value of the ambient parameter pre-set, and the initial value of the ambient parameter is 0;
    When the value of the ambient parameter obtained in the first setting time is more than default ambient parameter threshold value, the movement is determined Terminal is in indoor environment, otherwise, it determines the mobile terminal is in outdoor environment.
  3. 3. according to the method for claim 2, it is characterised in that also include:
    When the satellite information currently obtained differs with the upper satellite information once obtained, if in the satellite information currently obtained The intensity level of satellite-signal is less than default signal strength threshold, and the number of satellites in the satellite information is less than default value, The value of the ambient parameter is then added 1, otherwise, it determines the mobile terminal is in outdoor environment.
  4. 4. according to the method for claim 1, it is characterised in that also include:
    The application identities of the current operation application software of detection, determine whether to close the mobile terminal according to the application identities Positioning function.
  5. A kind of 5. station-keeping mode control method, it is characterised in that including:
    The mode of operation of global position system GPS module in mobile terminal is obtained, the mode of operation of the GPS module includes closing Pattern and operational mode;
    The environmental information of the mobile terminal is obtained, judges whether the mobile terminal is in indoor environment;
    When the mobile terminal is in indoor environment and GPS module is in operational mode, the mode of operation of GPS module is switched For close pattern;
    The movement state information of the mobile terminal is obtained, judges whether the mobile terminal is kept in motion;
    When the mobile terminal is kept in motion, the mode of operation of GPS module is switched into operational mode;
    Wherein, judge the mobile terminal whether be kept in motion including:
    The movement velocity of mobile terminal described in timing acquisition, when the movement velocity is more than setting speed, by what is pre-set The value of motion state parameterses adds 1, otherwise, the value of the inactive state parameter pre-set is added into 1, the motion state parameterses Initial value with inactive state parameter is 0;
    When the value of the motion state parameterses obtained in the second setting time is more than setup parameter threshold value, the shifting is determined Dynamic terminal is kept in motion;
    When the value of the inactive state parameter obtained in the second setting time is more than setup parameter threshold value, the shifting is determined Dynamic terminal remains static.
  6. 6. according to the method for claim 5, it is characterised in that judge whether the mobile terminal is in indoor environment bag Include:
    The satellite information of timing acquisition GPS module collection, and believe in the satellite information currently obtained and the upper satellite once obtained Manner of breathing adds 1 simultaneously, by the value of the ambient parameter pre-set, and the initial value of the ambient parameter is 0;
    When the value of the ambient parameter obtained in the first setting time is more than default ambient parameter threshold value, the movement is determined Terminal is in indoor environment, otherwise, it determines the mobile terminal is in outdoor environment.
  7. 7. according to the method for claim 6, it is characterised in that also include:
    When the satellite information currently obtained differs with the upper satellite information once obtained, if in the satellite information currently obtained The intensity level of satellite-signal is less than default signal strength threshold, and the number of satellites in the satellite information is less than default value, The value of the ambient parameter is then added 1, otherwise, it determines the mobile terminal is in outdoor environment.
  8. 8. according to the method for claim 5, it is characterised in that also include:
    The application identities of the current operation application software of detection, determine whether to close the mobile terminal according to the application identities Positioning function.
  9. A kind of 9. station-keeping mode control device, it is characterised in that including:
    Mode of operation acquisition module, for obtaining the mode of operation of global position system GPS module in mobile terminal, the GPS The mode of operation of module includes close pattern and operational mode;
    First mode of operation handover module, for obtaining the environmental information and movement state information of the mobile terminal, judge institute State whether mobile terminal is in indoor environment and inactive state;The mobile terminal be in indoor environment and inactive state and When GPS module is in operational mode, the mode of operation of GPS module is switched into close pattern;
    Second mode of operation handover module, for after the mode of operation of GPS module is switched into close pattern, according to setting The mode of operation of the GPS module is switched to operational mode by time interval function, the setting time interval function be with when Between increments function or the function that is successively decreased with time interval;
    Wherein, the first mode of operation handover module judges whether the mobile terminal remains static specially:Regularly The movement velocity of the mobile terminal is obtained, when the movement velocity is more than setting speed, the motion state that will pre-set The value of parameter adds 1, otherwise, the value of the inactive state parameter pre-set is added into 1, the motion state parameterses and static shape The initial value of state parameter is 0;The value of the motion state parameterses obtained in the second setting time is more than setup parameter During threshold value, determine that the mobile terminal is kept in motion;The inactive state parameter obtained in the second setting time When value is more than setup parameter threshold value, determine that the mobile terminal remains static.
  10. 10. device according to claim 9, it is characterised in that the first mode of operation handover module judges the shifting Dynamic terminal whether in indoor environment be specially:
    The satellite information of timing acquisition GPS module collection, and believe in the satellite information currently obtained and the upper satellite once obtained Manner of breathing adds 1 simultaneously, by the value of the ambient parameter pre-set, and the initial value of the ambient parameter is 0;
    When the value of the ambient parameter obtained in the first setting time is more than default ambient parameter threshold value, the movement is determined Terminal is in indoor environment, otherwise, it determines the mobile terminal is in outdoor environment.
  11. 11. device according to claim 10, it is characterised in that the first mode of operation handover module is specifically also used In:
    When the satellite information currently obtained differs with the upper satellite information once obtained, if in the satellite information currently obtained The intensity level of satellite-signal is less than default signal strength threshold, and the number of satellites in the satellite information is less than default value, The value of the ambient parameter is then added 1, otherwise, it determines the mobile terminal is in outdoor environment.
  12. 12. device according to claim 9, it is characterised in that also include:
    Positioning function closedown module, for detecting the application identities of current operation application software, determined according to the application identities Whether the positioning function of the mobile terminal is closed.
  13. A kind of 13. station-keeping mode control device, it is characterised in that including:
    Mode of operation acquisition module, for obtaining the mode of operation of global position system GPS module in mobile terminal, the GPS The mode of operation of module includes close pattern and operational mode;
    First mode of operation handover module, for obtaining the environmental information of the mobile terminal, whether judge the mobile terminal In indoor environment;When the mobile terminal is in indoor environment and GPS module is in operational mode, by the work of GPS module Operation mode switches to close pattern;The movement state information of the mobile terminal is obtained, judges whether the mobile terminal is in Motion state;When the mobile terminal is kept in motion, the mode of operation of GPS module is switched into operational mode;
    Wherein, the first mode of operation handover module judges whether the mobile terminal is kept in motion specially:Regularly The movement velocity of the mobile terminal is obtained, when the movement velocity is more than setting speed, the motion state that will pre-set The value of parameter adds 1, otherwise, the value of the inactive state parameter pre-set is added into 1, the motion state parameterses and static shape The initial value of state parameter is 0;The value of the motion state parameterses obtained in the second setting time is more than setup parameter During threshold value, determine that the mobile terminal is kept in motion;The inactive state parameter obtained in the second setting time When value is more than setup parameter threshold value, determine that the mobile terminal remains static.
  14. 14. device according to claim 13, it is characterised in that the first mode of operation handover module judges the shifting Dynamic terminal whether in indoor environment be specially:
    The satellite information of timing acquisition GPS module collection, and believe in the satellite information currently obtained and the upper satellite once obtained Manner of breathing adds 1 simultaneously, by the value of the ambient parameter pre-set, and the initial value of the ambient parameter is 0;
    When the value of the ambient parameter obtained in the first setting time is more than default ambient parameter threshold value, the movement is determined Terminal is in indoor environment, otherwise, it determines the mobile terminal is in outdoor environment.
  15. 15. device according to claim 14, it is characterised in that the first mode of operation handover module is specifically also used In:
    When the satellite information currently obtained differs with the upper satellite information once obtained, if in the satellite information currently obtained The intensity level of satellite-signal is less than default signal strength threshold, and the number of satellites in the satellite information is less than default value, The value of the ambient parameter is then added 1, otherwise, it determines the mobile terminal is in outdoor environment.
  16. 16. device according to claim 13, it is characterised in that also include:
    Positioning function closedown module, for detecting the application identities of current operation application software, determined according to the application identities Whether the positioning function of the mobile terminal is closed.
  17. 17. a kind of mobile terminal, the mobile terminal is integrated with the positioning as described in claim any one of 9-12 or 13-16 Mode control device.
CN201610024521.XA 2016-01-13 2016-01-13 A kind of station-keeping mode control method, device and mobile terminal Active CN105682032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610024521.XA CN105682032B (en) 2016-01-13 2016-01-13 A kind of station-keeping mode control method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610024521.XA CN105682032B (en) 2016-01-13 2016-01-13 A kind of station-keeping mode control method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105682032A CN105682032A (en) 2016-06-15
CN105682032B true CN105682032B (en) 2018-04-06

Family

ID=56300839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610024521.XA Active CN105682032B (en) 2016-01-13 2016-01-13 A kind of station-keeping mode control method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105682032B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107976698B (en) * 2016-10-21 2021-05-18 厦门雅迅网络股份有限公司 Power-saving control method for GPS positioning terminal
CN106341793A (en) * 2016-11-04 2017-01-18 广东小天才科技有限公司 Positioning method and device
CN106793074A (en) * 2016-12-21 2017-05-31 深圳市卡迪尔通讯技术有限公司 Localization method and locator
CN109547624B (en) * 2017-09-22 2021-01-29 阿里巴巴(中国)有限公司 Motion state detection method and device
CN108151759B (en) * 2017-10-31 2022-02-11 捷开通讯(深圳)有限公司 Navigation method, intelligent terminal and navigation server
CN108076507B (en) * 2017-12-13 2020-09-22 Oppo广东移动通信有限公司 Positioning mode control method and device, storage medium and mobile terminal
CN108055642B (en) * 2017-12-13 2020-06-09 Oppo广东移动通信有限公司 Control method and device of positioning module, storage medium and mobile terminal
CN109992378A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Using freezing method, device, terminal and computer readable storage medium
CN108845337A (en) * 2018-04-13 2018-11-20 南京粒聚智能科技有限公司 A kind of power terminal equipment method of super low-power consumption
CN108881626A (en) * 2018-06-06 2018-11-23 Oppo(重庆)智能科技有限公司 Location-based service control method and Related product
CN109040454A (en) * 2018-08-10 2018-12-18 英华达(上海)科技有限公司 A kind of method and apparatus automatically adjusting equipment GPS working condition
CN109634167A (en) * 2018-11-30 2019-04-16 西安中科创达软件有限公司 A kind of method and device reducing equipment GPS operation power consumption
CN109743681B (en) * 2018-12-17 2021-01-26 北京天海达科技有限公司 Dual-mode monitoring terminal based on Beidou communication and iridium communication
CN109916453A (en) * 2019-04-02 2019-06-21 河北工业大学 A kind of moving object environment monitoring device and method based on narrowband Internet of Things
US11153717B2 (en) * 2019-04-04 2021-10-19 Qualcomm Incorporated Enhanced reporting of positioning-related states
CN110177335B (en) * 2019-05-29 2021-05-14 鹏城实验室 Navigation positioning method and system
CN113176587B (en) * 2021-04-07 2023-02-07 甄十信息科技(上海)有限公司 Indoor and outdoor identification method and system, electronic equipment and computer readable medium
CN116224387B (en) * 2023-05-09 2023-07-07 深圳市易赛通信技术有限公司 Positioning method, device and equipment of wearable equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473069A (en) * 2013-09-24 2013-12-25 北京大学 Method for optimizing mobile application by utilizing access cost model of API (Application Programming Interface) of Android system
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120040636A1 (en) * 2009-04-22 2012-02-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and Apparatuses for Transmission of Warning Information in a Cellular Communications Network
CN103152482B (en) * 2013-02-27 2015-02-11 大唐移动通信设备有限公司 Method and system for setting mobile terminal meeting mode
CN104822133B (en) * 2015-04-22 2018-09-14 广东欧珀移动通信有限公司 A kind of control method and device of the station-keeping mode of intelligent terminal
CN105163373B (en) * 2015-07-13 2019-02-01 Oppo广东移动通信有限公司 A kind of localization method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473069A (en) * 2013-09-24 2013-12-25 北京大学 Method for optimizing mobile application by utilizing access cost model of API (Application Programming Interface) of Android system
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method

Also Published As

Publication number Publication date
CN105682032A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105682032B (en) A kind of station-keeping mode control method, device and mobile terminal
CN105682198B (en) A kind of position control method of mobile terminal, device and mobile terminal
CN104822133B (en) A kind of control method and device of the station-keeping mode of intelligent terminal
CN105807302B (en) GPS module control method, device and the intelligent terminal of a kind of intelligent terminal
CN108196778A (en) Control method, mobile terminal and the computer readable storage medium of screen state
CN108195390A (en) A kind of air navigation aid, device and mobile terminal
CN107534949B (en) Indoor positioning method and equipment
CN106027108A (en) Indoor localization method and device, wearable device and mobile terminal
CN107995060B (en) Mobile terminal audio test method and device and computer readable storage medium
CN108966296A (en) Signal prompt method, mobile terminal and computer readable storage medium
WO2013125306A1 (en) Wireless communication device, wireless communication system, and location estimation method
CN106961553A (en) The focusing method of testing and system of mobile device, mobile device
CN109032466A (en) Long screenshot method, mobile terminal and storage medium based on double screen
CN107508624A (en) Control method, device, terminal and the computer-readable recording medium of antenna switching
CN107734586A (en) The switching method and mobile terminal of antenna
CN107707728A (en) A kind of audio transmission switching method, terminal and computer-readable recording medium
CN106406732A (en) Virtual key processing device and method for terminal equipment
CN110517677B (en) Speech processing system, method, apparatus, speech recognition system, and storage medium
CN107360603A (en) A kind of network frequency band switching method, terminal and computer-readable recording medium
CN107295591A (en) Call method, device, computer can storage medium and mobile terminals
CN109936817B (en) Positioning method and terminal equipment
CN107687854A (en) A kind of indoor navigation method, terminal and computer-readable recording medium
CN107567013A (en) A kind of signal switching method, terminal and computer-readable recording medium
CN109739404A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108762709A (en) A kind of terminal control method, terminal and computer readable 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder