CN108156650A - Control method, device, storage medium and the terminal of locating module - Google Patents

Control method, device, storage medium and the terminal of locating module Download PDF

Info

Publication number
CN108156650A
CN108156650A CN201711344190.9A CN201711344190A CN108156650A CN 108156650 A CN108156650 A CN 108156650A CN 201711344190 A CN201711344190 A CN 201711344190A CN 108156650 A CN108156650 A CN 108156650A
Authority
CN
China
Prior art keywords
locating module
satellite
working frequency
work period
signal quality
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
CN201711344190.9A
Other languages
Chinese (zh)
Other versions
CN108156650B (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 CN201711344190.9A priority Critical patent/CN108156650B/en
Publication of CN108156650A publication Critical patent/CN108156650A/en
Application granted granted Critical
Publication of CN108156650B publication Critical patent/CN108156650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the present application discloses a kind of control method of locating module, device, storage medium and terminal, this method and includes:The signal quality of at least one first satellite in the first work period is obtained, first work period is the current demand signal period;The first working frequency of locating module is determined according to the signal quality;The locating module is controlled to obtain location information according to first working frequency.The control program of the locating module provided in the embodiment of the present application obtains the signal quality of at least one first satellite in the first work period first, and first work period is the current demand signal period;Then, the first working frequency of locating module is determined according to the signal quality;Finally, the locating module is controlled to obtain location information according to first working frequency, the power consumption of locating module can be reduced.

Description

Control method, device, storage medium and the terminal of locating module
Technical field
The invention relates to the control method of mobile terminal positioning technology field more particularly to locating module, device, Storage medium and terminal.
Background technology
As the electronic equipments such as the continuous development of electronic equipment, mobile terminal can provide positioning service to the user.Mobile phone Locating module is installed in advance in the terminal by manufacturer, and locating module passes through Global Navigation Satellite System (GNSS, Global Navigation Satellite System) obtain mobile terminal location information.Location-based service is based in mobile terminal The positioning that the application program (APP, Application) of (LBS, Location Based Service) is provided by locating module Information realization positions.
Since locating module is usually according to pre-set frequency acquisition location information so that locating module continuous drain, Cause locating module power consumption higher.
Invention content
The purpose of the embodiment of the present application is to provide a kind of control method of locating module, device, storage medium and terminal, can With the power consumption of locating module.
In a first aspect, the embodiment of the present application provides a kind of control method of locating module, including:
The signal quality of at least one first satellite in the first work period is obtained, first work period is current letter Number period;
The first working frequency of locating module is determined according to the signal quality;
The locating module is controlled to obtain location information according to first working frequency.
Second aspect, the embodiment of the present application provide a kind of control device of locating module, including:
Signal quality acquisition module, for obtaining the signal quality of at least one first satellite in the first work period, institute Stated for the first work period as the current demand signal period;
Working frequency determining module, the signal quality for being obtained according to the signal quality acquisition module determine fixed First working frequency of position module;
Control module, it is described fixed that first working frequency for being determined according to the working frequency determining module controls Position module obtains location information.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the control method of the locating module as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, and including memory, processor and storage are on a memory And the computer program that can be run in processor, the processor are realized when performing the computer program as shown in first aspect Locating module control method.
The control program of the locating module provided in the embodiment of the present application obtains at least one in the first work period first The signal quality of first satellite, first work period are the current demand signal period;Then, it is fixed to be determined according to the signal quality First working frequency of position module;Finally, the locating module is controlled to obtain location information, energy according to first working frequency Enough reduce the power consumption of locating module.
Description of the drawings
Fig. 1 is a kind of flow diagram of the control method of locating module provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 5 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
With the development of electronic equipment, electronic equipment can provide positioning service to the user.With the generation of positioning service The application program of installation on an electronic device is also more and more frequent to the use for providing the locating module of location information.At present, it is fixed Position module works according to fixed frequency.But within each work period, if satellite positioning signal quality is preferable, Then locating module will appear the free time within the work period, but locating module still can be in opening at this time, cause additional Power consumption.This application provides a kind of signal strengths based on positioning signal to determine the locating module real work period (during work Section), and according to the method for real work period control locating module acquisition location information, the work(of locating module can be reduced Consumption.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the control method of locating module provided by the embodiments of the present application, and this method can be by carrying It is performed for the device of positioning service, wherein the device can generally be integrated in the terminal by software and or hardware realization, Mobile terminal can be smart mobile phone, tablet computer, wearable device etc., as shown in Figure 1, this method includes:
Step 110, the signal quality for obtaining at least one first satellite in the first work period.
Wherein, first work period is the current demand signal period.The work period of locating module can be with 1 time/second.Currently Signal period is the detection moment corresponding signal period.Detection moment can be at the time of receiving Location Request.First satellite For any one satellite got in the first work period.
GPS satellite system uses 24 satellites to be positioned for Global Subscriber, Beidou satellite system use 35 satellites for Global Subscriber is positioned.GPS satellite system and Beidou satellite system can position terminal by four satellites, obtain The coordinate of terminal.In general, terminal, when being positioned, first choice needs at least four satellites that can be communicated by searching star search, Then location information is being obtained by satellite.When carrying out searching star search, the signal of at least four satellites can be got, and then Obtain the model quality of each satellite.
In one implementation, it when user starts navigation application, obtains at least one first in the first work period The signal quality of satellite.Since navigation application is higher for location frequency and accuracy requirement, in the present embodiment may be used It is responded with the location information acquisition instruction for being directed to navigation application triggering, performs step 110.
Step 120, the first working frequency that locating module is determined according to signal quality.
If signal quality is less than preset strength, the period of acquiescence is used.Optionally, if signal quality is higher than default Intensity then can shorten the work period.Shortening the mode of work period can be, improve working frequency, such as former working frequency For 1 time/second, working frequency can be 2 times/second after improving working frequency.
Optionally, if signal quality is higher than preset strength, the former work period can also be divided, then to fixed Position module the running time within a work period divided, and then will be divided into the work period working hour and Sleep period, locating module carries out positioning action in section at work, and locating module stops positioning action in sleep period.Before Carrying is, section can complete the positioning function for needing to perform in the work period to locating module at work.For example, acquiescence work week Phase is 1 time/second, if signal quality is higher than preset strength, will give tacit consent to the working hour for being divided into 200ms 1 second work period With the sleep period of 800ms, locating module works within the working hour of 200ms.
Optionally, preset strength is determined according to signal strength and the correspondence of the time of positioning.If positioning time is small In the acquiescence work period, then the positioning time corresponding signal strength is obtained, which is determined as preset strength.It is optional , the positioning time corresponding signal strength less than 800ms is selected as preset strength.
Step 130 controls locating module to obtain location information according to the first working frequency.
Locating module can be for the functional module group that is positioned in terminal, the module can be GPS positioning module or Person's global navigation satellite system GNSS locating module etc..According to the work period or work week of the first working frequency after the adjustment In interim working hour, start locating module and positioned.
The control method of locating module provided in this embodiment obtains in the first work period at least one first and defends first The signal quality of star, first work period are the current demand signal period;Then, locating module is determined according to the signal quality The first working frequency;Finally, the locating module is controlled to obtain location information according to first working frequency, according to satellite Signal strength the working frequency of locating module is adjusted so that locating module, can be with higher in satellite signal strength When comparatively fast the completion (less than 1 second) positions, locating module is closed in advance, reduces locating module power consumption.
Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, as to upper The further explanation of embodiment is stated, including:
Step 210, the signal quality for obtaining at least one first satellite in the first work period.
If step 220, signal strength are more than preset strength, the acquiescence work period is divided into working hour and suspend mode Period, the duration for giving tacit consent to the work period are identical with the duration of the first work period.
After working hour and sleep period is determined, section starts positioning mould at work in follow-up each work period Block closes locating module in sleep period.But with the change of satellite signal strength, terminal, which is worked as, judges pre-signal intensity During less than preset strength, working hour and sleep period are divided again.For example, it will currently be divided into the work period The working hour of 200ms and the sleep period of 800ms, if signal strength is less than preset strength, calculating can be completed to position The time of the completion positioning function if changing the time is less than default cycles duration, is determined as working hour by the time of function, And sleep period is determined according to working hour.For example, time of positioning function can be completed as 600ms, then new working hour For 600ms, sleep period 400ms, and then signal strength dynamically adjusts working hour and sleep period.
Step 230 determines the first working frequency according to working hour.
Start locating module in section at work to work, locating module is closed in sleep period.If working hour For 200ms, sleep period 800ms, then the first working frequency is work 200ms, rest 800ms.
Step 240 controls locating module to obtain location information according to the first working frequency.
The present embodiment can divide the work period of locating module, obtain working hour and sleep period, and Working hour starts locating module, realizes the reasonable utilization to giving tacit consent to the work period, and locating module power consumption is reduced in sleep period, Reduce the power consumption of locating module.
Fig. 3 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, as to upper The further explanation of embodiment is stated, including:
Step 310, the signal quality for obtaining at least one first satellite in the first work period.
If step 320, signal strength are more than preset strength, the acquiescence work period is divided into working hour and suspend mode Period, the duration for giving tacit consent to the work period are identical with the duration of the first work period.
Step 330 determines the first working frequency according to working hour.
Step 340 searches for the second satellite in the working hour of the second work period.
Second work period can be next work period of the first work period, or be the first work period Later, by the preset duration corresponding work period.Preset duration can be 30 minutes or 1 hour or more hours, and preferably 1 is small When.
If step 350, the second satellite are identical with the first satellite or part is identical, after the first working frequency is determined as Continue the working frequency of at least one work period.
If the second satellite is identical with the first satellite, illustrate satellite and the first work week that the second work period searched The satellite that phase searches is identical, and then can be continued that locating module is controlled to be positioned according to the first working frequency.
The satellite that terminal may search for includes the weaker satellite of the stronger satellite of signal strength and signal strength.With The variation of terminal location, the satellite searched may be not quite similar.And satellite used in terminal positioning often only have signal compared with Strong part satellite, therefore at this time if two satellites are identical with the first satellite portion.
Illustratively, the third satellite that signal strength in the first satellite is more than preset signal strength is obtained;Second is obtained to defend Signal strength is more than the 4th satellite of preset signal strength in star;If third satellite is identical with the 4th satellite, by the first work Working frequency is determined as the working frequency of follow-up at least one work period.
Third satellite is that the intensity searched in the first work period is more than the satellite of preset signal strength.4th satellite is The intensity searched in second work period is more than the satellite of preset signal strength.The corresponding signal-to-noise ratio of preset signal strength can be with It is 38.
Step 360 controls locating module to obtain location information according to the first working frequency.
The control method of locating module provided in this embodiment can be defended according to the fraction of signal strength searched is stronger Star determines the satellite-signal environment residing for terminal, and then determines the working frequency of locating module, reduces the power consumption of locating module Amount.
Fig. 4 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, as to upper The further explanation of embodiment is stated, including:
Step 410, the signal quality for obtaining at least one first satellite in the first work period.
Wherein, the first work period was the current demand signal period;
Step 420, the first working frequency that locating module is determined according to signal quality.
Step 430 judges whether current residual electricity is less than default power threshold.
Optionally, power consumption rate is estimated according to terminal current power consumption, is used according to the power consumption rate calculations terminal residual Time, if the residue usage time is less than preset duration, it is determined that current residual electricity is less than default power threshold.Wherein, Preset duration can be -2 hours 30 minutes, be chosen as 1 hour.
Optionally, default power threshold can be 10-30%, after obtaining terminal current residual electricity, judge that the electricity is It is no to be less than default power threshold.
If step 440, current residual electricity are less than default power threshold, positioning mould is controlled according to the first working frequency Block obtains location information.
The control method of locating module provided in this embodiment, can be relatively low in terminal power (being less than default power threshold) When, working hour and sleep period are marked off in the work period is given tacit consent to, making locating module, section works at work, in suspend mode Section rest further improves the power consumption that locating module is reduced using duration of terminal.
When user takes action together with another user, if the terminal of two users is positioned, cause resource unrestrained Take.Fig. 5 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, as to above-mentioned implementation The further explanation of example, including:
Step 510, the signal quality for obtaining at least one first satellite in the first work period.
Wherein, the first work period was the current demand signal period.
Step 520, the first working frequency that locating module is determined according to signal quality.
Step 530 controls locating module to obtain location information according to the first working frequency.
Step 540, by the position information share that locating module is got to another terminal.
First, establish position with another terminal and share and connect, the position share connection in the current device and Sharing position information between the target device.Then, location information is shared to the current device, finally, reduced another The working frequency of the locating module of terminal.
Wherein, it can be that bluetooth (BT) connects that connection is shared in position;Alternatively, close range wireless communication (NFC) connects.
It can be set in bluetooth connection by object storage specification (Object Push Profile, OPP) agreement currently The standby sharing position information between target device.
It, can be between current device and target device with the sender of location information when carrying out sharing position information Alternately.Such as the locating module of current device closes preset time, while connection is shared until using target device The location information of transmission.In next preset time after preset time, the locating module of current device starts, and is target Equipment provides location information, while target device closes its location information.
Optionally, the sender of location information is determined according to the current electric quantity of current device and target device.It such as will be surplus The higher equipment of remaining electricity is determined as the sender of location information.Optionally, the transmission of location information is determined according to charged state Person.If one is being charged that another is uncharged among current device and target device, the equipment of charging is determined as position The sender of confidence breath, recipient of another equipment as location information.The recipient of location information reduces the positioning of itself The working frequency of module.
Further, after establishing position and sharing connection, transmission of location information, image data, multimedia are needed when simultaneously Data are when other data, preferred transmission of location information.
Further, it can also be Wireless Fidelity WIFI connections or mobile cellular network (such as mobile phone that connection is shared in position 2G, 3G, 4G or 5G network used etc.) connection.For example, terminal and another terminal are established position and are shared by accessing server Connection.
It, can be according to prefixed time interval by target device if terminal with another terminal is established position and shared and connect The location information that locating module obtains is shared to terminal.Prefixed time interval can be 1 time/second.
The working frequency of locating module is reduced, can be the acquisition of information frequency for reducing locating module.Can also be to close Locating module.Locating module can be for the functional module group that is positioned in terminal, the module can be GPS positioning module or Person's global navigation satellite system GNSS locating module etc..The frequency that locating module obtains location information is reduced, positioning can be reduced The power consumption of module.Location information can be cached during temporary close locating module, when other application accesses locating module poll bit confidence During breath, the location information of caching is sent to other application.
The control method of locating module provided in this embodiment can share the location information that terminal is got to another Terminal realizes the shared of location information between two station terminals, and then reduces the power consumption of a wherein station terminal, and it is fixed further to reduce The power consumption of position module.
Fig. 6 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application.As shown in fig. 6, The device includes:Signal quality acquisition module 610, working frequency determining module 620, control module 630.
Signal quality acquisition module 610, for obtaining the signal quality of at least one first satellite in the first work period, First work period is the current demand signal period;
Working frequency determining module 620, for the signal quality obtained according to the signal quality acquisition module 610 Determine the first working frequency of locating module;
Control module 630, first working frequency for being determined according to the working frequency determining module 620 control The locating module obtains location information.
Further, the signal quality acquisition module 610 is used for:
When user starts navigation application, the signal quality of at least one first satellite in the first work period is obtained.
Further, the working frequency determining module 620 is used for:
If signal strength is more than preset strength, the acquiescence work period is divided into working hour and sleep period, institute The duration for stating the acquiescence work period is identical with the duration of first work period;
First working frequency is determined according to working hour.
Further, the working frequency determining module 620 is used for:According to working hour determine the first working frequency it Afterwards, the second satellite is searched in the working hour of the second work period;
If second satellite is identical with first satellite or part is identical, first working frequency is determined Working frequency for follow-up at least one work period.
Further, the working frequency determining module 620 is used for:
If second satellite is identical with first satellite or part is identical, first working frequency is determined For the working frequency of follow-up at least one work period, including:
Obtain the third satellite that signal strength in the first satellite is more than preset signal strength;
Obtain the 4th satellite that signal strength in the second satellite is more than preset signal strength;
If the third satellite is identical with the 4th satellite, first working frequency is determined as subsequently at least The working frequency of one work period.
Further, the control module 630 is used for:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, the positioning mould is controlled according to first working frequency Block obtains location information.
Further, sharing module 640 is further included,
Sharing module 640 is used for, by the position information share that the locating module is got to another terminal.
The control device of locating module provided in this embodiment, first signal quality acquisition module 610 obtain the first work The signal quality of at least one first satellite in period, first work period are the current demand signal period;Then, working frequency Determining module 620 determines the first working frequency of locating module according to the signal quality;Finally, control module 630 is according to institute Stating the first working frequency controls the locating module to obtain location information, according to work of the signal strength of satellite to locating module Frequency is adjusted so that locating module higher in satellite signal strength, can comparatively fast completion positioning (less than 1 second) when, Locating module is closed in advance, reduces locating module power consumption.
Above device can perform the method that the aforementioned all embodiments of the application are provided, and it is corresponding to have the execution above method Function module and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the application The method that example is provided.
Fig. 7 is the structure diagram of another terminal device provided by the embodiments of the present application.As shown in fig. 7, the terminal can To include:Housing (not shown), memory 701, central processing unit (Central Processing Unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), the computer program that is stored on memory 701 and can be run on processor 702, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds Portion;The CPU702 and the memory 701 are arranged on the circuit board;The power circuit, for for the terminal Each circuit or device power supply;The memory 701, for storing executable program code;The CPU702 is by reading The executable program code that is stored in memory 701 is stated to run program corresponding with the executable program code.
The terminal further includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706th, loud speaker 711, power management chip 708, input/output (I/O) subsystem 709, touch screen 712, other input/controls Equipment 710 and outside port 704, these components are communicated by one or more communication bus or signal wire 707.
It should be understood that graphic terminal 700 is only an example of terminal, and terminal device 700 can be with With than more or less components shown in figure, two or more components can be combined or can be had Different component configurations.Various parts shown in figure can be including one or more signal processings and/or special integrated Hardware, software including circuit are realized in the combination of hardware and software.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand For machine.
Memory 701, the memory 701 can be by access such as CPU702, Peripheral Interfaces 703, and the memory 701 can To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch screen 712 With other input/control devicess 710, it is connected to Peripheral Interface 703.I/O subsystems 709 can include 7091 He of display controller For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.What deserves to be explained is input controller 7092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Wherein, according to the operation principle of touch screen and transmission information medium classification, touch screen 712 can be resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch screen 712 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch screen 712 can be:Vector pressure sensing technology touch screen, resistive technologies are touched Touch screen, capacitance technology touch screen, infrared technology touch screen or surface acoustic wave technique touch screen.
Touch screen 712, the touch screen 712 are the input interface and output interface between user terminal and user, can User is shown to depending on output, visual output can include figure, text, icon, video etc..Optionally, touch screen 712 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 702.
Display controller 7091 in I/O subsystems 709 receives electric signal from touch screen 712 or is sent out to touch screen 712 Electric signals.Touch screen 712 detects the contact on touch screen, and the contact detected is converted to and shown by display controller 7091 The interaction of user interface object on touch screen 712, that is, realize human-computer interaction, the user interface being shown on touch screen 712 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch screen.
RF circuits 705 are mainly used for establishing the communication of intelligent sound box and wireless network (i.e. network side), realize intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 706 is mainly used for receiving audio data from Peripheral Interface 703, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 711.
Loud speaker 711 for the voice signal for receiving intelligent sound box from wireless network by RF circuits 705, is reduced to Sound simultaneously plays the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central processing unit 702 is used for:
The signal quality of at least one first satellite in the first work period is obtained, first work period is current letter Number period;
The first working frequency of locating module is determined according to the signal quality;
The locating module is controlled to obtain location information according to first working frequency.
Further, the signal quality for obtaining at least one first satellite in the first work period, including:
When user starts navigation application, the signal quality of at least one first satellite in the first work period is obtained.
Further, first working frequency that locating module is determined according to the signal quality, including:
If signal strength is more than preset strength, the acquiescence work period is divided into working hour and sleep period, institute The duration for stating the acquiescence work period is identical with the duration of first work period;
First working frequency is determined according to working hour.
Further, it after the first working frequency is determined according to working hour, further includes:
The second satellite is searched in the working hour of the second work period;
If second satellite is identical with first satellite or part is identical, first working frequency is determined Working frequency for follow-up at least one work period.
Further, if second satellite is identical with first satellite or part is identical, by first work Working frequency is determined as the working frequency of follow-up at least one work period, including:
Obtain the third satellite that signal strength in the first satellite is more than preset signal strength;
Obtain the 4th satellite that signal strength in the second satellite is more than preset signal strength;
If the third satellite is identical with the 4th satellite, first working frequency is determined as subsequently at least The working frequency of one work period.
Further, it is described the locating module to be controlled to obtain location information according to first working frequency, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, the positioning mould is controlled according to first working frequency Block obtains location information.
Further, it after the locating module being controlled to obtain location information according to first working frequency, also wraps It includes:
By the position information share that the locating module is got to another terminal.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can When being performed by terminal device processor for performing a kind of control method of locating module, this method includes execute instruction:
The signal quality of at least one first satellite in the first work period is obtained, first work period is current letter Number period;
The first working frequency of locating module is determined according to the signal quality;
The locating module is controlled to obtain location information according to first working frequency.
Further, the signal quality for obtaining at least one first satellite in the first work period, including:
When user starts navigation application, the signal quality of at least one first satellite in the first work period is obtained.
Further, first working frequency that locating module is determined according to the signal quality, including:
If signal strength is more than preset strength, the acquiescence work period is divided into working hour and sleep period, institute The duration for stating the acquiescence work period is identical with the duration of first work period;
First working frequency is determined according to working hour.
Further, it after the first working frequency is determined according to working hour, further includes:
The second satellite is searched in the working hour of the second work period;
If second satellite is identical with first satellite or part is identical, first working frequency is determined Working frequency for follow-up at least one work period.
Further, if second satellite is identical with first satellite or part is identical, by first work Working frequency is determined as the working frequency of follow-up at least one work period, including:
Obtain the third satellite that signal strength in the first satellite is more than preset signal strength;
Obtain the 4th satellite that signal strength in the second satellite is more than preset signal strength;
If the third satellite is identical with the 4th satellite, first working frequency is determined as subsequently at least The working frequency of one work period.
Further, it is described the locating module to be controlled to obtain location information according to first working frequency, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, the positioning mould is controlled according to first working frequency Block obtains location information.
Further, it after the locating module being controlled to obtain location information according to first working frequency, also wraps It includes:
By the position information share that the locating module is got to another terminal.
The arbitrary of one or more computer-readable media may be used in the computer storage media of the embodiment of the present application Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as a carrier wave part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but it is unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming language or combinations come write for perform the application operation computer Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrap Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground is performed, is partly performed on the user computer on the user computer, the software package independent as one performs, partly exists Part performs or performs on a remote computer or server completely on the remote computer on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area Net (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as utilizes ISP To pass through Internet connection).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer Operation is recommended in the application that executable instruction is not limited to the described above, and the application that the application any embodiment is provided can also be performed Relevant operation in recommendation method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. a kind of control method of locating module, which is characterized in that including:
The signal quality of at least one first satellite in the first work period is obtained, first work period is current demand signal week Phase;
The first working frequency of locating module is determined according to the signal quality;
The locating module is controlled to obtain location information according to first working frequency.
2. the control method of locating module according to claim 1, which is characterized in that in the first work period of the acquisition The signal quality of at least one first satellite, including:
When user starts navigation application, the signal quality of at least one first satellite in the first work period is obtained.
3. the control method of locating module according to claim 1, which is characterized in that described true according to the signal quality Determine the first working frequency of locating module, including:
If signal strength is more than preset strength, the acquiescence work period is divided into working hour and sleep period, it is described silent The duration for recognizing the work period is identical with the duration of first work period;
First working frequency is determined according to working hour.
4. the control method of locating module according to claim 3, which is characterized in that determining first according to working hour After working frequency, further include:
The second satellite is searched in the working hour of the second work period;
If second satellite is identical with first satellite or part is identical, after first working frequency is determined as Continue the working frequency of at least one work period.
5. the control method of locating module according to claim 4, which is characterized in that if second satellite with it is described First satellite is identical or part is identical, then first working frequency is determined as to the work frequency of follow-up at least one work period Rate, including:
Obtain the third satellite that signal strength in the first satellite is more than preset signal strength;
Obtain the 4th satellite that signal strength in the second satellite is more than preset signal strength;
If the third satellite is identical with the 4th satellite, first working frequency is determined as follow-up at least one The working frequency of work period.
6. the control method of locating module according to claim 1, which is characterized in that described according to the described first work frequency Rate controls the locating module to obtain location information, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, the locating module is controlled to obtain according to first working frequency Take location information.
7. the control method of locating module according to claim 1, which is characterized in that according to first working frequency After controlling the locating module acquisition location information, further include:
By the position information share that the locating module is got to another terminal.
8. a kind of control device of locating module, which is characterized in that including:
Signal quality acquisition module, for obtaining the signal quality of at least one first satellite in the first work period, described the One work period was the current demand signal period;
Working frequency determining module, the signal quality for being obtained according to the signal quality acquisition module determine positioning mould First working frequency of block;
Control module, first working frequency for being determined according to the working frequency determining module control the positioning mould Block obtains location information.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The control method of the locating module as described in any in claim 1-7 is realized during row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation Sequence, which is characterized in that the processor realizes the positioning mould as described in claim 1-7 is any when performing the computer program The control method of block.
CN201711344190.9A 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal Active CN108156650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711344190.9A CN108156650B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711344190.9A CN108156650B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108156650A true CN108156650A (en) 2018-06-12
CN108156650B CN108156650B (en) 2021-08-27

Family

ID=62466181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711344190.9A Active CN108156650B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108156650B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109239749A (en) * 2018-08-22 2019-01-18 深圳普创天信科技发展有限公司 Localization method, terminal and computer readable storage medium
CN114759968A (en) * 2022-03-04 2022-07-15 广州爱浦路网络技术有限公司 Communication satellite energy-saving control method, computer device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516912A (en) * 2013-03-07 2014-01-15 苏州海客科技有限公司 Mobile terminal locating and power saving method
CN105446452A (en) * 2014-09-18 2016-03-30 联发科技(新加坡)私人有限公司 Electronic device with locating function and power saving management method of electronic device
US20160094939A1 (en) * 2014-09-26 2016-03-31 Wey-Yi W. Guy Systems and methods for adjusting wireless scan rates
CN105866810A (en) * 2016-03-23 2016-08-17 福州瑞芯微电子股份有限公司 GPS low-power-consumption positioning method and device for electronic equipment
US20160291128A1 (en) * 2015-03-30 2016-10-06 Sony Corporation Apparatus, systems and methods for mobile network positioning of mtc devices using partial power boosting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516912A (en) * 2013-03-07 2014-01-15 苏州海客科技有限公司 Mobile terminal locating and power saving method
CN105446452A (en) * 2014-09-18 2016-03-30 联发科技(新加坡)私人有限公司 Electronic device with locating function and power saving management method of electronic device
US20160094939A1 (en) * 2014-09-26 2016-03-31 Wey-Yi W. Guy Systems and methods for adjusting wireless scan rates
US20160291128A1 (en) * 2015-03-30 2016-10-06 Sony Corporation Apparatus, systems and methods for mobile network positioning of mtc devices using partial power boosting
CN105866810A (en) * 2016-03-23 2016-08-17 福州瑞芯微电子股份有限公司 GPS low-power-consumption positioning method and device for electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109239749A (en) * 2018-08-22 2019-01-18 深圳普创天信科技发展有限公司 Localization method, terminal and computer readable storage medium
CN114759968A (en) * 2022-03-04 2022-07-15 广州爱浦路网络技术有限公司 Communication satellite energy-saving control method, computer device and storage medium

Also Published As

Publication number Publication date
CN108156650B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN107835033B (en) Antenna tuning switch control method and device, terminal equipment and storage medium
CN108111974A (en) Control method, device, storage medium and the terminal of locating module
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN106062763B (en) Method and device for displaying application and picture and electronic equipment
CN107534932B (en) Method for controlling functional state and related equipment
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN104238900B (en) A kind of page positioning method and device
CN106911956B (en) Audio data playing method and device and mobile terminal
CN108710515A (en) Using preloading method, apparatus, storage medium and terminal
CN108681474A (en) Using preloading method, apparatus, storage medium and terminal
CN109412913A (en) Control method, device, storage medium and the terminal of smart home device
CN107767228A (en) Using recommendation method, apparatus, terminal device and storage medium
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN109495573A (en) Data transmission method, device, storage medium and terminal
WO2014183655A1 (en) Apparatuses and methods for inputting a uniform resource locator
CN107404753A (en) Volume adjusting method, device, terminal and storage medium
CN109923506A (en) Information processing method and positioning chip, mobile terminal
CN107809742A (en) Processing method, device, storage medium and the terminal of location information
CN108093362A (en) Control method, device, storage medium and the terminal of locating module
CN109120864A (en) Light filling processing method, device, storage medium and mobile terminal
CN108156650A (en) Control method, device, storage medium and the terminal of locating module
CN108072885A (en) Collocation method, device, storage medium and the terminal of locating module
CN108700975B (en) Anti-interference method and device for touch panel
CN108151730A (en) Position control method, device, storage medium and terminal device
CN108112061A (en) Position control method, device, storage medium and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co.,Ltd.

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

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

GR01 Patent grant
GR01 Patent grant