CN108076507A - Positioning method control method, device, storage medium and mobile terminal - Google Patents
Positioning method control method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108076507A CN108076507A CN201711326718.XA CN201711326718A CN108076507A CN 108076507 A CN108076507 A CN 108076507A CN 201711326718 A CN201711326718 A CN 201711326718A CN 108076507 A CN108076507 A CN 108076507A
- Authority
- CN
- China
- Prior art keywords
- application program
- mobile terminal
- information
- running background
- lbs
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0264—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The embodiment of the present application discloses positioning method control method, device, storage medium and mobile terminal.This method includes:When receiving based on location-based service LBS application initiation Location Requests, the current remaining capacity of mobile terminal is obtained;When the remaining capacity is less than default power threshold, the first kind information of the application program of the mobile terminal current background operation is obtained;The positioning method of the LBS applications is determined according to the first kind information.The embodiment of the present application can efficiently reduce electric quantity consumption, extend the standby time of mobile terminal by using the positioning method of above-mentioned technical proposal, rationally definite LBS applications.
Description
Technical field
The invention relates to technical field of mobile terminals more particularly to positioning method control method, device, storage Jie
Matter and mobile 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), WIFI, base
Stand what is positioned with several mixed positioning modes of bluetooth.Different positioning methods, power consumption is different, and different positioning sides
Formula, positioning accuracy are different.Under normal circumstances, GNSS positioning is preferentially selected, is ensured when GNSS is searched not then, then using wireless
(Wireless Fidelity, WiFi) network positions, last reselection base station location and bluetooth positioning.
However, being carried out by GNSS positioning methods during searching star, power consumption is sizable, especially in terminal electricity
Measure it is relatively low in the case of, easily mobile terminal is caused to shut down, influences user's normal use.
The content of the invention
The embodiment of the present application provides positioning method control method, device, storage medium and mobile terminal, can effective management and control
The positioning method of LBS applications reduces the power consumption of mobile terminal.
In a first aspect, the embodiment of the present application provides a kind of positioning method control method, including:
When receiving based on location-based service LBS application initiation Location Requests, the current remaining capacity of mobile terminal is obtained;
When the remaining capacity is less than default power threshold, the application journey of the mobile terminal current background operation is obtained
The first kind information of sequence;
The positioning method of the LBS applications is determined according to the first kind information.
Second aspect, the embodiment of the present application provide a kind of positioning method control device, including:
Remaining capacity acquisition module, for when receiving based on location-based service LBS application initiation Location Requests, obtaining and moving
The current remaining capacity of dynamic terminal;
First kind data obtaining module, for when the remaining capacity is less than default power threshold, obtaining the shifting
The first kind information of the application program of dynamic terminal current background operation;
Positioning method determining module, for determining the positioning method of the LBS applications according to the first kind information.
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 positioning method control 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 positioning method control method described in a first aspect.
The positioning method control program provided in the embodiment of the present application is initiated when receiving based on location-based service LBS applications
During Location Request, the current remaining capacity of mobile terminal is obtained, and when remaining capacity is less than default power threshold, obtains movement
The first kind information of the application program of terminal current background operation, then determines determining for LBS applications according to first kind information
Position mode.When mobile terminal remaining capacity is less, according to the positioning of the application program of running background, rationally definite LBS applications
Mode can efficiently reduce electric quantity consumption, extend the standby time of mobile terminal.
Description of the drawings
Fig. 1 is a kind of flow diagram of positioning method control method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another positioning method control method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another positioning method control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another positioning method control method provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of positioning method control device 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.In addition, usually during mobile terminal use,
There are multiple application programs state is still remained on mobile terminal backstage.However, the number of applications of running background is not
Same, species difference, is also not quite similar to the electric quantity consumption of mobile terminal.Therefore, when mobile terminal electricity is relatively low, in order to extend
The cruising time of mobile terminal, the application program of running background can generate the LBS for the initiating Location Request positioning methods applied
It is certain to influence.It is understood that when Location Request is initiated in LBS applications, the application program of positioning method and running background
There is also substantial connections.More than reason is based on, the embodiment of the present application provides following positioning method control method.
Fig. 1 is the flow diagram of positioning method control method provided by the embodiments of the present application, and the present embodiment is applicable to
According to the situation that the application program of running background controls the LBS for the initiating Location Request positioning methods applied, this method
It can be performed by positioning method control device, wherein the device can be generally integrated in mobile whole by software and/or hardware realization
In end.As shown in Figure 1, this method includes:
Step 101, when receiving LBS applications and initiating Location Request, obtain the current remaining capacity of mobile terminal.
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.When connecing
When receiving LBS application initiation Location Requests, the current remaining capacity of mobile terminal is obtained.Wherein, the remaining capacity of mobile terminal
The number of mobile terminal current residual electricity can be understood as.The remaining capacity of mobile terminal is more, illustrates that the mobile terminal can
It is longer with the time for users to use, can cruising time it is longer;Opposite, the remaining capacity of mobile terminal is fewer, illustrates the shifting
Dynamic terminal can be for users to use time it is shorter, can cruising time it is shorter.
Step 102, when remaining capacity is less than default power threshold, obtain the application journey of mobile terminal current background operation
The first kind information of sequence.
In the embodiment of the present application, by remaining capacity compared with default power threshold, judge remaining capacity with presetting
The magnitude relationship of power threshold.It wherein, can expiring mobile terminal during by remaining capacity compared with default power threshold
Electricity is as benchmark.It is understood that remaining capacity can refer to mobile terminal current electric quantity number account for the full electricity of mobile terminal
The percentage of amount, default power threshold can be set as the ratio value of mobile terminal Full Charge Capacity, for example, default power threshold is set
It is set to the 30% of mobile terminal Full Charge Capacity.When remaining capacity is less than default power threshold, if remaining capacity is 20%, judge to move
Dynamic terminal backstage is with the presence or absence of the application program of operation.When mobile terminal backstage has the application program of operation, after obtaining this
The first kind information of the application program of platform operation.Wherein, the application program of running background can be one, or more
It is a.When there are during the application program of multiple running backgrounds, the application type information of the application program of each running background can be with
Referred to as first kind information.
Optionally, the first kind information of the application program of at least one running background is obtained.The type information of LBS applications
It is (such as king's honor, happy can to include video class application program (such as Tencent's video, iqiyi.com video), game class application program
Disappear pleasure), text class application program (such as e-novel, word), navigation type application program (such as Baidu map, Amap)
Deng.Wherein, the first kind information of the application program of running background can not only reflect the power consumption of the application program is how many, account for
With the number of Installed System Memory and the number of CPU usage, but also it can reflect the application program with mobile terminal front stage operation
The degree of association of (the LBS applications that Location Request is initiated in such as mobile terminal).Illustratively, the application program of running background is music
Class application program (such as KuGoo music, QQ music, Netease's cloud music) initiates the LBS of Location Request in mobile terminal using being
Keep application programs.Wherein, the music class application program of running background is to exist with the Keep application programs for initiating Location Request
Substantial connection, the two degree of association is stronger in other words.It is run it is understood that user is monitored by Keep application programs
Step journey, meanwhile, during running, user is listened to music by the music class application program of running background, to loosen mood.Its
In, can the first kind information be determined by the bag name information for the application program for obtaining running background, can also obtained
The other identifier information of the application program of running background, the first kind is determined such as the process identification (PID) of the application program of running background
Information.
Step 103, the positioning method that LBS applications are determined according to first kind information.
In the embodiment of the present application, when the remaining capacity of mobile terminal is less, as remaining capacity is less than default power threshold
When, according to the first kind information of the application program of mobile terminal running background, determine to initiate determining for the LBS applications of Location Request
Position mode.Illustratively, judge whether the application program of running background belongs to default application type collection according to first kind information
It closes.When the application program that running background is judged according to first kind information belongs to default application type set, network is determined
Any one or more in position mode, base station location mode and bluetooth positioning method, the positioning method as LBS applications.
When the application program that running background is judged according to first kind information is not belonging to default application type set, GNSS is positioned
Mode is determined as the positioning method of LBS applications.Wherein, the application program in application type set is preset in running background,
Power consumption is larger.It is understood that default application type set can be a list list, stored in the list list
The type information of each application program, such as the bag name of each application program and/or process identification (PID) being capable of unique mark application
The identification information of program.Wherein, it can be into line number to the power consumption of different types of application program to preset application type set
Generation is formulated according to statistics.It is understood that when mobile terminal remaining capacity is less, and there are power consumptions on mobile terminal backstage
The larger application program being currently running is measured, in order to reduce a large amount of consumption of the LBS application positioning to electricity, initiates Location Request
LBS applications can pass through network positions mode, base station location mode and the relatively low positioning side of these power consumption of bluetooth positioning method
Formula is positioned.When mobile terminal remaining capacity is less, while there is the application program being currently running on mobile terminal backstage,
But the application program power consumption of running background it is less when, LBS application can pass through the higher GNSS positioning methods of positioning accuracy
It is positioned.
Optionally, the positioning method of LBS applications is determined according to first kind information, can be included:Believed according to the first kind
The closing application program of breath control running background maintains operation;According to the closing application program of control running background or maintain fortune
Capable control result determines the positioning method of LBS applications.It the advantages of this arrangement are as follows can be according to the application of running background
The working condition (closing or maintain operation) of program, rationally the positioning method of definite LBS applications, reduces electric quantity consumption, extends and move
The standby time of dynamic terminal.
Optionally, according to the closing application program of control running background or the control result of maintenance operation, determine that LBS is applied
Positioning method, can include:When controlling the closing application program of running background according to first kind information, determined by GNSS
Position mode provides location information to LBS applications;Operation is maintained when controlling the application program of running background according to first kind information
When, it is provided by any one or more in network positions mode, base station location mode and bluetooth positioning method to LBS applications
Location information.Illustratively, when the application program power consumption that running background is determined according to first kind information is larger or occupies system
When resource of uniting is more, the closing application program of running background can be controlled.For example, the application program of running background should for game class
With program or video class application program, these application programs disappear to the electricity of mobile terminal in mobile terminal running background
It consumes larger, the cruising time of mobile terminal can be greatly reduced.Therefore, at this point it is possible to control these closing application programs.Due to control
The larger closing application program of the power consumption of running background processed, can be effectively reduced the power consumption of mobile terminal, adaptively prolong
It the cruising time of long mobile terminal, therefore, can be higher by GNSS positioning accuracies when Location Request is initiated in LBS applications
Mode provides location information to LBS applications, to provide better service to the user.And it is determined from the background when according to first kind information
The application program power consumption of operation is smaller or when occupying system resources are less, can control the application program of running background after continuation of insurance
Hold operating status.For example, the application program of running background is music class application program (such as QQ music, KuGoo music), these
Application program is smaller to the electric quantity consumption of mobile terminal in mobile terminal running background, and these application programs are on backstage
During operation, the usage experience of user can be increased user.For example, user has the hobby listened to music, therefore, at this point, should not be by this
The closing application program of a little running backgrounds, continues to continuing to remain on state from the background.These continue after mobile terminal
The application program of platform operation, although less to the electric quantity consumption of mobile terminal, when mobile terminal remaining capacity is less, to moving
The cruising time of dynamic terminal still can generate certain influence, therefore, when Location Request is initiated in LBS applications, can pass through net
It is fixed that network positioning method, base station location mode and the relatively low positioning method of these power consumption of bluetooth positioning method are provided to LBS applications
Position information.The advantages of this arrangement are as follows can both ensure that LBS applications obtained location information and provide service to the user, while can
Suitably to extend the cruising time of terminal, and the application program of running background is made to provide service to the user, can greatly improved
The usage experience of user.
Illustratively, when the application program power consumption that running background is determined according to first kind information is larger, but these
When the application program of running background is indispensable to meeting user demand, the application program of these running backgrounds can be controlled to tie up
Hold operating status.For example, the application program of running background is flashlight application program, this application program is consumed in running background
Electricity is larger, but user needs to be illuminated by the flashlight of running background at night, at this point, should not be by running background
Closing application program.Therefore, when LBS application initiate Location Request when, in order to save electricity, can by network positions mode,
Base station location mode and the relatively low positioning method of these power consumption of bluetooth positioning method provide location information to LBS applications.Work as root
Determine that the application program power consumption of running background is smaller according to first kind information, but the application program of these running backgrounds is to full
When sufficient user demand does not help necessarily, the closing application program of these running backgrounds can be controlled.For example, running background is answered
It is calculator application with program, and when user is during driving, the calculator application is to user without inevitable
It helps, at this point it is possible to control the closing application program of running background.Therefore, when Location Request is initiated in LBS applications, Ke Yitong
It crosses the higher mode of GNSS positioning accuracies and provides location information to LBS applications, to provide better service to the user.
Positioning method control method provided by the embodiments of the present application is initiated to determine when receiving based on location-based service LBS applications
During the request of position, the current remaining capacity of acquisition mobile terminal, and when remaining capacity is less than default power threshold, obtain mobile whole
The first kind information of the application program of current background operation is held, the positioning of LBS applications is then determined according to first kind information
Mode.When mobile terminal remaining capacity is less, according to the positioning side of the application program of running background, rationally definite LBS applications
Formula can efficiently reduce electric quantity consumption, extend the standby time of mobile terminal.
In some embodiments, the closing application program of running background is being controlled according to first kind information or is maintaining to run
Before, can include:Obtain the current application scenarios information of mobile terminal;According to pre-stored application scenarios and application program
Correspondence, determine at least one destination application corresponding with the application scenarios information that mobile terminal is current, by target
Application program is as target collection.The closing application program of running background is controlled according to first kind information or maintains operation, bag
It includes:Whether the application program for judging running background according to first kind information belongs to target collection;When the application journey of running background
When sequence belongs to target collection, the application program of running background is controlled to maintain operation;When the application program of running background is not belonging to mesh
During mark set, the closing application program of running background is controlled.It the advantages of this arrangement are as follows can be according to residing for mobile terminal
Scene information rationally controls the working condition (closing or maintain operation) of the application program of mobile terminal running background, Ke Yiyou
Effect reduces the electric quantity consumption of mobile terminal, further increases the cruising time of mobile terminal, while under different scenes after control
The application program of platform operation is different, can also meet user demand, improves user experience.
Further, according to the closing application program of control running background or the control result of maintenance operation, determine that LBS should
Positioning method can include:When controlling the closing application program of running background according to first kind information, pass through the whole world
Satellite navigation system GNSS positioning methods provide location information to LBS applications;When according to first kind information control running background
Application program maintain operation when, pass through any one in network positions mode, base station location mode and bluetooth positioning method
It is or a variety of to LBS application offer location informations.It, can be with the advantages of this arrangement are as follows when mobile terminal remaining capacity is less
Scene information according to residing for mobile terminal rationally controls the working condition of the application program of mobile terminal running background (to close
Or maintain operation), thus the positioning method further applied according to the working state control LBS of the application program of running background,
The electric quantity consumption of mobile terminal can be reduced, further increases the cruising time of mobile terminal.
In the embodiment of the present application, the closing application program of running background is being controlled according to first kind information or is maintaining to transport
Before row, the current application scenarios information of mobile terminal is obtained.Because under different application scenarios, mobile terminal backstage is transported
Capable application program is different, in other words, under different application scenarios, controls the working condition of the application program of running background
(closing or maintain operation) is different.Wherein, application scenarios information can include:Temporal information, environmental information, network connection letter
At least one of cease, whether charge.
Optionally, time classification during running background application program is determined according to the temporal information of mobile terminal, wherein, when
Between classification can include first time classification and the second time classification.Optionally, determined according to by the temporal information of mobile terminal
Running background application program date, obtain first time classification, wherein, first time classification can include:Working day and
Festivals or holidays;According to the period of the running background application program determined by the temporal information of mobile terminal, the second time class is obtained
Not, wherein, the second time classification can include:Morning peak, noon, evening peak, working time and time of having a rest;During by first
Between classification and the second time classification time classification of the combination as running background application program.Optionally, the second time class
Daytime, dusk and time of having a rest can also not included.Certainly, the second time classification can also to one day 24 it is small when 0:00-24:
00 carries out impartial division, is such as divided into 6 periods, when each period a length of 4 is small.Wherein, the second time classification can be with
It is recorded by the form of timestamp.
Environmental information in application scenarios information can include indoor environment and outdoor environment, and indoor environment can include again
It is in, in office or in the building of market etc..Illustratively, the current environment of mobile terminal can be obtained by GNSS
Information judges that mobile terminal is presently at indoor environment or outdoor environment by GNSS.Mobile terminal is inputted to GNSS
The satellite information of multiple satellites, and judge whether satellite information changes, 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, there are the satellite informations of at least one satellite
It changes, then determines whether the signal strength of the changed satellite information is less than preset strength threshold value.Work as institute
When stating signal strength less than preset strength threshold value, determine whether the corresponding number of satellite of changed satellite information is small
In default satellite threshold value, if the number of satellite is less than default satellite threshold value, it is determined that the mobile terminal is currently at interior
Environment.If in the signal strength of changed satellite information, there are it is at least one be more than preset strength threshold value when, then can be true
The fixed mobile terminal is currently at outdoor environment.Alternatively, the signal strength of changed satellite information is respectively less than preset strength
Threshold value, but the quantity of the corresponding satellite of changed satellite information is more than default satellite threshold value, can also determine the movement
Terminal is currently at outdoor environment.
Wherein, can also ring residing for the mobile terminal be obtained by the front camera or rear camera of mobile terminal
The image information in border 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.
And whether network connection information can be connected with network including mobile terminal, when mobile terminal is connected with network,
It can also include the type of connection network, such as WiFi network or mobile communications network.Mobile terminal is in different network connection shapes
Under state, the application program of mobile terminal running background is different.For example, in the case where there is network connection, mobile terminal backstage is transported
Capable application program can include needing to realize the application program of corresponding function by the network connected, such as mobile phone Taobao and
The application programs such as Amap.And in the case of no network connection, the application program of mobile terminal running background can wrap
The application program of corresponding function need not could be realized by network by including, such as camera, photo and memorandum application program.
Whether whether charging can include mobile terminal in charge mode, wherein, when mobile terminal is in charge mode
When, charge mode type can also be included.Charge mode type can include fast charge mode and normal charging mode, quickly
Charge mode can be charged by fast charge power supply adaptor (such as mobile power), and normal charging mode can be by general
Logical power supply adaptor (the original-pack charger of such as mobile terminal) charges.Mobile terminal moves under different charge modes
The application program of dynamic terminal running background is different., for example, when mobile terminal does not charge, in order to reduce the electricity of mobile terminal
Consumption, the application program of mobile terminal running background can include the less application program of power consumption, such as music class application program
With document class application program.For another example, when mobile terminal is in fast charge mode, it may illustrate that mobile terminal is in outdoor ring
Border, the application program of mobile terminal running background can include the application program that user is commonly used in outdoor, such as Amap
Or the navigation types application program such as Baidu map;When mobile terminal is in normal charging mode, it may illustrate that mobile terminal is in room
Interior environment, the application program of mobile terminal running background can include the application program that user is commonly used indoors, such as video
Class application program and game class application program.
Illustratively, according to pre-stored application scenarios and the correspondence of application program, search current with terminal
The corresponding at least one destination application of application scenarios information, and using one or more destination applications as object set
It closes.It is understood that pre-stored application scenarios and the correspondence of application program can be a list, in the list
In store the corresponding application program of each application scenarios.The corresponding application program of each application scenarios is appreciated that in the list
For these application programs under corresponding scene, is allowed to continue to operating status on mobile terminal backstage.Believed according to the first kind
Breath judges whether the application program of running background belongs to target collection, when the application program of running background belongs to target collection,
The application program of running background is controlled to maintain operation, when the application program of running background is not belonging to target collection, control backstage
The closing application program of operation.It is understood that the first kind for the application program run according to mobile terminal current background
Information, judges whether the application program of current background operation belongs under current application scene, allows it on mobile terminal backstage
Continue to remain on the application program of state.When according to first kind information determine current background run application program belong to this
During target collection, show under current application scene, these application programs is allowed to continue to maintain operation on backstage.When according to first
When type information determines that the application program of current background operation is not belonging to the target collection, show under current application scene, no
These application programs is allowed to continue to maintain operation on backstage, these closing application programs in running background can be directly controlled.
Wherein, pre-stored application scenarios and the correspondence of application program can be the history uses to user's sample
Custom and corresponding scene information are counted or are learnt and generate formulation.The selection of user's sample can be that local user exists
History in setting time section, using the corresponding scene information of data, can also be that setting quantity meets using data and history
History of the user group of setting condition in setting time section uses data and corresponding scene information.For example, server
The history in local user one month is obtained using data, which is used into the corresponding field of data using data and the history
Scape information learns the user's sample using machine learning model, user is in different application field for prediction as user's sample
It may be continued in the application program of mobile terminal running background under scape.It may be continued to according under different application scene
The application program of mobile terminal running background generates application scenarios and the correspondence of application program, so as to current according to terminal
Application scenarios information determine allow mobile terminal backstage continue to operation application program.Application scenarios and application program
Correspondence generation after, by server push to mobile terminal.It should be noted that the application scenarios and pair of application program
Should be related to can also be selected by user.The application scenarios and the correspondence of application program can be stored in movement with file mode
Terminal local or cloud server can also be stored in mobile terminal local or cloud server with database mode.
Illustratively, when the current applied field of the first kind information and mobile terminal of the application program according to running background
Scape information when controlling the closing application program of the running background, can provide positioning by GNSS positioning methods to LBS applications
Information.It is understood that under the current application scene of mobile terminal, after closing the application program of running background, Ke Yiyou
Effect ground reduces the power consumption of mobile terminal, adaptively extends the cruising time of mobile terminal, therefore, when LBS applications are initiated to position
During request, location information can be provided to LBS applications by the higher positioning method of GNSS positioning accuracies, to provide to the user more
Good service.When the current application scenarios information of the first kind information and mobile terminal of the application program according to running background,
When the application program of the running background being controlled to maintain operation, network positions mode, base station location mode and bluetooth can be passed through
Any one or more in positioning method provides location information to LBS applications.It is understood that in the current of mobile terminal
Under application scenarios, when the application program of running background being made to maintain operation, the application program of these running backgrounds can increase movement eventually
The power consumption at end reduces the cruising time of mobile terminal, therefore when Location Request is initiated in LBS applications, can pass through network positions
Mode, base station location mode and the less positioning method of these power consumption of bluetooth positioning method provide positioning letter to LBS applications
Breath can be effectively reduced the power consumption of mobile terminal, adaptively extend the cruising time of mobile terminal.
In some embodiments, before the positioning method of LBS applications is determined according to first kind information, can also wrap
It includes:Obtain the Second Type information of LBS applications;Correspondingly, the positioning method of LBS applications is determined according to first kind information, it can
To include:According to first kind information and Second Type information, the positioning method that LBS is applied is determined.The benefit so set exists
In, it can be according to the LBS applications of the application program and initiation Location Request of running background, the positioning that rationally the definite LBS is applied
Mode further increases the cruising time of mobile terminal.
Illustratively, when determining that the application program power consumption of mobile terminal running background is larger according to first kind information,
The closing application program of running background is controlled, and when the LBS for being determined to initiate Location Request according to Second Type information is using to fixed
When position required precision is higher, location information can be provided to LBS applications by the higher GNSS positioning methods of positioning accuracy;Root
When determining that the application program power consumption of mobile terminal running background is larger according to first kind information, the application journey of running background is controlled
Sequence is closed, and when determined to initiate according to Second Type information the LBS of Location Request using it is relatively low to positioning accuracy request when, can be with
Any one or more in being positioned by the relatively low network positions of positioning accuracy, base station location and bluetooth is carried to LBS applications
For location information;When determining that the LBS for initiating Location Request applies higher to positioning accuracy request according to Second Type information, and
It, can be without considering running background when determining that the application program power consumption of mobile terminal running background is smaller according to first kind information
Application program working condition (close or maintain operation), should to the LBS by the higher GNSS positioning methods of positioning accuracy
With offer location information;It is relatively low to positioning accuracy request when determining that the LBS for initiating Location Request is applied according to Second Type information
When, while when determining that the application program power consumption of mobile terminal running background is smaller according to first kind information, can not also examine
Consider the working condition (closing or maintain operation) of the application program of running background, pass through the relatively low network positions of positioning accuracy, base
Stand firm position and bluetooth positioning in any one or more to the LBS application provide location information.
Optionally, according to first kind information and Second Type information, determine the positioning method of LBS applications, can include:
According to first kind information and Second Type information, the application program of running background and the degree of association of LBS applications are determined;Work as association
When degree is more than default correlation threshold, the application program of running background is controlled to maintain operation;Pass through network positions mode, base station location
Any one or more in mode and bluetooth positioning method provides location information to LBS applications.The benefit so set
It is, can have both ensured that LBS applications obtain location information and provide service to the user, while can suitably extend the continuation of the journey of terminal
Time, and the application program of running background is made to provide service to the user, the usage experience of user can be greatly improved.
Wherein, when the degree of association includes LBS application initiation Location Requests, application program is in the probability value of running background.From the background
The degree of association of the LBS applications of the application program and initiation Location Request of operation, it can be understood as Location Request is initiated in LBS applications
When, application program running background probability value, in other words, the degree of dependence that the application program of running background applies LBS.Show
Example property, the application program of running background is music class application program (such as KuGoo music, QQ music, Netease's cloud music), mobile
The LBS that Location Request is initiated in terminal is applied as Keep application programs.Wherein, the music class application program of running background is with initiating
The Keep application programs of Location Request are there are substantial connection, and the two degree of association is stronger in other words.It is appreciated that
It is that user monitors running distance by Keep application programs, meanwhile, during running, music that user passes through running background
Class application program listens to music, to loosen mood.Therefore, the music class application program of running background can be made to maintain operation, simultaneously
In order to save electricity, any one in network positions mode, base station location mode and bluetooth positioning method or more can be passed through
Kind provides location information to Keep applications.In another example the application program of running background is game class application program, (such as king is flourish
Credit, the happy pleasure that disappears), the LBS that Location Request is initiated in mobile terminal is applied as Keep application programs.Wherein, running background
Game class application program is with initiating the Keep application programs of Location Request not there are positive connection, both the in other words degree of association
It is weaker.Therefore, the game class closing application program of running background can be made, the work(of mobile terminal can be effectively reduced
Consumption adaptively extends the cruising time of mobile terminal.It at this point it is possible to should to Keep by the higher mode of GNSS positioning accuracies
With location information is provided, to accurately acquire the position of user.
Optionally, when the degree of association is less than default correlation threshold, the closing application program of running background is controlled;Pass through GNSS
Positioning method provides location information to LBS applications.The advantages of this arrangement are as follows it can not only determine by the way that positioning accuracy is higher
Position mode provides location information to LBS applications, provides better service to the user, but also can will be with LBS association degree
The application program of less running background is directly closed, and is effectively reduced the power consumption of mobile terminal, is adaptively extended mobile whole
The cruising time at end.
Illustratively, according to first kind information and Second Type information, judge in pre-stored application relation list
The LBS of application program and initiation Location Request with the presence or absence of running background is applied, and the application program of running background and initiation
Whether the LBS applications of Location Request are in correspondence in the pre-stored application relation list.When definite running background
When the LBS of application program and initiation Location Request in the form of correspondence using this is present in using in relation list, explanation
The application program of running background and the degree of association that the LBS is applied are larger, and the application program of running background is applied with the LBS in other words
The degree of association be more than default correlation threshold, at this point it is possible to which the application program of running background is controlled to maintain operation, pass through network positions
Any one or more in mode, base station location mode and bluetooth positioning method provides location information to LBS applications.When
The LBS applications of the application program and initiation Location Request of running background, which are not existed simultaneously, applies in this in relation list, alternatively,
The LBS applications of the application program and initiation Location Request of running background, which are existed simultaneously, applies in this in relation list, but the two is not
During in correspondence, illustrate that the application program of running background and the degree of association that the LBS is applied are smaller, in other words running background should
It is less than default correlation threshold with the degree of association of program and LBS applications, at this point it is possible to which the application program of running background is controlled to close
It closes, location information is provided to LBS applications by GNSS positioning methods.
Illustratively, according to first kind information and Second Type information, judge in pre-stored application relation list
The LBS of application program and initiation Location Request with the presence or absence of running background is applied, and is arranged in the pre-stored application relation
In table, the correspondence grade of LBS application of the application program of running background with initiating Location Request.When the application of running background
Program and the correspondence higher grade that LBS is applied, and shows that the application program of running background and the degree of association that LBS is applied are bigger.
For example, in application relation list, the correspondence that four grades are set with the application program of running background is applied for LBS, such as
The first estate, the degree of association for showing the two are 80%, and the second grade, the degree of association for showing the two is 60%, and the tertiary gradient shows
The degree of association of the two is 40%, the fourth estate, and the degree of association for showing the two is 20%, certainly, when the application program of running background
It does not exist simultaneously in this using in relation list, illustrates with the LBS applications for initiating Location Request, the degree of association of the two is 0.Its
In, default correlation threshold can be set as 50%, when pair that the application program of running background is applied with initiating the LBS of Location Request
Answer relationship level be the first estate or the second grade when, can control running background application program maintain operation, pass through network
Any one or more in positioning method, base station location mode and bluetooth positioning method provides positioning letter to LBS applications
Breath.It is applied when the LBS applications of the application program and initiation Location Request of running background are not existed simultaneously in this in relation list,
Alternatively, when the correspondence grade of LBS application of the application program with initiating Location Request of running background is the tertiary gradient or the
During four grades, illustrate that the application program of running background and the degree of association that the LBS is applied are smaller, in other words the application journey of running background
Sequence and the degree of association of LBS applications are less than default correlation threshold, at this point it is possible to control the closing application program of running background, lead to
It crosses GNSS positioning methods and provides location information to LBS applications.
Wherein, pre-stored using relation list can be that the history use habit of user's sample is counted or learned
It practises and generates what is formulated.The selection of user's sample can be that history of the local user in setting time section uses data, also
Can be that history of the user group of setting quantity satisfaction setting condition in setting time section uses data.For example, service
Device obtains history in local user one month using data, which is used data as user's sample, using engineering
It practises model to learn the user's sample, when predicting that Location Request is initiated in different LBS applications, may continue to mobile whole
Hold the application program of running background.It may be continued to when initiating Location Request according to different LBS applications on mobile terminal backstage
The application program of operation, generation is using relation list, so that the LBS applications according to the current initiation Location Request of mobile terminal are true
It is fixed to allow to continue to the application program of operation on mobile terminal backstage, application program and the initiation of running background are determined in other words
The degree of association of the LBS applications of Location Request.This (can be understood as application program and the initiation of running background using relation list
Location Request LBS application the degree of association apply relation list) generation after, by server push to mobile terminal.It needs
Bright, this can also be selected using relation list by user.This can be stored in movement using relation list with file mode
Terminal local or cloud server can also be stored in mobile terminal local or cloud server with database mode.
Fig. 2 is the flow diagram of positioning method control method provided by the embodiments of the present application.As shown in Fig. 2, this method
Including:
Step 201, when receiving LBS applications and initiating Location Request, obtain the current remaining capacity of mobile terminal.
Step 202, when remaining capacity is less than default power threshold, obtain the application journey of mobile terminal current background operation
The first kind information of sequence.
Step 203 judges whether to control the closing application program of running background according to first kind information, if so, holding
Otherwise row step 204, performs step 205.
Step 204 provides location information by GNSS positioning methods to LBS applications.
Step 205 passes through any one or more in network positions mode, base station location mode and bluetooth positioning method
Location information is provided to LBS applications.
It is understood that when the application program of running background is controlled to maintain operation according to first kind information, it can be with
It is provided and determined to LBS applications by any one or more in network positions mode, base station location mode and bluetooth positioning method
Position information.
Positioning method control method provided by the embodiments of the present application when controlling the closing application program of running background, is led to
It crosses GNSS positioning methods and provides location information to LBS applications, the power consumption of mobile terminal can be effectively reduced, adaptively extended
The cruising time of mobile terminal, and LBS applications is made to obtain the higher location information of precision, provide better volume service to the user;
When the application program of running background is controlled to maintain operation, pass through network positions mode, base station location mode and bluetooth positioning side
Any one or more in formula provides location information to LBS applications, and it is user that can both ensure that LBS applications obtained location information
Service is provided, while can suitably extend the cruising time of terminal, and the application program of running background is made to provide clothes to the user
Business can greatly improve the usage experience of user.
Fig. 3 is the flow diagram of positioning method control method provided by the embodiments of the present application.As shown in figure 3, this method
Including:
Step 301, when receiving LBS applications and initiating Location Request, obtain the current remaining capacity of mobile terminal.
Step 302, when remaining capacity is less than default power threshold, obtain the application journey of mobile terminal current background operation
The first kind information of sequence.
Step 303 obtains the current application scenarios information of mobile terminal.
Wherein, application scenarios information can include:Whether temporal information, environmental information network connection information, charge
It is at least one.
Step 304, the correspondence according to pre-stored application scenarios and application program determine current with mobile terminal
The corresponding at least one destination application of application scenarios information, using destination application as target collection.
Step 305 judges whether the application program of running background belongs to target collection according to first kind information, if so,
Step 306 is then performed, otherwise, performs step 308.
Step 306 controls the application program of running background to maintain operation, and performs step 307.
Step 307 passes through any one or more in network positions mode, base station location mode and bluetooth positioning method
Location information is provided to LBS applications.
Step 308, when the application program of running background is not belonging to target collection, the application program of running background is controlled to close
It closes, and performs step 309.
Step 309 provides location information by GNSS positioning methods to LBS applications.
Positioning method control method provided by the embodiments of the present application, can basis when mobile terminal remaining capacity is less
Scene information residing for mobile terminal rationally controls the working condition of the application program of mobile terminal running background (to close or tie up
Hold operation), it, can be with so as to the positioning method further applied according to the working state control LBS of the application program of running background
The electric quantity consumption of mobile terminal is reduced, further increases the cruising time of mobile terminal.
Fig. 4 is the flow diagram of positioning method control method provided by the embodiments of the present application.As shown in figure 4, this method
Including:
Step 401, when receiving LBS applications and initiating Location Request, obtain the current remaining capacity of mobile terminal.
Step 402, when remaining capacity is less than default power threshold, obtain the application journey of mobile terminal current background operation
The first kind information of sequence.
Step 403, the Second Type information for obtaining LBS applications.
Step 404, according to first kind information and Second Type information, the application program and LBS that determine running background should
The degree of association.
Wherein, when the degree of association includes LBS application initiation Location Requests, application program is in the probability value of running background.
Step 405 judges whether the degree of association is more than default correlation threshold, if so, performing step 406, otherwise, performs step
Rapid 408.
Step 406 controls the application program of running background to maintain operation, and performs step 407.
Step 407 passes through any one or more in network positions mode, base station location mode and bluetooth positioning method
Location information is provided to LBS applications.
Step 408, the closing application program for controlling running background, and perform step 409.
Step 409 provides location information by GNSS positioning methods to LBS applications.
Positioning method control method provided by the embodiments of the present application, please according to the application program of running background and initiation positioning
The degree of association for the LBS applications asked controls the working condition (closing or maintain operation) of the application program of running background, and further
It rationally determines the positioning method of LBS applications, further increases the cruising time of mobile terminal.
The structure diagram for establishing device that Fig. 5 controls for a kind of positioning method provided by the embodiments of the present application, the device
It can be typically integrated on mobile terminal, can be determined by performing positioning method control method by software and/or hardware realization
The positioning method of LBS applications.As shown in figure 5, the device includes:
Remaining capacity acquisition module 501, for when receiving based on location-based service LBS application initiation Location Requests, obtaining
Take the remaining capacity that mobile terminal is current;
First kind data obtaining module 502, for when the remaining capacity is less than default power threshold, described in acquisition
The first kind information of the application program of mobile terminal current background operation;
Positioning method determining module 503, for determining the positioning side of the LBS applications according to the first kind information
Formula.
Positioning method control device provided by the embodiments of the present application initiates to determine when receiving based on location-based service LBS applications
During the request of position, the current remaining capacity of acquisition mobile terminal, and when remaining capacity is less than default power threshold, obtain mobile whole
The first kind information of the application program of current background operation is held, the positioning of LBS applications is then determined according to first kind information
Mode.When mobile terminal remaining capacity is less, according to the positioning side of the application program of running background, rationally definite LBS applications
Formula can efficiently reduce electric quantity consumption, extend the standby time of mobile terminal.
Optionally, the positioning method determining module, including:
Control unit, for controlling closing application program or the maintenance of the running background according to the first kind information
Operation;
First determination unit for the closing application program according to the control running background or maintains the control run
System is as a result, determine the positioning method of the LBS applications.
Optionally, further include:
Application scenarios information acquisition unit, for controlling the running background according to the first kind information described
Before closing application program or maintenance operation, the current application scenarios information of the mobile terminal is obtained;
Destination application determination unit, for the correspondence according to pre-stored application scenarios and application program,
At least one destination application corresponding with the application scenarios information that the mobile terminal is current is determined, by the intended application
Program is as target collection;
Described control unit is used for:
Whether the application program for judging the running background according to the first kind information belongs to the target collection;
When the application program of the running background belongs to the target collection, the application program of the running background is controlled
Maintain operation;
When the application program of the running background is not belonging to the target collection, the application journey of the running background is controlled
Sequence is closed.
Optionally, first determination unit, is used for:
When controlling the closing application program of the running background according to the first kind information, led by global satellite
Boat system GNSS positioning methods provide location information to LBS applications;
When the application program of the running background is controlled to maintain operation according to the first kind information, determined by network
Any one or more in position mode, base station location mode and bluetooth positioning method provides location information to LBS applications.
Optionally, which further includes:
Second Type data obtaining module, for determining what the LBS was applied according to the first kind information described
Before positioning method, the Second Type information of the LBS applications is obtained;
The positioning method determining module, including:
Second determination unit according to the first kind information and the Second Type information, determines the LBS applications
Positioning method.
Optionally, second determination unit, is used for:
According to the first kind information and the Second Type information, application program and the institute of the running background are determined
The degree of association of LBS applications is stated, wherein, when the degree of association includes LBS application initiation Location Requests, the application program exists
The probability value of running background;
When the degree of association is more than default correlation threshold, the application program of the running background is controlled to maintain operation;
By any one or more in network positions mode, base station location mode and bluetooth positioning method to described
LBS applications provide location information.
Optionally, second determination unit, is additionally operable to:
When the degree of association is less than default correlation threshold, the closing application program of the running background is controlled;
By GNSS positioning methods location information is provided to LBS applications.
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 positioning method control method, this method:
When receiving based on location-based service LBS application initiation Location Requests, the current remaining capacity of mobile terminal is obtained;
When the remaining capacity is less than default power threshold, the application journey of the mobile terminal current background operation is obtained
The first kind information of sequence;
The positioning method of the LBS applications is determined according to the first kind information.
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 method control operation that executable instruction is not limited to the described above can also carry out what the application any embodiment was provided
Relevant operation in positioning method control method.
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 mode control device.Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.It is as shown in fig. 6, mobile whole
End 600 can include:Memory 601, processor 602 and storage on a memory and can processor operation computer journey
Sequence, the processor 602 realize the positioning method control 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 remaining capacity of mobile terminal is obtained, and when remaining capacity is less than default power threshold, obtains mobile terminal when front and rear
Then the first kind information of the application program of platform operation determines the positioning method of LBS applications according to first kind information.Work as shifting
When dynamic terminal residual electricity is less, according to the positioning method of the application program of running background, rationally definite LBS applications, Ke Yiyou
Effect ground reduces electric quantity consumption, 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 remaining capacity of mobile terminal is obtained;
When the remaining capacity is less than default power threshold, the application journey of the mobile terminal current background operation is obtained
The first kind information of sequence;
The positioning method of the LBS applications is determined according to the first kind information.
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 the mobile terminal provided in this embodiment for positioning method control is described in detail below, and the movement is whole
End is by taking mobile phone as an example.
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.
Positioning method control device, storage medium and the mobile terminal provided in above-described embodiment can perform the application implementation
The corresponding positioning method control method that example is provided possesses and performs the corresponding function module of this method and advantageous effect.Do not exist
The technical detail of detailed description in above-described embodiment, reference can be made to the positioning method controlling party that the application any embodiment is provided
Method.
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 positioning method control method, which is characterized in that including:
When receiving based on location-based service LBS application initiation Location Requests, the current remaining capacity of mobile terminal is obtained;
When the remaining capacity is less than default power threshold, the application program of the mobile terminal current background operation is obtained
First kind information;
The positioning method of the LBS applications is determined according to the first kind information.
2. according to the method described in claim 1, it is characterized in that, described determine the LBS according to the first kind information
The positioning method of application, including:
The closing application program of the running background is controlled according to the first kind information or maintains operation;
According to the closing application program of the control running background or the control result run is maintained, determines that the LBS should
Positioning method.
3. according to the method described in claim 2, it is characterized in that, it is described according to the first kind information control it is described after
Before the closing application program of platform operation or maintenance operation, including:
Obtain the current application scenarios information of the mobile terminal;
According to pre-stored application scenarios and the correspondence of application program, determine and the current applied field of the mobile terminal
The corresponding at least one destination application of scape information, using the destination application as target collection;
It is described that the closing application program of the running background is controlled according to the first kind information or maintains to run, including:
Whether the application program for judging the running background according to the first kind information belongs to the target collection;
When the application program of the running background belongs to the target collection, the application program of the running background is controlled to maintain
Operation;
When the application program of the running background is not belonging to the target collection, the application program of the running background is controlled to close
It closes.
4. according to the method in claim 2 or 3, which is characterized in that according to the application journey of the control running background
The control result of operation is closed or maintained to sequence, determines the positioning method of the LBS applications, including:
When controlling the closing application program of the running background according to the first kind information, pass through global navigation satellite system
GNSS positioning methods of uniting provide location information to LBS applications;
When the application program of the running background is controlled to maintain operation according to the first kind information, by network positions side
Any one or more in formula, base station location mode and bluetooth positioning method provides location information to LBS applications.
5. according to the method described in claim 1, it is characterized in that, described according to determining the first kind information
Before the positioning method of LBS applications, further include:
Obtain the Second Type information of the LBS applications;
The positioning method that the LBS applications are determined according to the first kind information, including:
According to the first kind information and the Second Type information, the positioning method that the LBS is applied is determined.
It is 6. according to the method described in claim 5, it is characterized in that, described according to the first kind information and second class
Type information determines the positioning method of the LBS applications, including:
According to the first kind information and the Second Type information, determine the application program of the running background with it is described
The degree of association of LBS applications, wherein, when the degree of association includes LBS application initiation Location Requests, the application program is rear
The probability value of platform operation;
When the degree of association is more than default correlation threshold, the application program of the running background is controlled to maintain operation;
It should to the LBS by any one or more in network positions mode, base station location mode and bluetooth positioning method
With offer location information.
7. it according to the method described in claim 6, it is characterized in that, further includes:
When the degree of association is less than default correlation threshold, the closing application program of the running background is controlled;
By GNSS positioning methods location information is provided to LBS applications.
8. a kind of positioning method control device, which is characterized in that including:
Remaining capacity acquisition module, for when receiving based on location-based service LBS application initiation Location Requests, obtaining movement eventually
Hold current remaining capacity;
First kind data obtaining module, it is described mobile whole for when the remaining capacity is less than default power threshold, obtaining
Hold the first kind information of the application program of current background operation;
Positioning method determining module, for determining the positioning method of the LBS applications according to the first kind information.
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 positioning method control 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
Positioning method control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326718.XA CN108076507B (en) | 2017-12-13 | 2017-12-13 | Positioning mode control method and device, storage medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711326718.XA CN108076507B (en) | 2017-12-13 | 2017-12-13 | Positioning mode control method and device, storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108076507A true CN108076507A (en) | 2018-05-25 |
CN108076507B CN108076507B (en) | 2020-09-22 |
Family
ID=62158231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711326718.XA Active CN108076507B (en) | 2017-12-13 | 2017-12-13 | Positioning mode control method and device, storage medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108076507B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164477A (en) * | 2018-08-29 | 2019-01-08 | 维沃移动通信有限公司 | A kind of method and mobile terminal of application positioning |
CN110491387A (en) * | 2019-08-23 | 2019-11-22 | 三星电子(中国)研发中心 | A kind of interactive service method and system based on multiple terminals |
CN110572778A (en) * | 2019-08-02 | 2019-12-13 | 深圳市科迈爱康科技有限公司 | position determination method and device based on multi-network cooperation |
CN110830658A (en) * | 2019-11-29 | 2020-02-21 | 捷开通讯(深圳)有限公司 | Mobile terminal control method and device, mobile terminal and storage medium |
CN110855840A (en) * | 2019-11-29 | 2020-02-28 | 合肥开元埃尔软件有限公司 | Mobile phone safety switching system based on combination of network pushing and active scanning |
CN111787491A (en) * | 2020-06-29 | 2020-10-16 | 广东小天才科技有限公司 | Auxiliary positioning, system, wearable device and storage medium |
CN112000213A (en) * | 2020-08-18 | 2020-11-27 | 深圳市云谷创新科技有限公司 | Positioning method and device for improving cruising ability of terminal, terminal and readable storage medium |
CN115460321A (en) * | 2022-10-13 | 2022-12-09 | 重庆可兰达科技有限公司 | Continuous and accurate positioning method capable of saving iPhone electric quantity |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105682032A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning mode control method, positioning mode control device and mobile terminal |
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 |
CN106896894A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | Terminal power management method and terminal |
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 CN201711326718.XA patent/CN108076507B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106717035A (en) * | 2014-09-22 | 2017-05-24 | 高通股份有限公司 | Low-power location information reporting |
CN106896894A (en) * | 2015-12-21 | 2017-06-27 | 北京奇虎科技有限公司 | Terminal power management method and terminal |
CN105682032A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning mode control method, positioning mode control device and mobile terminal |
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 (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164477A (en) * | 2018-08-29 | 2019-01-08 | 维沃移动通信有限公司 | A kind of method and mobile terminal of application positioning |
CN110572778A (en) * | 2019-08-02 | 2019-12-13 | 深圳市科迈爱康科技有限公司 | position determination method and device based on multi-network cooperation |
CN110491387A (en) * | 2019-08-23 | 2019-11-22 | 三星电子(中国)研发中心 | A kind of interactive service method and system based on multiple terminals |
CN110830658A (en) * | 2019-11-29 | 2020-02-21 | 捷开通讯(深圳)有限公司 | Mobile terminal control method and device, mobile terminal and storage medium |
CN110855840A (en) * | 2019-11-29 | 2020-02-28 | 合肥开元埃尔软件有限公司 | Mobile phone safety switching system based on combination of network pushing and active scanning |
CN110855840B (en) * | 2019-11-29 | 2022-02-11 | 合肥开元埃尔软件有限公司 | Mobile phone safety switching system based on combination of network pushing and active scanning |
CN111787491A (en) * | 2020-06-29 | 2020-10-16 | 广东小天才科技有限公司 | Auxiliary positioning, system, wearable device and storage medium |
CN111787491B (en) * | 2020-06-29 | 2022-09-30 | 广东小天才科技有限公司 | Auxiliary positioning, system, wearable device and storage medium |
CN112000213A (en) * | 2020-08-18 | 2020-11-27 | 深圳市云谷创新科技有限公司 | Positioning method and device for improving cruising ability of terminal, terminal and readable storage medium |
CN112000213B (en) * | 2020-08-18 | 2022-06-03 | 深圳市云谷创新科技有限公司 | Positioning method and device for improving cruising ability of terminal, terminal and readable storage medium |
CN115460321A (en) * | 2022-10-13 | 2022-12-09 | 重庆可兰达科技有限公司 | Continuous and accurate positioning method capable of saving iPhone electric quantity |
CN115460321B (en) * | 2022-10-13 | 2024-03-29 | 重庆可兰达科技有限公司 | Continuous accurate positioning method capable of saving iPhone electric quantity |
Also Published As
Publication number | Publication date |
---|---|
CN108076507B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108076507A (en) | Positioning method control method, device, storage medium and mobile terminal | |
CN109947498B (en) | Application program preloading method and device, storage medium and mobile terminal | |
US10891142B2 (en) | Method and device for preloading application, storage medium, and terminal device | |
CN109947496B (en) | Application program preloading method and device, storage medium and mobile terminal | |
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 | |
CN109947495A (en) | Application program preloads method, apparatus, storage medium and mobile terminal | |
CN107622281A (en) | Image classification method, device, storage medium and mobile terminal | |
CN109947497B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN107783801A (en) | Application program forecast model is established, preloads method, apparatus, medium and terminal | |
CN108111971A (en) | Localization method, device, storage medium and mobile terminal | |
EP3598726A1 (en) | Method for adjusting precision level of positioning, device, storage medium and electronic device | |
CN107995357A (en) | Resource allocation method and device | |
CN107479953B (en) | Process management method, device, storage medium and electronic equipment | |
CN107941234A (en) | Recommendation method, apparatus, storage medium and the mobile terminal of traffic path | |
CN109710796A (en) | Voice-based image searching method, device, storage medium and terminal | |
CN108093368A (en) | Control method, device, storage medium and mobile terminal based on locating module | |
CN107995367B (en) | Arrival reminding method and device, storage medium and mobile terminal | |
CN108712717A (en) | Control method, device, storage medium based on application shop and mobile terminal | |
CN108040320A (en) | Control method, device, storage medium and the mobile terminal of GNSS positioning | |
CN107566465A (en) | A kind of method, apparatus, storage medium and the mobile terminal of information push | |
CN107888480A (en) | Prompting message processing method, device, storage medium and mobile terminal | |
CN105608095A (en) | Multimedia playing method and device as well as mobile terminal | |
CN108509214A (en) | Update method, device, storage medium and the mobile terminal of application program | |
CN111355848B (en) | Positioning control method and device of electronic equipment, storage medium and electronic equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |