CN110456395B - Positioning method and terminal equipment - Google Patents

Positioning method and terminal equipment Download PDF

Info

Publication number
CN110456395B
CN110456395B CN201910744675.XA CN201910744675A CN110456395B CN 110456395 B CN110456395 B CN 110456395B CN 201910744675 A CN201910744675 A CN 201910744675A CN 110456395 B CN110456395 B CN 110456395B
Authority
CN
China
Prior art keywords
application program
application
positioning
preset
sequence list
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
CN201910744675.XA
Other languages
Chinese (zh)
Other versions
CN110456395A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910744675.XA priority Critical patent/CN110456395B/en
Publication of CN110456395A publication Critical patent/CN110456395A/en
Priority to PCT/CN2020/101850 priority patent/WO2021027466A1/en
Application granted granted Critical
Publication of CN110456395B publication Critical patent/CN110456395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/32Multimode operation in a single same satellite system, e.g. GPS L1/L2
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/35Constructional details or hardware or software details of the signal processing chain
    • G01S19/37Hardware or software details of the signal processing chain

Abstract

The invention provides a positioning method and terminal equipment, and relates to the technical field of communication. The method is applied to the terminal equipment and comprises the following steps: receiving starting operation of a first application program; under the condition that the first application program meets a first preset condition, starting the first application program, and positioning by using a plurality of frequencies; and starting the first application program under the condition that the first application program meets a second preset condition, and positioning by using a single frequency. The scheme of the invention is used for solving the problem of power consumption waste of the terminal equipment caused by the existing undifferentiated multi-frequency positioning.

Description

