CN106888432A - The optimization method of alignment system performance, device and mobile terminal - Google Patents

The optimization method of alignment system performance, device and mobile terminal Download PDF

Info

Publication number
CN106888432A
CN106888432A CN201710050693.9A CN201710050693A CN106888432A CN 106888432 A CN106888432 A CN 106888432A CN 201710050693 A CN201710050693 A CN 201710050693A CN 106888432 A CN106888432 A CN 106888432A
Authority
CN
China
Prior art keywords
application program
short time
alignment system
positioning
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710050693.9A
Other languages
Chinese (zh)
Inventor
邓伟华
王福泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710050693.9A priority Critical patent/CN106888432A/en
Publication of CN106888432A publication Critical patent/CN106888432A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a kind of optimization method of alignment system performance, device and mobile terminal, it is related to field of locating technology, main purpose is to solve when short time application program is in the case where that need not open gps system, still GPS location is constantly carried out so that terminal device consumes the problem of unnecessary electricity.Methods described includes:Obtain the history positioning statistics of the application program with positioning function;Statistics is positioned by default positioning type identification model to the history to be trained, the align_type for determining the application program is short time application program;According to use state of the short time application program in present terminal equipment is recognized, judge whether to perform the preset opening state optimization rule of the present terminal equipment alignment system;If so, being then turned on and off operation according to preset opening state optimization rule execution alignment system corresponding with the use state of the short time application program.Optimization of the present invention suitable for alignment system performance.

Description

