Positioning method and device, electronic equipment and storage medium
By detecting the network parameters of the terminal equipment and determining the target positioning strategy, the problems of low indoor positioning accuracy and inaccurate outdoor positioning in the prior art are solved, and high-precision indoor and outdoor positioning are achieved.
Patent Information
- Application Number
- CN202311396734.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, there are problems with low indoor positioning accuracy and inaccurate outdoor positioning.
By detecting the network parameters of the currently connected network to the terminal device, determining the corresponding target positioning strategy, and executing the policy to obtain the positioning parameters, and finally outputting navigation information.
High-precision indoor positioning and outdoor positioning are achieved to meet all current indoor positioning service needs, and at the same time solve the problem of outdoor positioning errors caused by satellite signal poor.
Smart Images

Figure CN119893661A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data communication, and in particular to a positioning method and device, an electronic device, and a storage medium. Background Art
[0002] As society enters the era of mobile Internet, positioning technology has become a hot topic in location-based services. Positioning technology is divided into outdoor positioning and indoor positioning. Outdoor positioning means that at any time, any location on the earth can observe at least 4 satellites to ensure that the satellite can collect the latitude, longitude and altitude of the observation point to facilitate navigation, positioning and timing functions; while indoor positioning refers to determining the geographical location of a mobile device or user and providing various information services related to the geographical location.
[0003] In the related technologies, for outdoor positioning technology, although the Global Navigation Satellite System (GNSS) is sufficient to provide mature positioning services in open outdoor areas, there are many limitations and shortcomings in outdoor obstructed environments if GNSS technology is relied upon alone.
[0004] Regarding indoor positioning technology, although indoor positioning services can be realized by using positioning technologies such as Bluetooth, infrared, ultra-wideband (UWB) and ultrasound, the positioning performance of different indoor positioning technologies has certain application limitations, and there is still a lack of a universal technology that can meet all current indoor positioning service needs. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides a positioning method and device, an electronic device, and a storage medium to overcome the problems of low indoor positioning accuracy and inaccurate outdoor positioning in the prior art.
[0006] According to a first aspect of an embodiment of the present disclosure, a positioning method is provided, including:
[0007] When a navigation request is detected, obtaining network parameters of the network currently connected to the terminal device;
[0008] Based on the network parameters, determining a target positioning strategy corresponding to the network parameters from a preset positioning strategy set;
[0009] Execute the target positioning strategy to obtain positioning parameters;
[0010] Based on the positioning parameters, navigation information corresponding to the navigation request is output.
[0011] In some embodiments, the network parameters include: network standard;
[0012] The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set includes:
[0013] Based on the network standard, determining a preset positioning strategy supported by the currently accessed network from the preset strategy set;
[0014] Based on the positioning accuracy of each of the preset positioning strategies, the target positioning strategy is determined from the preset positioning strategies supported by the currently accessed network.
[0015] In some embodiments, the determining the target positioning strategy from the preset positioning strategies supported by the currently accessed network based on the positioning accuracy of each preset positioning strategy includes:
[0016] Determine the expected positioning accuracy corresponding to the target usage scenario;
[0017] Determine a deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies;
[0018] The preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy.
[0019] In some embodiments, outputting navigation information corresponding to the navigation request based on the positioning parameter includes:
[0020] Matching the positioning parameters with map information in a preset map to obtain a matching result;
[0021] Based on the navigation request and the matching result, the navigation information is displayed in the preset map.
[0022] In some embodiments, the method further comprises:
[0023] When the navigation request is detected, acquiring the sensing parameters of the terminal device;
[0024] In a case where it is determined based on the sensing parameters that the terminal device is in a target usage scenario, enabling a target positioning function;
[0025] The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set includes:
[0026] When the target positioning function is successfully enabled, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters.
[0027] In some embodiments, the method further comprises:
[0028] Matching the sensing parameters with a preset map to determine whether the terminal device is in an indoor environment or in an outdoor shielded environment;
[0029] When the terminal device is in an indoor environment or in an outdoor shielded environment, it is determined that the terminal device is in the target usage scenario.
[0030] In some embodiments, the method further comprises:
[0031] When the terminal device switches from the target usage scenario to a non-target usage scenario, the target positioning function is turned off.
[0032] According to a second aspect of an embodiment of the present disclosure, there is provided a positioning device, including:
[0033] A first acquisition module is configured to acquire network parameters of a network currently connected to the terminal device when a navigation request is detected;
[0034] A first determination module is configured to determine, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set;
[0035] A second acquisition module is configured to execute the target positioning strategy to obtain positioning parameters;
[0036] The output module is configured to output navigation information corresponding to the navigation request based on the positioning parameters.
[0037] In some embodiments, the network parameters include: network standard;
[0038] The first determining module includes:
[0039] A first submodule is configured to determine, based on the network standard, a preset positioning strategy supported by the currently accessed network from the preset strategy set;
[0040] The second submodule is configured to determine the target positioning strategy from the preset positioning strategies supported by the currently accessed network based on the positioning accuracy of each of the preset positioning strategies.
[0041] In some embodiments, the second submodule is specifically configured as follows:
[0042] Determine the expected positioning accuracy corresponding to the target usage scenario;
[0043] Determine a deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies;
[0044] The preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy.
[0045] In some embodiments, the output module is specifically configured as follows:
[0046] Matching the positioning parameters with map information in a preset map to obtain a matching result;
[0047] Based on the navigation request and the matching result, the navigation information is displayed in the preset map.
[0048] In some embodiments, the positioning device further includes:
[0049] A third acquisition module is configured to acquire the sensing parameters of the terminal device when the navigation request is detected;
[0050] An enabling module, configured to enable a target positioning function when it is determined based on the sensing parameters that the terminal device is in a target usage scenario;
[0051] The first determining module is further configured to:
[0052] When the target positioning function is successfully enabled, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters.
[0053] In some embodiments, the positioning device further includes:
[0054] A second determination module is configured to match the sensing parameters with a preset map to determine whether the terminal device is in an indoor environment or in an outdoor shielded environment;
[0055] The third determination module is configured to determine that the terminal device is in the target usage scenario when the terminal device is in an indoor environment or in an outdoor shielded environment.
[0056] In some embodiments, the positioning device further includes:
[0057] The closing module is configured to close the target positioning function when the terminal device switches from the target usage scenario to the non-target usage scenario.
[0058] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0059] processor;
[0060] a memory for storing processor-executable instructions;
[0061] Wherein, the processor is configured to: when executing the executable command, implement the steps in any one of the positioning methods in the first aspect above.
[0062] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, including:
[0063] When the instructions in the storage medium are executed by a processor of an electronic device, the steps in any one of the positioning methods in the first aspect are implemented.
[0064] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0065] In the embodiment of the present disclosure, when a navigation request is detected, the network parameters of the network to which the electronic device is currently connected are first obtained; then, based on the network parameters, a target positioning strategy corresponding to the network parameters is determined from a preset positioning strategy set, and the target positioning strategy is executed to obtain the positioning parameters; finally, based on the positioning parameters, navigation information corresponding to the navigation request is output.
[0066] In this way, in the embodiment of the present disclosure, by obtaining the current network parameters of the terminal device and determining the target positioning strategy, a universal positioning technology can be formed to meet all current indoor positioning service needs. At the same time, it is helpful to solve the problem of outdoor positioning errors caused by poor satellite signals.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0069] Figure 1 is a flowchart of a positioning method according to an exemplary embodiment;
[0070] Figure 2 is a structural block diagram of an application software and a positioning module according to an exemplary embodiment;
[0071] Figure 3 is an interactive schematic diagram of a positioning technology according to an exemplary embodiment;
[0072] Figure 4 is an interactive schematic diagram of an operating system according to an exemplary embodiment;
[0073] Figure 5 is a block diagram of a positioning device according to an exemplary embodiment;
[0074] Figure 6 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 1 ;
[0075] Figure 7 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 2 . DETAILED DESCRIPTION
[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0077] Figure 1 is a flowchart of a positioning method according to an exemplary embodiment; Figure 1 As shown, the positioning method mainly includes the following steps:
[0078] In step 101, when a navigation request is detected, network parameters of a network currently accessed by the electronic device are obtained;
[0079] In step 102, based on the network parameters, a target positioning strategy corresponding to the network parameters is determined from a preset positioning strategy set.
[0080] In step 103, the target positioning strategy is executed to obtain positioning parameters;
[0081] In step 104, navigation information corresponding to the navigation request is output based on the positioning parameters.
[0082] It should be noted that the positioning method proposed in the present disclosure can be applied to electronic devices. Here, the electronic device may include: terminal devices, such as mobile terminals or fixed terminals. Among them, mobile terminals may include: mobile phones, tablet computers, laptop computers, wearable electronic devices and other devices. Fixed terminals may include: desktop computers, smart TVs, vehicle-mounted devices, etc. In other embodiments, the positioning method may also be applied to applications installed on electronic devices.
[0083] In other embodiments, the positioning method in the embodiments of the present disclosure may be configured in a positioning device, and the positioning device may be provided in an electronic device, and the embodiments of the present disclosure are not limited to this. It should be noted that the execution subject of the embodiments of the present disclosure may be a central processing unit (CPU) in an electronic device in terms of hardware, and may be a related background service in the electronic device in terms of software, and is not limited to this.
[0084] In the related technologies, indoor positioning technologies include Assisted Global Positioning Technology (Assistant-GPS, A-GPS), WIFI positioning technology and base station positioning technology, among which A-GPS positioning technology uses the base station information of electronic devices to assist in connecting to a remote server and cooperate with a receiver to achieve rapid positioning; WIFI positioning technology collects the surrounding WIFI signal strength and location information, matches the data in the WIFI fingerprint library according to the WIFI signal strength and the location information, and thus determines the location of the terminal equipment (User Equipment, UE); base station positioning technology uses communication base stations to determine the location information of the terminal equipment. It can receive signals sent by electronic devices using multiple base stations, and use the time and strength of the received signals to infer the location of the electronic device. It can also use the carrier signal sent by the base station to infer the location of the electronic device through carrier-related positioning technology.
[0085] However, the above-mentioned indoor positioning technologies have many limitations in actual indoor scene applications. For example, A-GPS positioning technology must be transmitted through multiple networks. For operators, it occupies a large amount of air resources and for users, it consumes more network traffic. At the same time, this positioning technology has poor positioning accuracy in indoor positioning scenarios and cannot achieve indoor navigation. In WIFI positioning technology, the WIFI signal strength will be affected by the environment, and electronic devices are required to be connected to the WIFI network to achieve positioning. Therefore, secondary positioning technology cannot be used in places where there is no WIFI network. In base station positioning technology, the positioning accuracy of some base stations is not high, which is not conducive to improving indoor navigation accuracy.
[0086] In addition, in outdoor positioning technology, global navigation satellite systems GNSS such as the Global Positioning System GPS and the Beidou Positioning System BDS provide users with meter-level positioning services, which basically solves the problem of accurate positioning in outdoor space.
[0087] However, due to the continued growth of skyscrapers and urban infrastructure, terminal devices will face satellite signal obstruction or multipath effects caused by special geographical environments such as "urban canyons", resulting in weakening or loss of ground GPS signals, causing a sharp drop in GNSS positioning accuracy and being unable to meet the needs of outdoor location services.
[0088] Based on this, the embodiment of the present disclosure obtains the current network parameters of the terminal device and determines the target positioning strategy from a preset positioning strategy set, thereby forming a universal positioning technology that meets all current positioning service requirements.
[0089] It should be noted that in order to improve the navigation accuracy of the terminal device, the positioning accuracy of the terminal device must be ensured first. In order to improve the positioning accuracy of the terminal device, a positioning technology that matches the current network situation can be determined based on the current network situation of the terminal device, and the positioning technology is determined as the target positioning technology. Therefore, in the embodiment of the present disclosure, when a navigation request is detected, the network parameters of the network currently connected to the terminal device are first obtained; then, based on the network parameters, the target positioning strategy is determined from the preset positioning strategy set.
[0090] Here, the preset positioning strategy set includes multiple preset positioning strategies. Based on different terminal devices, the preset positioning strategy sets may be the same or different, which is not limited in the embodiments of the present disclosure.
[0091] Meanwhile, in the target positioning strategy, one positioning technology may be used alone, or multiple positioning technologies may be used in combination, which is not limited in the embodiments of the present disclosure.
[0092] For example, Figure 2 is a structural block diagram of an application software and a positioning module according to an exemplary embodiment; Figure 2 As shown, the preset positioning strategy set may include a satellite positioning module, a 5G positioning module, a 4G positioning module and a local area network positioning module.
[0093] Among them, the positioning technologies in the satellite positioning module include: GPS positioning technology, A-GPS positioning technology and Beidou positioning technology. The positioning technologies in the 5G positioning module include: Downlink Time Difference of Arrival (DL-TDOA) positioning technology, Uplink Time Difference of Arrival (UL-TDOA) positioning technology, Uplink Angle of Arrival (UL-AOA) positioning technology, Downlink Angle of Departure (DL-AOD), Multiple cell-Round Trip Time (MULTI-CELL RTT) positioning technology and 5G enhanced cell identification (New Radio Enhanced Cell ID, NR E-CID) positioning technology. The positioning technologies in the 4G positioning module include: Cell identification (CELL-ID) positioning technology, Observed Time Difference of Arrival (OTDOA) positioning technology and Enhanced Cell ID (E-CID) positioning technology. The positioning technologies in the LAN positioning module include: WIFI positioning technology, Bluetooth positioning technology and Ultra-Wideband positioning technology.
[0094] Here, the network parameters include but are not limited to network performance and network standards, which are not limited in the embodiments of the present disclosure.
[0095] It is understandable that the indicators for measuring network performance may be parameters such as bandwidth, latency, throughput, and packet loss rate (Bandwidth Limitation).
[0096] Specifically, bandwidth refers to the maximum amount of data that can be transmitted from one point to another in a specific time, measured in bits or bytes per second. In computer networks, bandwidth refers to the maximum transmission rate of a network connection, that is, the capacity of data transmission in the network.
[0097] Latency refers to the time taken from sending data to receiving data, measured in milliseconds. Lower latency means faster response time. Throughput refers to the total amount of data that a network connection can transmit in a specific time, measured in bits or bytes. In addition to bandwidth, throughput is also related to network latency and network congestion.
[0098] Packet loss rate refers to the percentage of data packets lost during data transmission. A high packet loss rate will lead to a decrease in network connection quality, increased network latency and slower transmission rates.
[0099] It needs to be explained that when a navigation request is detected, the network status of the terminal device can be determined by acquiring the current network parameters of the terminal device; and then based on different network conditions, different target positioning strategies are selected from a preset positioning strategy set so that the target positioning strategy matches the network status of the terminal device, which is beneficial to improve the positioning accuracy of the terminal device.
[0100] In some embodiments, when a navigation request is detected, the current network condition of the terminal device is determined by obtaining parameters such as the bandwidth, network delay, and packet loss rate of the terminal device. If the current network condition is good, a target positioning strategy corresponding to the good network condition can be selected from the preset positioning strategy set.
[0101] It should be explained that in order to execute the navigation request, it is necessary to first execute the target positioning strategy to determine the current positioning parameters of the terminal device. In the embodiment of the present disclosure, after obtaining the target positioning strategy, the target positioning technology in the target positioning strategy is determined, and based on the target positioning technology, the current positioning parameters of the terminal device are obtained, that is, the current location information of the terminal device is determined.
[0102] Here, different target positioning strategies determine the positioning parameters of the terminal device in different ways.
[0103] Exemplarily, if the target positioning strategy is the downlink arrival time difference DL-TDOA positioning technology, the process of obtaining the positioning parameters of the terminal device is specifically as follows: the terminal device measures the arrival time difference (Reference Signal Time Difference, RSTD) of the downlink positioning reference signals (PositioningReference Signal, PRS) sent by two base stations, and reports to the location server. The location server obtains the positioning parameters of the terminal device based on multiple downlink reference signal time differences.
[0104] If the target positioning strategy is the uplink arrival time difference UL-TDOA positioning technology, the process of obtaining the positioning parameters of the terminal device is specifically as follows: based on the positioning technology of the uplink signal, the base station measures the uplink relative arrival time difference according to multiple enhanced sounding reference signals (SRS) at different locations, and reports it to the location server. The location server obtains the positioning parameters of the terminal device based on multiple uplink arrival time differences.
[0105] It can be understood that the positioning parameters may include latitude and longitude information as well as altitude information.
[0106] Here, the longitude and latitude information can be obtained through GPS, satellite measurement, electronic maps, etc. For some usage scenarios that require precise positioning, such as locating the location of a place, tracking the movement path of a terminal device, and three-dimensional models, the longitude and latitude information are required for precise positioning.
[0107] Therefore, in the embodiment of the present disclosure, after the positioning parameters are acquired, navigation information corresponding to the navigation request can be output based on the positioning parameters.
[0108] Here, the navigation request and the navigation information have a corresponding relationship. When the navigation request is a navigation path for a target location, the navigation information includes but is not limited to the total distance between the terminal device and the target location, the current moving speed of the terminal device, the remaining distance between the terminal device and the target location, and the estimated time for the terminal device to reach the target location, which is not limited in the embodiments of the present disclosure.
[0109] Exemplarily, taking the terminal device as a mobile phone, in order to improve the positioning accuracy of the terminal device, the 5G positioning module is encapsulated into the operating system of the terminal device, so that when a navigation request is detected, the network parameters of the network to which the terminal device is currently connected are obtained; based on the network parameters, the target positioning strategy corresponding to the network parameters is determined from the 5G module; the target positioning strategy is executed to obtain the positioning parameters; based on the positioning parameters, the navigation information corresponding to the navigation request is output.
[0110] in, Figure 3 is an interactive schematic diagram of a positioning technology according to an exemplary embodiment. Figure 3 As shown in the figure, if the target positioning strategy is the Multi-cell RTT positioning technology, the process of determining the location of the terminal device based on the Multi-cell RTT positioning technology is as follows:
[0111] Multi-cell RTT positioning technology determines the UE's position based on the time difference between the arrival time of the downlink positioning reference signal sent by the base station (g Node B, gNB) measured by the UE and the time difference between the uplink transmission of the UE, that is, the UE receiving and sending time difference; and the time difference between the arrival time of the UE's uplink environmental detection reference signal measured by the gNB and the time difference between the uplink transmission of the gNB, that is, the gNB receiving and sending time difference. This positioning technology requires precise synchronization of the UE and gNB time.
[0112] The UE reports the measured UE receive and transmit time difference to the location server (Location Management Function, LMF), and each gNB also reports the measured receive and transmit time difference to the LMF. The LMF determines the UE's location based on the UE's receive and transmit time difference and the multiple gNB receive and transmit time differences.
[0113] In the embodiment of the present disclosure, when a navigation request is detected, the network parameters of the network to which the electronic device is currently connected are first obtained; then, based on the network parameters, a target positioning strategy corresponding to the network parameters is determined from a preset positioning strategy set; and the target positioning strategy is executed to obtain the positioning parameters; finally, based on the positioning parameters, navigation information corresponding to the navigation request is output.
[0114] In this way, in the embodiment of the present disclosure, by obtaining the current network parameters of the terminal device and determining the target positioning strategy, a universal positioning technology can be formed to meet all current indoor positioning service needs. At the same time, it is helpful to solve the problem of outdoor positioning errors caused by poor satellite signals.
[0115] In some embodiments, the network parameters include: network standard;
[0116] The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set includes:
[0117] Based on the network standard, determining a preset positioning strategy supported by the currently accessed network from the preset strategy set;
[0118] Based on the positioning accuracy of each of the preset positioning strategies, the target positioning strategy is determined from the preset positioning strategies supported by the currently accessed network.
[0119] It can be understood that when the network parameter includes the network standard, the preset positioning strategy supported by the currently accessed network can be determined from the preset strategy set based on the network standard.
[0120] It should be noted that network standards refer to the communication standards and protocols between different mobile networks. Currently, there are many mobile network standards, such as Global System For Communication (GSM), Code Division Multiple Access (CDMA) and Long Term Evolution (LTE). Different network standards have different characteristics, such as transmission speed, signal coverage and call quality. Users can choose different network standards to achieve mobile communication.
[0121] Specifically, GSM is the most widely used second-generation mobile communication standard in the world, and its advantages are good call quality and wide signal coverage. CDMA excels in data transmission, and its advantages are fast transmission speed and strong signal anti-interference ability. WCDMA belongs to the third-generation mobile communication, and has the characteristics of high-speed data transmission, long-distance communication and high-quality audio transmission. LTE is a 4G network standard, and its advantages are fast data transmission speed, high spectrum efficiency and stable signal.
[0122] Exemplarily, different network standards correspond to different preset positioning strategy sets. For example, when the network standard of the terminal device is the fourth generation mobile network (i.e., 4G network), the corresponding preset positioning strategy set may be the cell identification CELL-ID positioning technology, the observed time difference of arrival OTDOA positioning technology, and the A-GPS positioning technology.
[0123] Among them, CELL-ID positioning technology can provide users with automatic positioning services without modifying terminal devices and networks. This technology mainly determines the user's location based on the ID number of the cellular cell where the mobile station is located, that is, the accuracy of CELL-ID positioning technology depends on the radius of the cellular cell.
[0124] OTDOA positioning technology is to achieve positioning by measuring the relative arrival time of pilot signals from different base stations through the mobile station. This positioning technology is a positioning technology based on the transmission time of radio waves. Although the positioning accuracy is high, it is highly dependent on time. This positioning technology only requires modifications to the network, without modifying the terminal equipment, and can directly provide services to existing users.
[0125] If the network standard of the terminal device is the fifth generation mobile network (ie 5G network), the corresponding preset positioning strategy set can be downlink arrival time DL-TDOA positioning technology, uplink arrival time UL-TDOA positioning technology, uplink arrival angle UL-AOA positioning technology and multi-cell round-trip time Multi-CELL RTT positioning technology.
[0126] It needs to be explained that since a network standard can correspond to multiple preset positioning strategies, in order to improve the positioning accuracy of the terminal device, the target positioning strategy can be determined from the preset positioning strategies supported by the currently connected network based on the positioning accuracy of each preset positioning strategy.
[0127] It can be understood that after determining the preset positioning strategy supported by the currently connected network from the preset strategy set, the positioning accuracy of each preset positioning strategy can be sorted, and the preset positioning strategy corresponding to high positioning accuracy can be obtained, and then the preset positioning strategy can be determined as the target positioning strategy.
[0128] Here, the positioning accuracy of each preset positioning strategy may be sorted in ascending order or in descending order, which is not limited in the embodiment of the present disclosure.
[0129] In the disclosed embodiment, the network parameters include: network standard; based on the network standard, determining the preset positioning strategy supported by the currently connected network from the preset strategy set; based on the positioning accuracy of each of the preset positioning strategies, determining the target positioning strategy from the preset positioning strategies supported by the currently connected network, so that according to the positioning accuracy of each preset positioning strategy, a preset positioning strategy with high positioning accuracy can be selected and determined as the target positioning strategy, which is beneficial to improving the positioning accuracy of the terminal device.
[0130] In some embodiments, the determining the target positioning strategy from the preset positioning strategies supported by the currently accessed network based on the positioning accuracy of each preset positioning strategy includes:
[0131] Determine the expected positioning accuracy corresponding to the target usage scenario;
[0132] Determine a deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies;
[0133] The preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy.
[0134] It should be explained that positioning accuracy directly affects the quality of positioning services and is the most important manifestation of positioning technology performance. The requirements for positioning accuracy largely determine the choice of positioning technology. However, the positioning accuracy of different target usage scenarios varies greatly. For example, for usage scenarios such as location-based billing or information services, it is sufficient to achieve cell-level positioning accuracy, but for usage scenarios such as emergency services and vehicle navigation, higher positioning accuracy is required.
[0135] Therefore, in order to improve the positioning accuracy of the terminal device, we can first determine the expected positioning accuracy corresponding to the target usage scenario. After obtaining the expected positioning accuracy, we can calculate the deviation value between the expected positioning accuracy and the positioning accuracy of each preset positioning strategy, and finally select the target positioning strategy that meets the target usage scenario.
[0136] It can be understood that in order to select a target positioning strategy that meets the target usage scenario, after calculating the deviation value between the expected positioning accuracy and the positioning accuracy of each preset positioning strategy, the deviation values can be sorted, and the preset positioning strategy corresponding to the smaller deviation value can be determined as the target positioning strategy.
[0137] It should be noted that in order to improve the positioning accuracy of the terminal device, a preset deviation threshold can be set. After obtaining the deviation values corresponding to each preset positioning strategy, each deviation value is compared with the preset deviation threshold, and the preset positioning strategy corresponding to the value that is less than the preset deviation threshold is determined as the target positioning strategy.
[0138] Here, the preset deviation threshold can be set arbitrarily, and the embodiment of the present disclosure is not limited to this.
[0139] In the embodiment of the present disclosure, the expected positioning accuracy corresponding to the target usage scenario is first determined; then the deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies is determined; finally, the preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy. In this way, the embodiment of the present disclosure further improves the positioning accuracy of the terminal device by determining the positioning accuracy requirement corresponding to the target usage scenario and selecting the preset positioning strategy that best meets the accuracy requirement as the target positioning strategy, thereby ensuring the navigation accuracy of the terminal device.
[0140] In some embodiments, outputting navigation information corresponding to the navigation request based on the positioning parameter includes:
[0141] Matching the positioning parameters with map information in a preset map to obtain a matching result;
[0142] Based on the navigation request and the matching result, the navigation information is displayed in the preset map.
[0143] It needs to be explained that in order to realize indoor and outdoor navigation of the terminal device, after determining the positioning parameters of the terminal device, it is necessary to match the positioning parameters with the map information in the preset map to obtain a matching result, thereby obtaining the location information of the terminal device in the preset map.
[0144] Here, the positioning parameters include but are not limited to longitude information, latitude information, and altitude information, which are not limited in the embodiments of the present disclosure.
[0145] It is understandable that the preset map is a map that corresponds to the current scene where the terminal device is located in a proportional manner. The preset map contains multiple location points, and each location point contains location information. By pairing the location information of each location point with the positioning parameters corresponding to the terminal device, the target location point that matches the terminal device can be determined.
[0146] Here, the preset map may be an indoor map or an outdoor map, which is not limited in the embodiments of the present disclosure.
[0147] It should be noted that in order to improve the navigation accuracy of the terminal device, in addition to confirming the plane position information of the terminal device in the preset map, the height information of the terminal device in the preset map should also be determined, that is, the floor information of the terminal device in the preset map should be determined, so as to execute the subsequent navigation tasks of the terminal device based on the target position information of the terminal device in the preset map.
[0148] It is understandable that after determining the target location information of the terminal device in the preset map, it is necessary to determine the target location, create an initial navigation map based on the target location information and the target location, and display the navigation information in the preset map.
[0149] It needs to be explained that compared with outdoor maps, indoor maps contain relatively less geographic information. Therefore, in actual use, users can plan navigation path information on the navigation application software and create navigation electronic maps, so that every room, every parking space and other places that need to be reached have a route to follow, thereby improving the navigation accuracy and navigation range of the terminal device.
[0150] It should be noted that during the navigation of the terminal device, in order to improve the navigation accuracy of the terminal device, it is necessary to use the target positioning strategy to continuously upload the real-time location information of the terminal device, update the target location information of the terminal device in the preset map in real time, and timely adjust the terminal device’s route for the initial navigation map, so as to complete the navigation task of the terminal device.
[0151] Exemplarily, the preset map is composed of a two-dimensional plane map and a three-dimensional perspective map, wherein the plane map contains height information in the form of attributes, and the plane map and the three-dimensional perspective map have the same geographic space coordinate system.
[0152] Each location point in the preset map has latitude, longitude and altitude information, and the target location information of the terminal device in the preset map is obtained by controlling the preset map with a scale.
[0153] Specifically: the preset map is controlled according to a first scale to roughly determine the first position information of the terminal device in the preset map; and then the preset map is controlled according to a second scale to display a portion of the preset map related to the first position information on the preset map, and the first position information of the terminal device in the preset map is accurately determined, that is, the floor information of the terminal device in the preset map is obtained, wherein the second scale is larger than the first scale.
[0154] In the disclosed embodiment, the positioning parameters are first matched with the map information in the preset map to obtain a matching result; then, based on the navigation request and the matching result, the navigation information is displayed in the preset map. In this way, after determining the positioning parameters of the terminal device, the positioning parameters are matched with the preset map, which is conducive to improving the accuracy of indoor and outdoor navigation.
[0155] In some embodiments, the method further comprises:
[0156] When the navigation request is detected, acquiring the sensing parameters of the terminal device;
[0157] In a case where it is determined based on the sensing parameters that the terminal device is in a target usage scenario, enabling a target positioning function;
[0158] The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set includes:
[0159] When the target positioning function is successfully enabled, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters.
[0160] It should be explained that in some usage scenarios, the positioning parameters of the terminal device are obtained by non-target positioning technology. In the target usage scenario, the non-target positioning technology cannot guarantee the accurate positioning of the terminal device. Therefore, when the embodiment of the present disclosure determines that the terminal device is in the target usage scenario, the target positioning function will be turned on to ensure the continuous high-precision positioning of the terminal device.
[0161] It can be understood that in order to determine whether the terminal device is in the target usage scenario, when a navigation request is detected, the sensor parameters of the terminal device can be obtained first; and then the sensor parameters can be used to further determine whether there is a situation where the terminal device is in the target usage scenario.
[0162] Here, the sensing parameters include but are not limited to the current movement direction, movement speed, and angular velocity parameters of the terminal device, etc., and the present disclosure does not limit this.
[0163] For example, when the terminal device is in a non-target usage scenario, the GPS positioning technology can be used to obtain multiple location information of the terminal device, and the movement trajectory of the terminal device can be determined based on the multiple location information. Then, based on the movement trajectory, the movement speed and movement direction of the terminal device can be determined to determine whether the terminal device is in the target usage scenario.
[0164] It can be understood that when it is determined that the terminal device is in the target usage scenario, the target positioning function is turned on; and when the target positioning function is successfully turned on, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters of the terminal device.
[0165] In the embodiment of the present disclosure, when the navigation request is detected, the sensor parameters of the terminal device are first obtained; when it is determined based on the sensor parameters that the terminal device is in a target usage scenario, the target positioning function is turned on; when the target positioning function is successfully turned on, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters, so that the target positioning function can be turned on according to the target usage scenario, and when the target positioning function is successfully turned on, the target positioning strategy is selected, thereby laying a foundation for improving the positioning accuracy of the terminal device.
[0166] In some embodiments, the method further comprises:
[0167] Matching the sensing parameters with a preset map to determine whether the terminal device is in an indoor environment or in an outdoor shielded environment;
[0168] When the terminal device is in an indoor environment or in an outdoor shielded environment, it is determined that the terminal device is in the target usage scenario.
[0169] It should be noted that in order to improve the accuracy of determining whether the terminal device is in the target usage scenario, the target usage scenario can be limited first. In the disclosed embodiment, the target usage scenario is limited to an indoor environment or an outdoor obstructed environment. After obtaining the sensing parameters corresponding to the terminal device, the sensing parameters are matched with the preset map to determine whether the terminal device is in the indoor environment or the outdoor obstructed environment, thereby determining whether the terminal device is in the target usage scenario.
[0170] Here, the outdoor shielding environment may be a tunnel environment or an environment such as an urban canyon, which is not limited in the embodiments of the present disclosure.
[0171] It is understandable that when the terminal device is in an outdoor obstructed environment, the satellite signal is poor and inaccurate outdoor positioning is likely to occur. Therefore, the outdoor obstructed environment can be selected as the target usage scenario to facilitate the determination of the terminal device in an outdoor obstructed environment. The target positioning function is turned on and the terminal device is positioned outdoors using the target positioning strategy to achieve continuous high-precision positioning outdoors.
[0172] At the same time, due to the many limitations of current indoor positioning technology, it is not conducive to improving the accuracy of indoor positioning. Therefore, the indoor environment can be selected as the target usage scenario, so that when the terminal device is determined to be in the indoor environment, the target positioning function can be turned on, and the terminal device can be positioned indoors with the target positioning strategy to achieve high-precision indoor positioning.
[0173] It needs to be explained that after obtaining the sensing parameters of the terminal device, the forward route of the terminal device for the preset map can be obtained, so that it is possible to predict whether the terminal device will be in the target usage scenario, so as to enable the target positioning function to be activated in time.
[0174] For example, Figure 2 As shown, third-party application software can be divided into international application software and domestic application software, among which international application software can include Google Mobile Service (GMS), etc., and domestic application software can include AutoNavi and Didi Chuxing, etc. The current positioning modules can be divided into satellite positioning modules, 5G positioning modules, 4G positioning modules and local area network positioning modules.
[0175] After the terminal device starts the third-party application software, different positioning strategies will be selected according to different scenarios. When the terminal device is detected in an outdoor environment and the current satellite signal is determined to be stable, GPS technology can be used directly for positioning. Based on GPS positioning technology, multiple location information of the terminal device is obtained to form the movement trajectory of the terminal device, and the sensor parameters of the terminal device are calculated. Then the sensor parameters are matched with the preset map to determine whether the terminal device is in the target usage scenario, that is, the urban canyon or tunnel area.
[0176] When the terminal device is in the target usage scenario, the target positioning function is turned on, and according to the current network standard of the terminal device, the target positioning strategy supported by the current access network is determined from the preset strategy set. The target positioning strategy is executed to locate the terminal device in real time.
[0177] In the disclosed embodiment, the sensing parameters are matched with the preset map to determine whether the terminal device is in an indoor environment or in an outdoor obstructed environment; when the terminal device is in an indoor environment or in an outdoor obstructed environment, it is determined that the terminal device is in the target usage scenario. In this way, through the matching result of the sensing parameters and the preset map, it is determined whether the terminal device is currently in the target usage scenario, thereby ensuring continuous high-precision positioning of the terminal device indoors and outdoors.
[0178] In some embodiments, the method further comprises:
[0179] When the terminal device switches from the target usage scenario to a non-target usage scenario, the target positioning function is turned off.
[0180] It should be noted that in order to achieve continuous high-precision positioning of terminal devices, when it is determined that the terminal device has switched from a target usage scenario to a non-target usage scenario, the target positioning function can be turned off and the original positioning technology can continue to be used for real-time positioning.
[0181] In some embodiments, when the terminal device is in an outdoor environment, when the satellite signal is stable and can receive more than 4 GPS satellites, based on the moving speed and direction of the terminal device and after matching with a preset map, it can be determined that the terminal device has moved away from the outdoor obstructed environment, thereby turning off the target positioning function and continuing to use GPS positioning technology for outdoor positioning, thereby achieving continuous high-precision positioning outdoors.
[0182] For example, Figure 4 is an interactive schematic diagram of an operating system according to an exemplary embodiment. Figure 4 As shown;
[0183] The application software will send a service request to the terminal device to start 5G precise positioning, and the terminal device will confirm whether the target positioning service has been turned on. After confirming to turn on the target positioning service, the terminal device will send a service notification to execute 5G precise positioning to the application software; then the application software will send an information request to obtain the location information of the terminal device, execute the target positioning strategy, obtain the location information of the terminal device in real time, and send the location information to the application software; when the application software sends a service request to stop 5G precise positioning to the terminal device, the terminal device will turn off the target positioning service.
[0184] In the embodiment of the present disclosure, when the terminal device switches from the target usage scenario to the non-target usage scenario, the target positioning function is turned off, so that when the terminal device is in the target usage scenario, the target positioning strategy is used to determine the location information of the terminal device; when the terminal device is in the non-target usage scenario, the initial positioning strategy is maintained to determine the location information of the terminal device, thereby facilitating continuous high-precision positioning outdoors.
[0185] Figure 5 is a block diagram of a positioning device according to an exemplary embodiment. Figure 5 As shown, the positioning device 400 includes:
[0186] The first acquisition module 401 is configured to acquire network parameters of the network currently connected to the terminal device when a navigation request is detected;
[0187] A first determination module 402 is configured to determine, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set;
[0188] The second acquisition module 403 is configured to execute the target positioning strategy to obtain positioning parameters;
[0189] The output module 404 is configured to output navigation information corresponding to the navigation request based on the positioning parameters.
[0190] In some embodiments, the network parameters include: network standard;
[0191] The first determining module 402 includes:
[0192] A first submodule is configured to determine, based on the network standard, a preset positioning strategy supported by the currently accessed network from the preset strategy set;
[0193] The second submodule is configured to determine the target positioning strategy from the preset positioning strategies supported by the currently accessed network based on the positioning accuracy of each of the preset positioning strategies.
[0194] In some embodiments, the second submodule is specifically configured as follows:
[0195] Determine the expected positioning accuracy corresponding to the target usage scenario;
[0196] Determine a deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies;
[0197] The preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy.
[0198] In some embodiments, the output module 404 is specifically configured to:
[0199] Matching the positioning parameters with map information in a preset map to obtain a matching result;
[0200] Based on the navigation request and the matching result, the navigation information is displayed in the preset map.
[0201] In some embodiments, the positioning device 400 further includes:
[0202] A third acquisition module is configured to acquire the sensing parameters of the terminal device when the navigation request is detected;
[0203] An enabling module, configured to enable a target positioning function when it is determined based on the sensing parameters that the terminal device is in a target usage scenario;
[0204] The first determining module 402 is further configured to:
[0205] When the target positioning function is successfully enabled, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters.
[0206] In some embodiments, the positioning device 400 further includes:
[0207] A second determination module is configured to match the sensing parameters with a preset map to determine whether the terminal device is in an indoor environment or in an outdoor shielded environment;
[0208] The third determination module is configured to determine that the terminal device is in the target usage scenario when the terminal device is in an indoor environment or in an outdoor shielded environment.
[0209] In some embodiments, the positioning device 400 further includes:
[0210] The closing module is configured to close the target positioning function when the terminal device switches from the target usage scenario to the non-target usage scenario.
[0211] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0212] Figure 6 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 1 For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0213] Reference Figure 6 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0214] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0215] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0216] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0217] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0218] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0219] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0220] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0221] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0222] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0223] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0224] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a terminal device, enables the terminal device to perform a positioning method, the method comprising:
[0225] When a navigation request is detected, obtaining network parameters of the network currently connected to the terminal device;
[0226] Based on the network parameters, determining a target positioning strategy corresponding to the network parameters from a preset positioning strategy set;
[0227] Execute the target positioning strategy to obtain positioning parameters;
[0228] Based on the positioning parameters, navigation information corresponding to the navigation request is output.
[0229] Figure 7 A hardware structure frame of an electronic device according to an exemplary embodiment is shown Figure 2 For example, the apparatus 1900 may be provided as a server. Figure 7 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method:
[0230] When a navigation request is detected, obtaining network parameters of the network currently connected to the terminal device;
[0231] Based on the network parameters, determining a target positioning strategy corresponding to the network parameters from a preset positioning strategy set;
[0232] Execute the target positioning strategy to obtain positioning parameters;
[0233] Based on the positioning parameters, navigation information corresponding to the navigation request is output.
[0234] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output (I / O) interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™, or the like.
[0235] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0236] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A positioning method, characterized in that: include: When a navigation request is detected, obtaining network parameters of the network currently connected to the terminal device; Based on the network parameters, determining a target positioning strategy corresponding to the network parameters from a preset positioning strategy set; Execute the target positioning strategy to obtain positioning parameters; Based on the positioning parameters, navigation information corresponding to the navigation request is output.
2. The method according to claim 1, characterized in that The network parameters include: network standard; The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set includes: Based on the network standard, determining a preset positioning strategy supported by the currently accessed network from the preset strategy set; Based on the positioning accuracy of each of the preset positioning strategies, the target positioning strategy is determined from the preset positioning strategies supported by the currently accessed network.
3. The method according to claim 2, characterized in that The determining the target positioning strategy from the preset positioning strategies supported by the currently accessed network based on the positioning accuracy of each preset positioning strategy includes: Determine the expected positioning accuracy corresponding to the target usage scenario; Determine a deviation value between the expected positioning accuracy and the positioning accuracy of each of the preset positioning strategies; The preset positioning strategy corresponding to the deviation value less than the preset deviation threshold is determined as the target positioning strategy.
4. The method according to any one of claims 1 to 3, characterized in that: The outputting navigation information corresponding to the navigation request based on the positioning parameter includes: Matching the positioning parameters with map information in a preset map to obtain a matching result; Based on the navigation request and the matching result, the navigation information is displayed in the preset map.
5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the navigation request is detected, acquiring the sensing parameters of the terminal device; In a case where it is determined based on the sensing parameters that the terminal device is in a target usage scenario, enabling a target positioning function; The determining, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set further includes: When the target positioning function is successfully enabled, the target positioning strategy is determined from the preset positioning strategy set based on the network parameters.
6. The method according to claim 5, characterized in that The method further comprises: Matching the sensing parameters with a preset map to determine whether the terminal device is in an indoor environment or in an outdoor shielded environment; When the terminal device is in an indoor environment or in an outdoor shielded environment, it is determined that the terminal device is in the target usage scenario.
7. The method according to claim 5, characterized in that The method further comprises: When the terminal device switches from the target usage scenario to a non-target usage scenario, the target positioning function is turned off.
8. A positioning device, characterized in that: The device comprises: A first acquisition module is configured to acquire network parameters of a network currently connected to the terminal device when a navigation request is detected; A first determination module is configured to determine, based on the network parameters, a target positioning strategy corresponding to the network parameters from a preset positioning strategy set; A second acquisition module is configured to execute the target positioning strategy to obtain positioning parameters; The output module is configured to output navigation information corresponding to the navigation request based on the positioning parameters.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: when executing the executable command, implement the steps in the positioning method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the steps in the positioning method according to any one of claims 1 to 7 are implemented.