CN109936817B - Positioning method and terminal equipment - Google Patents

Positioning method and terminal equipment Download PDF

Info

Publication number
CN109936817B
CN109936817B CN201910289649.2A CN201910289649A CN109936817B CN 109936817 B CN109936817 B CN 109936817B CN 201910289649 A CN201910289649 A CN 201910289649A CN 109936817 B CN109936817 B CN 109936817B
Authority
CN
China
Prior art keywords
positioning
navigation system
weight
geographic range
positioning navigation
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
CN201910289649.2A
Other languages
Chinese (zh)
Other versions
CN109936817A (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 CN201910289649.2A priority Critical patent/CN109936817B/en
Publication of CN109936817A publication Critical patent/CN109936817A/en
Application granted granted Critical
Publication of CN109936817B publication Critical patent/CN109936817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a positioning method and terminal equipment, wherein the method comprises the following steps: monitoring a target geographical range in which the terminal equipment is currently located; if the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range. The invention can improve the navigation positioning performance of the terminal equipment and further improve the positioning time and the positioning precision.

Description

Positioning method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a positioning method and terminal equipment.
Background
Currently, the positioning function of the terminal device (such as a mobile phone/tablet/watch) has become a standard configuration and is widely applied. With the rapid development of the global positioning navigation system, the complexity and the networking structure of the navigation system are more and more complex. Many countries and regions establish their own Positioning and Navigation systems, and besides Global Navigation systems such as the united states Global Positioning System (GPS), the russian glonass Satellite Navigation System (GLOONASS), and the european Galileo (Galileo), there are many Regional Navigation systems, such as the japanese quasi-zenith Satellite System (QZSS) Satellite-based augmentation System, the chinese beidou 2 System, and the Indian Regional Navigation Satellite System (IRNSS).
In the prior art, a terminal device supports a plurality of positioning and navigation systems, and when the positioning is performed by using the plurality of positioning and navigation systems in different areas where the terminal device is located, how to utilize the plurality of positioning and navigation systems due to differences in positioning performance of different positioning and navigation systems becomes a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention provides a positioning method and terminal equipment, and aims to solve the problem of how to enable the terminal equipment to realize better positioning performance by utilizing a plurality of positioning navigation systems due to the difference of the positioning performance of different positioning navigation systems.
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, including:
monitoring a target geographical range in which the terminal equipment is currently located;
if the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range;
and positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range.
In a second aspect, an embodiment of the present invention further provides a terminal device, including:
the monitoring module is used for monitoring the current target geographical range of the terminal equipment;
the weight determining module is used for determining the weight of each positioning navigation system corresponding to the target geographic range when the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning;
and the positioning processing module is used for positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range.
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 the above scheme of the embodiment of the invention, the target geographical range where the terminal equipment is currently located is monitored; when the target geographic range is different from the geographic range where the terminal device is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and based on the weight of each positioning navigation system, positioning the terminal equipment in the target geographic range to obtain the position information of the terminal equipment in the target geographic range, so that the navigation positioning performance of the terminal equipment can be improved, and the positioning time and the positioning precision are further improved.
Drawings
Fig. 1 is a schematic flow chart of a positioning method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure of a terminal device to which the positioning method of the present invention is applied;
fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a positioning method according to an embodiment of the present invention. The implementation of the method is described in detail below with reference to this figure.
Step 101, monitoring a target geographical range where the terminal device is currently located.
In this step, the geographic area specifically refers to a geographic area range. Such as a national geographic region or a regional region within a national jurisdiction.
It should be noted that, the target geographical range where the terminal device is currently located is monitored, and it is monitored that the terminal device is currently located at an approximate geographical position, which is not an accurate position.
And 102, if the target geographic range is different from the geographic range where the terminal device is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range.
Here, the terminal device supports a plurality of different positioning navigation systems. The positioning and navigation performance of different positioning and navigation systems in different countries or regions also differs. For example, the signal quality of the regional navigation system such as QZSS in japan, IRNSS in india, etc. is better than that of GPS in a specific area, and particularly, the QZSS is a satellite-based enhanced version of GPS in the area of japan, and the signal quality is significantly higher than that of GPS, so if the terminal device is in or close to the area of japan (such as the northeast area of china), the navigation positioning of the QZSS is emphasized.
That is, different weights may be set for different positioning and navigation systems according to the geographical range of the terminal device.
And 103, positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range.
It should be noted that, because the positioning and navigation performances of the positioning and navigation systems are different in different geographic ranges, the weight of each positioning and navigation system can be determined according to the weight of each positioning and navigation system corresponding to the target geographic range in which the terminal device is currently located, that is, in the target geographic range, according to the quality of the positioning and navigation performances, that is, the weight with good positioning and navigation performances is great, and the weight with poor positioning and navigation performances is small. Therefore, when the terminal equipment is positioned in the step, the positioning processing of the positioning navigation system with large weight can be emphasized in the current geographic range of the terminal equipment, so that the navigation positioning performance of the terminal equipment is further improved, and the terminal equipment is positioned more accurately.
According to the positioning method provided by the embodiment of the invention, the current target geographical range of the terminal equipment is monitored; when the target geographic range is different from the geographic range where the terminal device is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and based on the weight of each positioning navigation system, positioning the terminal equipment in the target geographic range to obtain the position information of the terminal equipment in the target geographic range, so that the navigation positioning performance of the terminal equipment can be improved, and the positioning time and the positioning precision are further improved.
Based on the embodiment shown in fig. 1, as a preferred implementation manner, the determining the weight of each positioning navigation system corresponding to the target geographic area in step 102 may specifically include:
determining target positioning navigation priority of each positioning navigation system corresponding to the target geographic range based on the corresponding relation between the preset geographic range and the positioning navigation priority of each positioning navigation system;
in this step, the positioning performance of the positioning navigation system with high positioning navigation priority is superior to that of the positioning navigation system with low positioning navigation priority. The positioning and navigation priorities of the positioning and navigation systems in different geographic ranges are different.
For example, when the terminal device is in a european region, the positioning and navigation priorities of the positioning and navigation system may be, in order from high to low: GPS, Galileo, GLOONASS; when the terminal equipment is in Japan, the positioning navigation priority of the position navigation system can be as follows from high to low in sequence: QZSS, GPS, GLOONASS; when the terminal equipment is in China, the positioning and navigation priorities of the positioning and navigation system can be as follows from high to low in sequence: beidou Satellite Navigation System (BDS), GPS and GLOONASS.
And determining the weight of each positioning navigation system according to the target positioning navigation priority of each positioning navigation system, wherein the weight corresponding to the positioning navigation system with high positioning navigation priority is greater than the weight corresponding to the positioning navigation system with low priority.
In this step, the terminal can automatically determine the weight of each positioning and navigation system corresponding to the priority of the target positioning and navigation system of each positioning and navigation system by presetting the corresponding relationship between the positioning and navigation priorities of the positioning and navigation systems in different geographic ranges and the weight of the positioning and navigation systems.
Of course, the user can also determine the weight of each positioning and navigation system in real time through the user input for adjusting the weight by combining the target positioning and navigation priority of each positioning and navigation system.
In the implementation manner of determining the weight of each positioning and navigation system, the weight corresponding to the positioning and navigation system with high positioning and navigation priority is greater than the weight corresponding to the positioning and navigation system with low priority, so that the positioning and navigation system with high positioning and navigation priority can be used for positioning and processing the terminal equipment in the geographical range where the terminal equipment is located in the future, the navigation and positioning performance of the terminal equipment is further improved, and the terminal equipment is positioned more accurately.
Based on the embodiment shown in fig. 1, as a preferred implementation manner, step 101 may specifically include:
acquiring geographic identification information of terminal equipment, wherein the geographic identification information comprises: a country code and/or an identifier of a geographical location of a service device, the service device being a device providing network services to the terminal device;
in this step, the geographic identification information of the terminal device is used to indicate the geographic range in which the terminal device is located.
Here, the country code is a set of geographic codes used to represent a country and an overseas territory. The country code is a short string of letters or numbers, which is convenient for data processing and communication. That is, the terminal device can know which country the terminal device is currently located in through the country code.
Specifically, the country code may be acquired through a network that provides a communication service for the terminal device. For example, the country code may be obtained through the terminal device network itself, or may be obtained through a local area network (including but not limited to WIFI/IOT/UWB, etc.), or may be obtained through network roaming, etc.
Also, the identification of the geographic location of the service device includes, but is not limited to: the method comprises the following steps of IP address, terminal equipment peripheral router MAC information (terminal equipment is connected with a wireless local area network, such as WIFI), and terminal equipment peripheral base station information (terminal equipment is connected with a mobile communication network, such as an LTE network).
And determining the current target geographical range of the terminal equipment according to the geographical identification information.
In this step, the geographical identification information is analyzed, so that the target geographical range where the terminal device is currently located can be determined.
Based on the embodiment shown in fig. 1, as an optional implementation manner, step 103 may specifically include:
acquiring navigation data of the satellites searched by each positioning navigation system based on the weight of each positioning navigation system;
the step may further specifically include:
determining hardware characteristic parameters for searching stars in each positioning navigation system based on the weight of each positioning navigation system; and/or respectively endowing the weight of each positioning navigation system to the corresponding star searching algorithm;
it should be noted that, based on the weight of each positioning and navigation system, the configuration of the hardware characteristic parameter for satellite search in the positioning and navigation system with a high weight ratio is higher than the configuration of the hardware characteristic parameter for satellite search in the positioning and navigation system with a low weight ratio, such as strong signal receiving performance, wide bandwidth and the like of the radio frequency point configured by the positioning and navigation system with a high weight ratio, so that the terminal device is more suitable for the hardware characteristic parameter of the positioning and navigation system with a higher weight.
In addition, the weights of the positioning navigation systems are respectively given to the satellite searching algorithms corresponding to the positioning navigation systems, so that the terminal equipment can preferentially search the satellites with higher weights in the galaxy, and the searching time of satellite searching is shortened.
Performing satellite search according to the hardware characteristic parameters; and/or, carrying out satellite search according to the satellite search algorithm;
and receiving navigation data transmitted by the searched satellite.
Respectively endowing the weight of each positioning navigation system to a corresponding positioning navigation algorithm;
the weights of the positioning and navigation systems are respectively given to the corresponding positioning and navigation algorithms, so that the specific position information of the terminal equipment in the target geographic range, which is obtained according to the positioning and navigation algorithm processed in the way, is more dependent on the positioning and navigation system with higher weight in the following steps, thereby improving the navigation and positioning performance of the terminal equipment and achieving the effects of further improving the positioning time and the positioning precision.
And obtaining the position information of the terminal equipment in the target geographic range according to the navigation data and the positioning navigation algorithm.
In order to facilitate the user to view the specific location of the user currently located on the electronic map of the user navigation application of the terminal device in real time, based on the embodiment shown in fig. 1, as a preferred implementation manner, after step 103, the method may further include:
the location information is marked on an electronic map for a navigation application.
In an example, as shown in fig. 2, which is a schematic diagram of a hardware structure of a terminal device applying the positioning method of the present invention, specifically, a country code change monitoring unit inside the terminal device monitors a change of a country code in real time, and if the country code is changed, the country code change monitoring unit refers to a country code corresponding to a situation that positioning performance of each positioning and Navigation System is strong, which is preset in a Global Navigation Satellite System (GNSS) weight management unit, and further assigns weights to each positioning and Navigation System (such as GPS, GLONASS, BDS, QZSS, IRNSS, and Galileo). Here, specifically, the method may include:
and the weight assignment is sent to a hardware star searching unit of the star searching management unit, and the hardware unit can better adapt to the hardware characteristic parameters of the positioning system with higher weight by adjusting the frequency point, the bandwidth and other radio frequency parameters of the hardware star searching unit.
And the weight is given to an algorithm of a software star searching unit of the star searching management unit, so that the algorithm can preferentially search satellites of a star system with higher weight in the sky.
And the weight is given to a positioning navigation algorithm unit, so that the calculated position information is more dependent on a positioning navigation system with higher weight value.
According to the positioning method provided by the embodiment of the invention, the current target geographical range of the terminal equipment is monitored; when the target geographic range is different from the geographic range where the terminal device is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and based on the weight of each positioning navigation system, positioning the terminal equipment in the target geographic range to obtain the position information of the terminal equipment in the target geographic range, so that the navigation positioning performance of the terminal equipment can be improved, and the positioning time and the positioning precision are further improved.
Based on the method, the embodiment of the invention provides the terminal equipment for realizing the method.
Fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. An embodiment of the present invention provides a terminal device 300, where the terminal device 300 may include:
the monitoring module 301 is configured to monitor a target geographic range in which the terminal device is currently located;
a weight determining module 302, configured to determine, when the target geographic range is different from a geographic range where the terminal device was located in the last positioning, a weight of each positioning navigation system corresponding to the target geographic range;
and a positioning processing module 303, configured to perform positioning processing on the terminal device within the target geographic range based on the weight of each positioning navigation system, so as to obtain location information of the terminal device within the target geographic range.
Optionally, the weight determining module 302 includes:
the priority determining unit is used for determining the target positioning navigation priority of each positioning navigation system corresponding to the target geographic range based on the corresponding relation between the preset geographic range and the positioning navigation priority of each positioning navigation system;
and the weight determining unit is used for determining the weight of each positioning navigation system according to the target positioning navigation priority of each positioning navigation system, wherein the weight corresponding to the positioning navigation system with high positioning navigation priority is greater than the weight corresponding to the positioning navigation system with low priority.
Optionally, the monitoring module 301 includes:
a first obtaining unit, configured to obtain geographic identification information of a terminal device, where the geographic identification information includes: a country code and/or an identifier of a geographical location of a service device, the service device being a device providing network services to the terminal device;
and the geographic range determining unit is used for determining the current target geographic range of the terminal equipment according to the geographic identification information.
Optionally, the positioning processing module 303 includes:
a second obtaining unit, configured to obtain navigation data of satellites searched by the respective positioning and navigation systems based on the weight of the respective positioning and navigation systems;
the first processing unit is used for respectively endowing the weights of the positioning navigation systems to the corresponding positioning navigation algorithms;
and the second processing unit is used for obtaining the position information of the terminal equipment in the target geographic range according to the navigation data and the positioning navigation algorithm.
Optionally, the second obtaining unit is specifically configured to:
determining hardware characteristic parameters for searching stars in each positioning navigation system based on the weight of each positioning navigation system; and/or respectively endowing the weight of each positioning navigation system to the corresponding star searching algorithm;
performing satellite search according to the hardware characteristic parameters; and/or, carrying out satellite search according to the satellite search algorithm;
and receiving navigation data transmitted by the searched satellite.
Optionally, the terminal device 300 further includes:
a marking module for marking the location information on an electronic map for a navigation application.
The terminal device provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described here again to avoid repetition.
According to the terminal equipment provided by the embodiment of the invention, the current target geographical range of the terminal equipment is monitored through the monitoring module; the weight determining module determines the weight of each positioning navigation system corresponding to the target geographic range when the target geographic range is different from the geographic range in which the terminal device is located when the terminal device is positioned for the last time, and the positioning processing module performs positioning processing on the terminal device within the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal device within the target geographic range.
Fig. 4 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention.
The terminal device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 4 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 device, a wearable device, a pedometer, and the like.
The processor 410 is configured to monitor a target geographic range where the terminal device is currently located; if the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range.
In the embodiment of the invention, the current target geographical range of the terminal equipment is monitored; when the target geographic range is different from the geographic range where the terminal device is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range; and based on the weight of each positioning navigation system, positioning the terminal equipment in the target geographic range to obtain the position information of the terminal equipment in the target geographic range, so that the navigation positioning performance of the terminal equipment can be improved, and the positioning time and the positioning precision are further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 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 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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 unit 401 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 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (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 506. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing 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 401 in case of the phone call mode.
The terminal device 400 further comprises at least one sensor 405, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the terminal apparatus 400 is moved 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 posture of the mobile terminal device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 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 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, 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 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the mobile terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal device, which is not limited herein.
The interface unit 408 is an interface for connecting an external device to the terminal apparatus 400. 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 408 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 400 or may be used to transmit data between the terminal apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 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 409 may include high speed random access memory, and may 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 410 is a control center of the mobile terminal device, connects various parts of the entire mobile terminal device using various interfaces and lines, and performs various functions of the mobile terminal device and processes data by running or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the mobile terminal device. Processor 410 may include one or more processing units; preferably, the processor 410 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 the processor 410.
The terminal device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, 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 device (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 (12)

1. A positioning method is applied to terminal equipment and is characterized by comprising the following steps:
monitoring a target geographical range in which the terminal equipment is currently located;
if the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning, determining the weight of each positioning navigation system corresponding to the target geographic range;
based on the weight of each positioning navigation system, positioning the terminal equipment in the target geographic range to obtain the position information of the terminal equipment in the target geographic range;
the positioning the terminal device within the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal device within the target geographic range includes:
acquiring navigation data of the satellites searched by each positioning navigation system based on the weight of each positioning navigation system;
respectively endowing the weight of each positioning navigation system to a corresponding positioning navigation algorithm;
and obtaining the position information of the terminal equipment in the target geographic range according to the navigation data and the positioning navigation algorithm.
2. The method according to claim 1, wherein the determining the weight of each positioning and navigation system corresponding to the target geographic area comprises:
determining target positioning navigation priority of each positioning navigation system corresponding to the target geographic range based on the corresponding relation between the preset geographic range and the positioning navigation priority of each positioning navigation system;
and determining the weight of each positioning navigation system according to the target positioning navigation priority of each positioning navigation system, wherein the weight corresponding to the positioning navigation system with high positioning navigation priority is greater than the weight corresponding to the positioning navigation system with low priority.
3. The method according to claim 1, wherein the monitoring of the target geographical range in which the terminal device is currently located comprises:
acquiring geographic identification information of the terminal equipment, wherein the geographic identification information comprises: a country code and/or an identifier of a geographical location of a service device, the service device being a device providing network services to the terminal device;
and determining the current target geographical range of the terminal equipment according to the geographical identification information.
4. The method according to claim 1, wherein the obtaining navigation data of the satellites searched by the respective positioning and navigation systems based on the weight of the respective positioning and navigation systems comprises:
determining hardware characteristic parameters for searching stars in each positioning navigation system based on the weight of each positioning navigation system; and/or respectively endowing the weight of each positioning navigation system to the corresponding star searching algorithm;
performing satellite search according to the hardware characteristic parameters; and/or, carrying out satellite search according to the satellite search algorithm;
and receiving navigation data transmitted by the searched satellite.
5. The positioning method according to claim 1, wherein after the positioning processing is performed on the terminal device within the target geographic range based on the weight of each positioning navigation system, and location information of the terminal device within the target geographic range is obtained, the method further comprises:
the location information is marked on an electronic map for a navigation application.
6. A terminal device, comprising:
the monitoring module is used for monitoring the current target geographical range of the terminal equipment;
the weight determining module is used for determining the weight of each positioning navigation system corresponding to the target geographic range when the target geographic range is different from the geographic range where the terminal equipment is located in the last positioning;
the positioning processing module is used for positioning the terminal equipment in the target geographic range based on the weight of each positioning navigation system to obtain the position information of the terminal equipment in the target geographic range;
the positioning processing module comprises:
a second obtaining unit, configured to obtain navigation data of satellites searched by the respective positioning and navigation systems based on the weight of the respective positioning and navigation systems;
the first processing unit is used for respectively endowing the weights of the positioning navigation systems to the corresponding positioning navigation algorithms;
and the second processing unit is used for obtaining the position information of the terminal equipment in the target geographic range according to the navigation data and the positioning navigation algorithm.
7. The terminal device of claim 6, wherein the weight determination module comprises:
the priority determining unit is used for determining the target positioning navigation priority of each positioning navigation system corresponding to the target geographic range based on the corresponding relation between the preset geographic range and the positioning navigation priority of each positioning navigation system;
and the weight determining unit is used for determining the weight of each positioning navigation system according to the target positioning navigation priority of each positioning navigation system, wherein the weight corresponding to the positioning navigation system with high positioning navigation priority is greater than the weight corresponding to the positioning navigation system with low priority.
8. The terminal device of claim 6, wherein the monitoring module comprises:
a first obtaining unit, configured to obtain geographic identification information of a terminal device, where the geographic identification information includes: a country code and/or an identifier of a geographical location of a service device, the service device being a device providing network services to the terminal device;
and the geographic range determining unit is used for determining the current target geographic range of the terminal equipment according to the geographic identification information.
9. The terminal device of claim 6, wherein the second obtaining unit is specifically configured to:
determining hardware characteristic parameters for searching stars in each positioning navigation system based on the weight of each positioning navigation system; and/or respectively endowing the weight of each positioning navigation system to the corresponding star searching algorithm;
performing satellite search according to the hardware characteristic parameters; and/or, carrying out satellite search according to the satellite search algorithm;
and receiving navigation data transmitted by the searched satellite.
10. The terminal device according to claim 6, wherein the terminal device further comprises:
a marking module for marking the location information on an electronic map for a navigation application.
11. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the positioning method according to any one of claims 1 to 5.
12. 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 5.
CN201910289649.2A 2019-04-11 2019-04-11 Positioning method and terminal equipment Active CN109936817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910289649.2A CN109936817B (en) 2019-04-11 2019-04-11 Positioning method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910289649.2A CN109936817B (en) 2019-04-11 2019-04-11 Positioning method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109936817A CN109936817A (en) 2019-06-25
CN109936817B true CN109936817B (en) 2021-01-08

Family

ID=66989732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910289649.2A Active CN109936817B (en) 2019-04-11 2019-04-11 Positioning method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109936817B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110389756A (en) * 2019-07-23 2019-10-29 深圳市元征科技股份有限公司 Software Development Kit funcall method, system and electronic equipment and medium
CN113650566A (en) * 2021-02-05 2021-11-16 北京峰智科技有限公司 Remote monitoring vehicle-mounted terminal, system and vehicle
CN115720249A (en) * 2021-08-24 2023-02-28 华为技术有限公司 Display method, electronic equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013152659A1 (en) * 2012-04-11 2013-10-17 腾讯科技(深圳)有限公司 Lbs-based prompt information output method and system, and storage medium
CN104917895A (en) * 2015-06-09 2015-09-16 小米科技有限责任公司 Positioning system selection method and device and terminal
CN106093982A (en) * 2016-06-08 2016-11-09 广东欧珀移动通信有限公司 Mobile terminal GNSS antenna system, the selection reminding method of external GNSS antenna and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013152659A1 (en) * 2012-04-11 2013-10-17 腾讯科技(深圳)有限公司 Lbs-based prompt information output method and system, and storage medium
CN104917895A (en) * 2015-06-09 2015-09-16 小米科技有限责任公司 Positioning system selection method and device and terminal
CN106093982A (en) * 2016-06-08 2016-11-09 广东欧珀移动通信有限公司 Mobile terminal GNSS antenna system, the selection reminding method of external GNSS antenna and device

Also Published As

Publication number Publication date
CN109936817A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
CN108337368B (en) Method for updating positioning data and mobile terminal
CN107943489B (en) Data sharing method and mobile terminal
CN109164477B (en) Application positioning method and mobile terminal
CN109862504B (en) Display method and terminal equipment
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN109936817B (en) Positioning method and terminal equipment
CN107888765B (en) Method for switching scene mode and mobile terminal
CN109932686B (en) Positioning method, mobile terminal and indoor positioning system
CN108495349B (en) Switching method of operator network and mobile terminal
CN109788125B (en) Interference processing method and device and mobile terminal
US11394871B2 (en) Photo taking control method and system based on mobile terminal, and storage medium
CN110855313B (en) Signal control method and electronic equipment
CN110456395B (en) Positioning method and terminal equipment
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN105303591B (en) Method, terminal and server for superimposing location information on jigsaw puzzle
WO2018145477A1 (en) Network access method and terminal
CN108769893B (en) Terminal detection method and terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN110234068B (en) Positioning method and terminal equipment
CN110536236B (en) Communication method, terminal equipment and network equipment
CN109862607B (en) Network recommendation method and mobile terminal
CN111221602A (en) Interface display method and electronic equipment
CN109932685A (en) A kind of localization method, mobile terminal and indoor locating system
CN111278154A (en) Random access method, terminal equipment and network side equipment
CN109660663B (en) Antenna adjusting 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