CN108093373A - Position control method, device, storage medium and terminal device - Google Patents

Position control method, device, storage medium and terminal device Download PDF

Info

Publication number
CN108093373A
CN108093373A CN201711327805.7A CN201711327805A CN108093373A CN 108093373 A CN108093373 A CN 108093373A CN 201711327805 A CN201711327805 A CN 201711327805A CN 108093373 A CN108093373 A CN 108093373A
Authority
CN
China
Prior art keywords
signal strength
information
destination application
location information
terminal device
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
CN201711327805.7A
Other languages
Chinese (zh)
Other versions
CN108093373B (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 CN201711327805.7A priority Critical patent/CN108093373B/en
Publication of CN108093373A publication Critical patent/CN108093373A/en
Application granted granted Critical
Publication of CN108093373B publication Critical patent/CN108093373B/en
Expired - Fee Related 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • 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

Abstract

A kind of position control method, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by obtaining the history location information of destination application;The use signal strength information of the destination application is determined according to the history location information;According to the station-keeping mode that the destination application is determined using signal strength information.By using above-mentioned technical proposal, the signal strength information of the positioning more often used of destination application can be determined from the history location information of destination application, it may determine that the use environment of destination application, and then the station-keeping mode of destination application can be controlled, the power consumption of terminal device can be reduced.

Description

Position control method, device, storage medium and terminal device
Technical field
The invention relates to the field of locating technology of terminal device more particularly to a kind of position control method, device, Storage medium and terminal device.
Background technology
With the continuous development of Internet communication technology, the terminal device of such as smart mobile phone and tablet computer etc is had Standby function is increasingly abundanter, can provide a variety of different services to the user.In order to meet the location requirement of user, terminal device Positioning function typically is provided with, it can be by setting locating module in terminal device, locating module can pass through global navigational satellite System (GNSS, Global Navigation Satellite System) obtains the location information of terminal device.Terminal device In the application program (APP, Application) based on location-based service (LBS, Location Based Service) can also Location information is obtained by the positioning function of terminal device, its application function is realized according to location information.But obtain positioning The operating process of information can bring larger electric quantity consumption to terminal device, with the base of the acquisition location information in terminal device More and more in the application program of location-based service, the power consumption of terminal device is also getting faster.
The content of the invention
The embodiment of the present application provides a kind of position control method, device, storage medium and terminal device, can reduce positioning The power consumption that functional bands are come.
In a first aspect, the embodiment of the present application provides a kind of position control method, including:
Obtain the history location information of destination application;
The use signal strength information of the destination application is determined according to the history location information;
According to the station-keeping mode that the destination application is determined using signal strength information.
Second aspect, the embodiment of the present application provide a kind of position control device, including:
Historical information acquisition module, for obtaining the history location information of destination application;
Signal strength determining module, for determining that the use of the destination application is believed according to the history location information Number strength information;
Positioning control module, for according to the positioning mould that the destination application is determined using signal strength information Formula.
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 position control method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal device, including memory, processor and are stored in storage And can be in the computer program of processor operation on device, the processor is realized when performing the computer program as the application is real Apply the position control method described in example.
A kind of location control scheme provided in the embodiment of the present application positions letter by the history for obtaining destination application Breath;The use signal strength information of the destination application is determined according to the history location information;Letter is used according to described Number strength information determines the station-keeping mode of the destination application.It, can be from intended application by using above-mentioned technical proposal The signal strength information of the positioning more often used of destination application is determined in the history location information of program, it can be determined that mesh The use environment of application program is marked, and then the station-keeping mode of destination application can be controlled, terminal can be reduced and set Standby power consumption.
Description of the drawings
Fig. 1 is a kind of flow diagram of position control method provided by the embodiments of the present application;
Fig. 2 is the schematic diagram data provided by the embodiments of the present application using signal strength information;
Fig. 3 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of position control device provided by the embodiments of the present application;
Fig. 7 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Fig. 8 is the structure diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system.On terminal device Some application programs, can by calling the positioning function of terminal device, to realize its application function, and if some applications it is normal Advise use environment positioning signal strength is all weaker or no signal, then it represents that the conventional use environment of the application is not suitable for making With the positioning function of high power consumption.
Fig. 1 is a kind of flow diagram of position control method provided by the embodiments of the present application, and this method can be by positioning Control device performs, and wherein the device can be generally integrated in terminal device, also may be used by software and/or hardware realization It is equipped with being integrated in other in the equipment of operating system.As shown in Figure 1, this method includes:
S110, the history location information for obtaining destination application.
Wherein, the destination application is to need to obtain the location information of terminal device to realize answering for its application function With program, it may include LBS (Location Based Service, based on location-based service) is applied.The destination application hair Positioning call request is sent to be used to handle the location-based service process of positioning function to terminal device, location-based service process is adjusted according to positioning It is worked with request driving locating module, obtains location information.
History location information includes destination application location information acquired during history use.Application program If positioning call request allowed by the system of terminal device, location-based service process can continue send location information to should With the locating module meeting continuous firing of program, i.e. terminal device, persistently obtain location information and be sent to application program, Zhi Daoying It is run with EP (end of program).So destination application has the location information of corresponding acquisition in history each time using process.
Optionally, the history location information of destination application on the terminal device is obtained.
Acquired location information is deposited in use for history location information on terminal device, i.e. destination application Storage is on the terminal device.Optionally, can also be according to the setting of destination application, history location information is uploaded to target should With the corresponding background server of program.Obtain destination application history location information on the terminal device, can obtain with The higher history location information of the behavioural habits degree of association of the user of terminal device.
S111, the use signal strength information that the destination application is determined according to the history location information.
It is described that using signal strength information, for basis, history is used corresponding to the corresponding history location information of process each time Signal strength.History uses process each time, i.e. user's startup destination application exits destination application to this Use process.Include multiple location informations in history location information, the use of signal strength information can be multiple location informations Signal strength intersection.As shown in Fig. 2, the transverse axis in figure is different location informations, the longitudinal axis is signal strength values, and broken line S1 is One uses signal strength information, and broken line S2 uses signal strength information for another.Exemplified by using signal strength information S1, Include the signal strength of multiple location informations using signal strength information S1.Ring residing for the power and terminal device of location information There is relation in border.Illustratively, if the locating module of using terminal equipment is positioned indoors, the letter of locating module It number can be affected, in the house particularly built in armored concrete, the signal receives link of locating module is blocked, and only may be used To receive location information through door and window, the signal strength of locating module dies down, and positioning accuracy declines, in some instances it may even be possible to it is strong signal occur Degree is zero, the situation that locating module can not position.So signal strength information is used according to determined by history location information, It can determine the environmental information being commonly used of destination application.
S112, according to the station-keeping mode that the destination application is determined using signal strength information.
If it can determine that destination application mostly makes using signal strength information according to destination application The corresponding signal strength information of environment is all weaker, then shows that the use environment of destination application is likely in room It is interior or have more shelter, that is, be not suitable for being positioned using locating module.If locating module signal strength it is weak or The situation for not having signal works, and can not obtain accurate location information, and excessive power consumption can be also brought to terminal device. Can the ring of locating module work be suitble to according to the station-keeping mode that signal strength information is used to determine the destination application When in border, the station-keeping mode of destination application is arranged to low-power consumption mode or the station-keeping mode by destination application Low accuracy modes are arranged to, the power consumption of terminal device can be reduced.Low accuracy modes can reduce locating module to obtain positioning The frequency of information.Low-power consumption mode can close locating module.
Optionally, if obtaining the history location information of destination application on the terminal device;Then according to the use Signal strength information determines the station-keeping mode of the destination application, and the station-keeping mode is the destination application in institute State the station-keeping mode run on terminal device.
Wherein, the history location information of destination application on the terminal device is obtained, you can with definite and terminal device User the higher history location information of the behavioural habits degree of association, position letter accordingly based upon the history of the user of terminal device Breath determines the station-keeping mode that destination application is run on the terminal device, can more accurately determine destination application Station-keeping mode.
Optionally, the destination application is the application journey that location information is obtained by the locating module of terminal device Sequence.Locating module may include GNSS (Global Navigation Satellite System, Global Navigation Satellite System) mould Block, GNSS module can be GPS (Global Positioning System, global positioning system) modules.Pass through locating module The location information precision of acquisition is higher, but power consumption caused by locating module work is higher.
Optionally, the low-power consumption mode includes:When receiving the positioning call request of the destination application, lead to The wireless connection information for crossing terminal device determines the location information of the terminal device, and the location information is sent to target Application program.
The wireless connection information can be that connection can be established in the ambient enviroment that the wireless module of terminal device determines Wireless connection information, it may include Wi-Fi (Wireless-Fidelity, Wireless Fidelity) signals and/or base station signal.It is each All there are one globally unique media access control (MAC, Medium Access for a wireless access point (AP, Access Point) Control) address, general wireless access point are that will not move whithin a period of time.The wireless module of terminal device is (such as Wi-Fi module) information of wireless access point in its communication range can be obtained, and according to the geography of each wireless access point Position with reference to the signal strength of each wireless access point, is calculated the new location information of terminal device, is set as terminal Standby location information.
It can also be communicated, obtained from different base stations by the wireless module (such as mobile communication module) of terminal device The down-bound pilot frequency signal of different base station, obtain different base station descending pilot frequency arrival moment (TOA, Time of Arrival) or Reaching time-difference (TDOA, Time Difference of Arrival), according to the arrival moment, reaching time-difference and base The coordinate stood, using triangle formula algorithm for estimating, it becomes possible to the new location information of terminal device is calculated, as terminal device Location information.
The positioning of terminal device can also can be determined by the sensor signal of the movable sensor of the terminal device Information, movable sensor may include gyroscope, acceleration transducer and gravity sensor etc., can be detected by movable sensor Moving direction and displacement distance are determined as the location information of terminal device by the moving direction of terminal device and displacement distance etc..
The location information of the terminal device is determined by the wireless connection information of terminal device, with respect to positioning mould Power consumption caused by the location information that block obtains, the former power consumption are lower.It is although true by the wireless connection information of terminal device The ratio of precision of the location information of the fixed terminal device is low by the precision for the location information that locating module obtains, but with The signal strength of locating module is relatively low in the environment at family, and user can not also obtain high-precision location information by locating module. So determining location information by the wireless connection information of terminal device, the location requirement of destination application can be met, also The power consumption of terminal device can be reduced.
Fig. 3 is the flow diagram of another position control method provided by the embodiments of the present application, in above-described embodiment institute On the basis of the technical solution of offer, to determining the strong using signal of the destination application according to the history location information The operation of degree information is optimized, optionally, as shown in figure 3, this method includes:
S120, the history location information for obtaining destination application.
Specific embodiment may be referred to associated description above, and details are not described herein.
S121, targeting information in the history location information is determined;Wherein, the targeting information is described Destination application persistently calls the duration of locating module to be more than the location data of setting time.
S122, determined to use signal strength information according to the targeting information.
The location information that duration is called to be more than setting time can be corresponding positioning letter during first use The location information acquired in destination application is operated continuously during breath or first use.It is lasting to call positioning letter Breath can obtain location information by lasting calling locating module, can also be through positioning determined by wireless connection information Information.Setting time can be configured according to the difference of system setting or specific embodiment, and the embodiment of the present application exists This is not construed as limiting.
It can determine that the first use process of user or one-time continuous operation are corresponding using letter according to targeting information Number strength information can determine destination application using process or continuous operation according to multiple using signal strength information More normal use environment, and then can determine the station-keeping mode of destination application.By determining that duration is called to be more than setting time Location information be determined as targeting information, it may be determined that user continues the work whether residing environment is not suitable for locating module Make, improve the accuracy determined using signal strength information.
S123, according to the station-keeping mode that the destination application is determined using signal strength information.
Specific embodiment may be referred to associated description above, and details are not described herein.
Fig. 4 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, to determining that the destination application is determined using signal strength information according to described The operation of bit pattern is optimized, optionally, as shown in figure 4, this method includes:
S130, the history location information for obtaining destination application.
S131, the use signal strength information that the destination application is determined according to the history location information.
The specific embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
S132, obtain and described use the Target Signal Strength information for meeting setting condition in signal strength information;Wherein, institute It states setting condition and is less than setting intensity value for signal strength values.
If S133, the Target Signal Strength information are more than setting described using proportion in signal strength information The station-keeping mode of the destination application is then set to low-power consumption mode by ratio.
Illustratively, as shown in Fig. 2, the corresponding longitudinal axis positions of dotted line in figure are setting intensity value, signal strength is used The signal strength values of all location informations in information S1 below set intensity value, then the use of signal strength information S1 are target Signal strength information.And the signal strength values of location information all in signal strength information S2 are used all higher than setting intensity Value, then it represents that it is higher using signal strength information S2 signal strengths, it is not Target Signal Strength information.
The setting condition can also be:The signal using the location information for having the first ratio in signal strength information Intensity value is less than setting intensity value.First ratio can be the numerical value such as 70%, 80% or 89%.If one uses signal strength In information, there are the signal strength values of indivedual or less accounting location informations higher than setting intensity value, but the first ratio For the signal strength values of location information less than setting intensity value, then it is Target Signal Strength that can determine that this uses signal strength information Information.Setting intensity value can be configured, the embodiment of the present application according to the difference of system setting or specific embodiment It is not limited thereto.
If Target Signal Strength information proportion in signal strength information is used is more than setting ratio, then it represents that uses Local environment prolonged signal strength information in family is not suitable for locating module work at this time than relatively low.Adjust the intended application The station-keeping mode of program is low-power consumption mode or low accuracy modes, can reduce the power consumption of terminal device.
Fig. 5 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, optionally, as shown in figure 5, this method includes:
S140, obtain destination application sample of users history location information.
Wherein, the sample of users can be the user of the setting quantity in the system user of destination application, described System user can be the user for having in the background server of destination application corresponding mark.System user uses target Acquired location information during application program, and location information is uploaded to backstage by the terminal device for passing through system user Server.From the background server of destination application, the history location information of the sample of users of destination application is obtained. It can be 500,800 or 1000 to set quantity, can be according to the difference of the user group of destination application or according to specific reality It applies the difference of mode and is configured, the embodiment of the present application is not limited thereto.
S141, the targeting information that the sample of users is determined according to the history location information of the sample of users, In, the targeting information persistently calls the duration of locating module to be more than the positioning of setting time for the destination application Data.
S142, determine that the use signal strength of the sample of users is believed according to the targeting information of the sample of users Breath.
S143, obtain sample of users using the Target Signal Strength information for meeting setting condition in signal strength information, Wherein, described impose a condition is less than setting intensity value for signal strength values.
S144, target user in sample of users is determined, wherein, the Target Signal Strength information of the target user is in institute That states target user is more than setting ratio using proportion in signal strength information;
If S145, the target user proportion in the sample of users are more than user's ratio, by the mesh The station-keeping mode of mark application program is set to low-power consumption mode.
Wherein, if target user proportion in the sample of users is more than user's ratio, i.e. sample of users Middle major part user is relatively low using the signal strength values of the location information in the use environment of destination application, then it represents that mesh The use environment of mark application program is not suitable for the work of locating module, and the station-keeping mode of the destination application is set to low work( Consumption pattern, to reduce the power consumption of terminal device.Target user is determined according to the history location information of sample of users, and according to mesh The accounting of user is marked to determine the locating module of destination application, it can be in user for the first time using destination application, terminal When there is no the history location information of destination application in equipment, positioned with the history of the other users according to destination application Information determines the station-keeping mode of destination application, reduces the power consumption of the terminal device of user.
The specific embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
Fig. 6 is a kind of structure diagram of position control device provided by the embodiments of the present application, which can perform positioning Control method, as shown in fig. 6, the device includes:
Historical information acquisition module 210, for obtaining the history location information of destination application;
Signal strength determining module 211, for determining making for the destination application according to the history location information Use signal strength information;
Positioning control module 212, for determining determining for the destination application using signal strength information according to described Bit pattern.
By using above-described embodiment, destination application can be determined from the history location information of destination application The positioning more often used signal strength information, it can be determined that the use environment of destination application, and then can be to target The station-keeping mode of application program is controlled, and can reduce the power consumption of terminal device.
Optionally, the historical information acquisition module is specifically used for:
Obtain the history location information of destination application on the terminal device;
Correspondingly, positioning control module is specifically used for:According to described the intended application is determined using signal strength information The station-keeping mode of program, the station-keeping mode are the station-keeping mode that the destination application is run on the terminal device.
Optionally, signal strength determining module is specifically used for:Determine the targeting information in the history location information, Wherein, the targeting information persistently calls the duration of locating module to be more than determining for setting time for the destination application Position data;
It is determined to use signal strength information according to the targeting information.
Optionally, the positioning control module is specifically used for:
Obtain it is described using the Target Signal Strength information for meeting setting condition in signal strength information, wherein, it is described to set Fixed condition is less than setting intensity value for signal strength values;
If the Target Signal Strength information is more than setting ratio described using proportion in signal strength information, The station-keeping mode of the destination application is then set to low-power consumption mode.
Optionally, historical information acquisition module is specifically used for:
Obtain the history location information of the sample of users of destination application;
Correspondingly, signal strength determining module is specifically used for:
The targeting information of the sample of users is determined according to the history location information of the sample of users, wherein, institute State targeting information persistently calls the duration of locating module to be more than the location data of setting time for the destination application;
The use signal strength information of the sample of users is determined according to the targeting information of the sample of users;
Correspondingly, positioning control module is specifically used for:
Obtain sample of users using the Target Signal Strength information for meeting setting condition in signal strength information, wherein, Described impose a condition is less than setting intensity value for signal strength values;
Determine the target user in sample of users, wherein, the Target Signal Strength information of the target user is in the mesh That marks user is more than setting ratio using proportion in signal strength information;
If target user proportion in the sample of users is more than user's ratio, by the intended application The station-keeping mode of program is set to low-power consumption mode.
Optionally, the destination application is the application journey that location information is obtained by the locating module of terminal device Sequence.
Optionally, the low-power consumption mode includes:
It is true by the wireless connection information of terminal device when receiving the positioning call request of the destination application The location information of the fixed terminal device, and the location information is sent to destination application.
A kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer can perform The positioning control operation being not limited to the described above is instructed, can also carry out the location control side that the application any embodiment is provided Relevant operation in method.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing position control method, this method includes for instruction:
Obtain the history location information of destination application;
The use signal strength information of the destination application is determined according to the history location information;
According to the station-keeping mode that the destination application is determined using signal strength information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside in different position two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and it is provided by the embodiments of the present application fixed to be integrated in the terminal device Level control device.
Fig. 7 is a kind of structure diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device including memory 31, processor 32 and is stored on memory 31 and can be in the computer journey of processor operation Sequence, the processor realize the position control method described in above-described embodiment when performing the computer program.The application is implemented The terminal device that example provides can determine relatively often using for destination application from the history location information of destination application Positioning signal strength information, it can be determined that the use environment of destination application, and then can be to destination application Station-keeping mode is controlled, and can reduce the power consumption of terminal device.
Fig. 8 is a kind of structure diagram of terminal device provided by the embodiments of the present application.As shown in figure 8, the terminal device It can include:Housing (not shown), touch-screen (not shown), touch key-press (not shown), memory 301, Central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board (figure Not shown in) and power circuit (not shown).The circuit board is placed in the interior volume that the housing surrounds;It is described CPU302 and the memory 301 are arranged on the circuit board;The power circuit, for for each of the terminal device Circuit or device power supply;The memory 301, for storing executable program code;The CPU302 described in reading by depositing The executable program code stored in reservoir 301 runs computer program corresponding with the executable program code, with reality Existing following steps:
Obtain the history location information of destination application;
The use signal strength information of the destination application is determined according to the history location information;
According to the station-keeping mode that the destination application is determined using signal strength information.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch-screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 Can have than more or less components shown in figure, two or more components can be combined or can be with It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just the terminal device provided in this embodiment for being used to implement location control is described in detail below, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 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 CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch-screen 312 With other input/control devicess 310, Peripheral Interface 303 is connected to.I/O subsystems 309 can include 3091 He of display controller For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks on idler wheel.What deserves to be explained is input controller 3092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 312, the touch-screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch-screen 312 or is sent out to touch-screen 312 Electric signals.Touch-screen 312 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 3091 The interaction of user interface object on touch-screen 312, that is, realize human-computer interaction, the user interface being shown on touch-screen 312 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 305 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 305 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 305 can include performing The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 306 is mainly used for receiving voice data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311 for the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application can reduce the power consumption that positioning function is brought.
Position control device, storage medium and the terminal device provided in above-described embodiment, which can perform the application, arbitrarily to be implemented The position control method that example is provided possesses and performs the corresponding function module of this method and advantageous effect.Not in above-described embodiment In detailed description technical detail, reference can be made to the position control method that the application any embodiment is provided.
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 position control method, which is characterized in that including:
Obtain the history location information of destination application;
The use signal strength information of the destination application is determined according to the history location information;
According to the station-keeping mode that the destination application is determined using signal strength information.
2. the method as described in claim 1, which is characterized in that the history location information bag for obtaining destination application It includes:
Obtain the history location information of destination application on the terminal device;
Correspondingly, it is described to determine that the station-keeping mode of the destination application includes using signal strength information according to described:
According to the station-keeping mode that the destination application is determined using signal strength information, the station-keeping mode is described The station-keeping mode that destination application is run on the terminal device.
3. the method as described in claim 1, which is characterized in that described to determine that the target according to the history location information Included with program using signal strength information:
Determine the targeting information in the history location information, wherein, the targeting information is the intended application Program persistently calls the duration of locating module to be more than the location data of setting time;
It is determined to use signal strength information according to the targeting information.
4. the method as described in claim 1, which is characterized in that described to determine the mesh using signal strength information according to described The station-keeping mode of application program is marked, including:
Obtain it is described using the Target Signal Strength information for meeting setting condition in signal strength information, wherein, the setting item Part is less than setting intensity value for signal strength values;
It, will if the Target Signal Strength information is more than setting ratio described using proportion in signal strength information The station-keeping mode of the destination application is set to low-power consumption mode.
5. the method as described in claim 1, which is characterized in that the history location information bag for obtaining destination application It includes:
Obtain the history location information of the sample of users of destination application;
Correspondingly, the use signal strength information bag that the destination application is determined according to the history location information It includes:
The targeting information of the sample of users is determined according to the history location information of the sample of users, wherein, the mesh Mark location information persistently calls the duration of locating module to be more than the location data of setting time for the destination application;
The use signal strength information of the sample of users is determined according to the targeting information of the sample of users;
Correspondingly, it is described to determine that the station-keeping mode of the destination application includes using signal strength information according to described:
Obtain sample of users using the Target Signal Strength information for meeting setting condition in signal strength information, wherein, it is described It imposes a condition and is less than setting intensity value for signal strength values;
Determine the target user in sample of users, wherein, the Target Signal Strength information of the target user is used in the target Family is more than setting ratio using proportion in signal strength information;
If target user proportion in the sample of users is more than user's ratio, by the destination application Station-keeping mode be set to low-power consumption mode.
6. such as method described in any one of claim 1 to 5, which is characterized in that the destination application is to be set by terminal Standby locating module obtains the application program of location information.
7. method as claimed in claim 6, which is characterized in that the low-power consumption mode includes:
When receiving the positioning call request of the destination application, institute is determined by the wireless connection information of terminal device The location information of terminal device is stated, and the location information is sent to destination application.
8. a kind of position control device, which is characterized in that including:
Historical information acquisition module, for obtaining the history location information of destination application;
Signal strength determining module, for determining the strong using signal of the destination application according to the history location information Spend information;
Positioning control module, for according to the station-keeping mode that the destination application is determined using signal strength 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 position control method as any one of claim 1-7 is realized during row.
10. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when performing the computer program Position control method described in one.
CN201711327805.7A 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment Expired - Fee Related CN108093373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711327805.7A CN108093373B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711327805.7A CN108093373B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108093373A true CN108093373A (en) 2018-05-29
CN108093373B CN108093373B (en) 2020-09-15

Family

ID=62174123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711327805.7A Expired - Fee Related CN108093373B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108093373B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164477A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of method and mobile terminal of application positioning
CN110868703A (en) * 2019-10-24 2020-03-06 深圳数位传媒科技有限公司 Method and device for ensuring signal quality of application program
CN111049601A (en) * 2019-12-23 2020-04-21 Oppo广东移动通信有限公司 Position prompting method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001837A2 (en) * 2000-06-27 2002-01-03 Matsushita Mobile Communication Development Corporation Of U.S.A. Scan wait mode based on received signal strength
CN103533649A (en) * 2013-10-25 2014-01-22 北京航空航天大学 Indoor and outdoor seamless positioning system
CN105682198A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning control method and device of mobile terminal and mobile terminal
CN106550446A (en) * 2015-09-18 2017-03-29 北京奇宝科技有限公司 Localization method and geographical position monitoring device
CN106791064A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Method of locating terminal and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002001837A2 (en) * 2000-06-27 2002-01-03 Matsushita Mobile Communication Development Corporation Of U.S.A. Scan wait mode based on received signal strength
CN103533649A (en) * 2013-10-25 2014-01-22 北京航空航天大学 Indoor and outdoor seamless positioning system
CN106550446A (en) * 2015-09-18 2017-03-29 北京奇宝科技有限公司 Localization method and geographical position monitoring device
CN105682198A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning control method and device of mobile terminal and mobile terminal
CN106791064A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Method of locating terminal and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164477A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of method and mobile terminal of application positioning
CN110868703A (en) * 2019-10-24 2020-03-06 深圳数位传媒科技有限公司 Method and device for ensuring signal quality of application program
CN111049601A (en) * 2019-12-23 2020-04-21 Oppo广东移动通信有限公司 Position prompting method and related equipment
CN111049601B (en) * 2019-12-23 2022-03-29 Oppo广东移动通信有限公司 Position prompting method and related equipment

Also Published As

Publication number Publication date
CN108093373B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108111971B (en) Positioning method, positioning device, storage medium and mobile terminal
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN107302638A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108012237A (en) Position control method, device, storage medium and terminal device
RU2667795C2 (en) Server access method and apparatus
CN111316673B (en) Electronic fence updating method and communication device
CN108168569A (en) Air navigation aid, device, storage medium, mobile terminal and onboard system
CN108093373A (en) Position control method, device, storage medium and terminal device
CN108055644A (en) Position control method, device, storage medium and terminal device
CN108076507A (en) Positioning method control method, device, storage medium and mobile terminal
CN108093368A (en) Control method, device, storage medium and mobile terminal based on locating module
US11874876B2 (en) Electronic device and method for predicting an intention of a user
CN108024209B (en) Positioning control method and device, storage medium and terminal equipment
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN113364490A (en) NFC application calling method, electronic equipment and NFC device
CN108112061A (en) Position control method, device, storage medium and terminal device
CN109923506A (en) Information processing method and positioning chip, mobile terminal
CN108151730A (en) Position control method, device, storage medium and terminal device
CN107809742A (en) Processing method, device, storage medium and the terminal of location information
CN107766546A (en) Using recommendation method, apparatus, storage medium and terminal device
CN108040320B (en) GNSS positioning control method and device, storage medium and mobile terminal
CN108055643A (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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200915

CF01 Termination of patent right due to non-payment of annual fee