CN108151730A - 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
CN108151730A
CN108151730A CN201711325647.1A CN201711325647A CN108151730A CN 108151730 A CN108151730 A CN 108151730A CN 201711325647 A CN201711325647 A CN 201711325647A CN 108151730 A CN108151730 A CN 108151730A
Authority
CN
China
Prior art keywords
information
terminal device
user
whereabouts
positioning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711325647.1A
Other languages
Chinese (zh)
Inventor
林华秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711325647.1A priority Critical patent/CN108151730A/en
Publication of CN108151730A publication Critical patent/CN108151730A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • 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
    • G06F1/329Power saving characterised by the action undertaken by task scheduling

Landscapes

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

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 the positioning call request for receiving destination application, obtaining the history use information of user;The whereabouts habits information of user is determined according to the history use information;According to the whereabouts habits information and the current context information of terminal device, it is determined whether allow the positioning call request.By using above-mentioned technical proposal, the whereabouts habits information of user can be determined according to the history use information of user, destination application can be determined when being not necessarily to using location information according to whereabouts habits information, refuse the positioning call request of the destination application, the power consumption that destination application calls positioning function to bring 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.
Invention content
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:
In the positioning call request for receiving destination application, the history use information of user is obtained;
The whereabouts habits information of user is determined according to the history use information;
According to the whereabouts habits information and the current context information of terminal device, it is determined whether the positioning is allowed to adjust With request.
Second aspect, the embodiment of the present application provide a kind of position control device, including:
Historical information acquisition module, in the positioning call request for receiving destination application, obtaining user's History use information;
Whereabouts information determination module, for determining the whereabouts habits information of user according to the history use information;
Positioning control module for the current context information according to the whereabouts habits information and terminal device, determines Whether the positioning call request is allowed.
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, by the positioning tune for receiving destination application During with request, the history use information of user is obtained;The whereabouts habits information of user is determined according to the history use information;Root According to the whereabouts habits information and the current context information of terminal device, it is determined whether allow the positioning call request.It is logical Cross using above-mentioned technical proposal, can determine the whereabouts habits information of user according to the history use information of user, according to whereabouts Habits information can determine that destination application when being not necessarily to using location information, refuses the positioning of the destination application Call request can reduce the power consumption that destination application calls positioning function to bring.
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 flow diagram of another position control method provided by the embodiments of the present application;
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 the structure diagram of another 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 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..
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system.On terminal device Some application programs, can be by calling the positioning function of terminal device, to realize its application function;Application is such as taken out, it can be with Preferred address is provided to user by calling the positioning function of terminal device, and user completes to order after operation, and food delivery person can be with Room service is completed by address.But when completing transaction or user without using its preferred address function, which also may be used It can continue the positioning function of using terminal equipment, terminal device can be made to have additional power consumption.Moreover, terminal device uses ring There is larger impact in border to the course of work of positioning function, if currently used environment does not apply to positioning function, does not simply fail to obtain Location information is taken, additional power consumption can be also brought to terminal device.
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 in the equipment of operating system with being integrated in other.As shown in Figure 1, this method includes:
S110, in the positioning call request for receiving destination application, obtain the history use information of user.
The destination application is to need to obtain the location information of terminal device to realize the application journey of its application function Sequence, it may include LBS (Location Based Service, based on location-based service) is applied.The destination application sends fixed Position call request is used to handle the location-based service process of positioning function to terminal device, and location-based service process is called according to positioning please Driving locating module is asked to work, obtains location information.Locating module may include GNSS (Global Navigation Satellite System, Global Navigation Satellite System) module, GNSS module can be GPS (Global Positioning System, global positioning system) module.
Destination application on startup, can generally send positioning call request to system, to realize itself and positioning associated Application function, but destination application call locating module carry out work can bring more power consumption, and destination application It is certain by position call realize application specific functionality be for user do not have it is effective.If it uses indoors When the locating module of terminal device is positioned, the signal of locating module can be affected, particularly in armored concrete In the house of construction, the signal receives link of locating module is blocked, and can only be penetrated door and window and be received location information, locating module Signal strength die down, positioning accuracy declines, in some instances it may even be possible to situation about can not position occurs.So indoors, it is fixed to be not appropriate for Position module works.
The history use information is the information for the custom rule that can embody user's using terminal equipment, can be that terminal is set In history use information in standby or history use information or other applications in destination application History use information.
S111, the whereabouts habits information that user is determined according to the history use information.
Wherein, the whereabouts habits information is that can embody the information of the whereabouts custom of user, and ground is used including user The rule information of point and/or usage time.The custom rule of user's using terminal equipment can be determined by history use information, And then it can determine the whereabouts habits information of user.Illustratively, history use information includes the usage time rule of user, leads to The usage time custom of user can be determined by crossing usage time rule, and be used as whereabouts habits information.History use information may be used also Place to use rule including user can determine row of the common site information of user as user by using place rule Track habits information.
S112, the current context information according to the whereabouts habits information and terminal device, it is determined whether described in permission Position call request.
The current context information includes the currently used environmental information of terminal device, it may include location information and/or Temporal information.According to the whereabouts habits information and the current context information of terminal device, it may be determined that the current environment Information further determines whether to allow the positioning call request if appropriate for positioning function is used.If allow the positioning Call request is then worked by location-based service Process flowchart locating module, and location information, auxiliary are obtained by locating module Destination application completes its application function.If current context information is not suitable for, using positioning function, refusing the positioning Call request does not drive locating module to work, and can reduce the power consumption of terminal device.
If destination application is to use for the first time, in destination application there is no user history use information, then It can be judged according to the history use information in other applications.Optionally, obtain terminal device in one its The history use information of user in his application program, judges that current context information works if appropriate for locating module, such as Fruit is not suitable for, and can refuse the positioning call request of destination application.
Optionally, the destination application is instant shopping application.It is called in the positioning for receiving instant shopping application During request, the history use information of the instant shopping application is obtained;And letter is used according to the history of the instant shopping application Breath determines the whereabouts habits information of user.
Instant shopping application is that the application program for being less than setting time, setting are set up to the time range of closing the transaction in transaction Time can be 4 hours, half a day or one day.Instant shopping application may include taking out class application.Instant shopping application includes History use information may include the trading order form information of user or the account information of user.According to going through for instant shopping application History use information determines the whereabouts habits information of user, further determines whether to allow the positioning of the instant shopping application to call Request.Because the positioning call request of instant shopping application has stronger relevance with its practical service environment, according to instant The history use information of shopping application can more accurately judge current context information if appropriate for the instant shopping application call Positioning function can improve the accuracy of judgement.
Fig. 2 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.Optionally, as shown in Fig. 2, this method includes:
S120, in the positioning call request for receiving instant shopping application, obtain the address of the instant shopping application Record information.
Wherein it is possible to it determines to use by the trading order form information of user in instant shopping application or the account information of user Address records information.
In trading order form information, there can be the transaction address of corresponding address information, the i.e. order in each order. User can generally rest on the transaction address for a long time, and delivery person is waited for carry out delivery.Illustratively, user uses take-away class Using after user establishes trading order form, user can wait for food delivery personnel to carry out food delivery in the corresponding address of trading order form.According to friendship Easy sequence information can obtain corresponding transaction address and record information as address.It also can be about ground in the account information of user The record of location illustratively, there is the pre-stored ship-to of user in the account information of user, in newly-built trading order form, User can directly invoke pre-stored ship-to as transaction address.It can directly be obtained from the account information of user Ship-to records information as address.
It is recorded by the address that user can be obtained according to the trading order form information and/or account information of instant shopping application Information, and then the custom regional extent that information determines user can be recorded according to the address of user.
S121, the custom regional extent that information determines user is recorded according to described address.
The custom regional extent is the zone of action range that user often occurs, and can be the working region or residence of user Firmly living area can record the custom regional extent that information determines user according to address.
Optionally, information is recorded according to described address and determines that the custom regional extent of user can be by following manner reality It applies:It obtains occurrence number in described address record information and is higher than setting higher than the address for setting number, and by the occurrence number Region in the address of number and its surrounding setpoint distance is determined as being accustomed to regional extent.
Multiple addresses can be got by the trading order form information and/or account information of instant shopping application, and wherein The address can be determined as being accustomed to regional extent by the more address of occurrence number, i.e., the address that user is commonly used.By the ground Region around location in setpoint distance is determined as being accustomed to regional extent, and setpoint distance can be 20 meters, 25 meters or 35 meters;Setting away from From can be configured according to the intensity of the positioning signal of locating module, when intensity is weaker, setpoint distance is longer.In positioning mould Block positioning signal is weaker, causes precision unpunctual, and address and its week of number can be set by the way that the occurrence number is higher than It encloses the region in setpoint distance to be determined as being accustomed to regional extent, when current location information is fallen into the range of this, determines user position In the address, avoid, because the precision of locating module is not allowed to bring the error of judgement, improving the accuracy of judgement.
If the current location information of S122, terminal device is located in the custom regional extent, refuse the positioning Call request.
Wherein it is possible to the locating module by terminal device obtains current location information.If the present bit of terminal device Confidence breath is located in the custom regional extent, i.e., current location information is familiar regional extent for user, and Without using positioning function, and if user custom regional extent be located at interior, current environment be not appropriate for locating module into Row work.Further, user is by being accustomed to the working region of regional extent, usually user determined by instant shopping application Or region of living, may be very much indoors, to work so being not suitable for locating module greatly.In addition, if it is determined that terminal The current location information of equipment is custom regional extent, and instant shopping application can pass through the history buffer of the operation before user Information auxiliary completes its application function, without obtaining location information again by locating module.So working as in terminal device Front position information is located in the custom regional extent, refuses the positioning call request, locating module can not be driven to carry out Work reduces the power consumption of terminal device.
Fig. 3 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is optimized on the basis of the technical solution that example is provided, optionally, as shown in figure 3, this method includes:
S130, in the positioning call request for receiving instant shopping application, obtain the address of the instant shopping application Record information and order temporal information.
Wherein it is possible to determine order temporal information by the trading order form information of user in instant shopping application, during order Between information can be user transaction set up time, closing the transaction time or from transaction set up to closing the transaction period, User can wait for delivery person to carry out delivery in the order temporal information in transaction address;It can be by order temporal information Determine the order rule of user.The specific embodiment of acquisition about address record information can be retouched with reference to correlation above It states, details are not described herein.
S131, the custom regional extent of user is determined and according to the order time according to described address record information Information determines the custom period of user.
Optionally, the address of occurrence number in described address record information higher than setting number is obtained, and by the appearance Number is determined as being accustomed to regional extent higher than the region in the setting address of number and its surrounding setpoint distance.Specific embodiment Associated description above can be referred to, details are not described herein.
The custom period of user can be determined according to order temporal information, within the custom period of user, Yong Huhui Delivery person is waited for carry out delivery in transaction address, i.e. user can wait for sender within the custom period in custom regional extent Member carries out delivery.Illustratively, custom period of user can be determined for Monday extremely by the order temporal information of user Friday, at 12 points in 10 thirty to the morning in the morning, so user buys lunch within the period using instant shopping application, and User can wait for delivery person to carry out delivery within the custom time in custom regional extent.
If the current location information of S132, terminal device is located in the custom regional extent and during current system Between it is described custom the period in, then refuse the positioning call request.
Wherein it is possible to the locating module by terminal device obtains current location information, it can also be according to terminal device Wireless module obtains current location information.If the current location information of terminal device is located in the custom regional extent, i.e., Current location information is familiar regional extent for user, while it is in the custom to determine present system time When in the period, then it can determine that user is being accustomed in the period being located in custom regional extent at this time, it is fixed without using Position call request.It can more accurately judge whether the current environment of user fits according to custom period and custom regional extent Close the accuracy for using positioning function, further improving judgement.
Fig. 4 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is optimized on the basis of the technical solution that example is provided, optionally, as shown in figure 4, this method includes:
S140, in the positioning call request for receiving instant shopping application, obtain the address of the instant shopping application Record information.
S141, the custom regional extent that information determines user is recorded according to described address.
If the current location information of S142, terminal device is located in the custom regional extent, refuse the positioning Call request.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S143, the position change that terminal device is determined according to the wireless signal and/or sensor signal of the terminal device Information.
If user's using terminal equipment indoors, can determine terminal device according to the wireless signal of the terminal device Position modification information.The wireless signal can be that the wireless module of terminal device and PERCOM peripheral communication end carry out the acquired letter that communicates Number, it may include Wi-Fi (Wireless-Fidelity, Wireless Fidelity) signals and/or base station signal.
Each wireless access point (AP, Access Point) all there are one globally unique media access control (MAC, Medium Access Control) address, general wireless access point is that will not move whithin a period of time.Terminal is set Standby wireless module (such as Wi-Fi module) can obtain the information of the wireless access point in its communication range, and according to each With reference to the signal strength of each wireless access point, the new position of terminal device is calculated in the geographical location of wireless access point Confidence ceases, the position modification information as terminal device.
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 will be able to the new location information of terminal device is calculated, as terminal device Position modification information.
The position of terminal device can also can be determined by the sensor signal of the movable sensor of the terminal device Modification information, movable sensor may include gyroscope, acceleration transducer and gravity sensor etc., can be with by movable sensor The moving direction of detection terminal equipment and displacement distance etc., the position that moving direction and displacement distance are determined as to terminal device become More information.
S144, judge whether the terminal device leaves the custom regional extent according to the position modification information.
If S145, the terminal device leave the custom regional extent, the destination application is controlled again Send positioning call request.
It may determine that whether the terminal device has left the custom regional extent according to position modification information, if from Custom regional extent has been opened, that is, has had left the known regional extent of user, the locating module of terminal device may leave room It is interior, enter an environment for being suitble to its work.So if the destination application is still being run, institute can be controlled It states destination application and retransmits positioning call request, realize the application function of destination application.
Can be after the change of the environmental information of terminal device, control targe application program retransmits positioning calling and asks again The operating mode of locating module is sought or adjusts, so that locating module can be positioned in the environment for being suitble to its work Work, HELPER APPLICATIONS complete application function.
Fig. 5 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation It is optimized on the basis of the technical solution that example is provided, optionally, as shown in figure 5, this method includes:
S150, in the positioning call request for receiving destination application, obtain the history use information of user.
S151, the whereabouts habits information that user is determined according to the history use information.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S152, the current context information according to the whereabouts habits information and terminal device, determine the terminal device Locating module operating mode.
It optionally, can be by positioning mould if the current location information of terminal device is located in the custom regional extent Block is set as low accuracy modes, can reduce the frequency that locating module obtains location information.If user is in custom regional extent Interior, a wide range of movement will not occur for user in the short time, it is possible to the operating mode of locating module is set as low accuracy modes, The frequency of the acquisition location information of locating module is reduced, if other applications call locating module to work, positioning mould Block is still low accuracy modes.Until a wide range of movement of user's transmission, custom regional extent is had left, it can be by the work of locating module Operation mode reverts to normal mode of operation.
Optionally, if the current location information of terminal device is located at the interior custom regional extent and current system Between it is described custom the period in, locating module can be set as low-power consumption mode, can close locating module.If with Family can then determine that user is being accustomed to being located in the period at this time and practise in custom regional extent and within the custom period In used regional extent, further locating module can be closed, other applications can not also call locating module to work.
According to the whereabouts habits information and the current context information of terminal device, the positioning of the terminal device is determined The operating mode of module can further control locating module according to the whereabouts habits information of current context information and user Operating mode so that other applications call the operation of locating module also restrained, can further reduce terminal device Power consumption.
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, in the positioning call request for receiving destination application, obtaining user History use information;
Whereabouts information determination module 211, for determining the whereabouts habits information of user according to the history use information;
Positioning control module 212, for the current context information according to the whereabouts habits information and terminal device, really It is fixed whether to allow the positioning call request.
A kind of position control device provided in the embodiment of the present application, by the positioning tune for receiving destination application During with request, the history use information of user is obtained;The whereabouts habits information of user is determined according to the history use information;Root According to the whereabouts habits information and the current context information of terminal device, it is determined whether allow the positioning call request.It is logical Cross using above-mentioned technical proposal, can determine the whereabouts habits information of user according to the history use information of user, according to whereabouts Habits information can determine that destination application when being not necessarily to using location information, refuses the positioning of the destination application Call request can reduce the power consumption that destination application calls positioning function and brings.
Optionally, historical information acquisition module is specifically used for:In the positioning call request for receiving instant shopping application, Obtain the address record information of the instant shopping application.
Optionally, historical information acquisition module is specifically used for:Obtain the address record information of the instant shopping application;
Correspondingly, whereabouts information determination module is specifically used for:The custom area of user is determined according to described address record information Domain range;
Correspondingly, positioning control module is specifically used for:If the current location information of terminal device is located at the custom area In the range of domain, then refuse the positioning call request.
Optionally, whereabouts information determination module is specifically used for:Occurrence number, which is higher than, in acquisition described address record information sets Determine the address of number, and the occurrence number is determined as higher than the region in the setting address of number and its surrounding setpoint distance It is accustomed to regional extent.
Optionally, historical information acquisition module is additionally operable to:Obtain the order temporal information of the instant shopping application;
Correspondingly, whereabouts information determination module is additionally operable to:The custom time of user is determined according to the order temporal information Section;
Correspondingly, positioning control module is specifically used for:If the current location information of terminal device is located at the custom area In the range of domain and present system time is within the custom period, then refuses the positioning call request.
Optionally, it further includes:
Position change determining module, for refuse it is described positioning call request after, according to the nothing of the terminal device Line signal and/or sensor signal determine the position modification information of terminal device;
Range judgment module, for judging whether the terminal device leaves the custom according to the position modification information Regional extent;
Module is re-called, for when the terminal device leaves the custom regional extent, then controlling the target Application program retransmits positioning call request.
Optionally, it further includes:
Station-keeping mode control module, for the current context information according to the whereabouts habits information and terminal device, Determine the operating mode of the locating module of the terminal device.
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, the location control side that the application any embodiment is provided can also be performed 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:
In the positioning call request for receiving destination application, the history use information of user is obtained;
The whereabouts habits information of user is determined according to the history use information;
According to the whereabouts habits information and the current context information of terminal device, it is determined whether the positioning is allowed to adjust With request.
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 or combination of type.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 location 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 that processor is run 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 reduce the power consumption that positioning function is brought.
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 In be not shown) and power circuit (not shown).The circuit board is placed in the space interior 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:
In the positioning call request for receiving destination application, the history use information of user is obtained;
The whereabouts habits information of user is determined according to the history use information;
According to the whereabouts habits information and the current context information of terminal device, it is determined whether the positioning is allowed to adjust With request.
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 provided in this embodiment for the terminal device of positioning function to be controlled to be 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, it is connected to Peripheral Interface 303.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 idler wheel.What deserves to be explained is input controller 3092 can with it is following any one connect:Keyboard, infrared port, The indicating 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 audio 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 determine that the whereabouts of user are practised according to the history use information of user Used information can determine that destination application when being not necessarily to using location information, refuses the mesh according to whereabouts habits information The positioning call request of application program is marked, the power consumption that destination application calls positioning function and brings can be reduced.
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 has 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:
In the positioning call request for receiving destination application, the history use information of user is obtained;
The whereabouts habits information of user is determined according to the history use information;
According to the whereabouts habits information and the current context information of terminal device, it is determined whether the positioning is allowed to call please It asks.
2. the method as described in claim 1, which is characterized in that described in the positioning call request for receiving destination application When, the history use information of user is obtained, including:
In the positioning call request for receiving instant shopping application, the history use information of the instant shopping application is obtained.
3. method as claimed in claim 2, which is characterized in that obtain the history use information packet of the instant shopping application It includes:
Obtain the address record information of the instant shopping application;
Correspondingly, it is described to determine that whereabouts habits information includes according to described address record information:
The custom regional extent of user is determined according to described address record information;
Correspondingly, it is described according to the whereabouts habits information and the current context information of terminal device, it is determined whether to allow institute Positioning call request is stated to include:
If the current location information of terminal device is located in the custom regional extent, refuse the positioning call request.
4. method as claimed in claim 3, which is characterized in that the custom that user is determined according to described address record information Regional extent includes:
It obtains occurrence number in described address record information and is higher than setting higher than the address for setting number, and by the occurrence number Region in the address of number and its surrounding setpoint distance is determined as being accustomed to regional extent.
5. method as claimed in claim 3, which is characterized in that the acquisition history use information further includes:
Obtain the order temporal information of the instant shopping application;
Correspondingly, the whereabouts habits information that user is determined according to the history use information, further includes:
The custom period of user is determined according to the order temporal information;
Correspondingly, it is described according to the whereabouts habits information and the current context information of terminal device, it is determined whether to allow institute Positioning call request is stated, including:
If the current location information of terminal device is located in the custom regional extent and present system time is in the habit In the used period, then refuse the positioning call request.
6. such as claim 3 to 5 any one of them method, which is characterized in that after the refusal positioning call request, It further includes:
The position modification information of terminal device is determined according to the wireless signal of the terminal device and/or sensor signal;
Judge whether the terminal device leaves the custom regional extent according to the position modification information;
If the terminal device leaves the custom regional extent, the destination application is controlled to retransmit positioning and is adjusted With request.
7. the method as described in claim 1, which is characterized in that described that whereabouts custom letter is determined according to the history use information After breath, further include:
According to the whereabouts habits information and the current context information of terminal device, the locating module of the terminal device is determined Operating mode.
8. a kind of position control device, which is characterized in that including:
Historical information acquisition module, in the positioning call request for receiving destination application, obtaining the history of user Use information;
Whereabouts information determination module, for determining the whereabouts habits information of user according to the history use information;
Positioning control module, for the current context information according to the whereabouts habits information and terminal device, it is determined whether Allow the positioning call request.
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 described in 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.
CN201711325647.1A 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device Pending CN108151730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711325647.1A CN108151730A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711325647.1A CN108151730A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN108151730A true CN108151730A (en) 2018-06-12

