CN108012237A - 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
CN108012237A
CN108012237A CN201711327120.2A CN201711327120A CN108012237A CN 108012237 A CN108012237 A CN 108012237A CN 201711327120 A CN201711327120 A CN 201711327120A CN 108012237 A CN108012237 A CN 108012237A
Authority
CN
China
Prior art keywords
information
destination application
location information
use scope
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
CN201711327120.2A
Other languages
Chinese (zh)
Other versions
CN108012237B (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 CN201711327120.2A priority Critical patent/CN108012237B/en
Publication of CN108012237A publication Critical patent/CN108012237A/en
Application granted granted Critical
Publication of CN108012237B publication Critical patent/CN108012237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • 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
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • 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
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (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 obtaining the history location information of destination application;The use scope information of the destination application is determined according to the history location information;The station-keeping mode of the destination application is determined according to the use scope information.By using above-mentioned technical proposal, the scope 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, 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 scope information of the destination application is determined according to the history location information;
The station-keeping mode of the destination application is determined according to the use scope 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;
Range information determining module, for determining the use model of the destination application according to the history location information Enclose information;
Positioning control module, for determining the station-keeping mode of the destination application according to the use scope information.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, realizes the position control method as described in the embodiment of the present application when which 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, letter is positioned by the history for obtaining destination application Breath;The use scope information of the destination application is determined according to the history location information;Believed according to the use scope Breath determines the station-keeping mode of the destination application., can going through from destination application by using above-mentioned technical proposal The scope more often used of destination application is determined in history location information, it can be determined 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.
Brief 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 a kind of schematic diagram of a scenario of 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 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.
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.Further need exist for illustrating , for the ease of description, part relevant with the application rather than entire infrastructure are illustrate only 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 at the same time.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 the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, code, 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 compared with Normal use environment is moved in an a small range, then the application and the positioning function of high power consumption is not required.
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 provided 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 be need obtain terminal device location information come realize its application function should 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 for the location-based service process for handling positioning function to terminal device, location-based service process is adjusted according to positioning Worked with request driving locating module, obtain 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 send to application program, Zhi Daoying Run with EP (end of program).So destination application has the location information of corresponding acquisition in history each time using process.
Alternatively, 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.Alternatively, 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 scope information for determining according to the history location information destination application.
The use scope information is fixed according to determined by history each time using the corresponding history location information of process Position scope.History uses process each time, i.e. user starts the use that destination application exits destination application to this Process.Include multiple location informations in history location information, use scope information can be for minimize include it is the multiple The scope of location information.As shown in Fig. 2, multiple stains in figure are multiple location informations 10, process pair is used for a history The history location information answered, determines use scope information 11, use scope information 11 can be minimum according to multiple location informations 10 Changing ground includes multiple location informations 10.According to use scope information determined by history location information, it may be determined that intended application Scope corresponding to the environment being commonly used of program.
S112, the station-keeping mode for determining according to the use scope information destination application.
If it can determine that destination application is most according to the use scope information of destination application to use The corresponding scope of environment is all a less scope, then show destination application user position do not occur it is larger Change, so in the position of user not there is a situation where varying widely, will obtain the function of location information in real time for user It is unnecessary, if excessive power consumption can be brought to terminal device by obtaining location information in real time.It can be believed according to use scope Breath determines the station-keeping mode of the destination application, when the unnecessary location information of acquisition in real time, to intended application journey The station-keeping mode of sequence is arranged to low-power consumption mode, or the station-keeping mode of destination application is arranged to low accuracy modes, can To reduce the power consumption of terminal device.Low accuracy modes, can reduce the frequency that locating module obtains location information.Low-power consumption mould Formula, can close locating module.
Alternatively, if obtaining the history location information of destination application on the terminal device;Then according to the use Range information determines the station-keeping mode of the destination application, and the station-keeping mode is the destination application at the end The station-keeping mode run in end equipment.
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.
Alternatively, 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.
Alternatively, 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 surrounding environment 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 A wireless access point (AP, Access Point) has globally unique media access control (MAC, Medium an Access Control) address, general wireless access point are to be moved within 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 positional 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 positional 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 precision for the location information that the ratio of precision of the location information of the fixed terminal device is obtained by locating module is low, but with When the position at family does not vary widely, simultaneously high-precision location information is not required in user.Pass through the wireless connection of terminal device Information determines location information, can meet the location requirement of destination application, moreover it is possible to 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-described embodiment institute On the basis of the technical solution of offer, the use scope to determining the destination application according to the history location information is believed The operation of breath is optimized, alternatively, as shown in figure 3, this method includes:
S120, the history location information for obtaining destination application.
Embodiment may be referred to associated description above, and details are not described herein.
S121, determine targeting information in the history location information;Wherein, the targeting information is described The duration that calls of destination application is more than the location information of setting time, and when calling is a length of persistently to call location information Duration.
S122, according to the targeting information determine use scope information.
The location information for calling duration 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 by positioning determined by wireless connection information Information.Setting time can be configured according to the difference of system setting or embodiment, and the embodiment of the present application exists This is not construed as limiting.
It can determine the first use process of user according to targeting information, or one-time continuous operation is corresponding uses model Information is enclosed, relatively often using for destination application can be determined according to multiple use scope information using process or continuous operation Range information, and then can determine the station-keeping mode of destination application.By determining to call duration to be more than setting time Location information is determined as targeting information, can obtain and be accustomed to associated range information with the Continuous behavior of user, improves true Determine the accuracy of use scope information.
S123, the station-keeping mode for determining according to the use scope information destination application.
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 any implementation On the basis of the technical solution that example is provided, the positioning mould to determining the destination application according to the use scope information The operation of formula is optimized, alternatively, as shown in figure 4, this method includes:
S130, the history location information for obtaining destination application.
S131, the use scope information for determining according to the history location information destination application.
The embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
S132, obtain the target zone information for meeting to impose a condition in the use scope information;Wherein, the setting bar Part is less than setpoint distance for moving range.
If S133, the target zone information proportion in the use scope information are more than setting ratio, The station-keeping mode of the destination application is set to low-power consumption mode.
Moving range is less than setpoint distance, can be that the longest diameter of moving range is less than setpoint distance, can be mobile The distance of the border any two points of scope is less than setpoint distance.If moving range is less than setpoint distance, the position of user Information does not vary widely, and user may not move in one place.Setpoint distance can be 10 meters, 15 meters or 25 meters Etc., setpoint distance can be configured according to the difference of system setting or embodiment, and the embodiment of the present application exists This is not construed as limiting.If target zone information proportion in use scope information is more than setting ratio, then it represents that user's Position is not moved, or more in the situation accounting of a small range movement, then it represents that the common model of destination application It is all in small range to enclose, and determines the destination application without real-time location information, or without high-precision location information, The station-keeping mode for adjusting the destination application is low-power consumption mode or low accuracy modes, can reduce the work(of terminal device Consumption.
Fig. 5 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned any implementation On the basis of the technical solution that example is provided, alternatively, 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 by backstage by the terminal device of 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 Apply the difference of mode and be configured, the embodiment of the present application is not limited thereto.
S141, the targeting information for determining according to the history location information of the sample of users sample of users, its In, the targeting information calls duration more than the location information of setting time, the tune for the destination application Used time a length of duration for persistently calling location information.
S142, the use scope information for determining according to the targeting information of the sample of users sample of users.
S143, obtain sample of users use scope information in meet impose a condition target zone information, wherein, it is described Impose a condition and be less than setpoint distance for moving range.
S144, determine targeted customer in sample of users, wherein, the target zone information of the targeted customer is in the mesh Mark proportion in the use scope information of user and be more than setting ratio.
If S145, the targeted customer 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 targeted customer proportion in the sample of users is more than user's ratio, i.e. sample of users Middle major part user is small range using the more normal use scope of destination application, then it represents that destination application is for big For multi-user, using during destination application without obtaining location information in real time, can be with or without high-precision location information The station-keeping mode of the destination application is set to low-power consumption mode, to reduce the power consumption of terminal device.According to sample of users History location information determine targeted customer, and the positioning mould of destination application is determined according to the accounting of targeted customer Block, can use destination application for the first time in user, when there is no the history location information of destination application on terminal device, The station-keeping mode of destination application is determined according to the history location information of the other users of destination application, reduces user Terminal device power consumption.
The 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;
Range information determining module 211, for determining making for the destination application according to the history location information Use range information;
Positioning control module 212, for determining the positioning mould of the destination application according to the use scope information Formula.
By using above-described embodiment, destination application can be determined from the history location information of destination application The scope more often used, it can be determined that the use environment of destination application, and then can be to the positioning of destination application Pattern is controlled, and can reduce the power consumption of terminal device.
Alternatively, 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:The destination application is determined according to the use scope information Station-keeping mode, the station-keeping mode is the station-keeping mode that is run on the terminal device of the destination application.
Alternatively, range information determining module is specifically used for:
Determine the targeting information in the history location information;Wherein, the targeting information is the target The duration that calls of application program is more than the location information of setting time, when calling is a length of persistently call location information when It is long;
Use scope information is determined according to the targeting information.
Alternatively, the positioning control module is specifically used for:
The target zone information for meeting to impose a condition in the use scope information is obtained, wherein, the setting condition is Moving range is less than setpoint distance;
If target zone information proportion in the use scope information is more than setting ratio, by described in The station-keeping mode of destination application is set to low-power consumption mode.
Alternatively, historical information acquisition module is specifically used for:
Obtain the history location information of the sample of users of destination application;
Correspondingly, range information 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 the location information of calling duration be more than setting time of the targeting information for the destination application, the calling duration For the duration of lasting calling location information;
The use scope 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:
The target zone information for meeting to impose a condition in the use scope information of sample of users is obtained, wherein, the setting Condition is less than setpoint distance for moving range;
Determine the targeted customer in sample of users, wherein, the target zone information of the targeted customer is used in the target Proportion is more than setting ratio in the use scope information at family;
If targeted customer 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.
Alternatively, the destination application is the application journey that location information is obtained by the locating module of terminal device Sequence.
Alternatively, 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.
A kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its 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 Instruction is used to perform position control method when being performed by computer processor, and this method includes:
Obtain the history location information of destination application;
The use scope information of the destination application is determined according to the history location information;
The station-keeping mode of the destination application is determined according to the use scope information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include: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, magnetizing mediums (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 programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed 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 are 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 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 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 scope information of the destination application is determined according to the history location information;
The station-keeping mode of the destination application is determined according to the use scope information.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loudspeaker 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, can combine two or more components, or can be with 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 for realization location control is described in detail below, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be accessed by CPU302, Peripheral Interface 303 etc., and the memory 301 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, 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, click on roller.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 is not show the touch sensitive surface visually exported, or the extension of 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 being used to perform The known circuit of these functions, it 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 loudspeaker 311.
Loudspeaker 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 beneficial effect.Not in above-described embodiment In detailed description ins and outs, reference can be made to the position control method that the application any embodiment is provided.
Note that it above are only preferred embodiment and the institute's application technology principle of the application.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 various obvious changes, 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 1. position control method, it is characterised in that including:
    Obtain the history location information of destination application;
    The use scope information of the destination application is determined according to the history location information;
    The station-keeping mode of the destination application is determined according to the use scope information.
  2. 2. the method as described in claim 1, it is characterised in that the history location information bag for obtaining destination application Include:
    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 according to the use scope information:
    The station-keeping mode of the destination application is determined according to the use scope information, the station-keeping mode is the target The station-keeping mode that application program is run on the terminal device.
  3. 3. the method as described in claim 1, it is characterised in that described to determine that the target according to the history location information Included with the use scope information of program:
    Determine the targeting information in the history location information, wherein, the targeting information is the intended application The duration that calls of program is more than the location information of setting time, when calling a length of duration for persistently calling location information;
    Use scope information is determined according to the targeting information.
  4. 4. the method as described in claim 1, it is characterised in that described to determine that the target according to the use scope information With the station-keeping mode of program, including:
    The target zone information for meeting to impose a condition in the use scope information is obtained, wherein, it is described to impose a condition as movement Scope is less than setpoint distance;
    If target zone information proportion in the use scope information is more than setting ratio, by the target The station-keeping mode of application program is set to low-power consumption mode.
  5. 5. the method as described in claim 1, it is characterised in that the history location information bag for obtaining destination application Include:
    Obtain the history location information of the sample of users of destination application;
    Correspondingly, it is described to determine that the use scope information of the destination application includes according to the history location information:
    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 the location information of calling duration be more than setting time of the location information for the destination application, when calling is a length of to hold The continuous duration for calling location information;
    The use scope 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 according to the use scope information:
    The target zone information for meeting to impose a condition in the use scope information of sample of users is obtained, wherein, the setting condition It is less than setpoint distance for moving range;
    Determine the targeted customer in sample of users, wherein, the target zone information of the targeted customer is the targeted customer's Proportion is more than setting ratio in use scope information;
    If targeted customer 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. 6. such as claim 1 to 5 any one of them method, it is characterised in that the destination application is to be set by terminal Standby locating module obtains the application program of location information.
  7. 7. method as claimed in claim 6, it is characterised 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 8. position control device, it is characterised in that including:
    Historical information acquisition module, for obtaining the history location information of destination application;
    Range information determining module, the use scope for determining the destination application according to the history location information are believed Breath;
    Positioning control module, for determining the station-keeping mode of the destination application according to the use scope information.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The position control method as any one of claim 1-7 is realized during row.
  10. 10. a kind of terminal device, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, it is characterised in that the processor realizes that claim 1-7 such as appoints when performing the computer program Position control method described in one.
CN201711327120.2A 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment Active CN108012237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711327120.2A CN108012237B (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
CN201711327120.2A CN108012237B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108012237A true CN108012237A (en) 2018-05-08
CN108012237B CN108012237B (en) 2020-02-14

Family

ID=62058440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711327120.2A Active CN108012237B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108012237B (en)

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
CN110456395A (en) * 2019-08-13 2019-11-15 维沃移动通信有限公司 A kind of localization method and terminal device
CN111918386A (en) * 2020-07-03 2020-11-10 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment
CN112421775A (en) * 2020-10-29 2021-02-26 国网天津市电力公司 Local energy consumption control system based on power Internet of things and control method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010062585A2 (en) * 2008-10-27 2010-06-03 Hegati Incorporated Personal information tracking, recording, reporting and sharing systems and methods
US20110126132A1 (en) * 2009-11-20 2011-05-26 Tyler Robert Anderson System and methods of generating social networks in virtual space
US20140179337A1 (en) * 2012-12-21 2014-06-26 Yaron Alpert Systems and methods for selecting an optimal location service
CN103986782A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Position server and signing-in processing method
US20150181373A1 (en) * 2012-08-15 2015-06-25 Zte Corporation Personalized Method for Enhancing Service, Network Side Device, and Mobile User Equipment
CN105704657A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Method and apparatus for monitoring position of mobile terminal
US20160242009A1 (en) * 2013-10-28 2016-08-18 Huawei Technologies Co., Ltd. Method for Predicting Position of Mobile User, and Equipment
CN106605418A (en) * 2014-04-16 2017-04-26 脸谱公司 Power management of mobile clients using location-based services

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010062585A2 (en) * 2008-10-27 2010-06-03 Hegati Incorporated Personal information tracking, recording, reporting and sharing systems and methods
US20110126132A1 (en) * 2009-11-20 2011-05-26 Tyler Robert Anderson System and methods of generating social networks in virtual space
US20150181373A1 (en) * 2012-08-15 2015-06-25 Zte Corporation Personalized Method for Enhancing Service, Network Side Device, and Mobile User Equipment
US20140179337A1 (en) * 2012-12-21 2014-06-26 Yaron Alpert Systems and methods for selecting an optimal location service
US20160242009A1 (en) * 2013-10-28 2016-08-18 Huawei Technologies Co., Ltd. Method for Predicting Position of Mobile User, and Equipment
CN106605418A (en) * 2014-04-16 2017-04-26 脸谱公司 Power management of mobile clients using location-based services
CN103986782A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Position server and signing-in processing method
CN105704657A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Method and apparatus for monitoring position of mobile terminal

Cited By (6)

* 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
CN110456395A (en) * 2019-08-13 2019-11-15 维沃移动通信有限公司 A kind of localization method and terminal device
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal equipment
CN111918386A (en) * 2020-07-03 2020-11-10 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment
CN111918386B (en) * 2020-07-03 2023-09-29 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment
CN112421775A (en) * 2020-10-29 2021-02-26 国网天津市电力公司 Local energy consumption control system based on power Internet of things and control method thereof

Also Published As

Publication number Publication date
CN108012237B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN107667542B (en) Use the location determination of partner appliance
CN108111971B (en) Positioning method, positioning device, storage medium and mobile terminal
CN108012237A (en) Position control method, device, storage medium and terminal device
CN109324749B (en) Drawing method, drawing device, storage medium and electronic equipment
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
CN108024209B (en) Positioning control method and device, storage medium and terminal equipment
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN107302638A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN107766546B (en) Application recommendation method and device, storage medium and terminal equipment
CN113574558A (en) Electronic device and method for dynamic geo-fencing
CN108168569A (en) Air navigation aid, device, storage medium, mobile terminal and onboard system
CN108055644A (en) Position control method, device, storage medium and terminal device
CN107941234A (en) Recommendation method, apparatus, storage medium and the mobile terminal of traffic path
CN108093373A (en) Position control method, device, storage medium and terminal device
US11284216B2 (en) Method for variable geofencing and electronic device thereof
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108592947A (en) Gyro calibiatio i method, apparatus, storage medium and terminal device
CN108112061A (en) Position control method, device, storage medium and terminal device
CN108151730A (en) Position control method, device, 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
CN107490380A (en) Air navigation aid, device, storage medium and mobile terminal

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: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant