CN105866806A - GPS module control method and device, and mobile terminal - Google Patents

GPS module control method and device, and mobile terminal Download PDF

Info

Publication number
CN105866806A
CN105866806A CN201610177853.1A CN201610177853A CN105866806A CN 105866806 A CN105866806 A CN 105866806A CN 201610177853 A CN201610177853 A CN 201610177853A CN 105866806 A CN105866806 A CN 105866806A
Authority
CN
China
Prior art keywords
characteristic parameter
gps module
low speed
signal
terminal
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
CN201610177853.1A
Other languages
Chinese (zh)
Other versions
CN105866806B (en
Inventor
刘文杰
林华秋
蒋世民
吴丕和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610177853.1A priority Critical patent/CN105866806B/en
Publication of CN105866806A publication Critical patent/CN105866806A/en
Application granted granted Critical
Publication of CN105866806B publication Critical patent/CN105866806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a GPS module control method and device, and a mobile terminal. The method comprises the steps: starting a map application program in a mobile terminal; obtaining a terminal instant speeds collected by a GPS module of the mobile terminal in a timing manner; comparing the obtained terminal instant speed and a preset speed threshold value, and updating a high-speed characteristic parameter and a low-speed characteristic speed according to a comparison result; controlling the working state of the GPS module according to the updating record information of the high-speed characteristic parameter and the low-speed characteristic speed, wherein the working state comprises a starting state or a stopping state. The above method can solve a technical problem that the turn-off of the GPS module in the prior art affects the navigation precision.

Description

Method, device and the mobile terminal that a kind of GPS module controls
Technical field
The present invention relates to digital map navigation technical field, particularly relate to method, device that a kind of GPS module controls And mobile terminal.
Background technology
Along with the arrival of time of cell-phone, mobile terminal has become as work indispensable in people's daily life Tool, the mobility of mobile terminal so that it is seem convenient, efficiently.Mobile terminal generally can meet people Daily life in some demands, such as communicate, do shopping, information inquiry, path navigation etc..
Nowadays, mobile terminal be commonly configured with global positioning system (Global Positioning System, GPS) module, can be navigated by GPS module easily and position, and brings the most generous to people's life Just.GPS module is when navigating and position, it will usually having the highest power consumption, therefore, mobile terminal is Saving power consumption, it will usually under the sight that satellite-signal is more weak, closes GPS module, if user drives In car navigation, then can affect the degree of accuracy of navigation.
Summary of the invention
In view of this, the embodiment of the present invention provides the method for a kind of GPS module control, device and moves eventually End, to solve GPS module closedown in prior art, affects the technical problem of navigation precision.
First aspect, embodiments provides a kind of method that GPS module controls, including:
Start the map class application program in mobile terminal;
Obtain the terminal instantaneous velocity that the global position system GPS module timing acquiring of described mobile terminal arrives;
The described terminal instantaneous velocity relatively obtained and the threshold speed preset, and according to comparative result more new peak Speed characteristic parameter and low speed characteristic parameter;
According to the more new record information of described high velocity characteristic parameter and described low speed characteristic parameter, control described The duty of GPS module, wherein said duty includes opening or closed mode.
Second aspect, the embodiment of the present invention additionally provides the device that a kind of GPS module controls, including:
Start module, for starting the map class application program in mobile terminal;
Acquisition module, for obtaining what the global position system GPS module timing acquiring of described mobile terminal arrived Terminal instantaneous velocity;
Comparison module, for the described terminal instantaneous velocity comparing acquisition and the threshold speed preset, and foundation Comparative result updates high velocity characteristic parameter and low speed characteristic parameter;
Control module, believes for the more new record according to described high velocity characteristic parameter and described low speed characteristic parameter Breath, controls the duty of described GPS module, and wherein said duty includes opening or closes shape State.
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, provides including above-described embodiment The device that GPS module controls.
Method, device and the mobile terminal that the GPS module that the embodiment of the present invention provides controls, mobile starting After map class application program in terminal, the terminal instantaneous velocity gathered by GPS module updates corresponding ginseng Number, and the duty of GPS module is controlled according to corresponding more new record information, it can be ensured that using GPS When module is navigated, do not close GPS module, it is ensured that to user's routing information accurately, it is also possible to guarantee When need not GPS module and navigating, close GPS module, reduce the power consumption of mobile terminal.
Accompanying drawing explanation
The detailed description that non-limiting example is made made with reference to the following drawings by reading, the present invention Other features, objects and advantages will become more apparent upon:
The flow chart of the method that a kind of GPS module that Fig. 1 provides for the embodiment of the present invention one controls;
The flow chart of the method updating characteristic parameter that Fig. 2 provides for the embodiment of the present invention one;
The flow chart of the method that a kind of GPS module that Fig. 3 provides for the embodiment of the present invention two controls;
The flow chart of the method that a kind of GPS module that Fig. 4 provides for the embodiment of the present invention three controls;
The stream of the method controlling GPS module according to satellite signal strength that Fig. 5 provides for the embodiment of the present invention three Cheng Tu;
The structural representation of the device that a kind of GPS module that Fig. 6 provides for the embodiment of the present invention four controls;
The structural representation of a kind of mobile terminal that Fig. 7 provides for the embodiment of the present invention four.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this Specific embodiment described by place is used only for explaining the present invention, rather than limitation of the invention.The most also need Be noted that for the ease of describing, accompanying drawing illustrate only part related to the present invention and not all in Hold.
Embodiment one
The flow chart of the method that a kind of GPS module that Fig. 1 provides for the embodiment of the present invention one controls.This enforcement The method that the GPS module that example provides controls is applicable to mobile terminal the need of persistently opening GPS module for using Family provides the situation of accurate traffic information.The device that the method that the present embodiment provides can be controlled by GPS module Performing, this device can be realized by software and/or hardware, and integrated in the terminal.Such as Fig. 1 institute Showing, the method includes:
Step 110, the map class application program started in mobile terminal.
In the present embodiment, mobile terminal can be mobile phone, panel computer etc. to be held with the user of positioning function Equipment.Map class application program for may be mounted in mobile terminal, can provide the user map interface, The application program of the functions such as location and navigation.
Further, after mobile terminal listens to the operation that user starts map class application program, open corresponding Map class application program.
Step 120, obtain the terminal wink that the global position system GPS module timing acquiring of described mobile terminal arrives Shi Sudu.
In the present embodiment, mobile terminal includes global positioning system (Global Positioning System, GPS) module, GPS module can provide the user real-time location letter by obtaining satellite-signal Breath.Such as, after map class application program is opened, it is user that GPS module can start and obtain satellite-signal Location information and the map when prelocalization periphery accurately are provided.And for example, user opens wechat or microblogging etc. During with the application program of positioning function, GPS module also can start and obtain satellite-signal and provide the user standard True location information.
Exemplary, mobile terminal, after starting map class application program, is opened GPS module, and is utilized GPS The satellite-signal that module timing is passed through to obtain is with acquisition terminal instantaneous velocity.Wherein, acquisition time interval is permissible It is set according to practical situation.Such as, mobile terminal, after determining that high moral map is opened, controls GPS mould Block obtains satellite-signal to determine terminal instantaneous velocity every 1s.
Step 130, the described terminal instantaneous velocity comparing acquisition and default threshold speed, and according to comparing Result updates high velocity characteristic parameter and low speed characteristic parameter.
Wherein, the threshold speed preset can be user's satisfiable relatively low velocity when driving or ride. Concrete numerical value can be set according to practical situation, and such as, threshold speed can be 15km/h, this speed Degree is that user is very easy to reach when driving or ride.
Concrete, when the terminal instantaneous velocity gathered is higher than the threshold speed preset, adaptive more new peak Speed characteristic parameter, accordingly, when the terminal instantaneous velocity gathered is less than the threshold speed preset, adaptability Renewal low speed characteristic parameter.
Step 140, more new record information according to described high velocity characteristic parameter and described low speed characteristic parameter, Controlling the duty of described GPS module, wherein said duty includes opening or closed mode.
Exemplary, the duty of GPS module can by high velocity characteristic parameter and low speed characteristic parameter more New record information controls.When mobile terminal detects the more new record of high velocity characteristic parameter and low speed characteristic parameter Information controls the duty of GPS module when meeting specific condition.
Such as, foot is write all over when more new record information high velocity characteristic parameter and low speed characteristic parameter record being detected During the driving characteristics value set, confirm that mobile terminal provides the user driving navigation service, and then persistently open GPS module.
Wherein, the state of GPS module can include opening and closed mode.When being in opening Time, GPS module can by obtain satellite-signal lasting provide the user the letter that positions accurately and navigate Breath.When in the closed position, GPS module stops obtaining satellite-signal.Now, mobile terminal can be in order to By other location technology in addition to positioning except GPS, mobile terminal is positioned.Such as, connect according to mobile terminal The signal base station information that the attribute information of the wireless router entered or mobile terminal access, is carried out mobile terminal Location.The location information that this type of localization method provides is not so good as the accurate of the location information of GPS module offer, but Remain to the simple location requirement meeting user in scenes such as indoor.
In the present embodiment, mobile terminal is opened after map class application program, confirm user be in driving or Persistently open GPS module during person's riding condition, it is ensured that in navigation procedure by way of tunnel or other defend Star signal more weak local time, GPS module still provides the user navigation Service, it is ensured that user drives road The accuracy of line.
The method that the GPS module that the embodiment of the present invention one provides controls, the map class in starting mobile terminal After application program, the terminal instantaneous velocity gathered by GPS module updates corresponding parameter, and according to accordingly More new record information control GPS module duty, it can be ensured that use GPS module navigate Time, do not close GPS module, it is ensured that to user's routing information accurately, it is also possible to guarantee need not GPS When module is navigated, close GPS module, reduce the power consumption of mobile terminal.
On the basis of above-described embodiment, as in figure 2 it is shown, the described described terminal instantaneous velocity comparing acquisition and The threshold speed preset, and can wrap according to comparative result renewal high velocity characteristic parameter and low speed characteristic parameter Include:
If step 131 described terminal instantaneous velocity is more than the threshold speed preset, then to high velocity characteristic parameter Increase the first numerical value preset.
Exemplary, when the terminal instantaneous velocity gathered is more than the threshold speed preset, it is believed that user It is in the state driven or ride, now, updates high velocity characteristic parameter.
Further, updating high velocity characteristic parameter can be that high velocity characteristic parameter increases the first number preset Value.Wherein, the concrete form of the first numerical value is not construed as limiting.Such as, it is more than when the terminal instantaneous velocity gathered During the threshold speed preset, the record value of high velocity characteristic parameter is added 1.
If step 132 described terminal instantaneous velocity is less than the threshold speed preset, then to low speed characteristic parameter Increase the second value preset.
Exemplary, when the terminal instantaneous velocity gathered is less than the threshold speed preset, it is believed that user It is in non-driving or the non-state ridden, now, updates low speed characteristic parameter.
Further, low speed high velocity characteristic parameter can be that low speed characteristic parameter increases the second number preset Value.Wherein, the concrete form of second value is not construed as limiting, and second value and the first numerical value can be identical, Can also be different.Such as, when the terminal instantaneous velocity gathered is less than the threshold speed preset, special to low speed The record value levying parameter adds 1.
Embodiment two
The flow chart of the method that a kind of GPS module that Fig. 3 provides for the embodiment of the present invention two controls.This enforcement Example is on the basis of embodiment one, to according to described high velocity characteristic parameter and described low speed characteristic parameter more New record information, the step of the duty controlling described GPS module has done further restriction.
Further, according to the more new record information of described high velocity characteristic parameter and described low speed characteristic parameter, The duty controlling described GPS module includes: if the number of times that increases continuously of described high velocity characteristic parameter reaches The first frequency threshold value preset, then control described GPS module and be continuously in opening and stop described in collection Terminal instantaneous velocity;If the more new record information of described low speed characteristic parameter meets and default empties condition, then Empty described high velocity characteristic parameter and the more new record information of described low speed characteristic parameter and reacquire described The terminal instantaneous velocity that GPS module timing sampling arrives, and update described high speed according to described terminal instantaneous velocity Characteristic parameter and described low speed characteristic parameter.As it is shown on figure 3, the method includes:
Step 310, the map class application program started in mobile terminal.
Step 320, obtain the terminal wink that the global position system GPS module timing acquiring of described mobile terminal arrives Shi Sudu.
Step 330, the described terminal instantaneous velocity comparing acquisition and default threshold speed, and according to comparing Result updates high velocity characteristic parameter and low speed characteristic parameter.
If step 340 described high velocity characteristic parameter increase continuously first number threshold that number of times reaches default Value, then control described GPS module and be continuously in opening and stop gathering described terminal instantaneous velocity.
Exemplary, if high velocity characteristic continuous parameters increases, then illustrate that the terminal instantaneous velocity gathered is lasting More than the threshold speed preset.First number threshold that number of times reaches default is increased continuously when high velocity characteristic parameter Value, illustrates that the terminal instantaneous velocity gathered is all higher than the threshold speed preset within the regular hour, can be true Recognize user to be in the state driven or ride and mobile terminal and provided the user accurately by map class application program Navigation Service.Now, mobile terminal control GPS module is continuously in opening.
Further, when confirmation mobile terminal provides the user and is accurately positioned and navigates, acquisition terminal is stopped Instantaneous velocity, alleviating the workload of current mobile terminal, and then can little scope reduce mobile terminal Power consumption.
Optionally, after control GPS module is continuously in opening, detect that map class application program closes When closing, confirm to terminate navigation Service, now control GPS module and close, to reduce the power consumption of mobile terminal.
Such as, when the terminal instantaneous velocity gathered is more than 15km/h, high velocity characteristic parameter adds 1, when at a high speed When characteristic parameter adds 1 continuous 60 times, then control GPS module and be continuously in opening, and stop gathering eventually End instantaneous velocity.When the corresponding application program of closedown being detected, control GPS module and close.
If the more new record information of step 350 described low speed characteristic parameter meets and default empties condition, then Empty described high velocity characteristic parameter and the more new record information of described low speed characteristic parameter and reacquire described The terminal instantaneous velocity that GPS module timing acquiring arrives, and it is special to update described speed according to described terminal instantaneous velocity Levy parameter and described low speed characteristic parameter.
Exemplary, when the more new record information of low speed characteristic parameter meets default when emptying condition, empty The more new record information of high velocity characteristic parameter and low speed characteristic parameter.Advantage of this is that, can avoid relatively Whether in the long time period, mobile terminal is unconfirmed is in when providing the user accurate location and navigation Service, The more new record information of high velocity characteristic parameter and low speed characteristic parameter too much increases the complexity that data process, can To promote the speed that data process.
Further, when emptying the more fresh information record of high velocity characteristic parameter and low speed characteristic parameter, again Obtain the terminal instantaneous velocity of GPS timing sampling, and update corresponding high velocity characteristic according to terminal instantaneous velocity Parameter and low speed characteristic parameter, and then the duty of GPS module is controlled according to more new record information.
Optionally, step 350 can include following two technical schemes:
If the value of scheme one described low speed characteristic parameter reaches default third value, then empty described height Speed characteristic parameter and the more new record information of described low speed characteristic parameter and reacquire described GPS module timing The terminal instantaneous velocity collected, and update described high velocity characteristic parameter and institute according to described terminal instantaneous velocity State low speed characteristic parameter.
Wherein, third value can be set according to practical situation.Such as, third value is set as 4 Time.When numerical value low speed characteristic parameter record being detected becomes 4, empty high velocity characteristic parameter and low speed is special Levy the more new record information of parameter.Reacquire the terminal instantaneous velocity of GPS module timing acquiring simultaneously, and Corresponding high velocity characteristic parameter and low speed characteristic parameter is updated according to terminal instantaneous velocity, and then according to updating note Record information controls the duty of GPS module.
If scheme two described low speed characteristic parameter increase continuously the second frequency threshold value that number of times reaches default, Then empty described high velocity characteristic parameter and the more new record information of described low speed characteristic parameter and reacquire described The terminal instantaneous velocity that GPS module timing acquiring arrives, and update described high speed according to described terminal instantaneous velocity Characteristic parameter and described low speed characteristic parameter, wherein said second frequency threshold value is less than described first number threshold Value.
Wherein, the second frequency threshold value can be set according to practical situation, and the second frequency threshold value is less than the One frequency threshold value.Such as, the second frequency threshold value is set to 4.When detecting that low speed characteristic parameter record increases continuously Add number of times when reaching 4, empty the more new record information of high velocity characteristic parameter and low speed characteristic parameter.Weigh simultaneously The new terminal instantaneous velocity obtaining GPS module timing acquiring, and update corresponding high according to terminal instantaneous velocity Speed characteristic parameter and low speed characteristic parameter, and then the work shape of GPS module is controlled according to more new record information State.
The method that the GPS module that the embodiment of the present invention two provides controls, the map class in starting mobile terminal After application program, the terminal instantaneous velocity gathered by GPS module updates corresponding parameter, and according to accordingly More new record information control GPS module duty, it can be ensured that use GPS module navigate Time, do not close GPS module, it is ensured that to user's routing information accurately, it is also possible to guarantee need not GPS When module is navigated, close GPS module, reduce the power consumption of mobile terminal.
Embodiment three
The flow chart of the method that a kind of GPS module that Fig. 4 provides for the embodiment of the present invention three controls.This enforcement Example is on the basis of above-described embodiment, to according to described high velocity characteristic parameter and described low speed characteristic parameter More new record information, the step of the duty controlling described GPS module has done further restriction.
Further, according to the more new record information of described high velocity characteristic parameter and described low speed characteristic parameter, Control the duty of described GPS module, also include: in the first preset time period, if described high speed is special The number of times that increases continuously levying parameter is not up to described first frequency threshold value, then control the detection of described GPS module and defend The signal intensity of star signal, wherein said first preset time period sets according to described first frequency threshold value; Signal intensity according to described satellite-signal controls the duty of described GPS module.As shown in Figure 4, should Method includes:
Step 410, the map class application program started in mobile terminal.
Step 420, obtain the terminal wink that the global position system GPS module timing acquiring of described mobile terminal arrives Shi Sudu.
Step 430, the described terminal instantaneous velocity comparing acquisition and default threshold speed, and according to comparing Result updates high velocity characteristic parameter and low speed characteristic parameter.
Step 440, in the first preset time period, if described high velocity characteristic parameter increase continuously number of times not Reach described first frequency threshold value, then control the signal intensity of described GPS module detection satellite-signal, wherein Described first preset time period sets according to described first frequency threshold value.
Wherein, the first preset time period can be set according to practical situation, and optionally, first when presetting Between section according to first frequency threshold value set.When the first frequency threshold value is less, can set duration shorter time Between section, when the first frequency threshold value is bigger, the time period that duration is longer can be set.
Further, GPS module starts to start timing during timing acquiring terminal instantaneous velocity, works as high velocity characteristic The number of times that increases continuously of parameter is not up to the first frequency threshold value in the first preset time period, then explanation user can The state driven or ride can be not in, now need to go further to judge the state that user is current.
Optionally, GPS module starts to start timing during timing acquiring terminal instantaneous velocity, when first presets Between in section, the number of times that increases continuously of high velocity characteristic parameter is not up to the first frequency threshold value, then control GPS module The signal intensity of the satellite-signal that detection is currently received.
Such as, the first frequency threshold value set is as 60 times, and accordingly, the first preset time period is set to 10 Minute.Timing, the company of high velocity characteristic parameter is started when GPS module starts timing acquiring terminal instantaneous velocity The continuous number of times that increases all was not up to 60 times in 10 minutes, then, when within the 11st minute, starting, control GPS module The signal intensity of the satellite-signal that detection is currently received.
Step 450, according to described satellite-signal signal intensity control described GPS module duty.
Further, the work shape of GPS module can be controlled according to the satellite signal strength of GPS module detection State.As it is shown in figure 5, step 450 specifically may include that
If the signal intensity of the described satellite-signal of step 451 is higher than signal strength threshold, then control described GPS Module is in opening and continues to gather described terminal instantaneous velocity, and according to described terminal instantaneous velocity more The described high velocity characteristic parameter of new adjustment and described low speed characteristic parameter.
Exemplary, when the satellite signal strength detected is higher than signal strength threshold, then can illustrate mobile Terminal may be in outdoor, now, controls GPS module and is in opening, and continue the instantaneous speed of acquisition terminal Degree, and according to the terminal instantaneous velocity corresponding high velocity characteristic parameter of renewal and low speed characteristic parameter, and then according to More new record information controls the duty of GPS module.Wherein, intensity threshold can enter according to practical situation Row sets.
Further, start counting up, if in the first preset time period when continuing acquisition terminal instantaneous velocity In, described high velocity characteristic parameter increase continuously number of times when being not up to described first frequency threshold value, then perform step Rapid 440.
If the signal intensity of the described satellite-signal of step 452 is less than described signal strength threshold, then second In time period, control described GPS module and continue to detect the signal intensity of described satellite-signal, if described satellite Signal intensity is below described intensity threshold, then control described GPS module and be closed.
Exemplary, the signal intensity of the satellite-signal detected when GPS module less than signal strength threshold, Then can illustrate that mobile terminal may be likely in indoor in the more weak place of outdoor satellite signal.Now, control The signal intensity of the detection satellite-signal that GPS module processed is lasting within the second time period.Wherein, the second time Section can be set according to practical situation.
Further, if within the second time period, the signal intensity of the satellite-signal that GPS module detects is equal Less than signal strength threshold, then illustrate that mobile terminal is now likely to be at indoor or underground parking etc. and is not required to The position being accurately positioned and navigate, now controls GPS module and is closed.
Such as, in 3 minutes, the signal intensity of the satellite-signal that GPS module detects is below signal intensity Threshold value, then control GPS module and be closed.
Optionally, if the signal intensity of described satellite-signal is once higher than described intensity threshold, then illustrate to move Dynamic terminal is likely to be at the position of outdoor, now stops the signal intensity of detection satellite-signal, and controls GPS Module is in opening and continues acquisition terminal instantaneous velocity, and updates tune according to described terminal instantaneous velocity Whole described high velocity characteristic parameter and described low speed characteristic parameter, and then control GPS mould according to more new record information The duty of block.Start counting up, if in the first preset time period when continuing acquisition terminal instantaneous velocity In, described high velocity characteristic parameter increase continuously number of times when being not up to described first frequency threshold value, then perform step Rapid 440.
The method that the GPS module that the embodiment of the present invention three provides controls, the map class in starting mobile terminal After application program, the terminal instantaneous velocity gathered by GPS module updates corresponding parameter, and according to accordingly More new record information control GPS module duty, it can be ensured that use GPS module navigate Time, do not close GPS module, it is ensured that to user's routing information accurately, it is also possible to guarantee need not GPS When module is navigated, close GPS module, reduce the power consumption of mobile terminal.
Embodiment four
The structural representation of the device that a kind of GPS module that Fig. 6 provides for the embodiment of the present invention four controls.As Shown in Fig. 6, this device includes: starts module 601, acquisition module 602, comparison module 603 and controls mould Block 604.
Wherein, start module 601, for starting the map class application program in mobile terminal;Acquisition module 602, for obtaining the instantaneous speed of terminal that the global position system GPS module timing acquiring of described mobile terminal arrives Degree;Comparison module 603, for the described terminal instantaneous velocity comparing acquisition and the threshold speed preset, and High velocity characteristic parameter and low speed characteristic parameter is updated according to comparative result;Control module 604, for according to institute State the more new record information of high velocity characteristic parameter and described low speed characteristic parameter, control the work of described GPS module Making state, wherein said duty includes opening or closed mode.
Further, described comparison module 603 may include that increment unit and low speed increment unit at a high speed. Wherein, increment unit at a high speed, if for described terminal instantaneous velocity more than the threshold speed preset, then to height Speed characteristic parameter increases the first numerical value preset;Low speed increment unit, if little for described terminal instantaneous velocity In default threshold speed, then low speed characteristic parameter is increased the second value preset.
Optionally, described control module 604 may include that unlatching unit and empties unit.Wherein, open Unit, if for first frequency threshold value that number of times reaches default that increases continuously of described high velocity characteristic parameter, then Control described GPS module be continuously in opening and stop gathering described terminal instantaneous velocity;Empty list Unit, if the value being used for described low speed characteristic parameter reaches default third value, or described low speed feature Parameter increase continuously the second frequency threshold value that number of times reaches default, then empty described high velocity characteristic parameter and institute State the more new record information of low speed characteristic parameter and reacquire the terminal wink that described GPS module timing acquiring arrives Shi Sudu, and update described high velocity characteristic parameter and described low speed feature ginseng according to described terminal instantaneous velocity Number, wherein said second frequency threshold value is less than described first frequency threshold value.
On the basis of above-described embodiment, described control module 604 may include that detector unit and state control Unit.Wherein, detector unit, it is used in the first preset time period, if the company of described high velocity characteristic parameter The continuous number of times that increases is not up to described first frequency threshold value, then control the letter of described GPS module detection satellite-signal Number intensity, wherein said first preset time period sets according to described first frequency threshold value;State controls single Unit, for controlling the duty of described GPS module according to the signal intensity of described satellite-signal.
Further, described status unit may include that collection subelement and closes subelement.Its In, gather subelement, if the signal intensity for described satellite-signal is higher than signal strength threshold, then control Described GPS module is in opening and continues to gather described terminal instantaneous velocity, and according to described terminal wink Shi Sudu updates and adjusts described high velocity characteristic parameter and described low speed characteristic parameter;Close subelement, if for The signal intensity of described satellite-signal is less than described signal strength threshold, then, within the second time period, control institute State GPS module and continue to detect the signal intensity of described satellite-signal, if described satellite signal strength is below institute State intensity threshold, then control described GPS module and be closed.
The device that the GPS module that the embodiment of the present invention four provides controls may be used for performing above-mentioned any embodiment The method that the GPS module provided controls, possesses corresponding function and beneficial effect.
The structural representation of a kind of mobile terminal that Fig. 7 provides for the embodiment of the present invention four.As it is shown in fig. 7, The embodiment of the present invention additionally provides a kind of mobile terminal, and this mobile terminal 71 comprises above-mentioned any embodiment to be provided GPS module control device.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.Those skilled in the art It will be appreciated that the invention is not restricted to specific embodiment described here, can enter for a person skilled in the art Row various obvious changes, readjust and substitute without departing from protection scope of the present invention.Therefore, though So by above example, the present invention is described in further detail, but the present invention be not limited only to Upper embodiment, without departing from the inventive concept, it is also possible to include other Equivalent embodiments more, And the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. the method that a GPS module controls, it is characterised in that including:
Start the map class application program in mobile terminal;
Obtain the terminal instantaneous velocity that the global position system GPS module timing acquiring of described mobile terminal arrives;
The described terminal instantaneous velocity relatively obtained and the threshold speed preset, and according to comparative result more new peak Speed characteristic parameter and low speed characteristic parameter;
According to the more new record information of described high velocity characteristic parameter and described low speed characteristic parameter, control described The duty of GPS module, wherein said duty includes opening or closed mode.
Method the most according to claim 1, it is characterised in that the described terminal comparing acquisition is instantaneous Speed and the threshold speed preset, and update high velocity characteristic parameter and low speed characteristic parameter bag according to comparative result Include:
If described terminal instantaneous velocity is more than the threshold speed preset, then the increase of high velocity characteristic parameter is preset First numerical value;
If described terminal instantaneous velocity is less than the threshold speed preset, then the increase of low speed characteristic parameter is preset Second value.
Method the most according to claim 1, it is characterised in that according to described high velocity characteristic parameter and The more new record information of described low speed characteristic parameter, controls the duty of described GPS module, including:
If described high velocity characteristic parameter increase continuously the first frequency threshold value that number of times reaches default, then control institute State GPS module be continuously in opening and stop gathering described terminal instantaneous velocity;
If the value of described low speed characteristic parameter reaches default third value, or described low speed characteristic parameter Increase continuously the second frequency threshold value that number of times reaches default, then empty described high velocity characteristic parameter and described low The speed more new record information of characteristic parameter also reacquires the instantaneous speed of terminal that described GPS module timing acquiring arrives Degree, and update described high velocity characteristic parameter and described low speed characteristic parameter according to described terminal instantaneous velocity, its Described in the second frequency threshold value less than described first frequency threshold value.
Method the most according to claim 3, it is characterised in that according to described high velocity characteristic parameter and The more new record information of described low speed characteristic parameter, controls the duty of described GPS module, also includes:
In the first preset time period, if the number of times that increases continuously of described high velocity characteristic parameter is not up to described One frequency threshold value, then control the signal intensity of described GPS module detection satellite-signal, wherein said first pre- If the time period sets according to described first frequency threshold value;
Signal intensity according to described satellite-signal controls the duty of described GPS module.
Method the most according to claim 4, it is characterised in that according to the signal of described satellite-signal The duty of GPS module described in strength control, including:
If the signal intensity of described satellite-signal is higher than signal strength threshold, then controls described GPS module and be in Opening also continues to gather described terminal instantaneous velocity, and updates adjustment institute according to described terminal instantaneous velocity State high velocity characteristic parameter and described low speed characteristic parameter;
If the signal intensity of described satellite-signal is less than described signal strength threshold, then within the second time period, Control described GPS module and continue to detect the signal intensity of described satellite-signal, if described satellite signal strength is equal Less than described intensity threshold, then control described GPS module and be closed.
6. the device that a GPS module controls, it is characterised in that including:
Start module, for starting the map class application program in mobile terminal;
Acquisition module, for obtaining what the global position system GPS module timing acquiring of described mobile terminal arrived Terminal instantaneous velocity;
Comparison module, for the described terminal instantaneous velocity comparing acquisition and the threshold speed preset, and foundation Comparative result updates high velocity characteristic parameter and low speed characteristic parameter;
Control module, believes for the more new record according to described high velocity characteristic parameter and described low speed characteristic parameter Breath, controls the duty of described GPS module, and wherein said duty includes opening or closes shape State.
Device the most according to claim 6, it is characterised in that described comparison module includes:
Increment unit at a high speed, if for described terminal instantaneous velocity more than the threshold speed preset, then at a high speed Characteristic parameter increases the first numerical value preset;
Low speed increment unit, if for described terminal instantaneous velocity less than the threshold speed preset, then to low speed Characteristic parameter increases the second value preset.
Device the most according to claim 6, it is characterised in that described control module includes:
Open unit, if for described high velocity characteristic parameter increase continuously first number that number of times reaches default Threshold value, then control described GPS module and be continuously in opening and stop gathering described terminal instantaneous velocity;
Empty unit, if the value being used for described low speed characteristic parameter reaches default third value, or institute That states low speed characteristic parameter increases continuously the second frequency threshold value that number of times reaches default, then empty described high speed special Levy parameter and the more new record information of described low speed characteristic parameter and reacquire described GPS module timing acquiring The terminal instantaneous velocity arrived, and update described high velocity characteristic parameter and described low according to described terminal instantaneous velocity Speed characteristic parameter, wherein said second frequency threshold value is less than described first frequency threshold value.
Device the most according to claim 8, it is characterised in that described control module includes:
Detector unit, in the first preset time period, if increasing continuously of described high velocity characteristic parameter is secondary Number not up to described first frequency threshold value, then control the signal intensity of described GPS module detection satellite-signal, Wherein said first preset time period sets according to described first frequency threshold value;
Status unit, for controlling the work of described GPS module according to the signal intensity of described satellite-signal Make state.
Device the most according to claim 9, it is characterised in that described status unit includes:
Gather subelement, if the signal intensity for described satellite-signal is higher than signal strength threshold, then control Described GPS module is in opening and continues to gather described terminal instantaneous velocity, and according to described terminal wink Shi Sudu updates and adjusts described high velocity characteristic parameter and described low speed characteristic parameter;
Close subelement, if the signal intensity for described satellite-signal is less than described signal strength threshold, then Within the second time period, control described GPS module and continue to detect the signal intensity of described satellite-signal, if institute State satellite signal strength and be below described intensity threshold, then control described GPS module and be closed.
11. 1 kinds of mobile terminals, it is characterised in that include the GPS mould described in any one of claim 6-10 The device that block controls.
CN201610177853.1A 2016-03-25 2016-03-25 A kind of method, device and mobile terminal of GPS module control Active CN105866806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610177853.1A CN105866806B (en) 2016-03-25 2016-03-25 A kind of method, device and mobile terminal of GPS module control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610177853.1A CN105866806B (en) 2016-03-25 2016-03-25 A kind of method, device and mobile terminal of GPS module control

Publications (2)

Publication Number Publication Date
CN105866806A true CN105866806A (en) 2016-08-17
CN105866806B CN105866806B (en) 2017-11-21

Family

ID=56625903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610177853.1A Active CN105866806B (en) 2016-03-25 2016-03-25 A kind of method, device and mobile terminal of GPS module control

Country Status (1)

Country Link
CN (1) CN105866806B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106546999A (en) * 2016-10-20 2017-03-29 宇龙计算机通信科技(深圳)有限公司 The control method of GPS module, control device and terminal
WO2018126884A1 (en) * 2017-01-04 2018-07-12 中兴通讯股份有限公司 Power saving method for terminal device and terminal device
CN112319498A (en) * 2020-10-12 2021-02-05 武汉蓝星科技股份有限公司 Method and system for reducing power consumption of electronic equipment based on GPS
CN116224387A (en) * 2023-05-09 2023-06-06 深圳市易赛通信技术有限公司 Positioning method, device and equipment of wearable equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120274509A1 (en) * 2011-04-27 2012-11-01 Chung-Yen Tsai Gnss receiver and method for determining whether to switch from one operation state to another operation state according to state switching criterion and positioning information
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120274509A1 (en) * 2011-04-27 2012-11-01 Chung-Yen Tsai Gnss receiver and method for determining whether to switch from one operation state to another operation state according to state switching criterion and positioning information
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106546999A (en) * 2016-10-20 2017-03-29 宇龙计算机通信科技(深圳)有限公司 The control method of GPS module, control device and terminal
WO2018072260A1 (en) * 2016-10-20 2018-04-26 宇龙计算机通信科技(深圳)有限公司 Gps module control method and control device, and terminal
WO2018126884A1 (en) * 2017-01-04 2018-07-12 中兴通讯股份有限公司 Power saving method for terminal device and terminal device
CN112319498A (en) * 2020-10-12 2021-02-05 武汉蓝星科技股份有限公司 Method and system for reducing power consumption of electronic equipment based on GPS
CN116224387A (en) * 2023-05-09 2023-06-06 深圳市易赛通信技术有限公司 Positioning method, device and equipment of wearable equipment and storage medium
CN116224387B (en) * 2023-05-09 2023-07-07 深圳市易赛通信技术有限公司 Positioning method, device and equipment of wearable equipment and storage medium

Also Published As

Publication number Publication date
CN105866806B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN105866806A (en) GPS module control method and device, and mobile terminal
CN105023456B (en) Based on traffic lights signal intensity self-adapting intelligent layout of roads method
CN107274716A (en) The shutdown system and method for a kind of indoor and outdoor fusion navigation
CN101587673B (en) View spot triggering method based on explication point in GPS intelligent guide system
CN105632236A (en) Community parking space management and guidance system and method based on unmanned aerial vehicle and cloud computing technology
CN108010380A (en) A kind of parking position management and intelligent coordinated system and method for parking
CN105139644A (en) Indoor parking space positioning method based on APP and GPS inertial guidance
CN106303958A (en) Car searching method and system
CN106205161A (en) traffic information transmission method and device
CN104217588B (en) A kind of Real-time Traffic Information acquisition methods, server and system
CN105094131A (en) Automatic path searching method suitable for electric wheelchair
CN105807302A (en) Intelligent terminal and GPS module control method and device thereof
CN105654764B (en) A kind of parking garage localization method
CN106931981A (en) A kind of generation method and device of remaining time of navigating
CN107421075A (en) Air conditioner control method and system and air conditioner controller
CN101750073B (en) Starting control method of navigation positioning system and electronic device using same
WO2013147832A1 (en) Motion-based management of a wireless processor-based device
CN105939031A (en) Wireless positioning system for new energy automobile charging rack and application method
CN106131785A (en) A kind of method, device and position service system realizing location
CN100530203C (en) Method for searching optimum route of maze
CN106548647A (en) Record parking information, the method for parking spot navigation, apparatus and system
CN205621306U (en) Car position detecting system based on geomagnetic detector and GPRS network
CN105788349A (en) Information processing method and electronic equipment
CN110139212A (en) Location processing method and Related product
CN106792520A (en) Position information recording method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

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

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

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