Family

ID=62467027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711325647.1A Pending CN108151730A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN108151730A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112205937A (en) * 2019-07-12 2021-01-12 北京石头世纪科技股份有限公司 Automatic cleaning equipment control method, device, equipment and medium
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal equipment
CN114205455A (en) * 2021-12-07 2022-03-18 郑州阿帕斯数云信息科技有限公司 Application positioning processing method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112205937A (en) * 2019-07-12 2021-01-12 北京石头世纪科技股份有限公司 Automatic cleaning equipment control method, device, equipment and medium
CN112205937B (en) * 2019-07-12 2022-04-05 北京石头世纪科技股份有限公司 Automatic cleaning equipment control method, device, equipment and medium
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal equipment
CN114205455A (en) * 2021-12-07 2022-03-18 郑州阿帕斯数云信息科技有限公司 Application positioning processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN109891934B (en) Positioning method and device
EP2962066B1 (en) Indoor positioning using disambiguation information from other mobile devices
CN102006550B (en) Power saving system and method for mobile computing device
CN106851555B (en) Apparatus and method for geo-fencing operations
CN108111971B (en) Positioning method, positioning device, storage medium and mobile terminal
CN111316673B (en) Electronic fence updating method and communication device
CN105955700A (en) Sound effect adjusting method and user terminal
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN102498706A (en) Mobile device battery management
CN108169775A (en) Control method, device, storage medium and mobile terminal based on locating module
CN107302638A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN113364490B (en) NFC application calling method, electronic equipment and NFC device
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108024209B (en) Positioning control method and device, storage medium and terminal equipment
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN108151730A (en) Position control method, device, storage medium and terminal device
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
CN108012237B (en) Positioning control method and device, storage medium and terminal equipment
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108093373A (en) Position control method, device, storage medium and terminal device
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment
CN107835304B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180612