CN108076429A - Localization method, device, storage medium and mobile terminal - Google Patents
Localization method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108076429A CN108076429A CN201711327801.9A CN201711327801A CN108076429A CN 108076429 A CN108076429 A CN 108076429A CN 201711327801 A CN201711327801 A CN 201711327801A CN 108076429 A CN108076429 A CN 108076429A
- Authority
- CN
- China
- Prior art keywords
- information
- mobile terminal
- lbs
- application
- power
- 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
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/34—Power consumption
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application discloses localization method, device, storage medium and mobile terminal.The described method includes:When receiving based on location-based service LBS application initiation Location Requests, the current information about power of mobile terminal and the type information of LBS applications are obtained;Target positioning method is determined according to the information about power and the type information;The current location of the mobile terminal is positioned based on the target positioning method.The embodiment of the present application is by using above-mentioned technical proposal, not only can effectively management and control LBS application positioning method, reduce the power consumption of mobile terminal, but also on the premise of being positioned ensureing mobile terminal, the electric quantity consumption of mobile terminal is further reduced, extends the standby time of mobile terminal.
Description
Technical field
The invention relates to technical field of mobile terminals more particularly to localization method, device, storage medium and movements
Terminal.
Background technology
With the fast development of electronic technology and the increasingly raising of people's living standard, the shiftings such as smart mobile phone, tablet computer
Dynamic terminal has become an essential part in people's life.In order to meet the needs of user is different, user can be in movement
Various application programs (Application, APP) are installed in terminal, for example, weather application, news application program,
Navigation application program etc..In general, these application programs are required to obtain the current location information of user, to provide to the user more
Good service.
Generally, based on location-based service (Location Based Service, LBS) application program (hereinafter referred to as LBS should
With), all it is by Global Navigation Satellite System (Global Navigation Satellite System, GNSS), wireless guarantor
Very (Wireless Fidelity, WiFi) network, base station and several mixed positioning modes of bluetooth are positioned.Different determines
Position mode, power consumption is different, and different positioning methods, and positioning accuracy is different.Under normal circumstances, GNSS positioning is preferentially selected,
It is positioned when GNSS modes can not realize positioning, then using WiFi network, last reselection base station location and bluetooth positioning.
However, being carried out by GNSS positioning methods during searching star, power consumption is sizable, influences mobile terminal
Cruising time.
The content of the invention
The embodiment of the present application provides localization method, device, storage medium and mobile terminal, can effectively management and control LBS applications
Positioning method, reduce the power consumption of mobile terminal.
In a first aspect, the embodiment of the present application provides a kind of localization method, including:
When receiving based on location-based service LBS application initiation Location Requests, the current information about power of mobile terminal is obtained
And the type information of the LBS applications;
Target positioning method is determined according to the information about power and the type information;
The current location of the mobile terminal is positioned based on the target positioning method.
Second aspect, the embodiment of the present application provide a kind of positioner, including:
Data obtaining module, for when receiving based on location-based service LBS application initiation Location Requests, obtaining movement eventually
The type information that current information about power and the LBS is held to apply;
Target positioning method determining module, for determining target positioning side according to the information about power and the type information
Formula;
Locating module, for being positioned based on the target positioning method to the current location of the mobile terminal.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the localization method as described in the embodiment of the present application first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage
And can be in the computer program of processor operation on device, the processor is realized when performing the computer program as the application is real
Apply the localization method described in a first aspect.
Locating scheme provided by the embodiments of the present application, when receiving based on location-based service LBS application initiation Location Requests,
The current information about power of mobile terminal and the type information of LBS applications are obtained, and mesh is determined according to information about power and type information
Positioning method is marked, target positioning method is then based on and the current location of mobile terminal is positioned.By being remained to mobile terminal
The type information of the LBS applications of remaining electricity and initiation Location Request, carries out comprehensive analysis, determines the positioning method of LBS applications, no
Only can effectively management and control LBS applications positioning method, reduce the power consumption of mobile terminal, but also can ensure mobile terminal
On the premise of can positioning, the electric quantity consumption of mobile terminal is further reduced, extends the standby time of mobile terminal.
Description of the drawings
Fig. 1 is a kind of flow diagram of localization method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another localization method provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of positioner provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that
It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating
, part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with
Corresponding to method, function, regulation, subroutine, subprogram etc..
At present, operating system platform of the intelligence system as the intelligent terminal of user group maximum, can be compatible with various three
Fang Yingyong, to meet various use demands of the user in life, amusement.Substantial amounts of LBS is contained in these third-party applications
Using LBS applies the location information by obtaining user, provides better service to the user.
Different LBS is usually preferentially carried out using being positioned by different positioning methods by GNSS locating modules
Positioning, wherein, GNSS locating modules (guide number SS) can be specifically global positioning system (Global Positioning
System, GPS) locating module or other locating modules based on satellite positioning mode, such as Beidou satellite navigation system
Module and galileo satellite navigation system (GALILEO) module etc..When GNSS (such as GPS) can not realize positioning, then pass through
The modes such as WiFi network locating module, base station location module, bluetooth locating module are positioned.However, LBS application calls GNSS
When, substantial amounts of electricity is easily consumed, especially in the case where mobile terminal electricity is relatively low, GNSS is called easily to make mobile terminal
It shuts down at once, influences user's normal use.Moreover, different classes of LBS applies, such as Baidu map different to positioning accuracy request
It is higher to positioning accuracy request, and Baidu's take-away is relatively low to positioning accuracy request.If in the case where mobile terminal electricity is relatively low,
The LBS application relatively low to positioning accuracy request, directly invokes GNSS module and is positioned, not only waste electricity, fixed to LBS applications
Position demand does not have substantial role, and easily mobile terminal is made to shut down.More than reason is based on, the embodiment of the present application provides following
Localization method.
Fig. 1 is the flow diagram of localization method provided by the embodiments of the present application, and this method can be performed by positioner,
Wherein the device can generally be integrated in the terminal by software and/or hardware realization.As shown in Figure 1, this method includes:
Step 101, when receiving LBS applications and initiating Location Request, obtain the current information about power and LBS of mobile terminal
The type information of application.
In the embodiment of the present application, LBS applications are the applications needed by obtaining user current location information providing services
Software provides better service to the user by obtaining the location information of user.Such as weather application, when user needs to pass through day
When gas application obtains the Weather information of user location, since the weather condition in each area is not quite similar, weather should
With the location information needed by positioning user location, more accurately to provide accurate Weather information to the user.Work as shifting
When dynamic terminal receives the Location Request that at least one LBS applications are initiated, the current information about power of mobile terminal and initiation are obtained
The type information of the LBS applications of Location Request.Wherein, the information about power of mobile terminal can refer to mobile terminal current residual electricity
Number.LBS application type information can include video class application program, game class application program, text class application program,
Navigation type application program etc..Wherein, the type information of LBS applications can not only reflect the power consumption of the application program is how many,
Occupy Installed System Memory number and CPU usage number, can also reflect height of the application program to positioning accuracy request.
If navigation type application program is higher to positioning accuracy request, rubs and visit bicycle, the application programs such as vehicle has come are to positioning accuracy request
It is higher.These application programs not only need accurately to obtain the city residing for user, each area in city, the street in region
Road information or even the information that also accurately acquire residing building.And weather class application program, camera-type application program pair
Positioning accuracy request is relatively low.These application programs relatively low to positioning accuracy request only obtain the city or city residing for user
In each area, it is possible to provide preferable service to the user.Illustratively, Location Request can be initiated by obtaining
The bag name information of LBS applications can also obtain the LBS applications for initiating Location Request to determine the type information of the LBS applications
Other identifier information, the process identification (PID) applied such as LBS is come the type information of LBS applications as described in determining.
Step 102 determines target positioning method according to information about power and type information.
In the embodiment of the present application, applied according to the LBS of the current remaining capacity of mobile terminal and initiation Location Request
Type information, determine initiate Location Request LBS application target positioning method.It is understood that according to mobile terminal
Remaining capacity and initiate Location Request LBS applications type, determine that the LBS is applied and carried out especially by which kind of positioning method
Positioning.Wherein, target positioning method can determine including GNSS positioning methods, network positions mode, base station location mode and bluetooth
Position mode in any one or more.
Optionally, when information about power is more than default power threshold and determines that LBS applications belong to first and answer according to type information
During with type set, GNSS positioning methods are determined as target positioning method;When information about power is more than default power threshold and root
When determining that LBS applications belong to the second application type set according to type information, network positions mode is determined as target positioning method;
It, will when information about power is less than default power threshold and determines that LBS applications belong to the first application type set according to type information
Network positions mode is determined as target positioning method;When information about power is less than default power threshold and is determined according to type information
When LBS applications belong to the second application type set, base station location mode is determined as target positioning method;Wherein, the first application
The positioning accuracy that LBS applications in type set need is more than the positioning accurate that the LBS applications in the second application type set need
Degree.
It illustratively, can be by the Full Charge Capacity of mobile terminal when default power threshold and information about power are compared
As benchmark.For example, default power threshold is the 30% of mobile terminal Full Charge Capacity, when the current remaining capacity of mobile terminal is more than
Mobile terminal Full Charge Capacity 30% when, as current residual electricity be 70%, while initiate Location Request LBS application belong to first
Application type set, then the target positioning method applied GNSS as the LBS.When the current remaining capacity of mobile terminal is less than
Mobile terminal Full Charge Capacity 30% when, if current residual electricity is 20%, meanwhile, the LBS applications for initiating Location Request belong to the
During one application type set, then the target positioning method applied network positions mode as the LBS.When mobile terminal is current
When remaining capacity is more than the 30% of mobile terminal Full Charge Capacity, if current residual electricity is 50%, while the LBS of Location Request is initiated
Using belonging to the second application type set, then the target positioning method applied network positions mode as the LBS.Wherein, net
Network positioning method can include the positioning method based on Wi-Fis such as WiFi, can also include determining based on mobile communications network
Position mode is such as positioned by mobile flow.The present embodiment is not construed as limiting specific network positions mode.Work as mobile terminal
Current remaining capacity be less than mobile terminal Full Charge Capacity 30% when, as current residual electricity be 15%, meanwhile, initiate positioning please
The LBS asked is using target positioning method when belonging to the second application type set, then applied base station manner as the LBS.
Wherein, the LBS applications in the first application type set need the positioning accuracy of (or requirement) to be more than second using class
LBS applications in type set need the positioning accuracy of (or requirement).Illustratively, navigation type application program (such as Amap, hundred
Spend map) it needs to plan navigation routine according to the location of mobile terminal information for user, if positioning accuracy is inadequate, easily make
There is deviation in navigation routine, influences the normal trip of user, and therefore, such application program needs to obtain the accurate position letter of user
Navigation type application program, can be classified as the first application type set by breath.Weather class application program (such as weather application) is by obtaining
The area residing for mobile terminal is taken, provides the Weather information of location to the user, and in same city, different zones, day
Gas information difference is not very big, and therefore, such application program is relatively low to positioning accuracy request, can return weather class application program
For the second application type set.It is understood that when the current remaining capacity of mobile terminal is more, if initiating Location Request
LBS using it is higher to positioning accuracy request when, then the target positioning method applied GNSS positioning methods as the LBS.This
Sample can not only meet the precise positioning demand of LBS applications, but also can ensure that mobile terminal has enough electricity, for user
Normal use.When the current remaining capacity of mobile terminal is more, if the LBS for initiating Location Request is applied to positioning accuracy request
It is not high or when the current remaining capacity of mobile terminal is less, it can be applied without considering the LBS for initiating Location Request to positioning
The height of required precision, by addition to GNSS positioning methods other positioning methods (such as network positions mode, base station location mode,
Bluetooth positioning method) it is used as target positioning method.The advantages of this arrangement are as follows it can ensure what mobile terminal can position
Under the premise of, additionally it is possible to electric quantity consumption is reduced, so as to extend the standby time of mobile terminal.
Optionally, judge whether LBS applications belong to first and answer according to the LBS for the initiating Location Request type informations applied
It can be included with type set:The identification information of LBS applications is obtained, which is matched with the first default list,
When the identification information is matched with the first default list, it is determined that LBS applications belong to the first application type set.Optionally,
The type information that LBS according to Location Request is initiated is applied judges whether LBS applications belong to the second application type set can be with
Including:Obtain the identification information of LBS applications, which matched with the second default list, when the identification information and
During the second default list matching, it is determined that LBS applications belong to the second application type set.Wherein, the identification information of LBS applications
Can include LBS application bag name, process identification (PID), icon mark etc. information.
Wherein it is possible to it is united according to the setting cycle to user using the historical custom data of different types of application program
Meter study, the default list of generation first and the second default list.First default list is corresponding with the first application type set, the
Two default lists are corresponding with the second application type set.It is understood that the LBS applications included in the first default list will
The positioning accuracy asked is higher than the positioning accuracy of the LBS application requirements included in the second default list.Illustratively, according to setting week
Phase obtains the history usage record that user applies LBS.Getting LBS at this applies the history in preset time section to make
During with record, the history usage record is learnt using machine learning mode, is generated higher to positioning accuracy request by the
One LBS list of application and the twoth LBS list of application relatively low to positioning accuracy request will have the first LBS application identities letter
The first list of breath is pre- using the second list with the 2nd LBS application identification informations as second as the first default list
If list.When reaching the setting cycle, user is obtained again, the history usage record in preset time section is applied to LBS,
And the first default list and the second default list are updated using machine learning mode according to history usage record.It is appreciated that
It is, it can also be by data statistics mode, according to the first default list of history usage record generation and the second default list.
It should be noted that the LBS applications for initiating Location Request are both not belonging to the first application type, being also not belonging to second should
With type, at this point it is possible to without considering mobile terminal current residual electricity how much, GNSS positioning methods are determined as LBS applications
Target positioning method.
Step 103 positions the current location of mobile terminal based on target positioning method.
In the embodiment of the present application, determined by step 102 and initiate the target positioning method that the LBS of Location Request is applied
Afterwards, the current location of mobile terminal is positioned based on the target positioning method, to provide better service to the user.
Localization method provided by the embodiments of the present application, when receiving based on location-based service LBS application initiation Location Requests,
The current information about power of mobile terminal and the type information of LBS applications are obtained, and mesh is determined according to information about power and type information
Positioning method is marked, target positioning method is then based on and the current location of mobile terminal is positioned.By being remained to mobile terminal
The type information of the LBS applications of remaining electricity and initiation Location Request, carries out comprehensive analysis, determines the positioning method of LBS applications, no
Only can effectively management and control LBS applications positioning method, reduce the power consumption of mobile terminal, but also can ensure mobile terminal
On the premise of can positioning, the electric quantity consumption of mobile terminal is further reduced, extends the standby time of mobile terminal.
In some embodiments, before receiving based on location-based service LBS application initiation Location Requests, further include:According to
Predetermined period is counted or learnt using the historical custom data of different types of application program to user;According to statistical result
Or learning outcome determines the first application type set and the second application type set.Wherein, historical custom data include calling ground
The number in picture face, the frequency refreshed to map picture, manual correction position number and actively open GNSS positioning
At least one of in the number of function.It should to LBS the advantages of this arrangement are as follows true reflection user can be made full use of
With the historical custom data of the application program of positioning accuracy demand, the first application type set and the second application type collection are determined
Close, can try one's best on the premise of mobile terminal location precision is ensured, reduction electric quantity consumption, extend mobile terminal it is standby when
It is long.
Illustratively, user can be understood as user's sample using the historical custom data of different types of application program.
The selection of user's sample can be that local user uses number in setting time section to the history of different types of application program
According to can also be that setting quantity meets the user group of preset condition in setting time section to different types of application program
History use data.For example, the historical custom data to different types of application program in local user one month are obtained,
As user's sample, the user's sample is learnt using machine learning model, generation LBS application need positioning accuracy compared with
The first high application type set and LBS are using the second relatively low application type set of the positioning accuracy needed.For another example, 1 is obtained
Historical custom data to different types of application program of ten thousand ages in the user between 16-26 Sui in one month are made
For user's sample, count the common LBS application higher to positioning accuracy request of this user group and positioning accuracy is wanted
Relatively low LBS is asked to apply.The first application type set is generated according to positioning accuracy request higher LBS applications, according to positioning
Relatively low LBS application the second application type set of generation of required precision.
Wherein, the historical custom data of the different types of application program included in user's sample can include invocation map
The number of picture, the frequency refreshed to map picture, manual correction position number and actively open GNSS positioning work(
At least one of in the number of energy.User, can be according to the demand of oneself to application program during application program is used
It is operated, when user carries out aforesaid operations, explainable user is higher to the positioning accuracy request of the application program, and then says
The bright application program is higher to positioning accuracy request.It is understood that the number of application call map picture is more, say
Bright user is frequently necessary to understand the detailed location information residing for mobile terminal by invocation map, further illustrates the application
Program is higher to positioning accuracy request;The frequency that application program refreshes map picture is higher, illustrates that the application program obtains
The location information taken cannot meet user demand, as the location information of application program acquisition is incorrect or application program obtains
Location information precision it is inadequate, by the way that constantly ground-to-ground picture face is refreshed, to obtain correct, accurate location information,
Further illustrate that the application program is higher to positioning accuracy request;When application program is positioned, the frequent manual correction of user should
The position of application program positioning or the number of user's manual correction position are more, illustrate the position letter that the application program obtains
Breath cannot meet user demand, such as the location information that the location information of application program acquisition is incorrect or application program obtains
Precision is inadequate or even application program is refreshed by multiple invocation map picture or frequent ground-to-ground picture face, also can not
Meet the requirement of user, at this point, user's active manual correction location information, further illustrates that the application program will to positioning accuracy
Ask higher;When application program is positioned, user often manually opened GNSS positioning functions or opens GNSS positioning functions
Number is more, illustrates that user it is expected that the application program is directly positioned by the higher GNSS positioning methods of positioning accuracy, and
It is not intended to be positioned by relatively low positioning methods of positioning accuracies such as network positions, base station location or bluetooth positioning, further
Illustrate that the application program is higher to positioning accuracy request.Respectively in user's sample, each application call map picture
Number, the frequency refreshed to map picture, manual correction position number and actively open time of GNSS positioning functions
Number carries out statistical learning, determines the LBS application higher to positioning accuracy request and the relatively low LBS of positioning accuracy request is applied.
Wherein, the first application type set and the second application type set can be generated by the mobile terminal statistical learning,
Can also statistical learning generation be carried out by server.When by server the first application type set of generation and the second application type collection
After conjunction, by server push to mobile terminal.It should be noted that the first application type set and the second application type set
It can also be selected by user, if user is configured according to the demand of oneself, for example, all LBSs of the user to mobile terminal
Using manual classification is carried out, user is thought that the higher LBS applications of positioning accuracy are added into the first application type set, by user
Think that the relatively low LBS applications of positioning accuracy are added into the second application type set.In addition, the first application type set and second should
It can also be given tacit consent to type set by mobile terminal system and determined.The first application type set and the second application type set can
To be stored in mobile terminal local or cloud server with file mode, mobile terminal sheet can also be stored in database mode
Ground or cloud server.
In some embodiments, when information about power is more than default power threshold and determines that LBS applications belong to according to type information
When the second application type set, network positions mode is determined as target positioning method;When information about power is less than default electricity
Threshold value and according to type information determine LBS application belong to the first application type set when, network positions mode is determined as target
Positioning method.Wherein, network positions mode is determined as target positioning method, can included:It is currently used to obtain mobile terminal
Network type;When network type is WiFi network, network positions mode is determined as target positioning method;Work as network type
For mobile communications network when, base station location mode is determined as target positioning method.The advantages of this arrangement are as follows ensureing to move
On the premise of dynamic terminal can position, mobile terminal electric quantity consumption can not only be reduced, but also mobile terminal stream can be reduced
Amount consumption, reduces unnecessary mobile communications network expense.
Illustratively, when the network type that mobile terminal currently connects is WiFi network, then by WiFi network positioning side
Formula is determined as initiating the target positioning method of the LBS applications of Location Request;When the network type that mobile terminal currently connects is shifting
During dynamic communication network type, then base station location mode or bluetooth positioning method are determined as to the target positioning method of LBS applications.
Although it is more sufficient in the electricity of mobile terminal and initiate the LBS of Location Request apply to positioning accuracy request compared with
Gao Shi directly using GNSS positioning methods as target positioning method, can not only meet the location requirement of user, but also will not make
Mobile terminal shuts down at once, still, when mobile terminal is in interior, still carries out searching star by GNSS, can not only expire
The location requirement of sufficient LBS applications, but also additional power consumption can be brought to mobile terminal, make the battery life of mobile terminal
It is shorter.
In some embodiments, obtain the current environmental information of mobile terminal, wherein, environmental information include indoor environment and
Outdoor environment;Target positioning method is determined according to information about power and type information, including:When information about power, type information and ring
When border information meets following conditions simultaneously, then GNSS positioning methods are determined as target positioning method:Information about power is more than default
Power threshold;Determine that LBS applications belong to the first application type set according to type information;Mobile terminal is currently at outdoor ring
Border.The advantages of this arrangement are as follows according to the information about power of mobile terminal, the type information for the LBS applications for initiating Location Request
With the environmental information residing for mobile terminal, rationally determine the positioning method of LBS applications, further increase the continuous of mobile terminal
ETS estimated time of sailing.
Optionally, target positioning method is determined according to information about power, type information and environmental information, can included:Work as electricity
When amount information, type information and environmental information meet any one in following conditions, by network positions mode or base station location
Mode is determined as target positioning method:Information about power is less than default power threshold;Determine that LBS applications belong to the according to type information
Two application type set;Mobile terminal is currently at indoor environment.
Illustratively, judge whether the current information about power of mobile terminal is less than default power threshold, when information about power is small
When default power threshold, directly network positions mode, base station location mode or bluetooth positioning method are determined as to initiate positioning
The target positioning method of the LBS applications of request.When information about power is more than default power threshold, determine whether that LBS applications are
The no second application type collection that belongs to is fated definite LBS application when belonging to the second application type set, directly by network positions mode,
Base station location mode or bluetooth positioning method are determined as initiating the target positioning method of the LBS applications of Location Request.If LBS is applied
The second application type set is not belonging to, then whether mobile terminal is determined whether in indoor environment, when mobile terminal is currently located
When indoor environment, also directly network positions mode, base station location mode or bluetooth positioning method are determined as initiating to position asking
The target positioning method for the LBS applications asked.And when the information about power of mobile terminal is more than default power threshold, and LBS applications
Belong to the first application type set, meanwhile, it, should using GNSS positioning methods as the LBS when which is in outdoor environment
Target positioning method.
It is understood that the type that the embodiment of the present application applies the information about power of mobile terminal, environmental information and LBS
The execution sequence that information is judged not is unique, and execution sequence can be exchanged.
Illustratively, the current environmental information of mobile terminal is obtained by GNSS, i.e., judges that mobile terminal is worked as by GNSS
Before be in indoor environment or outdoor environment.Mobile terminal inputs the satellite information of multiple satellites to GNSS, and judges satellite
Whether information changes, and multiple satellite informations do not change, it is determined that the mobile terminal is currently at indoor environment.If
In the satellite information of multiple satellites, the satellite information there are at least one satellite changes, then determines whether that this becomes
Whether the signal strength of the satellite information of change is less than preset strength threshold value.When the signal strength is less than preset strength threshold value,
Determine whether the corresponding number of satellite of changed satellite information is less than default satellite threshold value, if the number of satellite
During less than default satellite threshold value, it is determined that the mobile terminal is currently at indoor environment.If the letter of changed satellite information
In number intensity, there are it is at least one be more than preset strength threshold value when, then can determine that the mobile terminal is currently at outdoor environment.
Alternatively, the signal strength of changed satellite information is respectively less than preset strength threshold value, but changed satellite information pair
The quantity for the satellite answered is more than default satellite threshold value, can also determine that the mobile terminal is currently at outdoor environment.
Optionally, can also be obtained by the front camera or rear camera of mobile terminal residing for the mobile terminal
The image information of environment judges that the mobile terminal is in indoor environment or outdoor ring according to the image information of the environment of acquisition
Border.For example, the image information of the environment of acquisition for mobile terminal is office or the image information of family, then the movement can be determined
Terminal is currently at indoor environment.The image information of the environment of acquisition for mobile terminal be building information and/or road information, then
It can determine that the mobile terminal is currently at outdoor environment.The distance of mobile terminal terminal can also be measured using distance measuring sensor
The distance at each edge (such as metope, ground) in residing space.According to the Distance Judgment of measurement, the mobile terminal is in interior
Environment or outdoor environment.For example, the distance for measuring edge residing for distance of mobile terminal terminal is respectively less than pre-determined distance threshold value, then
It can determine that the mobile terminal is in indoor environment.When in the distance at edge residing for distance of mobile terminal terminal, there is at least one
A distance is more than pre-determined distance threshold value, then can determine that the mobile terminal is in outdoor environment.It should be noted that the application is real
Example is applied to be not specifically limited to judging that mobile terminal is in the specific method of indoor environment or outdoor environment.
Fig. 2 is the flow diagram of localization method provided by the embodiments of the present application.As shown in Fig. 2, this method includes:
Step 201 is united to user using the historical custom data of different types of application program according to predetermined period
Meter or study.
Wherein, historical custom data can include the number of invocation map picture, the frequency refreshed to map picture,
The number of manual correction position and actively open in the numbers of GNSS positioning functions at least one of.
Step 202 determines the first application type set and the second application type set according to statistical result or learning outcome.
Wherein, the positioning accuracy that the LBS applications in the first application type set need is more than the second application type collection
The positioning accuracy that LBS applications in conjunction need.
Step 203, when receive Location Request initiated based on location-based service LBS applications when, it is current to obtain mobile terminal
Information about power and the type information of LBS applications.
Step 204, when information about power be more than default power threshold and determine that LBS applications belong to first according to type information should
During with type set, GNSS positioning methods are determined as target positioning method.
Step 205, when information about power be more than default power threshold and determine that LBS applications belong to second according to type information should
During with type set, network positions mode is determined as target positioning method.
Step 206, when information about power be less than default power threshold and determine that LBS applications belong to first according to type information should
During with type set, network positions mode is determined as target positioning method.
Step 207, when information about power be less than default power threshold and determine that LBS applications belong to second according to type information should
During with type set, base station location mode is determined as target positioning method.
Step 208 positions the current location of mobile terminal based on target positioning method.
It should be noted that the current information about power of mobile terminal and initiate Location Request LBS applications type information,
One can only be selected and meet step 204-207.It is understood that step 204-207 can only select an execution.
Localization method provided by the embodiments of the present application makes full use of true reflection user to LBS application positioning accuracies
The historical custom data of the application program of demand determine the first application type set and the second application type set, can try one's best
On the premise of mobile terminal location precision is ensured, electric quantity consumption is reduced, extends the standby time of mobile terminal.
Fig. 3 is the flow diagram of localization method provided by the embodiments of the present application.As shown in figure 3, this method includes:
Step 301 is united to user using the historical custom data of different types of application program according to predetermined period
Meter or study.
Wherein, historical custom data can include the number of invocation map picture, the frequency refreshed to map picture,
The number of manual correction position and actively open in the numbers of GNSS positioning functions at least one of.
Step 302 determines the first application type set and the second application type set according to statistical result or learning outcome.
Wherein, the positioning accuracy that the LBS applications in the first application type set need is more than the second application type collection
The positioning accuracy that LBS applications in conjunction need.
Step 303, when receive Location Request initiated based on location-based service LBS applications when, it is current to obtain mobile terminal
Information about power and the type information of LBS applications.
Step 304, when information about power be more than default power threshold and determine that LBS applications belong to first according to type information should
During with type set, GNSS positioning methods are determined as target positioning method.
Step 305, when information about power be more than default power threshold and determine that LBS applications belong to second according to type information should
During with type set, alternatively, when information about power is less than default power threshold and determines that LBS applications belong to first according to type information
During application type set, the currently used network type of mobile terminal is obtained.
Step 306, when information about power be less than default power threshold and determine that LBS applications belong to second according to type information should
During with type set, base station location mode is determined as target positioning method.
Step 307, when network type be Wi Fi networks when, network positions mode is determined as target positioning method.
Step 308, when network type be mobile communications network when, base station location mode is determined as target positioning method.
Step 309 positions the current location of mobile terminal based on target positioning method.
It should be noted that the current information about power of mobile terminal and initiate Location Request LBS applications type information,
One can only be selected and meet step 304-306.It is understood that step 304-306 can only select an execution.The network class of mobile terminal
Type can only select one and meet step 307-308, it is to be understood that step 307-308 can only also select an execution.
Localization method provided by the embodiments of the present application, when information about power is more than default power threshold and true according to type information
LBS is determined using when belonging to the second application type set, and power threshold is preset and according to type information alternatively, working as information about power and being less than
When determining that LBS applications belong to the first application type set, judge whether network type is WiFi network, if so, network is determined
Position mode is determined as target positioning method, if network type is mobile communications network, base station location mode is determined as target
Positioning method.On the premise of ensureing that mobile terminal can position, mobile terminal electric quantity consumption can not only be reduced, but also can
To reduce the consumption of mobile terminal flow, unnecessary mobile communications network expense is reduced.
Fig. 4 is the flow diagram of localization method provided by the embodiments of the present application.As shown in figure 4, this method includes:
Step 401 is united to user using the historical custom data of different types of application program according to predetermined period
Meter or study.
Wherein, historical custom data can include the number of invocation map picture, the frequency refreshed to map picture,
The number of manual correction position and actively open in the numbers of GNSS positioning functions at least one of.
Step 402 determines the first application type set and the second application type set according to statistical result or learning outcome.
Wherein, the positioning accuracy that the LBS applications in the first application type set need is more than the second application type collection
The positioning accuracy that LBS applications in conjunction need.
Step 403, when receive Location Request initiated based on location-based service LBS applications when, it is current to obtain mobile terminal
Information about power and the type information of LBS applications.
Step 404 judges whether information about power is more than default power threshold, if so, performing step 405, otherwise, performs
Step 408.
Step 405 determines whether LBS applications belong to the first application type set according to type information, if so, performing step
Rapid 406, otherwise, perform step 408.
It is understood that according to the type information that LBS is applied, judge whether LBS applications belong to the first application type collection
It closes, when definite LBS applications belong to the first application type set, then performs step 406.When LBS applications are not belonging to the first application
It during type set, can determine whether LBS applications belong to the second application type set, be answered when LBS applications belong to second
During with type set, step 408 is performed.
Step 406 obtains the current environmental information of mobile terminal, whether judges mobile terminal in outdoor environment, if so,
Otherwise then step 407, performs step 408.
GNSS positioning methods are determined as target positioning method by step 407.
Network positions mode or base station location mode are determined as target positioning method by step 408.
Step 409 positions the current location of the mobile terminal based on target positioning method.
Localization method provided by the embodiments of the present application, should according to the LBS of the information about power of mobile terminal, initiation Location Request
Type information is rationally determined the positioning method of LBS applications, is further increased with the environmental information residing for mobile terminal
The cruising time of mobile terminal.
Fig. 5 is a kind of structure diagram of positioner provided by the embodiments of the present application, which can be by software and/or hard
Part is realized, is typically integrated on mobile terminal, can be determined target positioning method by performing localization method, and be determined based on target
Position mode is positioned, and obtains the current location information of mobile terminal.As shown in figure 5, the device includes:
Data obtaining module 501, for when receiving based on location-based service LBS application initiation Location Requests, obtaining and moving
The current information about power of dynamic terminal and the type information of LBS applications;
Target positioning method determining module 502, for determining that target is determined according to the information about power and the type information
Position mode;
Locating module 503, for being positioned based on the target positioning method to the current location of the mobile terminal.
Positioner provided by the embodiments of the present application, when receiving based on location-based service LBS application initiation Location Requests,
The current information about power of mobile terminal and the type information of LBS applications are obtained, and mesh is determined according to information about power and type information
Positioning method is marked, target positioning method is then based on and the current location of mobile terminal is positioned.By being remained to mobile terminal
The type information of the LBS applications of remaining electricity and initiation Location Request, carries out comprehensive analysis, determines the positioning method of LBS applications, no
Only can effectively management and control LBS applications positioning method, reduce the power consumption of mobile terminal, but also can ensure mobile terminal
On the premise of can positioning, the electric quantity consumption of mobile terminal is further reduced, extends the standby time of mobile terminal.
Optionally, the target positioning method determining module, including:
First object positioning method determination unit is more than default power threshold and according to described for working as the information about power
When type information determines that the LBS applications belong to the first application type set, by Global Satellite Navigation System GNSS positioning methods
It is determined as target positioning method;
Second target positioning method determination unit is more than default power threshold and according to described for working as the information about power
When type information determines that the LBS applications belong to the second application type set, network positions mode is determined as target positioning side
Formula;
3rd target positioning method determination unit is less than default power threshold and according to described for working as the information about power
When type information determines that the LBS applications belong to the first application type set, network positions mode is determined as target positioning side
Formula;
4th target positioning method determination unit is less than default power threshold and according to described for working as the information about power
When type information determines that the LBS applications belong to the second application type set, base station location mode is determined as target positioning side
Formula;
Wherein, the positioning accuracy that the LBS applications in the first application type set need is more than described second and applies class
The positioning accuracy that LBS applications in type set need.
Optionally, which further includes:
Historical custom data statistics module, for before receiving based on location-based service LBS application initiation Location Requests, pressing
User is counted or learnt using the historical custom data of different types of application program according to predetermined period;
Type set determining module, for determining the first application type set and second according to statistical result or learning outcome
Application type set.
Optionally, the historical custom data include the number of invocation map picture, the frequency refreshed to map picture
Rate, the number of manual correction position and actively open in the numbers of GNSS positioning functions at least one of.
Optionally, the second target positioning method determination unit and/or the 3rd target positioning method determination unit, bag
It includes:
Network type obtains subelement, for obtaining the currently used network type of the mobile terminal;
First object positioning method determination subelement, for when the network type is Wireless Fidelity WiFi network, inciting somebody to action
The network positions mode is determined as target positioning method.
Optionally, further include:
Second target positioning method determination subelement, for when the network type be mobile communications network when, by base station
Positioning method is determined as target positioning method.
Optionally, which further includes:
Environment information acquisition module, for obtaining the current environmental information of the mobile terminal, wherein, the environmental information
Including indoor environment and outdoor environment;
The target positioning method determining module, is used for:
When the information about power, the type information and the environmental information meet following conditions simultaneously, then by GNSS
Positioning method is determined as target positioning method:
The information about power is more than the default power threshold;
Determine that the LBS applications belong to the first application type set according to the type information;
The mobile terminal is currently at outdoor environment.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform
Instruction includes when being performed by computer processor for localization method, this method:
When receiving based on location-based service LBS application initiation Location Requests, the current information about power of mobile terminal is obtained
And the type information of the LBS applications;
Target positioning method is determined according to the information about power and the type information;
The current location of the mobile terminal is positioned based on the target positioning method.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example
Such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other types
Memory or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed or
It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet)
Calculation machine system.Second computer system can provide program instruction and be used to perform to the first computer.Term " storage medium " can
With include may reside in different position (such as in different computer systems by network connection) two or more
Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting
Calculation machine program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer
The positioning action that executable instruction is not limited to the described above can also carry out the localization method that the application any embodiment is provided
In relevant operation.
The embodiment of the present application provides a kind of mobile terminal, and it is provided by the embodiments of the present application fixed to be integrated in the mobile terminal
Position device.Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.As shown in fig. 6, mobile terminal 600
It can include:Memory 601, processor 602 and storage on a memory and can processor operation computer program, it is described
Processor 602 realizes the localization method as described in the embodiment of the present application when performing the computer program.
Mobile terminal provided by the embodiments of the present application, when receiving based on location-based service LBS application initiation Location Requests,
The current information about power of mobile terminal and the type information of LBS applications are obtained, and mesh is determined according to information about power and type information
Positioning method is marked, target positioning method is then based on and the current location of mobile terminal is positioned.By being remained to mobile terminal
The type information of the LBS applications of remaining electricity and initiation Location Request, carries out comprehensive analysis, determines the positioning method of LBS applications, no
Only can effectively management and control LBS applications positioning method, reduce the power consumption of mobile terminal, but also can ensure mobile terminal
On the premise of can positioning, the electric quantity consumption of mobile terminal is further reduced, extends the standby time of mobile terminal.
Fig. 7 is the structure diagram of another mobile terminal provided by the embodiments of the present application, as shown in fig. 7, the movement is whole
End can include:Housing (not shown), memory 701, central processing unit (central processing unit, CPU)
702 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit
Plate is placed in the interior volume that the housing surrounds;The CPU702 and the memory 701 are arranged on the circuit board;Institute
Power circuit is stated, for powering for each circuit or device of the mobile terminal;The memory 701, can hold for storing
Line program code;The CPU702 by read the executable program code stored in the memory 701 run with it is described
The corresponding computer program of executable program code, to realize following steps:
When receiving based on location-based service LBS application initiation Location Requests, the current information about power of mobile terminal is obtained
And the type information of the LBS applications;
Target positioning method is determined according to the information about power and the type information;
The current location of the mobile terminal is positioned based on the target positioning method.
The mobile terminal further includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric
Road 706, loud speaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710,
Touch-screen 712, other input/control devicess 710 and outside port 704, these components pass through one or more communication bus
Or signal wire 707 communicates.
It should be understood that diagram mobile terminal 700 is only an example of mobile terminal, and mobile terminal 700
Can have than more or less components shown in figure, two or more components can be combined or can be with
It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just mobile terminal used for positioning provided in this embodiment is described in detail below, and the mobile terminal is with mobile phone
Exemplified by.
Memory 701, the memory 701 can be by access such as CPU702, Peripheral Interfaces 703, and the memory 701 can
To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703
Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712
With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include 7091 He of display controller
For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls
Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710,
Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole clicks on idler wheel.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between customer mobile terminal and user,
Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or is sent out to touch-screen 712
Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091
The interaction of user interface object on touch-screen 712, that is, realize human-computer interaction, the user interface being shown on touch-screen 712
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch-screen.
RF circuits 705 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include performing
The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706 is mainly used for receiving voice data from Peripheral Interface 703, which is converted to telecommunications
Number, and the electric signal is sent to loud speaker 711.
Loud speaker 711 for the voice signal for receiving mobile phone from wireless network by RF circuits 705, is reduced to sound
And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered
And power management.
Positioner, storage medium and the mobile terminal provided in above-described embodiment can perform the embodiment of the present application and be provided
Corresponding localization method, possess and perform the corresponding function module of this method and advantageous effect.It is not detailed in the above-described embodiments
The technical detail of description, reference can be made to the localization method that the application any embodiment is provided.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. a kind of localization method, which is characterized in that including:
When receiving based on location-based service LBS application initiation Location Requests, the current information about power of mobile terminal and institute are obtained
State the type information of LBS applications;
Target positioning method is determined according to the information about power and the type information;
The current location of the mobile terminal is positioned based on the target positioning method.
It is 2. according to the method described in claim 1, it is characterized in that, described true according to the information about power and the type information
Set the goal positioning method, including:
When the information about power is more than default power threshold and determines that the LBS applications belong to first and answer according to the type information
During with type set, Global Satellite Navigation System GNSS positioning methods are determined as target positioning method;
When the information about power is more than default power threshold and determines that the LBS applications belong to second and answer according to the type information
During with type set, network positions mode is determined as target positioning method;
When the information about power is less than default power threshold and determines that the LBS applications belong to first and answer according to the type information
During with type set, network positions mode is determined as target positioning method;
When the information about power is less than default power threshold and determines that the LBS applications belong to second and answer according to the type information
During with type set, base station location mode is determined as target positioning method;
Wherein, the positioning accuracy that the LBS applications in the first application type set need is more than the second application type collection
The positioning accuracy that LBS applications in conjunction need.
It 3. according to the method described in claim 2, it is characterized in that, please based on location-based service LBS application initiation positioning receiving
Before asking, further include:
User is counted or learnt using the historical custom data of different types of application program according to predetermined period;
First application type set and the second application type set are determined according to statistical result or learning outcome.
4. according to the method described in claim 3, it is characterized in that, the historical custom data include time of invocation map picture
Number, the frequency refreshed to map picture, manual correction position number and actively open the numbers of GNSS positioning functions
At least one of in.
5. according to the method described in claim 2, it is characterized in that, described be determined as target positioning side by network positions mode
Formula, including:
Obtain the currently used network type of the mobile terminal;
When the network type is Wireless Fidelity WiFi network, the network positions mode is determined as target positioning method.
6. it according to the method described in claim 5, it is characterized in that, further includes:
When the network type is mobile communications network, base station location mode is determined as target positioning method.
7. according to any methods of claim 2-6, which is characterized in that further include:
The current environmental information of the mobile terminal is obtained, wherein, the environmental information includes indoor environment and outdoor environment;
Target positioning method is determined according to the information about power and the type information, including:
When the information about power, the type information and the environmental information meet following conditions simultaneously, then GNSS is positioned
Mode is determined as target positioning method:
The information about power is more than the default power threshold;
Determine that the LBS applications belong to the first application type set according to the type information;
The mobile terminal is currently at outdoor environment.
8. a kind of positioner, which is characterized in that including:
Data obtaining module, for when receiving based on location-based service LBS application initiation Location Requests, obtaining mobile terminal and working as
Preceding information about power and the type information of LBS applications;
Target positioning method determining module, for determining target positioning method according to the information about power and the type information;
Locating module, for being positioned based on the target positioning method to the current location of the mobile terminal.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The localization method as described in claim 1-7 is any is realized during row.
10. a kind of mobile terminal, which is characterized in that including memory, processor and storage are on a memory and can be in processor
The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when performing the computer program
Localization method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711327801.9A CN108076429A (en) | 2017-12-13 | 2017-12-13 | Localization method, device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711327801.9A CN108076429A (en) | 2017-12-13 | 2017-12-13 | Localization method, device, storage medium and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108076429A true CN108076429A (en) | 2018-05-25 |
Family
ID=62158266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711327801.9A Pending CN108076429A (en) | 2017-12-13 | 2017-12-13 | Localization method, device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108076429A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221678A (en) * | 2019-05-21 | 2019-09-10 | 深圳壹账通智能科技有限公司 | Application program adjusting method, device, computer equipment and storage medium |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
CN111918386A (en) * | 2020-07-03 | 2020-11-10 | Oppo广东移动通信有限公司 | Positioning method, positioning device, storage medium and electronic equipment |
CN112073462A (en) * | 2020-08-05 | 2020-12-11 | 长沙市到家悠享网络科技有限公司 | Positioning method and device |
WO2021027466A1 (en) * | 2019-08-13 | 2021-02-18 | 维沃移动通信有限公司 | Positioning method and terminal device |
CN113473362A (en) * | 2021-06-29 | 2021-10-01 | 北京小米移动软件有限公司 | Positioning method, positioning device and storage medium |
CN114205455A (en) * | 2021-12-07 | 2022-03-18 | 郑州阿帕斯数云信息科技有限公司 | Application positioning processing method, device, equipment and storage medium |
WO2023109175A1 (en) * | 2021-12-15 | 2023-06-22 | 中兴通讯股份有限公司 | Positioning precision control method, and terminal and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036165A (en) * | 2010-12-16 | 2011-04-27 | 中兴通讯股份有限公司 | Positioning method and user terminal supporting multiple positioning modes |
CN105933521A (en) * | 2016-04-22 | 2016-09-07 | 广东小天才科技有限公司 | Mobile terminal positioning mode selection method and device |
CN106131795A (en) * | 2016-08-30 | 2016-11-16 | 维沃移动通信有限公司 | A kind of localization method and mobile terminal |
CN106717035A (en) * | 2014-09-22 | 2017-05-24 | 高通股份有限公司 | Low-power location information reporting |
CN106973150A (en) * | 2017-03-16 | 2017-07-21 | 广东欧珀移动通信有限公司 | Positioning precision level adjustment method, device and mobile terminal |
WO2017156754A1 (en) * | 2016-03-18 | 2017-09-21 | 华为技术有限公司 | Terminal device and method for processing positioning information for terminal device |
-
2017
- 2017-12-13 CN CN201711327801.9A patent/CN108076429A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036165A (en) * | 2010-12-16 | 2011-04-27 | 中兴通讯股份有限公司 | Positioning method and user terminal supporting multiple positioning modes |
CN106717035A (en) * | 2014-09-22 | 2017-05-24 | 高通股份有限公司 | Low-power location information reporting |
WO2017156754A1 (en) * | 2016-03-18 | 2017-09-21 | 华为技术有限公司 | Terminal device and method for processing positioning information for terminal device |
CN105933521A (en) * | 2016-04-22 | 2016-09-07 | 广东小天才科技有限公司 | Mobile terminal positioning mode selection method and device |
CN106131795A (en) * | 2016-08-30 | 2016-11-16 | 维沃移动通信有限公司 | A kind of localization method and mobile terminal |
CN106973150A (en) * | 2017-03-16 | 2017-07-21 | 广东欧珀移动通信有限公司 | Positioning precision level adjustment method, device and mobile terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221678A (en) * | 2019-05-21 | 2019-09-10 | 深圳壹账通智能科技有限公司 | Application program adjusting method, device, computer equipment and storage medium |
WO2021027466A1 (en) * | 2019-08-13 | 2021-02-18 | 维沃移动通信有限公司 | Positioning method and terminal device |
CN111142067A (en) * | 2019-08-27 | 2020-05-12 | 广东小天才科技有限公司 | Three-dimensional positioning method of mobile equipment and mobile equipment |
CN111918386A (en) * | 2020-07-03 | 2020-11-10 | Oppo广东移动通信有限公司 | Positioning method, positioning device, storage medium and electronic equipment |
CN111918386B (en) * | 2020-07-03 | 2023-09-29 | Oppo广东移动通信有限公司 | Positioning method, positioning device, storage medium and electronic equipment |
CN112073462A (en) * | 2020-08-05 | 2020-12-11 | 长沙市到家悠享网络科技有限公司 | Positioning method and device |
CN112073462B (en) * | 2020-08-05 | 2023-10-27 | 长沙市到家悠享网络科技有限公司 | Positioning method and device |
CN113473362A (en) * | 2021-06-29 | 2021-10-01 | 北京小米移动软件有限公司 | Positioning method, positioning device and storage medium |
CN114205455A (en) * | 2021-12-07 | 2022-03-18 | 郑州阿帕斯数云信息科技有限公司 | Application positioning processing method, device, equipment and storage medium |
WO2023109175A1 (en) * | 2021-12-15 | 2023-06-22 | 中兴通讯股份有限公司 | Positioning precision control method, and terminal and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108076429A (en) | Localization method, device, storage medium and mobile terminal | |
CN108169775B (en) | Control method and device based on positioning module, storage medium and mobile terminal | |
CN102498706B (en) | Mobile device battery management | |
CN109947498B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN108076507B (en) | Positioning mode control method and device, storage medium and mobile terminal | |
CN108111971B (en) | Positioning method, positioning device, storage medium and mobile terminal | |
CN108055642B (en) | Control method and device of positioning module, storage medium and mobile terminal | |
US10088599B2 (en) | Systems and methods for weather forecasting | |
EP3598726A1 (en) | Method for adjusting precision level of positioning, device, storage medium and electronic device | |
CN107302638A (en) | A kind of volume adjusting method, device, storage medium and mobile terminal | |
CN108093368B (en) | Control method and device based on positioning module, storage medium and mobile terminal | |
CN108168569A (en) | Air navigation aid, device, storage medium, mobile terminal and onboard system | |
CN108008423B (en) | Control method and device based on positioning module, storage medium and mobile terminal | |
CN111316673B (en) | Electronic fence updating method and communication device | |
CN109947495A (en) | Application program preloads method, apparatus, storage medium and mobile terminal | |
JP2020537213A (en) | Methods for reducing terminal power consumption, and terminals | |
CN108093131A (en) | Arrival reminding method, apparatus, storage medium and mobile terminal | |
CN107995367B (en) | Arrival reminding method and device, storage medium and mobile terminal | |
CN108171965A (en) | Arrival reminding method, apparatus, storage medium and mobile terminal | |
CN108040320A (en) | Control method, device, storage medium and the mobile terminal of GNSS positioning | |
CN108093367A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
CN108024209A (en) | Position control method, device, storage medium and terminal device | |
CN108712717A (en) | Control method, device, storage medium based on application shop and mobile terminal | |
CN108055644A (en) | Position control method, device, storage medium and terminal device | |
CN108064023A (en) | Control method, device, storage medium and mobile terminal based on locating module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180525 |
|
RJ01 | Rejection of invention patent application after publication |