CN107454253A - Start the method and mobile terminal of global position system GPS - Google Patents

Start the method and mobile terminal of global position system GPS Download PDF

Info

Publication number
CN107454253A
CN107454253A CN201710587773.8A CN201710587773A CN107454253A CN 107454253 A CN107454253 A CN 107454253A CN 201710587773 A CN201710587773 A CN 201710587773A CN 107454253 A CN107454253 A CN 107454253A
Authority
CN
China
Prior art keywords
mobile terminal
gps
gps functions
ambient parameter
functions
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
Application number
CN201710587773.8A
Other languages
Chinese (zh)
Other versions
CN107454253B (en
Inventor
肖亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710587773.8A priority Critical patent/CN107454253B/en
Publication of CN107454253A publication Critical patent/CN107454253A/en
Application granted granted Critical
Publication of CN107454253B publication Critical patent/CN107454253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

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

Abstract

The invention provides a kind of method and mobile terminal for starting global position system GPS, it is related to communication technical field, this method includes:At least one ambient parameter of mobile terminal is gathered, at least one ambient parameter is used to indicate the current state of mobile terminal;Judge whether at least one ambient parameter meets preparatory condition, the preparatory condition is the condition set according to the usage record of the GPS functions of mobile terminal;When at least one ambient parameter meets preparatory condition, start the GPS functions of mobile terminal.The present invention judges whether to need to open GPS functions according at least one ambient parameter, in the case of it is determined that needing to open GPS functions, GPS functions are opened by the way of thermal starting, so as to reduce the time for starting GPS functions and being spent, it is possible to increase start the efficiency of GPS functions.

Description

Start the method and mobile terminal of global position system GPS
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of method for starting global position system GPS and Mobile terminal.
Background technology
User is during trip, it will usually by mobile terminal start GPS (Global Positioning System, Global positioning system) location navigation is carried out, so that it is determined that traffic path.And in varied situations, start the time that GPS is spent It is different.
In correlation technique, thermal starting, startup temperature and cold start-up can be divided into according to toggle speed by starting GPS.Wherein, it is hot Startup is that the total data for starting GPS according to last time is started, and startup temperature is that the partial data for starting GPS according to last time is carried out Start, and cold start-up can not be started according to last time startup GPS data, it is necessary to reacquire the correlation for starting GPS Data, to complete GPS startup.Therefore, thermal starting is most fast, and cold start-up is most slow, and the speed of startup temperature is between thermal starting and cold Between startup.
Therefore, user is when starting GPS, it may appear that it is slower to start GPS speed, the problem of causing starting efficiency relatively low.
The content of the invention
The present invention provides a kind of method and mobile terminal for starting global position system GPS, to solve to open in the prior art Dynamic GPS speed is slower, the problem of causing starting efficiency relatively low.
According to the first aspect of the invention, there is provided a kind of method for starting global position system GPS, applied to mobile whole End, methods described include:
At least one ambient parameter of the mobile terminal is gathered, at least one ambient parameter is used to indicate the shifting The current state of dynamic terminal;
Judge whether at least one ambient parameter meets preparatory condition, the preparatory condition is according to described mobile whole The condition that the usage record of the GPS functions at end is set;
When at least one ambient parameter meets the preparatory condition, start the GPS functions of the mobile terminal.
According to the second aspect of the invention, there is provided a kind of mobile terminal, the mobile terminal include:
First acquisition module, for gathering at least one ambient parameter of the mobile terminal, at least one environment Parameter is used to indicate the current state of the mobile terminal;
First judge module, for judging whether at least one ambient parameter meets preparatory condition, the default bar Part is the condition set according to the usage record of the GPS functions of the mobile terminal;
Starting module, it is described mobile whole for when at least one ambient parameter meets the preparatory condition, starting The GPS functions at end.
According to the third aspect of the invention we, there is provided a kind of mobile terminal, including processor, memory and be stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device Now the step of method of the startup global position system GPS as any one of first aspect.
According to the fourth aspect of the invention, there is provided a kind of computer-readable recording medium, the computer-readable storage Computer program is stored on medium, is realized when the computer program is executed by processor as any one of first aspect The step of starting the method for global position system GPS.
A kind of method and mobile terminal for starting global position system GPS provided in an embodiment of the present invention, is moved by gathering At least one ambient parameter of dynamic terminal, judges whether at least one ambient parameter meets preparatory condition, the preparatory condition is The condition set according to the usage record of the GPS functions of mobile terminal, when at least one ambient parameter meets preparatory condition, is opened The GPS functions of dynamic mobile terminal, so as to when subsequent detection is to user's unlatching GPS functions, according to the startup GPS work(obtained Data needed for energy, GPS functions are opened by the way of thermal starting, can so as to reduce the time for starting GPS functions and being spent Improve the efficiency for starting GPS functions.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of method for starting global position system GPS provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of method for starting global position system GPS provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
Term "and/or" in the present invention, only a kind of incidence relation for describing affiliated partner, expression may have three kinds Relation, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.In addition, this Character "/" in text, it is a kind of relation of "or" to typically represent forward-backward correlation object.
In embodiments of the present invention, mobile terminal include but is not limited to be such as mobile phone, tablet personal computer, notebook computer, The mobile terminals such as palm PC, guider, wearable device, Intelligent bracelet, pedometer.
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 100 Including but not limited to:Radio frequency unit 101, mixed-media network modules mixed-media 102, audio output unit 103, (audio/video) input block 104, Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity The grade part of source 111.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 1 is not formed to mobile terminal Restriction, mobile terminal can include than illustrating more or less parts, either combine some parts or different parts Arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution), Wi-Fi module, NFC module and bluetooth module Deng.
Mobile terminal can help user to send and receive e-mail, browse webpage and access streaming matchmaker by mixed-media network modules mixed-media 102 Body etc., it has provided the user wireless broadband internet and accessed, and mixed-media network modules mixed-media 102 includes but is not limited to be RJ45 port modules Deng.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or mixed-media network modules mixed-media 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 includes loudspeaker, buzzer and receiver etc..
Input block 104 is used to receive audio or video signal.Input block 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or mixed-media network modules mixed-media 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture should With (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;The fingerprint sensor that can also configure as mobile terminal, pressure sensor, iris sensor, molecule sensor, gyroscope, The other sensors such as barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 100 includes some unshowned functional modules, will not be repeated here.
Based on the hardware configuration of above-mentioned mobile terminal, Detailed Description is carried out to various embodiments of the present invention below.
Embodiment one
Reference picture 2, show a kind of step flow of the method for startup global position system GPS of the embodiment of the present invention Figure, specifically may include steps of:
Step 201, at least one ambient parameter of mobile terminal is gathered.
Wherein, at least one ambient parameter is used to indicate the current state of mobile terminal.
In order to judge whether user can open GPS functions within following a period of time, mobile terminal needs to gather at least one Individual ambient parameter, so as to which the current state of mobile terminal can be determined according at least one ambient parameter in subsequent step, And whether GPS functions can be opened within following a period of time according to the condition adjudgement user of determination, so as to according to the judgement As a result determine the need for opening GPS functions.In the case where opening GPS functions, the data for opening GPS functions can be obtained, So that user, when opening GPS functions, mobile terminal can be opened according to the data for the unlatching GPS functions of having obtained using heat Dynamic mode opens GPS functions.
Wherein, mobile terminal can periodically gather at least one environmental data, can also gather environmental data in real time, The embodiment of the present invention is not limited this.Moreover, a period of time in the future is usually 2 hours, naturally it is also possible to it is other durations, The present invention is not also limited this.
It should be noted that at least one ambient parameter can include at least one of following parameter:Mobile terminal The current wireless connection conditions of the current geographical location information of current parameter acquisition moment, mobile terminal, mobile terminal and shifting The current charged state of dynamic terminal.It is, of course, also possible to including other ambient parameters, the embodiment of the present invention is not limited this.
Step 202, judge whether at least one ambient parameter meets preparatory condition.
Wherein, the preparatory condition is according to the condition of the usage record setting of the GPS functions of mobile terminal, the preparatory condition The sample data gathered when can be and open GPS functions according to user carries out analytic statistics and obtained, for according at least one Individual ambient parameter judges whether user can open GPS functions within following a period of time.
Mobile terminal can be matched at least one ambient parameter of collection with preparatory condition, judge that this is at least one Whether ambient parameter meets preparatory condition, namely is to determine the current state of mobile terminal and the function opening of mobile terminal Similarity degree, the function opening is that user opens the state that GPS function forwardings move terminal.
If the similarity degree is higher, illustrate that user may open the GPS of mobile terminal within following a period of time Function, at least one ambient parameter meet preparatory condition, and GPS functions can be opened in subsequent step;But if phase It is not high like degree, then illustrate that user may not open the GPS functions of mobile terminal within following a period of time, this is at least one Ambient parameter does not meet preparatory condition, and GPS functions need not be then opened in subsequent step.
That is, combining at least one ambient parameter of collection according to preparatory condition, judge whether user can be in future in advance GPS functions are opened in a period of time.If it is determined that user can open GPS functions, then GPS work(can be opened in subsequent step The data for starting GPS functions can be obtained, can be according to the data obtained in advance by the way of thermal starting when being opened so as to user Open GPS functions.
Specifically, for each ambient parameter at least one ambient parameter of mobile terminal collection, mobile terminal can To judge whether the ambient parameter is consistent or whether approximate with parameter corresponding in function opening, if the environment is joined Number is consistent or approximate with corresponding parameter, then the Weight Acquisition ambient parameter can be corresponded to according to corresponding to the ambient parameter Similarity degree, finally the similarity degree according to corresponding to each ambient parameter, determines the current state of mobile terminal with depositing in advance The similarity degree of the function opening of storage.
Wherein, weight corresponding to ambient parameter is used for the significance level for indicating the ambient parameter, if some ambient parameter Weight it is higher, then illustrate it is easier according to the ambient parameter judge user whether can within following a period of time unlatching GPS work( Energy.
For example, the similarity degree can be numerical value, and when the similarity degree is more than threshold value set in advance, then explanation movement The current state of terminal and the function opening prestored are similar or consistent, and user may be within following a period of time GPS functions are opened, therefore the judged result of GPS functions can be opened with output indication.
Step 203, when at least one ambient parameter meets preparatory condition, the GPS functions of mobile terminal are started.
After judging whether at least one ambient parameter meets preparatory condition, mobile terminal can according to the judged result, Determine whether user can open GPS functions within following a period of time.When at least one ambient parameter meets preparatory condition, then Illustrate that user can open GPS functions, it is necessary to now switch on GPS functions within following a period of time, start GPS functions to obtain Data, so as to which when user opens GPS functions, thermal starting can be used according to the data of startup GPS functions of this acquisition Mode, it is quick to start GPS functions.
If it is appreciated that at least one ambient parameter does not meet preparatory condition, illustrate that user will not be in future one GPS functions are opened in the section time, then need not open GPS functions and obtain the data for starting GPS.
If it should be noted that determine to need to open GPS functions according to judged result, need using startup temperature or The mode of cold start-up opens GPS functions, so as to obtain the log-on data for starting GPS functions, to detect user's unlatching GPS During function, mobile terminal can start GPS functions according to the log-on data currently obtained by the way of thermal starting.
To sum up, a kind of method for starting global position system GPS provided in an embodiment of the present invention, by gathering mobile terminal At least one ambient parameter, judge whether at least one ambient parameter meets preparatory condition, the preparatory condition be according to shifting The condition that the usage record of the GPS functions of dynamic terminal is set, when at least one ambient parameter meets preparatory condition, start movement The GPS functions of terminal.Judge whether to need to open GPS functions according at least one ambient parameter, it is determined that needing to open GPS work( In the case of energy, GPS functions can be started and obtain the data needed for startup GPS functions, to detect user's unlatching GPS During function, GPS functions can be opened by the way of thermal starting according to the data needed for the startup GPS functions of having obtained, from And it can reduce and start the time that GPS functions are spent, it is possible to increase start the efficiency of GPS functions.
Embodiment two
Reference picture 3, show a kind of step flow of the method for startup global position system GPS of the embodiment of the present invention Figure, specifically may include steps of:
Step 301, preparatory condition is determined according at least one sample data.
, it is necessary to according to mobile terminal during judging whether user can open GPS functions within following a period of time Current state combination preparatory condition judged, therefore, it is necessary to state according to user's mobile terminal when opening GPS functions Analytic statistics is carried out, that is to say and be configured according to the usage record of the GPS functions of mobile terminal, so as to obtain preparatory condition.
Specifically, when mobile terminal detects that user triggers the operation for opening GPS functions, at least one sample can be gathered Notebook data, and analyzed according at least one sample data, so as to obtain preparatory condition.
Wherein, at least one sample data is used to indicate that mobile terminal corresponding function when opening GPS functions is opened State in period, the function opening time section are second after unlatching GPS prefunctional first moment to unlatching GPS functions Time corresponding to moment, the function opening time section can include first time period and second time period, the first time period For the first moment to corresponding time at the time of opening GPS functions, to the at the time of the second time period is opens GPS functions Time corresponding to two moment, first time period can be with identical with second time period, can also be different, and the embodiment of the present invention is to this Do not limit.
For example, first time period is 1 hour, second time period is 0.5 hour, if mobile terminal detects that user exists 14:00 opens GPS functions, then the first moment was 13:00, the second moment was 14:30, corresponding function opening time section is For 13:00 to 14:30.
It should be noted that at least one sample data can include at least one of following parameter:Mobile terminal Open function opening time section corresponding to GPS functions;Mobile terminal corresponding geographical location information in function opening time section; Wireless connection conditions of the mobile terminal in function opening time section, and charging of the mobile terminal in function opening time section State.In addition, at least one sample data, which can also include mobile terminal, opens the lasting duration of GPS functions, that is to say At the time of GPS functions being closed at the time of opening GPS functions from mobile terminal to mobile terminal.Certainly, at least one sample number According to that can also include other data, the embodiment of the present invention is not limited this.
Mobile terminal is after at least one sample data is gathered, you can using predetermined manner at least one sample data Analyzed, after substantial amounts of sample data is constantly modified improvement, obtain preparatory condition.
Step 302, at least one ambient parameter of mobile terminal is gathered.
This step 302 is similar with step 201, will not be repeated here.
Step 303, judge whether mobile terminal meets GPS unlocking conditions.
Mobile terminal can judge mobile whole after at least one ambient parameter is gathered according at least one ambient parameter Whether end meets GPS unlocking conditions, to determine the need for opening GPS work(according to the judged result in subsequent step Energy.
Specifically, the number of GPS functions can be opened in the first preset time period according to mobile terminal, is judged mobile whole Whether the frequency that GPS functions are opened at end is less than predeterminated frequency;And/or the wireless signal strength according to mobile terminal, judge to move Whether terminal is located outside environment;And/or at the time of according to mobile terminal last time closing GPS functions, judge that the mobile terminal is It is no to be in non-thermal starting state.
Wherein, the predeterminated frequency is used for the frequent degree that instruction user uses GPS functions, if mobile terminal is pre- first If the number that GPS functions are opened in the period is not less than predeterminated frequency, then illustrate that user frequently uses GPS functions, user is under During secondary unlatching GPS functions, the data that GPS functions can be opened according to last time open GPS functions by the way of thermal starting.Need Illustrate, first preset time period can be 08:00 to 20:00, or other times section, the embodiment of the present invention pair This is not limited.
Moreover, when user is in indoor environment, mobile terminal may carry out wireless connection with the wireless device of interior, And user needs to use GPS functions in an outdoor environment, therefore can judge to move according to the wireless signal strength of mobile terminal Whether the current wireless signal strength of terminal is less than preset strength, if the current wireless signal strength of mobile terminal be less than it is default Intensity, then illustrate that user is in outdoor environment, GPS functions may be opened, mobile terminal meets GPS unlocking conditions;But such as The current wireless signal strength of fruit mobile terminal is not less than preset strength, then illustrates that user is in indoor environment, user will be in future GPS functions may not be opened in a period of time, mobile terminal is unsatisfactory for GPS unlocking conditions.Wherein, the preset strength can root It is configured according to the wireless connection situation of mobile terminal, the embodiment of the present invention is not limited this.
Furthermore it is also possible at the time of closing GPS functions according to mobile terminal last time, judge that current time closed with last time Whether time difference at the time of GPS functions is more than preset duration, if the time difference is more than preset duration, illustrates movement Terminal can not start data during GPS functions according to last time, and GPS functions are opened by the way of thermal starting, and mobile terminal meets GPS unlocking conditions;If the time difference is not more than preset duration, illustrate that mobile terminal can start GPS work(according to last time Data during energy, open GPS functions, mobile terminal is unsatisfactory for GPS unlocking conditions by the way of thermal starting.Wherein, this is default Duration is usually 2 hours, naturally it is also possible to is other times length, the embodiment of the present invention is not limited this.
Step 304, judge whether at least one ambient parameter meets preparatory condition.
This step 304 is similar with step 202, will not be repeated here.
It should be noted that this step 304 can perform with step 303 simultaneously, can also be performed before step 303, The embodiment of the present invention is not limited the order of step 303 and step 304.
Step 305, when at least one ambient parameter meets preparatory condition, and mobile terminal meets GPS unlocking conditions, open The GPS functions of dynamic mobile terminal.
When mobile terminal meets GPS unlocking conditions, illustrate that mobile terminal may be stored with and open needed for GPS functions Data.Accordingly, when detecting that user opens GPS functions, then possibly GPS work(can not be opened by the way of thermal starting Energy.Therefore, it is necessary to whether meet the judged result of preparatory condition according at least one ambient parameter, it is determined whether need to open GPS functions.If the judged result indicates that at least one ambient parameter meets preparatory condition, illustrate that user may be following one section GPS functions are opened in time, then mobile terminal needs to open the data that GPS functions obtain startup GPS functions, to detect When user opens GPS functions, GPS can be started by the way of thermal starting according to the data for the startup GPS functions of currently obtaining Function.
Specifically, when judged result indicates that at least one ambient parameter meets preparatory condition, then mobile terminal can be stood GPS functions are opened, and obtain the data needed for startup GPS functions, that is to say before detecting that user opens GPS functions i.e. The data needed for startup GPS functions can be obtained.After mobile terminal subsequent detection to user triggers the operation for opening GPS functions, GPS functions can be opened by the way of thermal starting, according to the data needed for the startup GPS functions of having obtained so as to realize It is quick to start GPS functions.
It should be noted that after mobile terminal determines preparatory condition in step 301, can also pair preparatory condition determined Carry out maintenance renewal.Alternatively, mobile terminal can update preparatory condition according at least one ambient parameter and GPS operation.Its In, the GPS operation is the unlatching GPS work(of user's triggering in the second preset time period after gathering at least one ambient parameter The operation of GPS functions or can be not opened, second preset time can generally open true at the time of GPS functions according to user Fixed, the embodiment of the present invention is not limited this.
Moreover, mobile terminal during preparatory condition is updated, can also open the actual feelings of GPS functions according to user Condition, weight corresponding to each ambient parameter is redistributed, more accurately to judge whether at least one ambient parameter meets Preparatory condition.
To sum up, a kind of method for starting global position system GPS provided in an embodiment of the present invention, by determining default bar Part, and at least one ambient parameter is gathered, judge whether mobile terminal meets GPS unlocking conditions, in conjunction with preparatory condition, to this At least one ambient parameter is judged, determines whether at least one ambient parameter meets preparatory condition.When mobile terminal is expired Sufficient GPS unlocking conditions, and when at least one ambient parameter meets preparatory condition, it is determined that needing to open GPS functions.Pass through judgement Whether mobile terminal meets GPS unlocking conditions, and determines preparatory condition, finally determines the need for opening according to the preparatory condition GPS functions, when at least one ambient parameter meets preparatory condition, open GPS functions and obtain open GPS functions required for Data, so that user can open GPS work(according to the data obtained when opening GPS functions by the way of thermal starting Can, so as to reduce the time for starting GPS functions and being spent, it is possible to increase start the efficiency of GPS functions.
Embodiment three
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention is shown, can specifically be included:
First acquisition module 410, for gathering at least one ambient parameter of mobile terminal, at least one ambient parameter The state current for indicating the mobile terminal;
First judge module 420, for judging whether at least one ambient parameter meets preparatory condition, the preparatory condition According to the mobile terminal GPS functions usage record set condition;
Starting module 430, for when at least one ambient parameter meets preparatory condition, starting the mobile terminal GPS functions.
On the basis of Fig. 4, optionally, reference picture 5, the mobile terminal can also include:
Second acquisition module 440, for when detecting that user triggers the operation for opening GPS functions, collection to be at least one Sample data, at least one sample data are used to indicate the mobile terminal when opening GPS functions during corresponding function unlatching Between state in section, the function opening time section is opens GPS prefunctional first moment to when opening second after GPS functions Carve the corresponding time;
Condition determining module 450, for determining the preparatory condition according at least one sample data.
On the basis of Fig. 4, optionally, reference picture 6, the mobile terminal can also include:
Second judge module 460, for judging whether the mobile terminal meets GPS unlocking conditions;
Starting module 430 includes:
Start submodule 4301, for meeting preparatory condition when at least one ambient parameter, and the mobile terminal meets During the GPS unlocking conditions, start the GPS functions of the mobile terminal.
On the basis of Fig. 6, optionally, reference picture 7, second judge module 460 can include:
First condition judging submodule 4601, for opening GPS work(in the first preset time period according to the mobile terminal The number of energy, judges whether the frequency of mobile terminal unlatching GPS functions is less than predeterminated frequency;
And/or second condition judging submodule 4602, for the wireless signal strength according to the mobile terminal, judging should Whether mobile terminal is located outside environment;
And/or third condition judging submodule 4603, for according to the mobile terminal last time close GPS functions at the time of, Judge whether the mobile terminal is in non-thermal starting state.
On the basis of Fig. 4, optionally, reference picture 8, the mobile terminal can also include:
Update module 470, for according at least one ambient parameter and GPS operation, updating the preparatory condition, the GPS Operate as in the second preset time period after at least one ambient parameter is gathered, unlatching GPS functions of user's triggering or simultaneously The operation of GPS functions is not opened.
Optionally, at least one sample data includes:The mobile terminal opens the function opening time corresponding to GPS functions Section, the mobile terminal open the lasting duration of GPS functions, the mobile terminal corresponding geography in the function opening time section The wireless connection conditions of positional information, the mobile terminal in the function opening time section;Opened with the mobile terminal in the function Open at least one of charged state in the period.
Optionally, at least one ambient parameter includes:The mobile terminal current parameter acquisition moment, the mobile terminal In the current wireless connection conditions of current geographical location information, the mobile terminal and the current charged state of the mobile terminal It is at least one.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in Fig. 2 to Fig. 3 embodiment of the method Each process, to avoid repeating, repeat no more here.
A kind of mobile terminal provided in an embodiment of the present invention, by gathering at least one ambient parameter of mobile terminal, sentence Whether at least one ambient parameter of breaking meets preparatory condition, and the preparatory condition is the use according to the GPS functions of mobile terminal The condition set is recorded, when at least one ambient parameter meets preparatory condition, starts the GPS functions of mobile terminal.According to extremely A few ambient parameter judges whether to need to open GPS functions, in the case of it is determined that needing to open GPS functions, can start GPS functions simultaneously obtain start GPS functions needed for data, so as to detect user open GPS functions when, can be according to Data needed for the startup GPS functions of acquisition, open GPS functions by the way of thermal starting, start GPS work(so as to reduce The time that can be spent, it is possible to increase start the efficiency of GPS functions.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, and storage is on a memory and can be The computer program run on the processor, the computer program realize above-mentioned startup global positioning system when being executed by processor Each process of system GPS embodiment of the method, and identical technique effect can be reached, to avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize the embodiment of the method for above-mentioned startup global position system GPS when being executed by processor Each process, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, it is described computer-readable Storage medium, can be read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (16)

  1. A kind of 1. method for starting global position system GPS, applied to mobile terminal, it is characterised in that methods described includes:
    At least one ambient parameter of the mobile terminal is gathered, at least one ambient parameter is used to indicate the movement eventually Hold current state;
    Judge whether at least one ambient parameter meets preparatory condition, the preparatory condition is according to the mobile terminal The condition that the usage record of GPS functions is set;
    When at least one ambient parameter meets the preparatory condition, start the GPS functions of the mobile terminal.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    When detecting that user triggers the operation for opening GPS functions, at least one sample data, at least one sample are gathered Data are used to indicate state of the mobile terminal when opening GPS functions in corresponding function opening time section, the function Opening time section is the time corresponding to the second moment after unlatching GPS prefunctional first moment to unlatching GPS functions;
    The preparatory condition is determined according at least one sample data.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    Judge whether the mobile terminal meets GPS unlocking conditions;
    It is described to start the GPS functions of the mobile terminal when at least one ambient parameter meets the preparatory condition, bag Include:
    When at least one ambient parameter meets the preparatory condition, and the mobile terminal meets the GPS unlocking conditions When, start the GPS functions of the mobile terminal.
  4. 4. according to the method for claim 3, it is characterised in that described to judge whether the mobile terminal meets that GPS is opened Condition, including:
    The number of GPS functions is opened in the first preset time period according to the mobile terminal, judges that the mobile terminal is opened Whether the frequency of GPS functions is less than predeterminated frequency;
    And/or the wireless signal strength according to the mobile terminal, judge whether the mobile terminal is located outside environment;
    And/or at the time of according to mobile terminal last time closing GPS functions, judge the mobile terminal whether in non-thermal Starting state.
  5. 5. according to the method for claim 1, it is characterised in that methods described also includes:
    According at least one ambient parameter and GPS operation, the preparatory condition is updated, the GPS operation is in collection institute State in the second preset time period after at least one ambient parameter, the unlatching GPS functions of user's triggering or not unlatching GPS functions Operation.
  6. 6. according to the method for claim 2, it is characterised in that at least one sample data includes:It is described mobile whole Function opening time section corresponding to GPS functions is opened at end, the mobile terminal opens the lasting duration of GPS functions, the shifting Dynamic terminal in the function opening time section corresponding geographical location information, the mobile terminal in the function opening time At least one of the charged state of wireless connection conditions and the mobile terminal in the function opening time section in section.
  7. 7. method according to any one of claims 1 to 6, it is characterised in that at least one ambient parameter includes:It is described The current geographical location information of mobile terminal current parameter acquisition moment, the mobile terminal, the mobile terminal are current At least one of wireless connection conditions and the current charged state of the mobile terminal.
  8. 8. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    First acquisition module, for gathering at least one ambient parameter of mobile terminal, at least one ambient parameter is used for Indicate the current state of the mobile terminal;
    First judge module, for judging whether at least one ambient parameter meets preparatory condition, the preparatory condition is The condition set according to the usage record of the GPS functions of the mobile terminal;
    Starting module, for when at least one ambient parameter meets the preparatory condition, starting the mobile terminal GPS functions.
  9. 9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
    Second acquisition module, for when detecting that user triggers the operation for opening GPS functions, gathering at least one sample number According at least one sample data is used to indicate the mobile terminal corresponding function opening time when opening GPS functions State in section, when the function opening time section is opens second after GPS prefunctional first moment to unlatching GPS functions Carve the corresponding time;
    Condition determining module, for determining the preparatory condition according at least one sample data.
  10. 10. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
    Second judge module, for judging whether the mobile terminal meets GPS unlocking conditions;
    The starting module includes:
    Start submodule, for meeting the preparatory condition when at least one ambient parameter, and the mobile terminal meets During the GPS unlocking conditions, start the GPS functions of the mobile terminal.
  11. 11. mobile terminal according to claim 10, it is characterised in that second judge module includes:
    First condition judging submodule, for opening time of GPS functions in the first preset time period according to the mobile terminal Number, judges whether the frequency of the mobile terminal unlatching GPS functions is less than predeterminated frequency;
    And/or second condition judging submodule, for the wireless signal strength according to the mobile terminal, judge the movement Whether terminal is located outside environment;
    And/or third condition judging submodule, for according to the mobile terminal last time close GPS functions at the time of, judge institute State whether mobile terminal is in non-thermal starting state.
  12. 12. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:
    Update module, for according at least one ambient parameter and GPS operation, updating the preparatory condition, the GPS behaviour As the unlatching GPS functions that in the second preset time period after at least one ambient parameter is gathered, user triggers or simultaneously The operation of GPS functions is not opened.
  13. 13. mobile terminal according to claim 9, it is characterised in that at least one sample data includes:The shifting Dynamic terminal opens function opening time section corresponding to GPS functions, the mobile terminal opens the lasting duration of GPS functions, institute Mobile terminal corresponding geographical location information, mobile terminal in the function opening time section is stated to open in the function In the charged state of wireless connection conditions and the mobile terminal in the function opening time section in period at least It is a kind of.
  14. 14. according to any described mobile terminal of claim 8 to 13, it is characterised in that at least one ambient parameter bag Include:The current geographical location information of the mobile terminal current parameter acquisition moment, the mobile terminal, the mobile terminal At least one of current wireless connection conditions and the current charged state of the mobile terminal.
  15. 15. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 7 during the computing device Any one of startup global position system GPS method the step of.
  16. 16. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the startup global positioning system as any one of claim 1 to 7 is realized when the computer program is executed by processor The step of system GPS method.
CN201710587773.8A 2017-07-18 2017-07-18 Method for starting Global Positioning System (GPS) and mobile terminal Active CN107454253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710587773.8A CN107454253B (en) 2017-07-18 2017-07-18 Method for starting Global Positioning System (GPS) and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710587773.8A CN107454253B (en) 2017-07-18 2017-07-18 Method for starting Global Positioning System (GPS) and mobile terminal

Publications (2)

Publication Number Publication Date
CN107454253A true CN107454253A (en) 2017-12-08
CN107454253B CN107454253B (en) 2021-01-08

Family

ID=60489015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710587773.8A Active CN107454253B (en) 2017-07-18 2017-07-18 Method for starting Global Positioning System (GPS) and mobile terminal

Country Status (1)

Country Link
CN (1) CN107454253B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022122019A1 (en) * 2020-12-11 2022-06-16 紫光展锐(重庆)科技有限公司 Global navigation satellite system (gnss) starting method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011153890A (en) * 2010-01-27 2011-08-11 Japan Radio Co Ltd Time determination method of gps receiving device
CN103210321A (en) * 2012-07-02 2013-07-17 华为终端有限公司 Terminal equipment positioning method and apparatus
CN105163373A (en) * 2015-07-13 2015-12-16 广东欧珀移动通信有限公司 Positioning method and mobile terminal
CN106483538A (en) * 2016-09-29 2017-03-08 广东乐心医疗电子股份有限公司 Positioning method of positioning terminal and positioning terminal
CN106897134A (en) * 2017-02-27 2017-06-27 广东欧珀移动通信有限公司 A kind of positioning function management method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974189B (en) * 2013-01-24 2018-03-27 华为终端(东莞)有限公司 The GPS location method and mobile terminal of mobile terminal
CN104316935B (en) * 2014-10-15 2018-04-03 泰斗微电子科技有限公司 A kind of method and system for accelerating satellite navigation receiver thermal starting locating speed
KR101741208B1 (en) * 2015-12-14 2017-05-29 엘아이지넥스원 주식회사 Gps message transmission system and gps message transmission method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011153890A (en) * 2010-01-27 2011-08-11 Japan Radio Co Ltd Time determination method of gps receiving device
CN103210321A (en) * 2012-07-02 2013-07-17 华为终端有限公司 Terminal equipment positioning method and apparatus
CN105163373A (en) * 2015-07-13 2015-12-16 广东欧珀移动通信有限公司 Positioning method and mobile terminal
CN106483538A (en) * 2016-09-29 2017-03-08 广东乐心医疗电子股份有限公司 Positioning method of positioning terminal and positioning terminal
CN106897134A (en) * 2017-02-27 2017-06-27 广东欧珀移动通信有限公司 A kind of positioning function management method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022122019A1 (en) * 2020-12-11 2022-06-16 紫光展锐(重庆)科技有限公司 Global navigation satellite system (gnss) starting method and apparatus

Also Published As

Publication number Publication date
CN107454253B (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN107621918A (en) The method to set up and mobile terminal of breath screen display content
CN107196363A (en) Adjust method, terminal and the computer-readable recording medium of charging current
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN110446243A (en) Web search control method, terminal and computer readable storage medium
CN107679514A (en) A kind of face identification method and electronic equipment
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN107291242A (en) The control method and intelligent terminal of a kind of intelligent terminal
CN107920384A (en) A kind of method, terminal and computer-readable recording medium for searching for communication network
CN107608855A (en) Based reminding method and mobile terminal
CN107580131A (en) Image processing method and mobile terminal
CN107635070A (en) A kind of method of prompting message, terminal and storage medium
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN108536490A (en) A kind of application program launching method, mobile terminal and computer storage media
CN109660973A (en) Bluetooth control method, mobile terminal and storage medium
CN110324784A (en) The processing method and terminal of possible location
CN107391172A (en) A kind of terminal control method, terminal and computer-readable recording medium
CN110012148A (en) A kind of bracelet control method, bracelet and computer readable storage medium
CN108363591A (en) A kind of method and device of PUSH message control
CN107277364A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN108133708A (en) A kind of control method of voice assistant, device and mobile terminal
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN109873901A (en) A kind of screenshot method for managing resource and terminal, computer readable storage medium
CN108769206A (en) Method of data synchronization, terminal and storage medium
CN108196663A (en) A kind of face identification method, mobile terminal
CN107908941A (en) The operating method and mobile terminal of application program

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
GR01 Patent grant
GR01 Patent grant