CN108012237B - Positioning control method and device, storage medium and terminal equipment - Google Patents

Positioning control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN108012237B
CN108012237B CN201711327120.2A CN201711327120A CN108012237B CN 108012237 B CN108012237 B CN 108012237B CN 201711327120 A CN201711327120 A CN 201711327120A CN 108012237 B CN108012237 B CN 108012237B
Authority
CN
China
Prior art keywords
positioning
information
target application
application program
target
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.)
Active
Application number
CN201711327120.2A
Other languages
Chinese (zh)
Other versions
CN108012237A (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

Images

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

In the positioning control method, the positioning control device, the storage medium and the terminal equipment, historical positioning information of a target application program is acquired; determining the use range information of the target application program according to the historical positioning information; and determining the positioning mode of the target application program according to the using range information. By adopting the technical scheme, the more frequently used range of the target application program can be determined from the historical positioning information of the target application program, the use environment of the target application program can be judged, the positioning mode of the target application program can be further controlled, and the power consumption of the terminal equipment can be reduced.

Description

Positioning control method and device, storage medium and terminal equipment
Technical Field
The embodiment of the application relates to the technical field of positioning of terminal equipment, in particular to a positioning control method and device, a storage medium and terminal equipment.
Background
With the continuous development of internet communication technology, terminal devices such as smart phones and tablet computers have more and more functions, and can provide various services for users. In order to meet the positioning requirement of the user, the terminal device generally has a positioning function, and a positioning module may be disposed in the terminal device, and the positioning module may obtain the positioning information of the terminal device through a Global Navigation Satellite System (GNSS). An Application program (APP) Based on Location Based Service (LBS) in the terminal device may also obtain the positioning information through the positioning function of the terminal device, and implement its Application function according to the positioning information. However, the operation process of acquiring the positioning information may bring greater power consumption to the terminal device, and as more and more applications for acquiring the positioning information in the terminal device based on the location-based service are provided, the power consumption of the terminal device is faster and faster.
Disclosure of Invention
The embodiment of the application provides a positioning control method, a positioning control device, a storage medium and a terminal device, which can reduce power consumption brought by a positioning function.
In a first aspect, an embodiment of the present application provides a positioning control method, including:
acquiring historical positioning information of a target application program;
determining the use range information of the target application program according to the historical positioning information;
and determining the positioning mode of the target application program according to the using range information.
In a second aspect, an embodiment of the present application provides a positioning control apparatus, including:
the historical information acquisition module is used for acquiring historical positioning information of the target application program;
the range information determining module is used for determining the use range information of the target application program according to the historical positioning information;
and the positioning control module is used for determining the positioning mode of the target application program according to the use range information.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a positioning control method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement the positioning control method according to the embodiment of the present application.
According to the positioning control scheme provided by the embodiment of the application, historical positioning information of a target application program is obtained; determining the use range information of the target application program according to the historical positioning information; and determining the positioning mode of the target application program according to the using range information. By adopting the technical scheme, the more frequently used range of the target application program can be determined from the historical positioning information of the target application program, the use environment of the target application program can be judged, the positioning mode of the target application program can be further controlled, and the power consumption of the terminal equipment can be reduced.
Drawings
Fig. 1 is a schematic flowchart of a positioning control method according to an embodiment of the present application;
fig. 2 is a schematic view of a scenario of a positioning control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another positioning control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another positioning control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another positioning control method according to an embodiment of the present application;
fig. 6 is a block diagram of a positioning control apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another terminal device provided in the embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Terminal devices may include smart phones, tablets, and other devices having an operating system. Some applications on the terminal device may implement their application functions by calling the positioning function of the terminal device, and if the more frequent usage environment of some applications is moving within a small range, the applications do not need the positioning function with high power consumption.
Fig. 1 is a schematic flowchart of a positioning control method provided in an embodiment of the present application, where the method may be executed by a positioning control apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a terminal device, or may be integrated in other devices installed with an operating system. As shown in fig. 1, the method includes:
and S110, acquiring historical positioning information of the target application program.
The target application is an application that needs to obtain the positioning information of the terminal device to implement its application function, and may include an LBS (Location Based Service) application. And the target application program sends a positioning calling request to a position service process used for processing a positioning function of the terminal equipment, and the position service process drives the positioning module to work according to the positioning calling request to acquire positioning information.
The historical positioning information includes positioning information acquired by the target application during historical use. If the positioning calling request of the application program is allowed by the system of the terminal equipment, the position service process can continuously send the positioning information to the application program, namely the positioning module of the terminal equipment can continuously work, continuously acquire the positioning information and send the positioning information to the application program until the application program is finished running. The target application program has corresponding acquired positioning information during each historical use.
Optionally, historical positioning information of the target application on the terminal device is obtained.
Historical positioning information on the terminal equipment, namely positioning information acquired by the target application program in the using process is stored on the terminal equipment. Optionally, the historical positioning information may also be uploaded to a background server corresponding to the target application program according to the setting of the target application program. The historical positioning information of the target application program on the terminal equipment is obtained, and the historical positioning information with high association degree with the behavior habit of the user of the terminal equipment can be obtained.
And S111, determining the use range information of the target application program according to the historical positioning information.
The using range information is a positioning range determined according to historical positioning information corresponding to each historical using process. And (4) each time of historical use process, namely, the use process from the time when the user starts the target application program to the time when the user quits the target application program. The historical location information includes a plurality of location information, and the usage range information may be to minimize a range including the plurality of location information. As shown in fig. 2, the black dots in the figure are a plurality of positioning information 10, and the use range information 11 determined according to the plurality of positioning information 10 is historical positioning information corresponding to one historical use process, and the use range information 11 can minimally include a plurality of positioning information 10. According to the use range information determined by the historical positioning information, the range corresponding to the frequently-used environment of the target application program can be determined.
And S112, determining the positioning mode of the target application program according to the use range information.
If it can be determined that the ranges corresponding to most of the using environments of the target application program are smaller ranges according to the using range information of the target application program, it indicates that the position of the user of the target application program is not changed greatly, so that the function of acquiring the positioning information in real time is unnecessary for the user under the condition that the position of the user is not changed greatly, and excessive power consumption is brought to the terminal device if the positioning information is acquired in real time. The positioning mode of the target application program can be determined according to the using range information, and when the positioning information is not required to be acquired in real time, the positioning mode of the target application program is set to be a low-power-consumption mode, or the positioning mode of the target application program is set to be a low-precision mode, so that the power consumption of the terminal equipment can be reduced. The low-precision mode may be to reduce the frequency of the positioning module acquiring the positioning information. The low power mode may be to turn off the positioning module.
Optionally, if the historical positioning information of the target application program on the terminal equipment is obtained; determining a positioning mode of the target application program according to the use range information, wherein the positioning mode is a positioning mode of the target application program running on the terminal equipment.
The historical positioning information of the target application program on the terminal equipment is obtained, namely the historical positioning information with higher association degree with the behavior habit of the user of the terminal equipment can be determined, the positioning mode of the target application program running on the terminal equipment is correspondingly determined according to the historical positioning information of the user of the terminal equipment, and the positioning mode of the target application program can be more accurately determined.
Optionally, the target application is an application that acquires positioning information through a positioning module of the terminal device. The Positioning module may include a GNSS (Global Navigation Satellite System) module, and the GNSS module may be a GPS (Global Positioning System) module. The positioning information acquired by the positioning module has higher precision, but the power consumption caused by the working of the positioning module is higher.
Optionally, the low power consumption mode comprises: and when receiving the positioning calling request of the target application program, determining the positioning information of the terminal equipment through the wireless connection information of the terminal equipment, and sending the positioning information to the target application program.
The Wireless connection information may be Wireless connection information that may establish a connection in a surrounding environment determined by a Wireless module of the terminal device, and may include a Wi-Fi (Wireless-Fidelity) signal and/or a base station signal. Each AP has a globally unique MAC address, and a general AP does not move for a period of time. The wireless module (such as a Wi-Fi module) of the terminal device can acquire information of wireless access points in the communication range of the terminal device, and new position information of the terminal device is calculated according to the geographical position of each wireless access point and the signal strength of each wireless access point to serve as the positioning information of the terminal device.
The wireless module (e.g., mobile communication module) of the terminal device may further communicate with different base stations to obtain downlink pilot signals of different base stations, and obtain Arrival times (TOAs, Time of Arrival) or Time Difference of Arrival (TDOA, Time Difference of Arrival) of downlink pilot signals of different base stations, and according to the Arrival times, the Time Difference of Arrival and coordinates of the base stations, a trigonometric formula estimation algorithm may be used to calculate new location information of the terminal device, which is used as the location information of the terminal device.
The positioning information of the terminal device can be determined through a sensor signal of a mobile sensor of the terminal device, the mobile sensor can comprise a gyroscope, an acceleration sensor, a gravity sensor and the like, the mobile sensor can detect the moving direction, the moving distance and the like of the terminal device, and the moving direction and the moving distance can be determined as the positioning information of the terminal device.
The positioning information of the terminal equipment is determined through the wireless connection information of the terminal equipment, and compared with the power consumption caused by the positioning information acquired through the positioning module, the power consumption of the terminal equipment is lower. Although the accuracy of determining the positioning information of the terminal device through the wireless connection information of the terminal device is lower than that of the positioning information acquired through the positioning module, the user does not need the high-accuracy positioning information when the position of the user does not change greatly. The positioning information is determined through the wireless connection information of the terminal equipment, so that the positioning requirement of the target application program can be met, and the power consumption of the terminal equipment can be reduced.
Fig. 3 is a schematic flow chart of another positioning control method provided in an embodiment of the present application, where based on the technical solution provided in the embodiment, an operation of determining the usage range information of the target application according to the historical positioning information is optimized, and optionally, as shown in fig. 3, the method includes:
and S120, acquiring historical positioning information of the target application program.
Reference may be made to the above description for specific embodiments, which are not repeated herein.
S121, determining target positioning information in the historical positioning information; the target positioning information is positioning information of which the calling duration of the target application program is greater than the set time, and the calling duration is duration of continuously calling the positioning information.
And S122, determining the using range information according to the target positioning information.
The positioning information with the calling duration longer than the set time can be the corresponding positioning information in the one-time use process, and can also be the positioning information obtained by continuously operating the target application program in the one-time use process. The continuously invoking of the positioning information may be to acquire the positioning information by continuously invoking the positioning module, or may be to determine the positioning information by the wireless connection information. The set time may be set according to system settings or different specific implementations, and the embodiments of the present application are not limited herein.
According to the target positioning information, the use range information corresponding to one use process or one continuous operation of the user can be determined, the more frequently used range information of the target application program can be determined according to the use range information of a plurality of use processes or continuous operations, and then the positioning mode of the target application program can be determined. By determining the positioning information with the calling duration longer than the set time as the target positioning information, the range information associated with the continuous behavior habits of the user can be obtained, and the accuracy of determining the use range information is improved.
And S123, determining the positioning mode of the target application program according to the use range information.
Reference may be made to the above description for specific embodiments, which are not repeated herein.
Fig. 4 is a schematic flow chart of another positioning control method provided in an embodiment of the present application, where based on the technical solution provided in any of the embodiments, an operation of determining a positioning mode of the target application according to the usage range information is optimized, and optionally, as shown in fig. 4, the method includes:
and S130, acquiring historical positioning information of the target application program.
S131, determining the use range information of the target application program according to the historical positioning information.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
S132, acquiring target range information meeting set conditions in the use range information; wherein the set condition is that the moving range is smaller than the set distance.
S133, if the proportion of the target range information in the use range information is larger than a set proportion, setting the positioning mode of the target application program to be a low power consumption mode.
The moving range is smaller than the set distance, the longest diameter of the moving range may be smaller than the set distance, and the distance between any two points on the boundary of the moving range may be smaller than the set distance. If the moving range is smaller than the set distance, the position information of the user is not changed greatly, and the user may not move at one place. The set distance may be 10 meters, 15 meters, 25 meters, etc., and the set distance may be set according to system settings or different specific implementations, and the embodiments of the present application are not limited herein. If the proportion of the target range information in the use range information is larger than the set proportion, the situation that the position of the user does not move is shown, or the situation that the target range information moves in a small range is more, the common range of the target application program is shown to be in a small range, the target application program does not need real-time positioning information or high-precision positioning information, the positioning mode of the target application program is adjusted to be a low-power-consumption mode or a low-precision mode, and the power consumption of the terminal equipment can be reduced.
Fig. 5 is a schematic flow chart of another positioning control method provided in an embodiment of the present application, and on the basis of the technical solution provided in any of the above embodiments, as shown in fig. 5, optionally, the method includes:
and S140, acquiring historical positioning information of the sample user of the target application program.
The sample users may be a set number of users among system users of the target application, and the system users may be users having corresponding identifications in the backend server of the target application. And uploading the positioning information to a background server through terminal equipment of the system user. And acquiring historical positioning information of a sample user of the target application program from a background server of the target application program. The set number may be 500, 800, or 1000, and may be set according to a user group of the target application or according to a specific implementation, and the embodiment of the present application is not limited herein.
S141, determining target positioning information of the sample user according to the historical positioning information of the sample user, wherein the target positioning information is positioning information of which the calling duration of the target application program is greater than a set time, and the calling duration is duration of continuously calling the positioning information.
S142, determining the use range information of the sample user according to the target positioning information of the sample user.
And S143, acquiring target range information meeting a set condition in the use range information of the sample user, wherein the set condition is that the moving range is smaller than a set distance.
S144, determining a target user in the sample users, wherein the proportion of the target range information of the target user in the use range information of the target user is larger than a set proportion.
S145, if the proportion of the target user in the sample users is larger than the proportion of the users, setting the positioning mode of the target application program to be a low power consumption mode.
If the proportion of the target user in the sample users is larger than the proportion of the users, that is, the more common use range of most users using the target application program in the sample users is a small range, it indicates that the target application program does not need to acquire positioning information in real time or high-precision positioning information when using the target application program for most users, and the positioning mode of the target application program can be set to a low power consumption mode to reduce the power consumption of the terminal device. The target user is determined according to the historical positioning information of the sample user, the positioning module of the target application program is determined according to the proportion of the target user, when the target application program is used by the user for the first time and the terminal device does not have the historical positioning information of the target application program, the positioning mode of the target application program is determined according to the historical positioning information of other users of the target application program, and the power consumption of the terminal device of the user is reduced.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
Fig. 6 is a block diagram of a positioning control apparatus according to an embodiment of the present application, where the apparatus may execute a positioning control method, and as shown in fig. 6, the apparatus includes:
a history information obtaining module 210, configured to obtain history positioning information of the target application;
a range information determining module 211, configured to determine, according to the historical location information, usage range information of the target application;
and a positioning control module 212, configured to determine a positioning mode of the target application according to the usage range information.
By adopting the embodiment, the more frequently used range of the target application program can be determined from the historical positioning information of the target application program, the use environment of the target application program can be judged, the positioning mode of the target application program can be further controlled, and the power consumption of the terminal equipment can be reduced.
Optionally, the history information obtaining module is specifically configured to:
acquiring historical positioning information of a target application program on terminal equipment;
correspondingly, the positioning control module is specifically configured to: and determining a positioning mode of the target application program according to the use range information, wherein the positioning mode is a positioning mode of the target application program running on the terminal equipment.
Optionally, the range information determining module is specifically configured to:
determining target positioning information in the historical positioning information; the target positioning information is positioning information of which the calling duration of the target application program is greater than set time, and the calling duration is duration of continuously calling the positioning information;
and determining the use range information according to the target positioning information.
Optionally, the positioning control module is specifically configured to:
acquiring target range information meeting set conditions in the use range information, wherein the set conditions are that the moving range is smaller than a set distance;
and if the proportion of the target range information in the use range information is greater than a set proportion, setting the positioning mode of the target application program to be a low power consumption mode.
Optionally, the history information obtaining module is specifically configured to:
acquiring historical positioning information of a sample user of a target application program;
accordingly, the range information determining module is specifically configured to:
determining target positioning information of the sample user according to the historical positioning information of the sample user, wherein the target positioning information is positioning information of which the calling duration of the target application program is greater than set time, and the calling duration is duration of continuously calling the positioning information;
determining the use range information of the sample user according to the target positioning information of the sample user;
correspondingly, the positioning control module is specifically configured to:
acquiring target range information meeting set conditions in the use range information of a sample user, wherein the set conditions are that the moving range is smaller than a set distance;
determining a target user in sample users, wherein the proportion of target range information of the target user in the use range information of the target user is greater than a set proportion;
and if the proportion of the target user in the sample users is greater than the proportion of the users, setting the positioning mode of the target application program to be a low power consumption mode.
Optionally, the target application is an application that acquires positioning information through a positioning module of the terminal device.
Optionally, the low power consumption mode comprises: and when receiving the positioning calling request of the target application program, determining the positioning information of the terminal equipment through the wireless connection information of the terminal equipment, and sending the positioning information to the target application program.
The storage medium containing the computer-executable instructions provided by the embodiments of the present application is not limited to the positioning control operation described above, and may also perform related operations in the positioning control method provided by any embodiments of the present application.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a positioning control method, the method including:
acquiring historical positioning information of a target application program;
determining the use range information of the target application program according to the historical positioning information;
and determining the positioning mode of the target application program according to the using range information.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
The embodiment of the application provides a terminal device, and the positioning control device provided by the embodiment of the application can be integrated in the terminal device.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application, where the terminal device according to the embodiment of the present application includes a memory 31, a processor 32, and a computer program stored in the memory 31 and executable by the processor, and when the processor executes the computer program, the positioning control method according to the above embodiment is implemented. The terminal equipment provided by the embodiment of the application can reduce power consumption brought by a positioning function.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 8, the terminal device may include: a casing (not shown), a touch screen (not shown), touch keys (not shown), a memory 301, a Central Processing Unit (CPU) 302 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU302 and the memory 301 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal equipment; the memory 301 is used for storing executable program codes; the CPU302 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 301 to implement the steps of:
acquiring historical positioning information of a target application program;
determining the use range information of the target application program according to the historical positioning information;
and determining the positioning mode of the target application program according to the using range information.
The terminal device further includes: peripheral interface 303, RF (Radio Frequency) circuitry 305, audio circuitry 306, speakers 311, power management chip 308, input/output (I/O) subsystems 309, touch screen 312, other input/control devices 310, and external ports 304, which communicate via one or more communication buses or signal lines 307.
It should be understood that the illustrated terminal device 300 is only one example of a terminal device, and that the terminal device 300 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the terminal device for implementing positioning control provided in this embodiment, where the terminal device is a mobile phone as an example.
A memory 301, the memory 301 being accessible by a CPU302, a peripheral interface 303, or the like, the memory 301 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 303, said peripheral interface 303 being capable of connecting input and output peripherals of the device to the CPU302 and the memory 301.
I/O subsystem 309, the I/O subsystem 309 may connect input and output peripherals on the device, such as touch screen 312 and other input/control devices 310, to the peripheral interface 303. The I/O subsystem 309 may include a display controller 3091 and one or more input controllers 3092 for controlling other input/control devices 310. Where one or more input controllers 3092 receive electrical signals from or send electrical signals to other input/control devices 310, the other input/control devices 310 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 3092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 312, which touch screen 312 is an input interface and an output interface between the user terminal device and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 3091 in the I/O subsystem 309 receives electrical signals from the touch screen 312 or transmits electrical signals to the touch screen 312. The touch screen 312 detects a contact on the touch screen, and the display controller 3091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 312, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 312 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 305 is mainly used to establish communication between the mobile phone and the wireless network (i.e., the network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 305 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 305 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 305 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 306 is mainly used to receive audio data from the peripheral interface 303, convert the audio data into an electric signal, and transmit the electric signal to the speaker 311.
And a speaker 311 for converting the voice signal received by the handset from the wireless network through the RF circuit 305 into sound and playing the sound to the user.
And the power management chip 308 is used for supplying power and managing power to the hardware connected with the CPU302, the I/O subsystem, and the peripheral interface.
The terminal equipment provided by the embodiment of the application can reduce power consumption brought by a positioning function.
The positioning control device, the storage medium and the terminal device provided in the above embodiments may execute the positioning control method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to a positioning control method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (9)

1. A positioning control method, comprising:
acquiring historical positioning information of a target application program;
determining the use range information of the target application program according to the historical positioning information;
determining a positioning mode of the target application program according to the use range information;
the application range information is a positioning range determined according to historical positioning information corresponding to each historical application process, each historical application process is a process from the time when a user starts a target application program to the time when the user quits the target application program, the historical positioning information comprises a plurality of positioning information, and the application range information is a range which minimally comprises the plurality of positioning information;
the determining the use range information of the target application program according to the historical positioning information comprises:
determining target positioning information in the historical positioning information, wherein the target positioning information is positioning information of which the calling duration of the target application program is greater than set time, and the calling duration is duration of continuously calling the positioning information;
determining use range information according to the target positioning information, wherein the use range information corresponding to one use process or one continuous operation of a user is determined according to the target positioning information;
determining a positioning mode of the target application according to the usage scope information comprises:
determining common range information of a target application program according to the use range information of a plurality of use processes or continuous operation, and determining a positioning mode of the target application program according to the common range information;
determining the positioning mode of the target application comprises: setting a positioning mode of the target application program to be a low-precision mode or a low-power consumption mode, wherein the low-precision mode comprises a mode of reducing the frequency of a positioning module of the terminal equipment for acquiring positioning information, and the low-power consumption mode comprises a mode of closing the positioning module;
determining a positioning mode of the target application according to the usage scope information further comprises:
when the target application program is used for the first time or the terminal equipment does not store the historical positioning information of the target application program, determining the positioning mode of the target application program according to the use range information corresponding to the historical positioning information of the sample user of the target application program.
2. The method of claim 1, wherein the obtaining historical positioning information for a target application comprises:
acquiring historical positioning information of a target application program on terminal equipment;
correspondingly, the determining the positioning mode of the target application program according to the use range information comprises:
and determining a positioning mode of the target application program according to the use range information, wherein the positioning mode is a positioning mode of the target application program running on the terminal equipment.
3. The method of claim 1, wherein said determining a location mode of said target application based on said usage context information comprises:
acquiring target range information meeting set conditions in the use range information, wherein the set conditions are that the moving range is smaller than a set distance;
and if the proportion of the target range information in the use range information is greater than a set proportion, setting the positioning mode of the target application program to be a low power consumption mode.
4. The method of claim 1, wherein the obtaining historical positioning information for a target application comprises:
acquiring historical positioning information of a sample user of a target application program;
correspondingly, the determining the use range information of the target application program according to the historical positioning information comprises the following steps:
determining target positioning information of the sample user according to the historical positioning information of the sample user, wherein the target positioning information is positioning information of which the calling duration of the target application program is greater than set time, and the calling duration is duration of continuously calling the positioning information;
determining the use range information of the sample user according to the target positioning information of the sample user;
correspondingly, the determining the positioning mode of the target application program according to the use range information comprises:
acquiring target range information meeting set conditions in the use range information of a sample user, wherein the set conditions are that the moving range is smaller than a set distance;
determining a target user in sample users, wherein the proportion of target range information of the target user in the use range information of the target user is greater than a set proportion;
and if the proportion of the target user in the sample users is greater than the proportion of the users, setting the positioning mode of the target application program to be a low power consumption mode.
5. The method according to any of claims 1 to 4, wherein the target application is an application for obtaining positioning information by a positioning module of a terminal device.
6. The method of claim 5, wherein the low power consumption mode comprises:
and when receiving the positioning calling request of the target application program, determining the positioning information of the terminal equipment through the wireless connection information of the terminal equipment, and sending the positioning information to the target application program.
7. A positioning control device, comprising:
the historical information acquisition module is used for acquiring historical positioning information of the target application program;
the range information determining module is used for determining the use range information of the target application program according to the historical positioning information;
the positioning control module is used for determining the positioning mode of the target application program according to the use range information;
the application range information is a positioning range determined according to historical positioning information corresponding to each historical application process, each historical application process is a process from the time when a user starts a target application program to the time when the user quits the target application program, the historical positioning information comprises a plurality of positioning information, and the application range information is a range which minimally comprises the plurality of positioning information;
the range information determination module is further configured to: determining target positioning information in the historical positioning information, wherein the target positioning information is positioning information of which the calling duration of the target application program is greater than set time, and the calling duration is duration of continuously calling the positioning information; determining use range information according to the target positioning information, wherein the use range information corresponding to one use process or one continuous operation of a user is determined according to the target positioning information;
the positioning control module is further configured to: determining common range information of a target application program according to the use range information of a plurality of use processes or continuous operation, and determining a positioning mode of the target application program according to the common range information;
determining the positioning mode of the target application comprises: setting a positioning mode of the target application program to be a low-precision mode or a low-power consumption mode, wherein the low-precision mode comprises a mode of reducing the frequency of a positioning module of the terminal equipment for acquiring positioning information, and the low-power consumption mode comprises a mode of closing the positioning module;
the positioning control module is further configured to: when the target application program is used for the first time or the terminal equipment does not store the historical positioning information of the target application program, determining the positioning mode of the target application program according to the use range information corresponding to the historical positioning information of the sample user of the target application program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the positioning control method according to any one of claims 1-6.
9. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the positioning control method according to any of claims 1-6 when executing the computer program.
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 CN108012237A (en) 2018-05-08
CN108012237B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164477B (en) * 2018-08-29 2021-05-25 维沃移动通信有限公司 Application positioning method and mobile terminal
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal 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

Citations (3)

* 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
CN103986782A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Position server and signing-in processing method
CN106605418A (en) * 2014-04-16 2017-04-26 脸谱公司 Power management of mobile clients using location-based services

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110126132A1 (en) * 2009-11-20 2011-05-26 Tyler Robert Anderson System and methods of generating social networks in virtual space
CN103596126A (en) * 2012-08-15 2014-02-19 中兴通讯股份有限公司 Personalized enhancement service method, network side device, and mobile user device
US20140179337A1 (en) * 2012-12-21 2014-06-26 Yaron Alpert Systems and methods for selecting an optimal location service
CN104581622B (en) * 2013-10-28 2018-09-07 华为技术有限公司 Location of mobile users prediction technique and equipment
CN105704657B (en) * 2014-11-27 2019-10-08 深圳市腾讯计算机***有限公司 Monitor the method and device of mobile terminal locations

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN108012237A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN108012237B (en) Positioning control method and device, storage medium and terminal equipment
KR101258013B1 (en) Location determination
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
US8504061B2 (en) Multi-tier geofence detection
KR101913535B1 (en) Positioning method and system using accompanying devices
CN108111971B (en) Positioning method, positioning device, storage medium and mobile terminal
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
CN108076507B (en) Positioning mode control method and device, storage medium and mobile terminal
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
CN106713598B (en) Instruction transmission method and device based on indication direction and intelligent equipment
WO2012064860A1 (en) Beacon-based geofencing
WO2009111127A2 (en) Location determination
WO2014114204A1 (en) Gps positioning method for mobile terminal and mobile terminal
CN108592947B (en) Gyroscope calibration method and device, storage medium and terminal equipment
CN108024209B (en) Positioning control method and device, storage medium and terminal equipment
CN108093373B (en) Positioning control method and device, storage medium and terminal equipment
CN106911956B (en) Audio data playing method and device and mobile terminal
CN108681474B (en) Application preloading method and device, storage medium and terminal
CN108769893B (en) Terminal detection method and terminal
US11284216B2 (en) Method for variable geofencing and electronic device thereof
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108055635B (en) Position information acquisition method and device, storage medium and 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