Positioning method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a positioning method and a terminal device.
Background
A Positioning System (an aggregate or a device (component) associated with each other configured to determine a spatial position) is generally referred to as a Global Positioning System (Global Positioning System). In short, this is a satellite system consisting of 24 satellites covering the world. The system can ensure that 4 satellites can be observed at any point on the earth at any time, so that the satellite can acquire the longitude and latitude and the height of the observation point, and functions of navigation, positioning, time service and the like can be realized. This technique can be used to guide aircraft, ships, vehicles, and individuals to safely and accurately follow a selected route to a destination on time. Taking the GPS positioning system as an example, the current supportable frequency band is L1/L2/L5, and therefore, in order to further improve the positioning accuracy, the terminal device with the GPS positioning system can implement dual-frequency positioning of L1+ L5, L1+ L2, or L2+ L5.
However, the multi-frequency positioning method using satellite signals improves the positioning accuracy, but greatly increases the power consumption of the terminal device.
Disclosure of Invention
The embodiment of the invention provides a positioning method and terminal equipment, and aims to solve the problem of power consumption waste of the terminal equipment caused by the existing undifferentiated multi-frequency positioning.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a positioning method, applied to a terminal device, including:
receiving starting operation of a first application program;
under the condition that the first application program meets a first preset condition, starting the first application program, and positioning by using a plurality of frequencies;
and starting the first application program under the condition that the first application program meets a second preset condition, and positioning by using a single frequency.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the receiving module is used for receiving starting operation of the first application program;
the first processing module is used for starting the first application program and positioning by using a plurality of frequencies under the condition that the first application program meets a first preset condition;
and the second processing module is used for starting the first application program and positioning by using a single frequency under the condition that the first application program meets a second preset condition.
In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the positioning method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the positioning method described above.
In this way, in the embodiment of the present invention, when receiving a start operation on a first application program, a positioning manner of a terminal device is adjusted according to a preset condition that the first application program meets, and when the first application program meets a first preset condition, the first application program is started and positioned using multiple frequencies; under the condition that the first application program meets the second preset condition, the first application program is started, single frequency is used for positioning, multi-frequency positioning is adopted for the application program with high positioning accuracy requirement, single-frequency positioning is adopted for the application program with low positioning accuracy requirement, and therefore the problem that power consumption is wasted due to the fact that terminal equipment uses multi-frequency positioning indiscriminately is avoided.
Drawings
Fig. 1 is a schematic flow chart of a positioning method according to an embodiment of the present invention;
fig. 2 is one of schematic diagrams of a terminal device to which the method of the embodiment of the present invention is applied;
FIG. 3 is a second schematic diagram of a terminal device to which the method of the embodiment of the invention is applied;
FIG. 4 is a third schematic diagram of a terminal device to which the method of the embodiment of the invention is applied;
FIG. 5 is a fourth schematic diagram of a terminal device applying the method of the embodiment of the invention;
FIG. 6 is a schematic diagram illustrating an application of the positioning method according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, a positioning method according to an embodiment of the present invention is applied to a terminal device, and includes:
step 101, receiving a starting operation of a first application program.
Here, the start operation is an operation of starting an application program, and the first application program corresponding to the start operation is a target application program started by the start operation. It should be noted that the starting operation may be a starting operation of a user on the first application program, may also be a starting operation of the first application program automatically starting when a certain preset condition is met, and may also be a starting operation triggered by a system or a second application program, and the like, which is not specifically limited in this embodiment of the present invention. In this step, a start operation of the first application program is received, and thus, in the subsequent processing, the subsequent processing is performed based on the start of the first application program.
Step 102, starting the first application program under the condition that the first application program meets a first preset condition, and positioning by using a plurality of frequencies.
Here, the first preset condition is one or more preset conditions for determining whether the application needs to use multi-frequency positioning, and in step 101, when receiving a start operation for the first application, and the first application meets the first preset condition, that is, the first application has a high precision requirement for positioning, and needs to use multi-frequency positioning, the first application is started and uses multiple frequencies for positioning. That is, the positioning system of the terminal device is adjusted to the multi-frequency positioning mode, so that the positioning using multiple frequencies is realized, and the requirement of the positioning accuracy of the first application program is met. It should be noted that the positioning using the multi-frequency positioning mode may be dual-frequency positioning using L1+ L5, L1+ L2, or L2+ L5, or triple-frequency positioning using L1+ L2+ L5, which is not limited in this embodiment of the present invention.
Step 103, starting the first application program and positioning by using a single frequency under the condition that the first application program meets a second preset condition.
Here, the second preset condition is one or more preset conditions for determining whether the application needs to use single frequency for positioning, and in the case that a start operation for the first application is received via step 101, and the first application meets the second preset condition, that is, the first application has a low requirement for positioning accuracy, the first application is started and the single frequency is used for positioning. The positioning system of the terminal equipment is adjusted to be in a single-frequency positioning mode, and the preset first frequency is used for positioning so as to reduce the power consumption of the terminal equipment.
Thus, in the method of the embodiment of the present invention, through the above step 101 and step 103, in the case of receiving the start operation of the first application program, the positioning manner of the terminal device is adjusted according to the preset condition met by the first application program, and in the case that the first application program meets the first preset condition, the first application program is started and the positioning is performed by using multiple frequencies; under the condition that the first application program meets the second preset condition, the first application program is started, single frequency is used for positioning, multi-frequency positioning is adopted for the application program with high positioning accuracy requirement, single-frequency positioning is adopted for the application program with low positioning accuracy requirement, and therefore the problem that power consumption is wasted due to the fact that terminal equipment uses multi-frequency positioning indiscriminately is avoided.
For example, the terminal device uses global positioning system GPS positioning, and since the frequency band supported by GPS is L1/L2/L5, single frequency positioning and multi-frequency positioning (e.g., L1+ L5 dual frequency positioning, L1+ L2+ L5 triple frequency positioning) can be implemented on the terminal device. In this way, when the user performs an operation (startup operation) for starting up the application a, the terminal device first receives the startup operation. Then, if the application program A is a map application program, the application program A has a high requirement on positioning accuracy and meets a first preset condition, the terminal device starts the application program A and realizes multiple frequency positioning by adjusting a positioning system of the terminal device in modes of L1+ L5 double-frequency positioning and the like; if the application program a is a social application program, the requirement on the positioning accuracy is low, and the requirement meets a second preset condition, the terminal device starts the application program a, and realizes single frequency positioning by adjusting a positioning system of the terminal device in an L1 single frequency positioning manner. Therefore, specific requirements of the application program with higher positioning accuracy requirements can be ensured; for the application program with lower requirement on positioning accuracy, only a single-frequency positioning mode is used for rough positioning, so that the purpose of saving electricity is achieved.
Optionally, in this embodiment, before the starting of the first application, the method further includes:
detecting whether the first application program belongs to a first application program sequence list;
if the first application program belongs to the first application program sequence table, determining that the first application program meets a first preset condition;
and if the first application program does not belong to the first application program sequence list, determining that the first application program meets a second preset condition.
Here, the terminal device sets a first application program sequence table in advance, and by detecting whether the first application program belongs to the first application program sequence table, it can be quickly determined whether the first application program meets a first preset condition or a second preset condition, so that the processing efficiency is improved.
Optionally, the application programs in the first application program sequence list are application programs of a preset type;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring the application type of an installed application program on the terminal equipment;
and adding the application program with the application type being the preset type into the first application program sequence list.
Here, the preset first application sequence list is based on application type settings of the application program, and before detecting whether the first application program belongs to the first application sequence list, the terminal device adds the application program of which the application program is the preset type to the first application sequence list according to the application type of the application program installed in the terminal device. Of course, the process may be performed immediately after the application is installed, or may be performed when the application is used for the first time.
The application type may be a use purpose that the terminal device can achieve based on the attribute analysis of the application, such as social contact, entertainment, learning, maps, and the like. If the preset type is a map, when analyzing the attribute of an application program and knowing that the application program is a map application program, adding the application program into the first application program sequence list. In addition, the application type may also be set by the user by classifying the application, for example, if the user classifies the application in the terminal device setting interface-location mode shown in fig. 2, the application in the first application sequence list is the application corresponding to the "high-precision location" class.
In addition, optionally, the application program in the first application program sequence list is an application program in a target folder;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring first operation of a user on an icon of the first application program;
in response to the first operation, adding the first application to the target folder or removing the first application from the target folder.
Here, the first application list is set based on a target folder, and the applications in the target folder are the applications in the first application list. Therefore, the terminal device obtains a first operation of the user on the icon of the first application program, and in response to the first operation, the first application program is added to the target folder or removed from the target folder, so that the first application program and the first application program are added to or removed from the first application program sequence list.
As shown in fig. 3, for an operation (first operation) of a user dragging an icon of an application B (first application) to a target folder, the application B is added to the target folder, and correspondingly, the application B is added to the first application sequence list; for an operation (first operation) that the user drags the icon of the application B to move out of the target folder, the application B will move out of the target folder, and correspondingly, the application B will move out of the first application list.
Or, optionally, the application program in the first application program sequence list is an application program with a preset identifier;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring a second operation of the user on the icon of the first application program;
and responding to the second operation, and adding or removing the preset identification to the first application program.
Here, the first application sequence list is set based on a preset identifier of the application, wherein the preset identifier is added to the application by the user in order to promote the personalized setting of the terminal device to the user. Therefore, the terminal device may obtain a second operation of the user on the icon of the first application program, and in response to the second operation, add or remove the preset identifier to or from the first application program, so as to add or remove the first application program to or from the first application program sequence list.
As shown in fig. 4, a user presses an icon of an application program C (a first application program) for a long time, a "high position" item is displayed on one side of the icon of the application program C, and for an operation (a second operation) of clicking the "high position" item by the user, a preset identifier is added to the application program C, and as shown in fig. 5, a "high position" is displayed in the upper right corner of the icon of the application program C; or a special symbol such as a lightning bolt or an arrow is displayed at the upper right corner of the icon of the application program C. Accordingly, the application C will be added to the first application sequence list. For the application program added with the preset identifier, the user presses the icon of the application program for a long time, a low-position item is displayed on the icon side of the application program, the preset identifier of the application program is removed for the operation (second operation) that the user clicks the low-position item, the upper right corner of the icon of the application program C is removed, a high-position or special symbol (such as lightning or an arrow) is displayed, and correspondingly, the application program can move out of the first application program sequence list.
Of course, the preset identifier in this embodiment may be visually displayed on an icon of the application program, or may be displayed only on a specific setting interface for indicating the level of the positioning accuracy required by the application program.
In addition, in this embodiment, after the positioning using multiple frequencies in step 102, the method further includes:
detecting a use state of the first application program;
and under the condition that the first application program is in a background running state and the running time length is greater than or equal to the preset time length, adjusting to use a single frequency to perform positioning or stopping positioning.
Here, for a first application program located by using multiple frequencies, by detecting its use state (running state), the first application program may be adjusted to be located by using a single frequency or may be stopped when the first application program is transferred to a background running state and the running time length is greater than or equal to a preset time length. The specific adjustment refers to that the terminal device adjusts the positioning system to be single-frequency positioning with low power consumption or stops the operation of the positioning system. For example, the first application program may be adjusted to use a single frequency for positioning when the power of the terminal device is greater than or equal to a preset threshold, and the first application program may stop using the positioning function when the power of the terminal device is less than the preset threshold. If the preset duration is T, after the first application program is detected to be converted into the background running state, starting a timer, timing the time T of converting the first application program into the background running state, comparing the T with the T, and if the T is greater than the T, adjusting the positioning mode from the positioning by using a plurality of frequencies to the positioning by using a single frequency, or stopping the positioning; and if T is less than or equal to T, keeping using a plurality of frequencies for positioning.
With reference to fig. 6, the following describes the application of the method according to the embodiment of the present invention (the terminal device supports single-frequency positioning and multi-frequency positioning, where the multi-frequency positioning takes dual-frequency positioning as an example):
for an operation (such as opening map navigation software) that a user opens an application D for positioning, that is, a start operation, the terminal device receives the start operation, and determines whether the application D is in a preset white list (a first application list) of a high-precision positioning application APP, and performs positioning using multiple frequencies or performs positioning using a single frequency. Here, the high-precision positioning of the APP white list may be implemented by an application type, a target folder, or a preset identifier, which is not described herein again.
And if the application program D is in the high-precision positioning APP white list, starting and searching a second frequency signal for double-frequency positioning under the condition that the first frequency signal is defaulted for single-frequency positioning. Meanwhile, the use state of the application program D is also detected in real time, and the method is divided into the following conditions:
a. if the application program D is detected to be normally running on the interface, the current situation is kept and the double-frequency positioning function is adopted;
b. if the application program D is detected to be exited, the dual-frequency positioning function is closed to return to the initial state (positioning is not enabled or single-frequency positioning is adopted);
c. if the application program D is detected to be in the background running state, starting a timer, timing the time T (timing duration) of background running, comparing the T with the preset duration T, and if the T is greater than the T, adjusting the double-frequency positioning to be single-frequency positioning or stopping the positioning; if T is less than or equal to T, the dual-frequency positioning is maintained.
If the opened application program D is not in the high-precision positioning APP white list, high-precision positioning is not needed, the second frequency signal is turned off or not turned on, and only the first frequency is used for low-precision positioning, so that the purpose of saving power consumption is achieved.
In summary, in the method according to the embodiment of the present invention, when receiving a start operation on a first application program, a positioning manner of a terminal device is adjusted according to a preset condition that the first application program meets, and when the first application program meets the first preset condition, the first application program is started and a plurality of frequencies are used for positioning; under the condition that the first application program meets the second preset condition, the first application program is started, single frequency is used for positioning, multi-frequency positioning is adopted for the application program with high positioning accuracy requirement, single-frequency positioning is adopted for the application program with low positioning accuracy requirement, and therefore the problem that power consumption is wasted due to the fact that terminal equipment uses multi-frequency positioning indiscriminately is avoided.
Fig. 7 is a block diagram of a terminal device of an embodiment of the present invention. The terminal device 700 shown in fig. 7 includes a receiving module 710, a first processing module 720, and a second processing module 730.
A receiving module 710, configured to receive a start operation of a first application;
a first processing module 720, configured to start the first application program and perform positioning using multiple frequencies when the first application program meets a first preset condition;
the second processing module 730 is configured to, if the first application program meets a second preset condition, start the first application program and perform positioning using a single frequency.
Optionally, the terminal device further includes:
the detection module is used for detecting whether the first application program belongs to a first application program sequence list or not;
the first determining module is used for determining that the first application program meets a first preset condition if the first application program belongs to the first application program sequence list;
and the second determining module is used for determining that the first application program meets a second preset condition if the first application program does not belong to the first application program sequence list.
Optionally, the application programs in the first application program sequence list are application programs of a preset type;
the terminal device further includes:
the first acquisition module is used for acquiring the application type of the application program installed on the terminal equipment;
and the third processing module is used for adding the application program with the application type being the preset type into the first application program sequence list.
Optionally, the application program in the first application program sequence list is an application program in a target folder;
the terminal device further includes:
the second acquisition module is used for acquiring a first operation of the user on the icon of the first application program;
a fourth processing module, configured to add the first application to the target folder or remove the first application from the target folder in response to the first operation.
Optionally, the application program in the first application program sequence list is an application program with a preset identifier;
the terminal device further includes:
the third acquisition module is used for acquiring a second operation of the user on the icon of the first application program;
and the fifth processing module is used for responding to the second operation and adding or removing the preset identification to the first application program.
Optionally, the terminal device further includes:
the state detection module is used for detecting the use state of the first application program;
and the sixth processing module is used for adjusting to use a single frequency to perform positioning or stopping positioning under the condition that the first application program is in a background running state and the running time length is greater than or equal to the preset time length.
The terminal device 700 can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition. In the terminal device of the embodiment of the present invention, when receiving a start operation for a first application program, a positioning manner of the terminal device is adjusted according to a preset condition met by the first application program, and when the first application program meets the first preset condition, the first application program is started and positioned by using a plurality of frequencies; under the condition that the first application program meets the second preset condition, the first application program is started, single frequency is used for positioning, multi-frequency positioning is adopted for the application program with high positioning accuracy requirement, single-frequency positioning is adopted for the application program with low positioning accuracy requirement, and therefore the problem that power consumption is wasted due to the fact that terminal equipment uses multi-frequency positioning indiscriminately is avoided.
Fig. 8 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to receive a start operation of a first application program; under the condition that the first application program meets a first preset condition, starting the first application program, and positioning by using a plurality of frequencies; and starting the first application program under the condition that the first application program meets a second preset condition, and positioning by using a single frequency.
It can be seen that the terminal device adjusts the positioning mode of the terminal device according to the preset condition met by the first application program when receiving the starting operation of the first application program, and starts the first application program and performs positioning by using a plurality of frequencies when the first application program meets the first preset condition; under the condition that the first application program meets the second preset condition, the first application program is started, single frequency is used for positioning, multi-frequency positioning is adopted for the application program with high positioning accuracy requirement, single-frequency positioning is adopted for the application program with low positioning accuracy requirement, and therefore the problem that power consumption is wasted due to the fact that terminal equipment uses multi-frequency positioning indiscriminately is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The terminal device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the terminal device 800 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 is operable to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the terminal device, and this is not limited herein.
The interface unit 808 is an interface for connecting an external device to the terminal apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 800 or may be used to transmit data between the terminal apparatus 800 and an external device.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the terminal device, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby performing overall monitoring of the terminal device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Terminal device 800 may also include a power supply 811 (such as a battery) for powering the various components, and preferably, power supply 811 may be logically coupled to processor 810 via a power management system to provide management of charging, discharging, and power consumption via the power management system.
In addition, the terminal device 800 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the foregoing positioning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing positioning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A positioning method is applied to terminal equipment and is characterized by comprising the following steps:
detecting whether the first application program belongs to a first application program sequence list;
if the first application program belongs to the first application program sequence table, determining that the first application program meets a first preset condition;
if the first application program does not belong to the first application program sequence list, determining that the first application program meets a second preset condition;
receiving starting operation of a first application program;
under the condition that the first application program meets a first preset condition, starting the first application program, and positioning by using a plurality of frequencies;
under the condition that the first application program meets a second preset condition, starting the first application program, and positioning by using a single frequency;
after the positioning using the plurality of frequencies, the method further comprises:
detecting a use state of the first application program;
when detecting that the first application program is normally running on the interface, keeping adopting the plurality of frequency positioning functions;
when the first application program is detected to be exited, closing the multiple frequency positioning functions, and adjusting to use a single frequency for positioning or stopping positioning;
and under the condition that the first application program is in a background running state and the running time length is greater than or equal to the preset time length, adjusting to use a single frequency for positioning.
2. The method according to claim 1, wherein the application in the first application sequence list is a preset type of application;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring the application type of an installed application program on the terminal equipment;
and adding the application program with the application type being the preset type into the first application program sequence list.
3. The method of claim 1, wherein the application in the first application sequence list is an application in a target folder;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring first operation of a user on an icon of the first application program;
in response to the first operation, adding the first application to the target folder or removing the first application from the target folder.
4. The method according to claim 1, wherein the application programs in the first application program sequence list are application programs with preset identifications;
before the detecting whether the first application belongs to the first application sequence list, the method further comprises:
acquiring a second operation of the user on the icon of the first application program;
and responding to the second operation, and adding or removing the preset identification to the first application program.
5. A terminal device, comprising:
the detection module is used for detecting whether the first application program belongs to the first application program sequence list or not;
the first determining module is used for determining that the first application program meets a first preset condition if the first application program belongs to the first application program sequence list;
the second determining module is used for determining that the first application program meets a second preset condition if the first application program does not belong to the first application program sequence list;
the receiving module is used for receiving starting operation of the first application program;
the first processing module is used for starting the first application program and positioning by using a plurality of frequencies under the condition that the first application program meets a first preset condition;
the second processing module is used for starting the first application program and positioning by using a single frequency under the condition that the first application program meets a second preset condition;
the state detection module is used for detecting the use state of the first application program which is positioned by using a plurality of frequencies;
the sixth processing module is used for keeping adopting the multiple frequency positioning functions when detecting that the first application program which is positioned by using multiple frequencies is normally running on an interface;
the sixth processing module is further configured to, when detecting that the first application performing positioning using multiple frequencies exits, close the multiple frequency positioning functions, adjust the multiple frequency positioning functions to perform positioning using a single frequency, or stop positioning;
the sixth processing module is further configured to adjust the first application program, which is located by using multiple frequencies, to be located by using a single frequency when the first application program is in a background running state and a running duration is greater than or equal to a preset duration.
6. The terminal device according to claim 5, wherein the application in the first application sequence list is a preset type of application;
the terminal device further includes:
the first acquisition module is used for acquiring the application type of the application program installed on the terminal equipment;
and the third processing module is used for adding the application program with the application type being the preset type into the first application program sequence list.
7. The terminal device according to claim 5, wherein the application in the first application sequence list is an application in a target folder;
the terminal device further includes:
the second acquisition module is used for acquiring a first operation of the user on the icon of the first application program;
a fourth processing module, configured to add the first application to the target folder or remove the first application from the target folder in response to the first operation.
8. The terminal device according to claim 5, wherein the application program in the first application program sequence list is an application program with a preset identifier;
the terminal device further includes:
the third acquisition module is used for acquiring a second operation of the user on the icon of the first application program;
and the fifth processing module is used for responding to the second operation and adding or removing the preset identification to the first application program.
9. Terminal device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the positioning method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the positioning method according to any one of claims 1 to 4.
CN201910744675.XA 2019-08-13 2019-08-13 Positioning method and terminal equipment Active CN110456395B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910744675.XA CN110456395B (en) 2019-08-13 2019-08-13 Positioning method and terminal equipment
PCT/CN2020/101850 WO2021027466A1 (en) 2019-08-13 2020-07-14 Positioning method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910744675.XA CN110456395B (en) 2019-08-13 2019-08-13 Positioning method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110456395A CN110456395A (en) 2019-11-15
CN110456395B true CN110456395B (en) 2022-03-04

Family

ID=68486221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910744675.XA Active CN110456395B (en) 2019-08-13 2019-08-13 Positioning method and terminal equipment

Country Status (2)

Country Link
CN (1) CN110456395B (en)
WO (1) WO2021027466A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal equipment
CN111245450A (en) * 2020-03-13 2020-06-05 华为技术有限公司 Intelligent wearable device
CN111610543B (en) * 2020-06-23 2023-08-22 湖南国科微电子股份有限公司 Low-power consumption processing method, device, positioning system and storage medium
CN113473362A (en) * 2021-06-29 2021-10-01 北京小米移动软件有限公司 Positioning method, positioning device and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645948A (en) * 2001-11-30 2005-07-27 日本电气株式会社 Power saving method of mobile terminal
CA2773548A1 (en) * 2011-04-14 2012-10-14 Thales Dual-frequency receiver for satellite-based positioning and associated method of reception
CN103583065A (en) * 2011-04-20 2014-02-12 高通股份有限公司 Switching between radio access technologies at a multi-mode access point
CN105223593A (en) * 2015-09-17 2016-01-06 北京奇虎科技有限公司 Terminal positioning frequency adjustment method, system and positioning interval control method, system
CN106054219A (en) * 2015-04-17 2016-10-26 卡西欧计算机株式会社 Electronic device and positioning control method
CN107704754A (en) * 2017-08-22 2018-02-16 努比亚技术有限公司 A kind of terminal control method and device, computer-readable recording medium
CN107809526A (en) * 2017-09-28 2018-03-16 努比亚技术有限公司 End application sorting technique, mobile terminal and computer-readable recording medium
CN108008423A (en) * 2017-12-13 2018-05-08 广东欧珀移动通信有限公司 Control method, device, storage medium and mobile terminal based on locating module
CN108012237A (en) * 2017-12-13 2018-05-08 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108055644A (en) * 2017-12-13 2018-05-18 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108151730A (en) * 2017-12-13 2018-06-12 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108363082A (en) * 2018-02-02 2018-08-03 上海康斐信息技术有限公司 A kind of method and device reducing GPS positioning power consumption
CN108931793A (en) * 2018-08-09 2018-12-04 深圳普创天信科技发展有限公司 Intelligent positioner, positioning operating mode method of adjustment
CN109581437A (en) * 2018-12-07 2019-04-05 歌尔科技有限公司 A kind of wearable device and its localization method, device
CN109975843A (en) * 2019-04-02 2019-07-05 甄十信息科技(上海)有限公司 The power-saving method and equipment of GNSS in location watch

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8045995B2 (en) * 2007-05-31 2011-10-25 Yahoo! Inc. Centralized location broker
US20090270108A1 (en) * 2008-04-28 2009-10-29 Sharp Laboratories Of America, Inc. Systems and methods for measuring channel quality for persistent scheduled user equipment
US9151826B2 (en) * 2012-06-08 2015-10-06 Symbol Technologies, Llc Locationing via phase difference correlation between two frequency pulses derived from a single frequency emitter ultrasonic burst
CN105517145A (en) * 2015-11-27 2016-04-20 深圳市金溢科技股份有限公司 Vehicle wireless positioning method, wireless positioning base stations and system
CN105933521A (en) * 2016-04-22 2016-09-07 广东小天才科技有限公司 Mobile terminal positioning mode selection method and device
CN108076429A (en) * 2017-12-13 2018-05-25 广东欧珀移动通信有限公司 Localization method, device, storage medium and mobile terminal
CN109164477B (en) * 2018-08-29 2021-05-25 维沃移动通信有限公司 Application positioning method and mobile terminal
CN110069120B (en) * 2019-04-30 2021-04-20 满帮信息咨询有限公司 Positioning equipment control method, system, equipment and medium based on network connection cooperation
CN110456395B (en) * 2019-08-13 2022-03-04 维沃移动通信有限公司 Positioning method and terminal equipment
CN111399013B (en) * 2020-03-20 2023-07-18 Oppo广东移动通信有限公司 Positioning method, positioning device, terminal and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645948A (en) * 2001-11-30 2005-07-27 日本电气株式会社 Power saving method of mobile terminal
CA2773548A1 (en) * 2011-04-14 2012-10-14 Thales Dual-frequency receiver for satellite-based positioning and associated method of reception
CN103583065A (en) * 2011-04-20 2014-02-12 高通股份有限公司 Switching between radio access technologies at a multi-mode access point
CN106851760A (en) * 2011-04-20 2017-06-13 高通股份有限公司 The switching between wireless access technology at multi-mode access point
CN106054219A (en) * 2015-04-17 2016-10-26 卡西欧计算机株式会社 Electronic device and positioning control method
CN105223593A (en) * 2015-09-17 2016-01-06 北京奇虎科技有限公司 Terminal positioning frequency adjustment method, system and positioning interval control method, system
CN107704754A (en) * 2017-08-22 2018-02-16 努比亚技术有限公司 A kind of terminal control method and device, computer-readable recording medium
CN107809526A (en) * 2017-09-28 2018-03-16 努比亚技术有限公司 End application sorting technique, mobile terminal and computer-readable recording medium
CN108008423A (en) * 2017-12-13 2018-05-08 广东欧珀移动通信有限公司 Control method, device, storage medium and mobile terminal based on locating module
CN108012237A (en) * 2017-12-13 2018-05-08 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108055644A (en) * 2017-12-13 2018-05-18 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108151730A (en) * 2017-12-13 2018-06-12 广东欧珀移动通信有限公司 Position control method, device, storage medium and terminal device
CN108363082A (en) * 2018-02-02 2018-08-03 上海康斐信息技术有限公司 A kind of method and device reducing GPS positioning power consumption
CN108931793A (en) * 2018-08-09 2018-12-04 深圳普创天信科技发展有限公司 Intelligent positioner, positioning operating mode method of adjustment
CN109581437A (en) * 2018-12-07 2019-04-05 歌尔科技有限公司 A kind of wearable device and its localization method, device
CN109975843A (en) * 2019-04-02 2019-07-05 甄十信息科技(上海)有限公司 The power-saving method and equipment of GNSS in location watch

Also Published As

Publication number Publication date
CN110456395A (en) 2019-11-15
WO2021027466A1 (en) 2021-02-18

Similar Documents

Publication Publication Date Title
CN110456395B (en) Positioning method and terminal equipment
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN107911812B (en) Method for adjusting preferred public land mobile network PPLMN list and mobile terminal
CN108495349B (en) Switching method of operator network and mobile terminal
CN109284144B (en) Fast application processing method and mobile terminal
US10636228B2 (en) Method, device, and system for processing vehicle diagnosis and information
CN110308834B (en) Setting method of application icon display mode and terminal
CN109523253B (en) Payment method and device
CN108920572B (en) Bus information processing method and mobile terminal
US11131557B2 (en) Full-vision navigation and positioning method, intelligent terminal and storage device
CN108984066B (en) Application icon display method and mobile terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN108769893B (en) Terminal detection method and terminal
CN110691102A (en) Information sharing method, electronic equipment and server
CN110234068B (en) Positioning method and terminal equipment
CN111107219B (en) Control method and electronic equipment
CN110536236B (en) Communication method, terminal equipment and network equipment
CN110096203B (en) Screenshot method and mobile terminal
CN109005297B (en) Display method of navigation application and mobile terminal
CN108879856B (en) Charging method and terminal
CN108089935B (en) Application program management method and mobile terminal
CN110824516B (en) Positioning method and electronic equipment
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN109618278B (en) Positioning method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant