CN108093373B - 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
CN108093373B
CN108093373B CN201711327805.7A CN201711327805A CN108093373B CN 108093373 B CN108093373 B CN 108093373B CN 201711327805 A CN201711327805 A CN 201711327805A CN 108093373 B CN108093373 B CN 108093373B
Authority
CN
China
Prior art keywords
positioning
information
target
target application
application program
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.)
Expired - Fee Related
Application number
CN201711327805.7A
Other languages
Chinese (zh)
Other versions
CN108093373A (en
Inventor
吴丕和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711327805.7A priority Critical patent/CN108093373B/en
Publication of CN108093373A publication Critical patent/CN108093373A/en
Application granted granted Critical
Publication of CN108093373B publication Critical patent/CN108093373B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Position Fixing By Use Of Radio Waves (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 using signal strength information of the target application program according to the historical positioning information; determining a positioning mode of the target application according to the usage signal strength information. By adopting the technical scheme, the signal strength information of the more frequently used positioning 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 using signal strength information of the target application program according to the historical positioning information;
determining a positioning mode of the target application according to the usage signal strength 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 signal strength determining module is used for determining the using signal strength 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 using signal strength 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 using signal strength information of the target application program according to the historical positioning information; determining a positioning mode of the target application according to the usage signal strength information. By adopting the technical scheme, the signal strength information of the more frequently used positioning 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 data diagram using signal strength information according to an embodiment of the present disclosure;
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 application programs on the terminal device can call the positioning function of the terminal device to realize the application function, and if the positioning signal strength of the normal use environment of some applications is weak or no signal, the normal use environment of the applications is not suitable for using 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 using signal strength information of the target application program according to the historical positioning information.
The using signal strength information is the signal strength corresponding to the 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 positioning information includes a plurality of positioning information, and the usage signal strength information may be a collection of signal strengths of the plurality of positioning information. As shown in fig. 2, the horizontal axis in the figure represents different positioning information, the vertical axis represents signal strength values, the broken line S1 represents one piece of using signal strength information, and the broken line S2 represents another piece of using signal strength information. Taking the usage signal strength information S1 as an example, the usage signal strength information S1 includes signal strengths of a plurality of pieces of positioning information. The strength of the positioning information is related to the environment of the terminal equipment. For example, if the positioning module of the terminal device is used indoors for positioning, the signal of the positioning module may be affected, especially in a house constructed of reinforced concrete, the signal receiving link of the positioning module is blocked, and only the positioning information may be received through the door and window, so that the signal strength of the positioning module is weakened, the positioning accuracy is reduced, and even the situation that the signal strength is zero and the positioning module cannot be positioned may occur. Therefore, from the usage signal strength information determined from the historical positioning information, the frequently used environmental information of the target application can be determined.
And S112, determining the positioning mode of the target application program according to the using signal strength information.
If it can be determined that the signal strength information corresponding to most of the environments in which the target application program is used is relatively weak according to the signal strength information in which the target application program is used, it indicates that the environment in which the target application program is used is likely to be indoors, or that there are many obstacles, i.e., the positioning module is not suitable for positioning. If the positioning module works under the condition of weak signal strength or no signal, accurate positioning information cannot be acquired, and excessive power consumption can be brought to the terminal equipment. The positioning mode of the target application program can be determined according to the signal strength information, and when the positioning module is suitable for working in an environment, 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 using signal strength 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 obtained through the positioning module, the signal strength of the positioning module is low in the environment of the user, and the user cannot obtain the high-accuracy positioning information through the positioning module. Therefore, the positioning information is determined through the wireless connection information of the terminal equipment, 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, according to the historical positioning information, signal strength information used by the target application program 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 data of which the duration of the target application program continuously calling the positioning module is longer than the set time.
And S122, determining the signal intensity 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 signal strength information corresponding to one use process or one continuous operation of the user can be determined, the more frequent use environment of the target application program can be determined according to the use signal strength 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 time length longer than the set time as the target positioning information, whether the environment where the user is continuously located is not suitable for the positioning module to work can be determined, and the accuracy of determining the signal intensity information is improved.
S123, determining the positioning mode of the target application program according to the using signal strength 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 signal strength 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 using signal strength 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 signal strength information meeting set conditions in the using signal strength information; the setting condition is that the signal intensity value is smaller than a setting intensity value.
S133, if the proportion of the target signal strength information in the use signal strength information is larger than a set proportion, setting the positioning mode of the target application program to be a low power consumption mode.
For example, as shown in fig. 2, the vertical axis position corresponding to the dotted line in the figure is the set strength value, and the signal strength values of all the positioning information in the using signal strength information S1 are lower than the set strength value, and the using signal strength information S1 is the target signal strength information. On the other hand, if the signal strength values of all the positioning information in the used signal strength information S2 are higher than the set strength value, it indicates that the signal strength of the used signal strength information S2 is high and is not the target signal strength information.
The setting conditions may also be: the signal strength value of the positioning information with the first proportion in the using signal strength information is smaller than the set strength value. The first ratio may be 70%, 80%, 89%, or the like. If the signal strength value of individual or less positioning information in one of the used signal strength information is higher than the set strength value, but the signal strength value of the first proportion of positioning information is lower than the set strength value, the used signal strength information can be determined as the target signal strength information. The set intensity value 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 signal strength information in the using signal strength information is larger than the set proportion, the signal strength information indicating that the user is in the environment for a long time is low, and the positioning module is not suitable for working at the moment. And adjusting the positioning mode of the target application program to be a low power consumption mode or a low precision mode, so that 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 data of the target application program, and the duration of the target application program continuously calling the positioning module is longer than the set time.
And S142, determining the using signal strength information of the sample user according to the target positioning information of the sample user.
And S143, acquiring target signal strength information meeting a set condition in the use signal strength information of the sample user, wherein the set condition is that the signal strength value is smaller than a set strength value.
S144, determining a target user in the sample users, wherein the proportion of the target signal strength information of the target user in the use signal strength information of the target user is greater 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 signal intensity values of the positioning information in the use environment where most of the sample users use the target application program are all low, it indicates that the use environment of the target application program is not suitable for the operation of the positioning module, and the positioning mode of the target application program is set to be the low power consumption mode, so as 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 signal strength determining module 211, configured to determine, according to the historical positioning information, usage signal strength information of the target application;
a positioning control module 212, configured to determine a positioning mode of the target application according to the usage signal strength information.
By adopting the embodiment, the signal strength information of the more frequently used positioning 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 using signal strength information, wherein the positioning mode is a positioning mode of the target application program running on the terminal equipment.
Optionally, the signal strength determining module is specifically configured to: determining target positioning information in the historical positioning information, wherein the target positioning information is positioning data of which the duration of the target application program continuously calling a positioning module is longer than set time;
and determining the signal strength information according to the target positioning information.
Optionally, the positioning control module is specifically configured to:
acquiring target signal intensity information meeting set conditions in the using signal intensity information, wherein the set conditions are that the signal intensity value is smaller than a set intensity value;
and if the proportion of the target signal strength information in the use signal strength 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 signal strength determination 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 data of which the duration of the target application program continuously calling a positioning module is longer than a set time;
determining the using signal strength 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 signal intensity information meeting set conditions in the use signal intensity information of a sample user, wherein the set conditions are that the signal intensity value is smaller than a set intensity value;
determining a target user in sample users, wherein the proportion of target signal strength information of the target user in use signal strength 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 using signal strength information of the target application program according to the historical positioning information;
determining a positioning mode of the target application according to the usage signal strength 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 device provided by the embodiment of the application can determine the signal intensity information of the frequently used positioning of the target application program from the historical positioning information of the target application program, can judge the use environment of the target application program, can further control the positioning mode of the target application program, and can reduce the power consumption of the terminal device.
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 using signal strength information of the target application program according to the historical positioning information;
determining a positioning mode of the target application according to the usage signal strength 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 using signal strength information of the target application program according to the historical positioning information;
determining a positioning mode of the target application program according to the using signal strength information;
wherein the acquiring of the historical positioning information of the target application program comprises:
acquiring historical positioning information of a sample user of a target application program;
accordingly, the determining usage signal strength information for the target application from the historical positioning information comprises:
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 data of which the duration of the target application program continuously calling a positioning module is longer than a set time;
determining the using signal strength information of the sample user according to the target positioning information of the sample user;
accordingly, the determining a positioning mode of the target application from the usage signal strength information comprises:
acquiring target signal intensity information meeting set conditions in the use signal intensity information of a sample user, wherein the set conditions are that the signal intensity value is smaller than a set intensity value;
determining a target user in sample users, wherein the proportion of target signal strength information of the target user in use signal strength 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.
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;
accordingly, the determining a positioning mode of the target application from the usage signal strength information comprises:
and determining a positioning mode of the target application program according to the using signal strength 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 usage signal strength information for the target application from the historical positioning information comprises:
determining target positioning information in the historical positioning information, wherein the target positioning information is positioning data of which the duration of the target application program continuously calling a positioning module is longer than set time;
and determining the signal strength information according to the target positioning information.
4. The method of claim 1, wherein said determining a location mode for said target application based on said usage signal strength information comprises:
acquiring target signal intensity information meeting set conditions in the using signal intensity information, wherein the set conditions are that the signal intensity value is smaller than a set intensity value;
and if the proportion of the target signal strength information in the use signal strength information is greater than a set proportion, 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 any one of claim 1 or claim 4, 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 signal strength determining module is used for determining the using signal strength 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 using signal strength information;
the history information acquisition module is specifically configured to:
acquiring historical positioning information of a sample user of a target application program;
accordingly, the signal strength determination 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 data of which the duration of the target application program continuously calling a positioning module is longer than a set time;
determining the using signal strength 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 signal intensity information meeting set conditions in the use signal intensity information of a sample user, wherein the set conditions are that the signal intensity value is smaller than a set intensity value;
determining a target user in sample users, wherein the proportion of target signal strength information of the target user in use signal strength 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.
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.
CN201711327805.7A 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment Expired - Fee Related CN108093373B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=62174123

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108093373B (en)

Families Citing this family (3)

* 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
CN110868703B (en) * 2019-10-24 2022-07-12 深圳数位大数据科技有限公司 Method and device for ensuring signal quality of application program
CN111049601B (en) * 2019-12-23 2022-03-29 Oppo广东移动通信有限公司 Position prompting method and related equipment

Citations (5)

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

Patent Citations (5)

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

Also Published As

Publication number Publication date
CN108093373A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN109891934B (en) Positioning method and device
KR101258013B1 (en) Location determination
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
KR101913535B1 (en) Positioning method and system using accompanying devices
US10064003B2 (en) Beacon-based geofencing
CN108012237B (en) Positioning control method and device, storage medium and terminal equipment
US20140370909A1 (en) Reduced power location determinations for detecting geo-fences
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
CN108008423B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN106713598B (en) Instruction transmission method and device based on indication direction and intelligent equipment
US20160163190A1 (en) Terminal device and remote control method
CN108093373B (en) Positioning control method and device, storage medium and terminal equipment
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
CN108362310B (en) Method and device for determining geomagnetic accuracy, storage medium and 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
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
US11284216B2 (en) Method for variable geofencing and electronic device thereof
US20200280922A1 (en) Electronic device for supporting user state-based geofencing services
KR20150025930A (en) Method And System For Audio Channel Setting
CN108151730A (en) Position control method, device, storage medium and terminal device
CN108156313B (en) Positioning control method and device, storage medium and terminal equipment

Legal Events

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

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

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

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

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

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

Granted publication date: 20200915

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