The optimization method of alignment system performance, device and mobile terminal
Technical field
The present invention relates to a kind of field of locating technology, more particularly to a kind of optimization method, the device of alignment system performance And mobile terminal.
Background technology
As the positioning covering power of global position system GPS (Global Positioning System) is more and more stronger, It is also more and more to the application that the action trail of user is positioned and developed using GPS.Wherein, in order in different terminals Different application realize different functions, GPS needs to carry out real-time tracking to the action trail of user.
At present, when unlatching needs positioning function application APP, background program can be according to the continual transmission of time interval GPS location is asked, and will pass through the geographical location information that GPS positioning system obtains user, usually, backstage persistently carries out GPS Power consumption during positioning is 70mA or so, and under terminal is in holding state power consumption between 6-10mA, but, work as the short time Application program still constantly carries out GPS location in the case where that need not open gps system so that terminal device consumption is unnecessary Electricity.
The content of the invention
The present invention provides a kind of optimization method of alignment system performance, device and mobile terminal, and main purpose is to solve When short time application program is in the case where that need not open gps system, GPS location is still constantly carried out so that terminal device disappears The problem of the unnecessary electricity of consumption.
According to one aspect of the invention, there is provided a kind of optimization method of alignment system performance, including:
Obtain the history positioning statistics of the application program with positioning function;
Statistics is positioned to the history to be trained, determine the application journey by default positioning type identification model The align_type of sequence is short time application program;
According to use state of the short time application program in present terminal equipment is recognized, judge whether to perform institute The preset opening state optimization rule of present terminal equipment alignment system is stated, the preset opening state optimization rule is included in short-term Between application program alignment system optimisation strategy corresponding from different use states;
If performing the preset opening state optimization rule of the present terminal equipment alignment system, preset opened according to described That opens state optimization rule execution alignment system corresponding with the use state of the short time application program is turned on and off behaviour Make.
According to another aspect of the invention, there is provided a kind of optimization device of alignment system performance, including:
Acquiring unit, the history for obtaining the application program with positioning function positions statistics;
Determining unit, is trained for positioning statistics to the history by default positioning type identification model, The align_type for determining the application program is short time application program;
Judging unit, for the use state being located at according to the identification short time application program in present terminal equipment, Judge whether that the preset opening state optimization for performing the present terminal equipment alignment system is regular, the preset opening state is excellent Changing rule includes short time application program alignment system optimisation strategy corresponding from different use states;
Execution unit, if the preset opening state optimization rule for performing the present terminal equipment alignment system, Alignment system corresponding with the use state of the short time application program is performed according to preset opening state optimization rule Be turned on and off operation.
The third aspect, the invention provides a kind of mobile terminal, the mobile terminal has to be realized determining in above-mentioned first aspect The function of the optimization behavior of position systematic function.The function can be realized by hardware, it is also possible to be performed by hardware corresponding Software is realized.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a possible design, the structure of mobile terminal includes processor and memory, and the memory is used for Storage supports that R-T unit performs the program of the above method, and the processor is configurable for performing storage in the memory Program.The mobile terminal apparatus can also include communication interface, lead to for mobile terminal and other equipment or communication network Letter.
Fourth aspect, the invention provides a kind of computer-readable storage medium, for saving as above-mentioned mobile terminal apparatus institute Computer software instructions, it is included for performing the program designed by the optimization that above-mentioned aspect is alignment system performance.
By above-mentioned technical proposal, technical scheme provided in an embodiment of the present invention at least has following advantages:
A kind of optimization method of alignment system performance, device and mobile terminal that the present invention is provided, with it is existing ought be in short-term Between application program in the case where gps system need not be opened, still constantly carry out GPS location so that terminal device consumption need not The electricity wanted is compared, and the present invention applies journey by determining that current application program is short time application program first according to the short time Whether the use state of sequence needs that the application program of lasting unlatching GPS positioning system is carried out being turned on and off operation, realizes short Time application program closes the positioning function of GPS in the case of unnecessary unlatching GPS, reduces power consumption, saves electric energy.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of optimization method schematic flow sheet of alignment system performance provided in an embodiment of the present invention;
Fig. 2 shows a kind of GPS requests controlled state schematic flow sheet provided in an embodiment of the present invention;
Fig. 3 shows a kind of optimization program frame schematic diagram of alignment system performance provided in an embodiment of the present invention;
Fig. 4 shows the optimization method schematic flow sheet of another alignment system performance provided in an embodiment of the present invention;
Fig. 5 shows a kind of optimization apparatus structure schematic diagram of alignment system performance provided in an embodiment of the present invention;
Fig. 6 shows the optimization apparatus structure schematic diagram of another alignment system performance provided in an embodiment of the present invention;
Fig. 7 shows a kind of entity structure schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
A kind of optimization method of alignment system performance is the embodiment of the invention provides, as shown in figure 1, methods described includes:
101st, the history positioning statistics of the application program with positioning function is obtained.
Wherein, the application program with positioning function is that can be tracked positioning by opening global position system GPS The application program of present terminal device geographical location, e.g., vehicle mounted guidance, map etc., the embodiment of the present invention is not specifically limited, institute State history positioning statistics include the single positioning gathered when being positioned with the application program of positioning function initiate number of times, Single positioning number of success etc., specific data are as shown in table 1.
Table 1
It should be noted that wrapping the installation kit title of entitled application APP, TOP patterns are that APP is in desktop display shape State, the positioning in upper table is successfully that present terminal equipment is located outside, and GPS can receive the position signalling of satellite transmission, on Positioning in table is unsuccessfully that in present terminal device location room, GPS receiver is less than the positional information number that satellite sends, the hang-up Request is to be hung up GPS, and specific method can send Location Request for application program to location servers, Location servers carry out Location Request to be stored by row, and to be managed to request, Location Request is according to the side for managing Normal direction GPS is sent and starts request, and a switch is set in startup request process is sent, and GPS is hung up as by this Individual switch is intercepted to the startup request for sending, so as to realize stopping starting GPS location kinetic energy.Specific GPS requests management shape State flow chart as shown in Fig. 2
For example, Fig. 3 is the program frame that GPS sends request according to use state, location servers After LocationManagerService receives request, start the tracking to new request to QikuLRManager, if in short-term Between class APP then directly hang up, specific procedure is as shown in figure 3, the embodiment of the present invention is repeated no more.
102nd, position statistics to the history by default positioning type identification model to be trained, it is determined that described should It is short time application program with the align_type of program.
Wherein, the short time application program is to be spaced with the long period, and the application of short time Location Request is initiated in timing System, for example, defining Location Request of total request time no more than 30s to position in short-term, calculating initiation total degree accounts for total GPS please Several ratios is sought, during more than 70%, it is believed that be frequently to ask APP in short-term.The default positioning type identification model is by going through A series of identification formula that history positioning statistics parameter logistic is obtained, this Formula Series can be calculated between parameter Ratio, can specifically be preset by technical staff, and the embodiment of the present invention is not specifically limited, by the value model of ratio Enclose, finally give the align_type of current APP, a series of formula can include:Total success time ratio:
MOverallSuccRate=(mLocationSuccTime)/(mLocationTotalTime);Bright screen is opened fixed Position time accounting:MScOnLocationRate=mScOnLocationTotalTime/mLocationTotalT ime;
APP is the use time ratio of TOP patterns:MOnTopLocationRate= (mScOnTopLocationTime)/(mLocationTotalTime);
Foreground positions successfully time accounting:MForeGroundSuccRate=(mForeGndLocationSuccTime)/ (mLocationSuccTime);
Bright screen foreground positions successfully time accounting:MScOnForeGroundSuccRate= (mScOnForeGndLocationSuccTime)/(mLocationSuccTime);
APP is TOP Pattern localizations success accounting:MOnTopSuccRate=(mScOnTopLocationSuccTime)/ (mLocationSuccTime);
Blank screen Pattern localization success rate:
MScOffSuccRate=(mLocationSuccTime-mScOnLocationSuccTime)/ (mLocationTotalTime-mScOnLocationTotalTime);
Backstage success localization ratio:MBackGroundSuccRate=(mLocationSuccTime- mForeGndLocationSuccTime)/(mLocationTotalTime-mForeGndLocationTotalTime);
Position successfully average every 5 minutes displacement:
MAvgTravelDistance=(mScOnTravelDistance+mScOffTravelDistance)/ (mLocationSuccTime/(5*60));
Blank screen positions successfully average 5 minutes displacement:
MScOffAvgTravelDistance=(mScOffTravelDistance)/((mLocationSuccTime- mScOnLocationSuccTime)/(5*60));
Bright screen positions successfully average 5 minutes displacement:
MScOnAvgTravelDistance=(mScOnTravelDistance)/(mScOnLocationSuccTime/ (5*60))。
Above content only does embodiment of the present invention explanation, is not specifically limited.
For example, defining Location Request of total request time no more than 30s to position in short-term, calculate initiation total degree and account for always The ratio of GPS number of requests, during more than 70%, it is believed that be frequently to ask APP in short-term.Proportionate relationship between parameter is as follows: MShortTimeRequestRate=mSingleShotCount/mTotalRequestCoun t, ask the process initiated in short-term In, there is result to report and be considered to position successfully, count successfully once.Success rate is higher than 50%, not starting guide.Positioning is sent out in short-term The parameter logistic relation of the success rate for rising is mSingleshotSuccRate=mSingleShotSuccCount/ MSingleShotCount, the time of average each Location Request is no more than 30s, and parameter logistic relation is AvgRequestTimeLen=mLocationTotalTime/mTotalRequestCount.
103rd, according to use state of the short time application program in present terminal equipment is recognized, judge whether to hold The preset opening state optimization rule of the row present terminal equipment alignment system.
Wherein, the preset opening state optimization rule includes that short time application program is corresponding from different use states fixed Position system optimization strategy, the use state can include the wifi connection status of present terminal equipment, alignment system positioning shape State, application program foreground or backstage perform state, screen state, change in location state etc., and the embodiment of the present invention does not do specific limit It is fixed, the preset opening state optimization rule can according to short time application program different use states to present terminal GPS in equipment carries out pending operation, or opens operation.
It should be noted that the use state of present terminal equipment over time or geographical position and change, to making To be upgraded in time with the identification of state, the APP of an align_type can correspond to out various use states, and various use states can To map out different GPS pending operations or unlatching operations.
If the preset opening state optimization rule of the present terminal equipment alignment system the 104, is performed, according to described pre- Put unlatching or pass that the opening principle of optimality performs alignment system corresponding with the use state of the short time application program Closed operation.
Wherein, the unlatching operation of the alignment system is to detect present terminal again in the case where current GPS is in pending operation After the use state of equipment needs GPS location, execution GPS location operation is reopened, the shutoff operation of the alignment system is It is under normal positioning trip in current GPS, the corresponding principle of optimality of align_type and use state according to APP makes currently GPS no longer performs positioning action, will GPS hang-up.
It should be noted that usually, after the align_type of APP determines, align_type is constant, but use state meeting Over time or present terminal equipment movement and change, so constantly identification present terminal equipment use state when, hold Being turned on and off operating of corresponding with the use state and align_type alignment system of row can also change.
The optimization method of a kind of alignment system performance that the present invention is provided, with existing when short time application program is need not In the case of opening gps system, GPS location is still constantly carried out so that terminal device consumes unnecessary electricity and compares, this hair It is bright by determining current application program first for short time application program, use state according to short time application program whether need Be turned on and off operation to the application program of lasting unlatching GPS positioning system, realize short time application program need not In the case of opening GPS, the positioning function of GPS is closed, reduce power consumption, save electric energy.
The optimization method of another alignment system performance is the embodiment of the invention provides, as shown in figure 4, methods described bag Include:
201st, according to the location data under prefixed time interval application program opening of the statistics with positioning function, and Storage is in preset memory locations.
Wherein, the prefixed time interval can be technical staff's time interval set in advance, such as 10 minutes, 20 points Clock etc., the embodiment of the present invention is not specifically limited.The location data is that APP is produced data positioning action is performed, Such as APP bag names, single positioning initiates number of times, single positioning number of success, last time single and positions successfully time etc., of the invention Embodiment is not specifically limited.The preset memory locations can be locally stored position or buffer memory for present terminal equipment Position, when overabundance of data of the storage in preset memory locations, can be updated according to time interval or be uploaded to high in the clouds Storage location, the embodiment of the present invention is not specifically limited.
It should be noted that statistics location data method can using it is a it is light-duty, in accordance with atomicity, uniformity, The database SQLite of isolation, persistent data base management system, it is included in a relatively small C storehouse.It takes money Source is very low, in embedded device, may only need to the internal memory of hundreds of K.By counting location data and storing default Storage location, when confirmation align_type is carried out to APP, useful data directly to be extracted from preset memory locations.
202nd, the history positioning statistics of the application program with positioning function is obtained.
This step is identical with the method described in step 101 described in Fig. 1, repeats no more here.
203rd, it is used to determine the parameter of application program align_type in the extraction history positioning statistics.
Wherein, the parameter of the application program align_type is used to determine the align_type of application program, can be assembly Work(time ratio, bright screen open positioning time accounting, foreground and position successfully time accounting etc., and the embodiment of the present invention does not do specific limit It is fixed.
It should be noted that determining that the parameter of different align_types can be with identical, it is also possible to different.By determining to apply journey The parameter of sequence align_type is trained the corresponding align_type of the program of being applied to parameter will pass through.
204th, the parameter is trained according to default positioning type identification model.
Wherein, align_type identification different to different parameter configurations in the default positioning type identification model is calculated Method.
For example, location-based service APP recognizers are three conditions:mShortTimeRequestRate>70%, mSingleshotSuccRate<50%, avgRequestTimeLen<30s, carries out judging whether to meet above-mentioned using parameter Algorithm scope, if meeting just belong to short time application program.
205th, determine that the application program is short time application program according to the result after training.
Wherein, the short time positioning application program is that the positioning that the short time is initiated to GPS is spaced according to longer time The APP of request, generally comprises the APP of most location-based service LBS.
It should be noted that when align_type is divided, can according to first judging whether to belong to navigation type application system, if Belong to, then perform the corresponding optimisation strategy of navigation type, if being not belonging to, continue to determine whether to belong to non-navigational class application system, if Belong to, then perform the corresponding optimisation strategy of non-navigational, if being not belonging to, then judge whether to belong to short time class application system, if category In, then the corresponding optimisation strategy of short time class is performed, if being not belonging to, directly GPS is hung up, APP no longer performs positioning action. By dividing the align_type of application program, so as to the GPS that APP is judged according to align_type whether need hang up, realize no matter Star or positioning successful pattern are being searched, the GPS requests of all APP are directly being hung up, pause is being searched star, can save the electric current of about 70mA.
For the embodiment of the present invention, also include before step 205:Whether the result after training of judgement draws in preset kind In the range of point.
Wherein, the preset kind divides scope can be divided into one on a large scale, and this on a large scale in 3 small models Enclose, on a large scale for judging whether to belong to navigation type application program, non-navigational class application program, short time positioning application program, Small range is used for the application program for judging to particularly belong to which align_type.
It should be noted that the algorithm of the application program of different align_types can correspond to multiple division scopes, specifically take Certainly in the parameter attribute of different APP.In addition, the identification when starting of the align_type of APP is possible not accurate enough, because optimisation strategy The secure mechanism for using, the use of user is not influenceed, is still constantly judged during use, after use time more long, class Type judges to become accurate.
For the embodiment of the present invention, step 205 is specifically as follows:If the result after training is in the default short time and divides model In enclosing, then divide scope according to the preset kind and determine that the application program is short time application program.
206th, the state of present terminal equipment is monitored, the program that is applied foreground or backstage perform state, screen state.
Wherein, the time interval that the use state of the monitoring present terminal equipment can pre-set according to technical staff It is monitored, such as 1 minute, 3 minutes, the situation of change of the use state of present terminal equipment can also be monitored, this Inventive embodiments are not specifically limited.The application program foreground or backstage perform state includes front stage operation or running background, The screen state includes blank screen or bright screen.By monitoring use state, will pass through identification use state and align_type pair The application program of present terminal equipment optimizes strategy.
207th, the use state in present terminal equipment is located at according to the identification short time positioning application program, judgement is The no preset short time alignment system optimisation strategy for performing current device alignment system.
Wherein, the preset short time alignment system optimisation strategy is to be set according to short time class application program and present terminal The corresponding hang-up or unlatching operation to GPS execution of standby use state, concrete operations strategy can be pre- advanced according to technical staff Row setting, the embodiment of the present invention is not specifically limited, for example, the align_type of current APP is short time class application program, it is preset Short time alignment system optimisation strategy is, when APP is under non-TOP patterns, directly to perform pending operation to GPS, i.e., ought recognize Present terminal equipment use state is that APP is under non-TOP patterns, then directly perform pending operation to GPS.
For the embodiment of the present invention, can also be after step 207:If not performing present terminal equipment alignment system Preset short time alignment system optimisation strategy, then return to step 206.
208th, performed and short time positioning application program according to the preset short time alignment system optimisation strategy Application program foreground or backstage perform state, the corresponding alignment system optimisation strategy of screen state.
For example, when determining that current APP is short time application program, the use state of monitoring is that APP is in non-TOP patterns Under, directly the GPS to present terminal equipment performs pending operation.
For the embodiment of the present invention, another specific application scenarios with as described below, but can be not limited to this, including: Location data is counted according to the time interval of 1 hour, the parameter in statistics is positioned according to history, known according to short time type Other model is trained to parameter, and location-based service APP recognizers meet following condition:mShortTimeRequestRate> 70%, mSingleshotSuccRate<50%, avgRequestTimeLen<30s, is defined as short time application program, works as knowledge Do not go out APP can often send in short-term request after, perform correspondence according to preset short time alignment system optimisation strategy set in advance Operation, that is, record the last request transmission time in short-term, when apart from last time initiated the time more than 4 hours when, it is allowed to backstage Send once.Otherwise intercept its request.
The optimization method of another alignment system performance that the present invention is provided, the present invention is by historical location data Align_type parameter is trained, and determines that the APP in present terminal equipment is short time application program according to training result, then root Performed according to the application program foreground of present terminal equipment or backstage execution state, screen state corresponding with short time application program The principle of optimality, realizes short time application program according to being that the use states such as AM/BAM are driven determining whether to hang up GPS The positioning function that GPS is closed in the case of unnecessary unlatching GPS is moved, power consumption is reduced, power consumption is saved.
Further, implementing as Fig. 1 methods describeds, the embodiment of the invention provides a kind of alignment system performance Optimization device, as shown in figure 5, described device includes:Acquiring unit 31, determining unit 32, judging unit 33, execution unit 34。
Acquiring unit 31, the history for obtaining the application program with positioning function positions statistics;Acquiring unit 31 perform the history positioning statistics for obtaining the application program with positioning function for the optimization device of alignment system performance Functional module.
Determining unit 32, instructs for positioning statistics to the history by default positioning type identification model Practice, the align_type for determining the application program is short time application program;Acquiring unit 31 is the optimization of alignment system performance Device is performed history positioning statistics is trained by default positioning type identification model, determines the application journey The align_type of sequence is the functional module of short time application program.
Judging unit 33, for the use shape being located at according to the identification short time application program in present terminal equipment State, judges whether to perform the preset opening state optimization rule of the present terminal equipment alignment system, the preset opening shape The state principle of optimality includes short time application program alignment system optimisation strategy corresponding from different use states;Judging unit 33 is The optimization device of alignment system performance is performed according to the use for recognizing the short time application program in present terminal equipment State, judges whether to perform the functional module of the preset opening state optimization rule of the present terminal equipment alignment system.
Execution unit 34, if the preset opening state optimization rule for performing the present terminal equipment alignment system, Then positioning system corresponding with the use state of the short time application program is performed according to preset opening state optimization rule That unites is turned on and off operation.Execution unit 34 is performed according to the preset opening state for the optimization device of alignment system performance The principle of optimality perform corresponding with the use state of short time application program alignment system be turned on and off grasp work Can module.
The optimization device of a kind of alignment system performance that the present invention is provided, with existing when short time application program is need not In the case of opening gps system, GPS location is still constantly carried out so that terminal device consumes unnecessary electricity and compares, this hair It is bright by determining current application program first for short time application program, use state according to short time application program whether need Be turned on and off operation to the application program of lasting unlatching GPS positioning system, realize short time application program need not In the case of opening GPS, the positioning function of GPS is closed, reduce power consumption, save electric energy.
Further, implementing as Fig. 4 methods describeds, the embodiment of the invention provides another alignment system The optimization device of energy, as shown in fig. 6, described device includes:Acquiring unit 41, determining unit 42, judging unit 43, execution unit 44th, statistic unit 45, statistic unit 46.
Acquiring unit 41, the history for obtaining the application program with positioning function positions statistics;
Determining unit 42, instructs for positioning statistics to the history by default positioning type identification model Practice, the align_type for determining the application program is short time application program;
Judging unit 43, for the use shape being located at according to the identification short time application program in present terminal equipment State, judges whether to perform the preset opening state optimization rule of the present terminal equipment alignment system, the preset opening shape The state principle of optimality includes short time application program alignment system optimisation strategy corresponding from different use states;
Execution unit 44, if the preset opening state optimization rule for performing the present terminal equipment alignment system, Then positioning system corresponding with the use state of the short time application program is performed according to preset opening state optimization rule That unites is turned on and off operation.
Specifically, in order to further illustrate the determination method of the align_type of alignment system, the determining unit 42 includes:
Extraction module 4201, is used to determine application program align_type for extracting during the history positions statistics Parameter;
Training module 4202, for being trained to the parameter according to default positioning type identification model;
Determining module 4203, for determining that the application program is short time application program according to the result after training.
Judge module 4204, for the result after training of judgement whether in the range of default short time division;
The confirmation module 4203, if being in the range of default short time division specifically for the result after training, presses Scope is divided according to the preset kind determine that the application program is short time application program.
Further, it is excellent in order to pass through to recognize that use state and align_type carry out the application program of present terminal equipment Change strategy, described device also includes:
Monitoring unit 45, the state for monitoring present terminal equipment, the program that is applied foreground or backstage execution state, Screen state.
The judging unit 43, for being located in present terminal equipment according to the identification short time positioning application program Use state, judges whether to perform the preset short time alignment system optimisation strategy of current device alignment system.
The execution unit 44, it is short with described specifically for being performed according to the preset short time alignment system optimisation strategy The application program foreground of timi requirement application program or backstage perform state, the corresponding alignment system optimisation strategy of screen state.
Further, in order to when confirmation align_type is carried out to APP, useful number directly be extracted from preset memory locations According to described device also includes:
Statistic unit 46, for according under prefixed time interval application program opening of the statistics with positioning function Location data, and store in preset memory locations.
The optimization device of another alignment system performance that the present invention is provided, the present invention is by historical location data Align_type parameter is trained, and determines that the APP in present terminal equipment is short time application program according to training result, then root Performed according to the application program foreground of present terminal equipment or backstage execution state, screen state corresponding with short time application program The principle of optimality, realizes short time application program according to being that the use states such as AM/BAM are driven determining whether to hang up GPS The positioning function that GPS is closed in the case of unnecessary unlatching GPS is moved, power consumption is reduced, power consumption is saved.
A kind of mobile terminal is the embodiment of the invention provides, as shown in fig. 7, one or more processors (processor) 51st, communication interface (Communications Interface) 52, memory (memory) 53 and bus 54, wherein, processor 51st, communication interface 52, memory 53 complete mutual communication by bus 54.Communication interface 52 can be used for acquisition module, Information transfer between expansion module and access modules.Processor 51 can call the logical order in memory 53 so that institute State the method for displaying image during device is able to carry out above-mentioned any embodiment.
Additionally, the logical order in above-mentioned memory 53 can be realized and be used as solely by the form of SFU software functional unit Vertical production marketing or when using, can store in a computer read/write memory medium.Based on such understanding, this hair The part or the part of the technical scheme that bright technical scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in a storage medium, including some instructions are used to make Obtain a computer equipment (can be personal computer, server, or network equipment etc.) and perform each embodiment of the invention The all or part of step of methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various Can be with the medium of store program codes.
A kind of mobile terminal that the present invention is provided, with existing when short time application program need not open gps system In the case of, still constantly carrying out GPS location so that terminal device consumes unnecessary electricity and compares, the present invention is by true first Current application program is determined for short time application program, and whether the use state according to short time application program is needed to lasting unlatching The application program of GPS positioning system carries out being turned on and off operation, realizes feelings of the short time application program in unnecessary unlatching GPS Under condition, the positioning function of GPS is closed, reduce power consumption, save electric energy.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be, for distinguishing each embodiment, and not represent the quality of each embodiment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize the optimization side of alignment system performance according to embodiments of the present invention The some or all functions of some or all parts in method, device and mobile terminal.The present invention is also implemented as using In performing some or all equipment or program of device of method as described herein (for example, computer program and meter Calculation machine program product).It is such to realize that program of the invention be stored on a computer-readable medium, or can have one The form of individual or multiple signals.Such signal can be downloaded from internet website and obtained, or above be carried in carrier signal For, or provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
Embodiment of the invention discloses that:
A1, a kind of optimization method of alignment system performance, including:
Obtain the history positioning statistics of the application program with positioning function;
Statistics is positioned to the history to be trained, determine the application journey by default positioning type identification model The align_type of sequence is short time application program;
According to use state of the short time application program in present terminal equipment is recognized, judge whether to perform institute The preset opening state optimization rule of present terminal equipment alignment system is stated, the preset opening state optimization rule is included in short-term Between application program alignment system optimisation strategy corresponding from different use states;
If performing the preset opening state optimization rule of the present terminal equipment alignment system, preset opened according to described That opens state optimization rule execution alignment system corresponding with the use state of the short time application program is turned on and off behaviour Make.
A2, the method according to A1, it is described that statistical number is positioned to the history by default positioning type identification model According to being trained, determine the align_type of the application program for short time application program includes:
Extract in history positioning statistics for determining the parameter of application program align_type;
The parameter is trained according to default positioning type identification model;
Determine that the application program is short time application program according to the result after training.
A3, the method according to A2, it is described that it is trained to the parameter according to default positioning type identification model Afterwards, methods described also includes:
Whether the result after training of judgement is in the range of default short time division;
The result according to after training determines that the application program includes for short time application program:
If the result after training is in the range of default short time division, dividing scope according to the preset kind determines The application program is short time application program.
A4, the method according to A3, it is described to be located in present terminal equipment according to the identification short time application program Use state, before the preset opening state optimization rule for judging whether to perform the present terminal equipment alignment system, institute Stating method also includes:
The state of present terminal equipment is monitored, the program that is applied foreground or backstage perform state, screen state.
A5, the method according to A4, it is described to be located in present terminal equipment according to the identification short time application program Use state, judge whether that the preset opening state optimization rule for performing the present terminal equipment alignment system includes:
According to use state of the short time positioning application program in present terminal equipment is recognized, judge whether to hold The preset short time alignment system optimisation strategy of row current device alignment system.
A6, the method according to A5, the positioning of preset short time for judging whether to perform current device alignment system After system optimization strategy, methods described also includes:
The application that application program is positioned with the short time is performed according to the preset short time alignment system optimisation strategy Program foreground or backstage perform state, the corresponding alignment system optimisation strategy of screen state.
A7, the method according to any one of A1-6, the history that the acquisition has the application program of positioning function are positioned Before statistics, methods described also includes:
According to the location data under prefixed time interval application program opening of the statistics with positioning function, and store In preset memory locations.
B8, a kind of optimization device of alignment system performance, including:
Acquiring unit, the history for obtaining the application program with positioning function positions statistics;
Determining unit, is trained for positioning statistics to the history by default positioning type identification model, The align_type for determining the application program is short time application program;
Judging unit, for the use state being located at according to the identification short time application program in present terminal equipment, Judge whether that the preset opening state optimization for performing the present terminal equipment alignment system is regular, the preset opening state is excellent Changing rule includes short time application program alignment system optimisation strategy corresponding from different use states;
Execution unit, if the preset opening state optimization rule for performing the present terminal equipment alignment system, Alignment system corresponding with the use state of the short time application program is performed according to preset opening state optimization rule Be turned on and off operation.
B9, the device according to B8, the determining unit include:
Extraction module, for extracting in history positioning statistics for determining the ginseng of application program align_type Number;
Training module, for being trained to the parameter according to default positioning type identification model;
Determining module, for determining that the application program is short time application program according to the result after training.
B10, the device according to B9, the determining unit also include:Judge module,
The judge module, for the result after training of judgement whether in the range of default short time division;
The confirmation module, if being in the range of default short time division specifically for the result after training, according to institute State preset kind division scope and determine that the application program is short time application program.
B11, the device according to B10, described device also include:
Monitoring unit, the state for monitoring present terminal equipment, the program that is applied foreground or backstage perform state, screen Tentiform state.
B12, the device according to B11,
The judging unit, for according to identification short time positioning application program the making in present terminal equipment With state, judge whether to perform the preset short time alignment system optimisation strategy of current device alignment system.
B13, the device according to B12,
The execution unit, specifically for according to the preset short time alignment system optimisation strategy perform with it is described in short-term Between position application program application program foreground or backstage perform state, the corresponding alignment system optimisation strategy of screen state.
B14, the device according to any one of B8-13, described device also include:
Statistic unit, for according to determining under prefixed time interval application program opening of the statistics with positioning function Position data, and store in preset memory locations.
C15, a kind of mobile terminal, including processor and memory:
The memory is used to store the program for performing A1 to A7 any one methods describeds,
The processor is configurable for performing the program stored in the memory.

Claims (10)

1. a kind of optimization method of alignment system performance, it is characterised in that including:
Obtain the history positioning statistics of the application program with positioning function;
Statistics is positioned to the history to be trained, determine the application program by default positioning type identification model Align_type is short time application program;
According to use state of the short time application program in present terminal equipment is recognized, judge whether to perform described working as The preset opening state optimization rule of preceding terminal device alignment system, the preset opening state optimization rule should including the short time With program alignment system optimisation strategy corresponding from different use states;
If the preset opening state optimization rule of the present terminal equipment alignment system is performed, according to the preset opening shape What the state principle of optimality performed corresponding with the use state of short time application program alignment system is turned on and off operation.
2. method according to claim 1, it is characterised in that described to be gone through to described by default positioning type identification model History positioning statistics is trained, and determines the align_type of the application program for short time application program includes:
Extract in history positioning statistics for determining the parameter of application program align_type;
The parameter is trained according to default positioning type identification model;
Determine that the application program is short time application program according to the result after training.
3. method according to claim 2, it is characterised in that it is described according to default positioning type identification model to the ginseng After number is trained, methods described also includes:
Whether the result after training of judgement is in the range of default short time division;
The result according to after training determines that the application program includes for short time application program:
If the result after training is in the range of default short time division, determine according to preset kind division scope described Application program is short time application program.
4. method according to claim 3, it is characterised in that described to work as according to recognizing that the short time application program is located at Use state in preceding terminal device, judges whether to perform the preset opening state optimization of the present terminal equipment alignment system Before rule, methods described also includes:
The state of present terminal equipment is monitored, the program that is applied foreground or backstage perform state, screen state.
5. method according to claim 4, it is characterised in that described to work as according to recognizing that the short time application program is located at Use state in preceding terminal device, judges whether to perform the preset opening state optimization of the present terminal equipment alignment system Rule includes:
According to use state of the short time positioning application program in present terminal equipment is recognized, judge whether to perform and work as The preset short time alignment system optimisation strategy of preceding equipment alignment system.
6. a kind of optimization device of alignment system performance, it is characterised in that including:
Acquiring unit, the history for obtaining the application program with positioning function positions statistics;
Determining unit, is trained for positioning statistics to the history by default positioning type identification model, it is determined that The align_type of the application program is short time application program;
Judging unit, for according to use state of the short time application program in present terminal equipment is recognized, judging Whether the preset opening state optimization rule of the present terminal equipment alignment system, the preset opening state optimization rule are performed Then include short time application program alignment system optimisation strategy corresponding from different use states;
Execution unit, if the preset opening state optimization rule for performing the present terminal equipment alignment system, according to Preset opening state optimization rule execution is opened with the corresponding alignment system of use state of the short time application program Open or shutoff operation.
7. device according to claim 6, it is characterised in that the determining unit includes:
Extraction module, for extracting in history positioning statistics for determining the parameter of application program align_type;
Training module, for being trained to the parameter according to default positioning type identification model;
Determining module, for determining that the application program is short time application program according to the result after training.
8. device according to claim 7, it is characterised in that the determining unit also includes:Judge module,
The judge module, for the result after training of judgement whether in the range of default short time division;
The confirmation module, if being in the range of default short time division specifically for the result after training, according to described pre- If Type division scope determines that the application program is short time application program.
9. device according to claim 8, it is characterised in that described device also includes:
Monitoring unit, the state for monitoring present terminal equipment, the program that is applied foreground or backstage perform state, screen shape State.
10. a kind of mobile terminal, it is characterised in that including processor and memory:
The memory is used to store the program of perform claim 1 to 5 any one methods described of requirement,
The processor is configurable for performing the program stored in the memory.
CN201710050693.9A 2017-01-23 2017-01-23 The optimization method of alignment system performance, device and mobile terminal Pending CN106888432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710050693.9A CN106888432A (en) 2017-01-23 2017-01-23 The optimization method of alignment system performance, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710050693.9A CN106888432A (en) 2017-01-23 2017-01-23 The optimization method of alignment system performance, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN106888432A true CN106888432A (en) 2017-06-23

Family

ID=59175957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710050693.9A Pending CN106888432A (en) 2017-01-23 2017-01-23 The optimization method of alignment system performance, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106888432A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976823A (en) * 2017-12-27 2019-07-05 Tcl集团股份有限公司 A kind of application program launching method, device and terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070241888A1 (en) * 2006-04-14 2007-10-18 Motorola, Inc. Location enabled device with power saving control and method thereof
CN103428361A (en) * 2012-04-30 2013-12-04 苹果公司 Operating Geographic Location Systems
CN103424756A (en) * 2012-05-24 2013-12-04 Lg电子株式会社 Mobile terminal and GPS engine control method thereof
CN104793995A (en) * 2015-04-27 2015-07-22 广东欧珀移动通信有限公司 Method and device for controlling GPS invocation
CN105677719A (en) * 2015-12-29 2016-06-15 小米科技有限责任公司 Application management method and apparatus
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal positioning mode selection method and device
CN105960004A (en) * 2016-06-30 2016-09-21 宇龙计算机通信科技(深圳)有限公司 Mobile terminal positioning function control method, and mobile terminal
CN105955073A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Automatic starting method, system and mobile intelligent devices for satellite positioning device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070241888A1 (en) * 2006-04-14 2007-10-18 Motorola, Inc. Location enabled device with power saving control and method thereof
CN103428361A (en) * 2012-04-30 2013-12-04 苹果公司 Operating Geographic Location Systems
CN103424756A (en) * 2012-05-24 2013-12-04 Lg电子株式会社 Mobile terminal and GPS engine control method thereof
CN104793995A (en) * 2015-04-27 2015-07-22 广东欧珀移动通信有限公司 Method and device for controlling GPS invocation
CN105677719A (en) * 2015-12-29 2016-06-15 小米科技有限责任公司 Application management method and apparatus
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal positioning mode selection method and device
CN105955073A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Automatic starting method, system and mobile intelligent devices for satellite positioning device
CN105960004A (en) * 2016-06-30 2016-09-21 宇龙计算机通信科技(深圳)有限公司 Mobile terminal positioning function control method, and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976823A (en) * 2017-12-27 2019-07-05 Tcl集团股份有限公司 A kind of application program launching method, device and terminal device

Similar Documents

Publication Publication Date Title
CN106713662A (en) Method and device for optimizing performance of positioning system, and mobile terminal
CN108279383A (en) battery life predicting method, battery data server and battery data processing system
CN104657194B (en) Method and system for calculating the influence acted in network
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN106872996A (en) The optimization method of alignment system performance, device and mobile terminal
CN109474578A (en) Message method of calibration, device, computer equipment and storage medium
CN107404481B (en) User information recognition methods and device
CN104092748A (en) Method and device for APP operation control
CN110705598A (en) Intelligent model management method and device, computer equipment and storage medium
CN106878945A (en) The optimization method of alignment system performance, device and mobile terminal
CN104133699A (en) Equipment system software updating method and equipment system software updating system
CN111259241B (en) Information processing method and device and storage medium
CN109491702B (en) Optimization scheme determination method and device, terminal equipment and storage medium
CN106888432A (en) The optimization method of alignment system performance, device and mobile terminal
CN109582384A (en) The update method and device of configuration information
CN113626449A (en) Data storage method, data query method and related equipment
CN106155594B (en) A kind of data processing method and device
US20150140957A1 (en) Prepaid phone card charging
CN103118156A (en) Alarm clock setting method and corresponding device
CN116302889A (en) Performance test method and device for functional module and server
CN115617823A (en) Map updating data downloading method, device, equipment and readable medium
CN106851801A (en) The optimization method of alignment system performance, device and mobile terminal
CN110348984B (en) Automatic credit card data input method and related equipment under different transaction channels
CN114356781A (en) Software function testing method and device
CN112527363A (en) Software package version updating method, device, system, equipment and medium

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
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication