Terminal positioning method and device of mobile terminal and electronic equipment
By determining and selecting satellite channels that meet the preset signal conditions in the mobile terminal and closing other channels, the problem of high power consumption of mobile terminals when using multiple satellite systems is solved, extending the working time of the terminal and ensuring positioning Accuracy.
Patent Information
- Application Number
- CN202411544832.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-11
AI Technical Summary
When mobile terminals use multiple satellite systems for positioning, their power consumption is high, resulting in short working time.
By determining the satellite channels that meet the preset signal conditions, K channels are selected as the target satellite channels, and other channels are closed, and positioning is only done through the target satellite channels.
It reduces the power consumption of the terminal, extends the working time of the terminal, and ensures positioning accuracy.
Smart Images

Figure CN119414431A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite positioning, and in particular to a terminal positioning method, device and electronic device for a mobile terminal. Background Art
[0002] The terminal has a satellite positioning function. If multiple satellite systems are to be used for positioning, the terminal needs to open more channels to receive more satellite signals. The terminal's computing power will increase significantly, which will greatly increase the terminal's power consumption and shorten the terminal's usage time.
[0003] Therefore, how to reduce the power consumption of a terminal using a GNSS (Global Navigation Satellite System) and increase the standby and working time of the terminal has become an issue that needs to be urgently addressed. Summary of the invention
[0004] The embodiments of the present application provide a terminal positioning method, device and electronic device for a mobile terminal, so as to at least solve the problem that the terminal positioning method for a mobile terminal in the related art has a short working time due to high power consumption.
[0005] According to one aspect of an embodiment of the present application, a terminal positioning method for a mobile terminal is provided, the method comprising: in a case where the mobile terminal is successfully positioned by a target satellite system, determining satellite channels in the satellite channels of the target satellite system that meet a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold; if the number of satellite channels that meet the preset signal condition is greater than or equal to a preset number, selecting K satellite channels from the satellite channels that meet the preset signal condition to obtain a group of target satellite channels, wherein K is a positive integer greater than or equal to 4; closing other satellite channels in the satellite channels of the target satellite system except the group of target satellite channels; and performing terminal positioning on the mobile terminal through satellite signals acquired by the group of target satellite channels.
[0006] According to another aspect of an embodiment of the present application, a terminal positioning method device for a mobile terminal is also provided, the device comprising: a determination unit, for determining, when the mobile terminal is successfully positioned through a target satellite system, a satellite channel in the satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that the signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold; a selection unit, for selecting K satellite channels from the satellite channels that meet the preset signal condition if the number of satellite channels that meet the preset signal condition is greater than or equal to a preset number, to obtain a group of target satellite channels, wherein K is a positive integer greater than or equal to 4; a first closing unit, for closing other satellite channels in the satellite channels of the target satellite system except for the group of target satellite channels; and a positioning unit, for performing terminal positioning on the mobile terminal through satellite signals acquired through the group of target satellite channels.
[0007] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the terminal positioning method of the mobile terminal when running.
[0008] According to another aspect of the embodiment of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the terminal positioning method of the mobile terminal as described above.
[0009] In an embodiment of the present application, a method of dynamically adjusting the satellite channels to be used based on the signal quality of the satellite channels is adopted. When the signal quality of the satellite channels is good, at least some of the satellite channels are turned off. This can save the amount of calculation, reduce the power consumption of the terminal, and increase the working time of the terminal, thereby solving the problem of short working time due to high power consumption in the terminal positioning method of the mobile terminal in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0011] Figure 1 is a schematic diagram of an application environment of an optional terminal positioning method for a mobile terminal according to an embodiment of the present application;
[0012] Figure 2is a flow chart of an optional terminal positioning method for a mobile terminal according to an embodiment of the present application;
[0013] Figure 3 is a schematic diagram of satellite positions corresponding to an optional set of target satellite channels according to an embodiment of the present application;
[0014] Figure 4 is a flow chart of another optional terminal positioning method for a mobile terminal according to an embodiment of the present application;
[0015] Figure 5 is a flow chart of another optional terminal positioning method for a mobile terminal according to an embodiment of the present application;
[0016] Figure 6 is a structural schematic diagram of an optional terminal positioning method and device for a mobile terminal according to an embodiment of the present application;
[0017] Figure 7 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] According to one aspect of an embodiment of the present application, a terminal positioning method for a mobile terminal is provided. Optionally, as an optional implementation, the terminal positioning method for a mobile terminal can be applied to, but is not limited to, Figure 1In the hardware environment shown in FIG. 1 , the terminal device 102 and the satellite 104 may be a device equipped with a positioning module. The terminal positioning method of the mobile terminal of the embodiment of the present application may be executed by the terminal device 102. Figure 2 is a flow chart of an optional terminal positioning method for a mobile terminal according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:
[0021] Step S202, when the mobile terminal is successfully positioned by the target satellite system, determining a satellite channel in the satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold;
[0022] Step S204, if the number of satellite channels satisfying the preset signal condition is greater than or equal to the preset number, K satellite channels are selected from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels, where K is a positive integer greater than or equal to 4;
[0023] Step S206, shutting down the satellite channels of the target satellite system except for a group of target satellite channels;
[0024] Step S208: positioning the mobile terminal using satellite signals acquired through a group of target satellite channels.
[0025] The terminal positioning method of the mobile terminal in this embodiment can be applied to the field of satellite positioning, and applied to the scenario of terminal positioning based on GNSS (Global Navigation Satellite System). The mobile terminal can be a terminal device with a positioning function, for example, an intercom terminal equipped with a positioning module, or other mobile terminals with positioning requirements. GNSS is a technology that uses radio signals transmitted by satellites for navigation, positioning and measurement. There are many types of GNSS systems, for example, GPS (Global Positioning System) (United States), GLONASS (Global Navigation Satellite System) (Russia), Galileo (Galileo Satellite Navigation System) (Europe), BeiDou (BeiDou Navigation Satellite System, Beidou Navigation Satellite System, abbreviated as BD) (China), QZSS (Quasi-Zenith Satellite System) (Japan), NAVIC (Navigation with Indian Constellation) (India) and other satellite systems, which determine the position, speed, time and other information of the receiver (for example, a mobile terminal) by receiving signals transmitted by satellites, and are widely used in transportation, aerospace, map making, precision agriculture, earthquake monitoring and other fields.
[0026] In the related technology, most mobile terminals have satellite positioning functions. If multiple satellite systems are used for positioning, the mobile terminal needs to open more channels to receive more satellite signals, which greatly increases the terminal's computing power, greatly increasing the terminal's power consumption and shortening the terminal's usage time. Therefore, how to reduce the power consumption of mobile terminals using GNSS and increase the standby and working time of mobile terminals has become an urgent problem to be solved.
[0027] In order to solve at least some of the above problems, in this example, positioning environment judgment, minimum mode judgment, satellite channel screening, redundancy removal and other processing can be adopted to save the module calculation amount, reduce the module power consumption, and increase the standby time of the terminal. Satellites are the space part of the GNSS system. Satellites transmit signals for ground receivers (for example, mobile terminals); each satellite has the ability to transmit signals at multiple frequencies. For example, GPS satellites can transmit signals at multiple frequencies such as L1, L2, and L5. A satellite channel can refer to a specific frequency channel for transmitting signals between a receiver and a specific satellite. Each satellite channel corresponds to a specific satellite and a specific frequency transmitted by the satellite. The satellite channel is used to receive signals from GNSS satellites. These signals contain navigation data for positioning. Each satellite channel usually corresponds to a specific frequency transmitted by a GNSS satellite, such as GPS's L1 (1575.42MHz), L5 (1176.45MHz), etc.
[0028] For a mobile terminal, if the mobile terminal is successfully positioned through the target satellite system, a satellite channel in the satellite channel of the target satellite system that meets a preset signal condition can be determined. The target satellite system may include but is not limited to at least one of the following: GPS, GLONASS, Galileo, BeiDou, QZSS, NAVIC, and the preset signal condition is that the signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold.
[0029] SNR (Signal-to-Noise Ratio) is an important indicator for measuring signal quality. It represents the ratio of the power of a useful signal to the power of background noise, usually expressed in decibels (dB). The signal-to-noise ratio is widely used in communications, audio processing, video processing, and other electronic signal processing fields. CN (Carrier-to-Noise Density Ratio) may refer to a specific form of signal-to-noise ratio, especially in wireless communications, used to describe the ratio of a carrier signal to background noise. In at least some embodiments of the present application, the signal-to-noise ratio may refer to a CN value.
[0030] If the number of satellite channels that meet the preset signal condition is greater than or equal to the preset number, K satellite channels may be selected from the satellite channels that meet the preset signal condition to obtain a group of target satellite channels, where K is a positive integer greater than or equal to 4. Here, the preset numbers corresponding to different satellite systems under single frequency / dual frequency may be the same or different, and the K values corresponding to different satellite systems under single frequency / dual frequency may be the same or different. Considering that positioning can be performed with 4 or more satellites, K may be a positive integer greater than or equal to 4.
[0031] For different satellite systems in single-frequency / dual-frequency mode, if the number of satellite channels that meet the preset signal conditions is greater than or equal to the preset number, K satellite channels are selected from the satellite channels that meet the preset signal conditions to obtain a set of target satellite channels as shown in Table 1.
[0032] Table 1
[0033]
[0034] Single frequency: can only receive and process signals of one frequency. For GPS systems, it is usually the L1 band (1575.42MHz).
[0035] Dual-frequency: Can simultaneously receive and process signals from two different frequencies. For GPS systems, these are usually the L1 (1575.42MHz) and L5 (1176.45MHz) frequency bands, which helps improve positioning accuracy and reliability.
[0036] It should be noted that each frequency requires an independent channel for processing, that is, single frequency requires one satellite channel and dual frequency requires two satellite channels; in single frequency mode, one satellite and one mobile terminal correspond to one satellite channel, and in dual frequency mode, one satellite and one mobile terminal correspond to two satellite channels.
[0037] If the target satellite system configured for the mobile terminal is the GPS system or a multi-system mode of GPS combined with other positioning systems, only GPS satellite information can be extracted.
[0038] "Other only mode" means that the receiver uses only a specific satellite system other than the GPS system or BD system for positioning.
[0039] By using satellite signals acquired through a group of target satellite channels to locate the mobile terminal, the positioning power consumption can be reduced while ensuring the positioning accuracy, achieving the technical effect of saving the amount of calculation of the positioning module, reducing the module power consumption, and increasing the standby time of the terminal. In addition to a group of target satellite channels, other satellite channels in the target satellite system can be turned off to reduce the impact of signal reception on the terminal's operating performance and reduce the consumption of terminal power.
[0040] Through the above steps, when the mobile terminal is successfully positioned through the target satellite system, satellite channels in the target satellite system that meet the preset signal condition are determined, wherein the preset signal condition is that the signal-to-noise ratio corresponding to the satellite channel is greater than or equal to the preset signal-to-noise ratio threshold; if the number of satellite channels that meet the preset signal condition is greater than or equal to the preset number, K satellite channels are selected from the satellite channels that meet the preset signal condition to obtain a group of target satellite channels, wherein K is a positive integer greater than or equal to 4; other satellite channels in the satellite channels of the target satellite system except for a group of target satellite channels are closed; and the mobile terminal is positioned through the satellite signals obtained through the group of target satellite channels, thereby solving the problem of short working time due to high power consumption in the terminal positioning method of the mobile terminal in the related art and improving the working time of the terminal.
[0041] As an optional solution, K satellite channels are selected from satellite channels that meet the preset signal conditions to obtain a group of target satellite channels, including:
[0042] S11, selecting L satellite channels from satellite channels that meet a preset signal condition in descending order of signal-to-noise ratios corresponding to the satellite channels to obtain a group of first satellite channels, where L is a positive integer greater than or equal to K;
[0043] S12, determining an altitude angle of a satellite corresponding to each first satellite channel in a group of first satellite channels and an azimuth angle of a satellite corresponding to each first satellite channel;
[0044] S13, selecting L satellite channels from a group of first satellite channels according to the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel, to obtain a group of target satellite channels.
[0045] In order to reduce terminal power consumption while ensuring positioning accuracy, if there are enough satellite channels with good signal quality, a certain number of satellite channels can be selected from the satellite channels with good signal quality based on the satellite position information for terminal positioning, and the remaining satellite channels can be turned off.
[0046] The larger the SNR or carrier-to-noise ratio, the better the signal quality, and the receiver can process the signal more accurately, thus improving overall performance. A high SNR means that the signal power is high relative to the noise power, meaning that the signal is more obvious than the noise and therefore easier to detect and decode correctly. A high CN value means that the carrier power per unit bandwidth is high relative to the noise power density, that is, the signal is stronger than the background noise, the signal quality is better, the error is smaller, and the positioning accuracy is higher.
[0047] In this embodiment, when selecting a group of target satellite channels, K satellite channels can be selected from a group of first satellite channels based on the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel: first, in descending order of the signal-to-noise ratios corresponding to the satellite channels, L satellite channels are selected from the satellite channels that meet the preset signal conditions to obtain a group of first satellite channels, where L is a positive integer greater than or equal to K; then, the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel are determined; finally, according to the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel, L satellite channels are selected from a group of first satellite channels to obtain a group of target satellite channels.
[0048] Here, the altitude angle and the azimuth angle are angles that describe the position of the satellite relative to the observer. Specifically:
[0049] The altitude angle refers to the angle from the observer's horizontal plane (usually the ground plane) to the satellite's line of sight; the altitude angle is usually measured in degrees (°), ranging from 0° (the satellite is exactly on the horizon) to 90° (the satellite is exactly above the observer, i.e. the zenith); the higher the altitude angle, the shorter the path of the satellite signal when passing through the atmosphere, and therefore the less it is affected by the ionosphere and multipath effects, and the better the signal quality is generally.
[0050] Elevation angle is often used synonymously with altitude angle, and both refer to the angle from the horizontal plane to the line of sight of a satellite or other celestial body.
[0051] The direction angle refers to the angle from the observer's north direction (usually geographic north) to the horizontal direction of the satellite or other celestial body. In at least some embodiments of the present application, satellites are used as examples. The direction angle is measured in degrees (°), ranging from 0° (usually north) to 360°, measured clockwise. The east direction is usually 90°, the south direction is 180°, and the west direction is 270°; the direction angle is used to determine the position of the satellite on the horizontal plane, and combined with the altitude angle, it can accurately describe the position of the satellite in the sky.
[0052] For example, suppose a GNSS receiver (e.g., a mobile terminal) is tracking a satellite with an altitude angle of 45° and an azimuth angle of 90°. This means that from the receiver's position, the satellite is located in the east (azimuth angle 90°) and 45° above the horizon (altitude angle 45°).
[0053] The altitude angle is used to describe the vertical position of a celestial object relative to the horizon. The azimuth angle is used to describe the horizontal position of a celestial object relative to the north direction. Together, the altitude angle and azimuth angle provide the precise position of a celestial object on the celestial sphere.
[0054] Through this embodiment, at least some satellite channels are selected from satellite channels corresponding to satellites with better signal quality based on the altitude angle and the azimuth angle for closing, so that the power consumption of the terminal can be reduced while ensuring the positioning accuracy, and higher-precision terminal positioning can be achieved using lower power.
[0055] As an optional solution, K satellite channels are selected from a group of first satellite channels according to the elevation angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel to obtain a group of target satellite channels, including:
[0056] S21, selecting M first satellite channels whose corresponding satellites have the largest elevation angles from a group of first satellite channels to obtain a first group of satellite channels, and selecting a first satellite channel whose corresponding satellite has the smallest elevation angle from a group of first satellite channels to obtain a minimum elevation angle satellite channel, wherein M is a positive integer greater than or equal to 1;
[0057] S22, taking the direction angle of the satellite corresponding to the minimum elevation angle satellite channel as the initial direction angle, taking the specified direction angle as the step size, determining N reference direction angles, and determining the first satellite channel having the smallest difference between the direction angle of the corresponding satellite and each of the N reference direction angles, to obtain a second group of satellite channels, wherein N is a positive integer greater than or equal to 1.
[0058] Optionally, in this embodiment, satellite channels with large elevation angles of corresponding satellites and satellite channels with small elevation angles of corresponding satellites and evenly distributed can be selected as a group of target satellite channels. To this end, the following satellite channel selection operation can be performed:
[0059] First, based on the elevation angle of the corresponding satellite, M first satellite channels with the largest elevation angle of the corresponding satellite (i.e., a first group of satellite channels) and a first satellite channel with the smallest elevation angle of the corresponding satellite (i.e., a minimum elevation angle satellite channel) are selected from a group of first satellite channels, thereby determining the M satellite channels with the largest elevation angle of the corresponding satellite and the satellite channel with the smallest elevation angle of the corresponding satellite;
[0060] Then, based on the minimum elevation angle satellite channel, multiple satellite channels whose corresponding satellites have small elevation angles and whose azimuth angles are evenly distributed are selected, that is, the azimuth angle of the satellite corresponding to the minimum elevation angle satellite channel is used as the initial azimuth angle, and the specified azimuth angle is used as the step size to determine N reference azimuth angles, and the first satellite channel whose difference between the azimuth angle of the corresponding satellite and each of the N reference azimuth angles is the smallest is determined to obtain the second group of satellite channels.
[0061] A group of target satellite channels includes a first group of satellite channels, minimum altitude angle satellite channels and a second group of satellite channels, and the number of satellite channels included is M+N+1.
[0062] Taking the single-frequency single Beidou module as an example, combined with Table 1, L is 8, K is 6, sort by CN value, select the first 8 satellites with high CN value, and select the 2 satellites with the largest elevation angle, and the 4 satellites with small elevation angle and uniform distribution of direction angles to form a 6-star combination positioning (such as Figure 3 By turning off the remaining satellite channels and optimizing the positioning model, the module can save computational effort and reduce power consumption.
[0063] Here, the specified direction angle can be 90°, and the four stars with small altitude angles and uniform distribution of direction angles can include the satellite channel corresponding to the star with the smallest altitude angle and the satellite channels corresponding to the three stars whose direction angles are closest to the reference and differ from the reference by 90°, 180°, and 270° respectively, based on the direction angle of the star with the smallest altitude angle.
[0064] Optionally, taking the dual-frequency multi-system module as an example, sort by CN value, combined with Table 1, L is 12, K is 8, select the first 12 channels with high CN values, and select the 4 channels with the largest elevation angles, and 8 channels with small elevation angles and uniform angular distribution of each other to form a 12-channel combined positioning, close the remaining satellite channels, and optimize the positioning model, so as to achieve the effect of saving module calculation amount and reducing module power consumption.
[0065] Here, for the same satellite, in dual-frequency mode, the elevation angles and azimuth angles of the two corresponding satellite channels are the same. The eight channels with small elevation angles and evenly distributed azimuth angles may include the satellite channel corresponding to the star with the smallest elevation angle and the satellite channels corresponding to the three stars whose azimuth angles are closest to the reference and differ by 90°, 180°, and 270° respectively based on the azimuth angle of the star with the smallest elevation angle. The eight channels with evenly distributed azimuth angles may refer to the eight channels corresponding to four stars.
[0066] The steps for other positioning systems and combinations thereof to determine a corresponding set of target satellite channels in a single-frequency or dual-frequency mode may be similar to those in the aforementioned embodiment and will not be described in detail herein.
[0067] Through this embodiment, satellite channels with large elevation angles of corresponding satellites and satellite channels with small elevation angles and uniform distribution of corresponding satellites are selected as satellite channels used for terminal positioning. Satellite channels of satellites with different elevation angles and different direction angles can be taken into account, thereby improving the rationality of satellite channel selection and further improving the accuracy of terminal positioning.
[0068] As an optional solution, after shutting down the other satellite channels of the target satellite system except for a group of target satellite channels, the method further includes:
[0069] S31, if there is an abnormal satellite channel in a group of target satellite channels that does not meet the preset signal condition or whose position information is invalid, close the abnormal satellite channel;
[0070] S32, sequentially opening the closed satellite channels in the target satellite system that meet the preset signal condition before being closed, until a replaceable satellite channel is screened out, or all the closed satellite channels that meet the preset signal condition before being closed have been opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal condition after being opened;
[0071] S33, when a replaceable satellite channel is screened out, the abnormal satellite channel is replaced with the screened replaceable satellite channel to obtain an updated set of target satellite channels; and the satellite signals obtained by the updated set of target satellite channels are used to locate the mobile terminal;
[0072] S34, when no replaceable satellite channel is screened out, all satellite channels of the target satellite system are opened, and the terminal positioning of the mobile terminal is performed again.
[0073] When the signal quality of the satellite in use is reduced or the location information of the satellite is invalid, the satellite channel can be closed. According to the stored ephemeris, the closed satellite channel that met the preset signal conditions before being closed can be opened, and it can be judged whether the preset signal conditions are met after opening. If so, the original satellite in use is replaced; if a replaceable satellite cannot be screened, all channels are opened and the satellite is screened again.
[0074] Optionally, in this embodiment, the preset signal condition may include that the corresponding carrier-to-noise ratio is greater than or equal to a preset carrier-to-noise ratio threshold. The satellite signal quality may be reduced, including but not limited to a CN value <35.
[0075] By adopting the method of ephemeris prediction, when the quality of the satellite signal in use is reduced, the ephemeris prediction can be used to select satellites with good signal quality in the closed channels to replace them or reopen all channels to select satellites again to ensure positioning accuracy.
[0076] Ephemeris can refer to detailed data about the position and movement of one or more celestial bodies (such as satellites) over a period of time. CN values can be measured and recorded in real time to reflect the conditions of the corresponding signal receiving environment at the time of measurement, including atmospheric conditions, receiver performance, signal obstruction and other factors.
[0077] That is, in the low-power mode of the mobile terminal (satellite channels of the target satellite system other than a group of target satellite channels are closed), if there is an event that affects the positioning accuracy in a group of target satellite channels (for example, the carrier-to-noise ratio / signal-to-noise ratio corresponding to the satellite channel is less than a preset signal-to-noise ratio threshold or the position information is invalid), the closed satellite channels in the target satellite system that meet the preset signal condition before being closed (for example, the carrier-to-noise ratio / signal-to-noise ratio corresponding to the satellite channel is greater than or equal to the preset signal-to-noise ratio threshold) are opened in sequence until a replaceable satellite channel (a satellite channel that meets the preset signal condition after being opened (the carrier-to-noise ratio / signal-to-noise ratio corresponding to the satellite channel is greater than or equal to the preset signal-to-noise ratio threshold)) is screened.
[0078] If all the closed satellite channels that met the preset signal conditions before being closed have been opened and no replaceable satellite channels have been screened out, all satellite channels of the target satellite system are opened and the mobile terminal is repositioned.
[0079] Through this embodiment, the satellite channel used for terminal positioning is dynamically adjusted based on the quality of the satellite channel being used by the mobile terminal, so that the positioning accuracy can be improved.
[0080] As an optional solution, the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed are opened in sequence, including:
[0081] S41, when the abnormal satellite channel is one of the first group of satellite channels, the closed satellite channels in the target satellite system that meet the preset signal condition before being closed are opened in order from high to low according to the elevation angles of the corresponding satellites before being closed;
[0082] S42, when the abnormal satellite channel is the minimum elevation angle satellite channel or one of the second group of satellite channels, the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed are opened in order from small to large according to the difference between the direction angle of the corresponding satellite before being closed and the reference direction angle.
[0083] The azimuth of the satellite corresponding to the abnormal satellite channel is the reference azimuth. In this embodiment, in order to improve the positioning accuracy after replacing the satellite channel, the satellite channel for replacement can be selected based on the signal quality combined with the post-position information, for example, a satellite with a CN value greater than 35 and an azimuth close to the failed satellite is selected.
[0084] Similar to the aforementioned embodiment, the first group of satellite channels are satellite channels with the largest elevation angle that meet preset signal conditions, and the second group of satellite channels are satellite channels with the direction angle of the satellite corresponding to the satellite channel with the minimum elevation angle as the initial direction angle, with the specified direction angle as the step size, to determine N reference direction angles, and to determine the first satellite channel with the smallest difference between the direction angle of the corresponding satellite and each of the N reference direction angles.
[0085] Optionally, when the abnormal satellite channel is one of the first group of satellite channels, the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed are opened in sequence from high to low according to the elevation angles of the corresponding satellites before being closed.
[0086] Optionally, in the case where the abnormal satellite channel is the minimum elevation angle satellite channel or one of the second group of satellite channels, the closed satellite channels in the target satellite system that met the preset signal conditions before being closed are opened in order from small to large according to the difference between the direction angle of the corresponding satellite before being closed and the reference direction angle.
[0087] Here, the replaceable satellite channel is a satellite channel that satisfies a preset signal condition after being turned on and whose corresponding azimuth angle is equal to the difference between the azimuth angle of the satellite corresponding to the abnormal satellite channel or half of the specified azimuth angle.
[0088] Through this embodiment, the replacement satellite channel is determined based on the signal quality and the position information, so that the positioning accuracy after the satellite channel is replaced can be improved.
[0089] As an optional solution, K satellite channels are selected from satellite channels that meet the preset signal conditions to obtain a group of target satellite channels, including:
[0090] S51, when the target satellite system is a satellite system other than the Beidou satellite system and the Global Positioning System, select K satellite channels from the satellite channels that meet the preset signal conditions in descending order of the signal-to-noise ratios corresponding to the satellite channels to obtain a group of target satellite channels, where L is a positive integer greater than or equal to K.
[0091] Combined with Table 1, in other only modes, the six satellites with the largest CN values can be directly selected for positioning.
[0092] Through this embodiment, for a satellite system with weak signal strength, all satellite channels that meet the signal conditions are used as satellite channels used for terminal positioning, which can improve the effectiveness of terminal positioning.
[0093] As an optional solution, after selecting K satellite channels from the satellite channels that meet the preset signal conditions, the method further includes:
[0094] S61, when there is an abnormal satellite channel in a group of target satellite channels that does not meet the preset signal condition or whose position information is invalid, close the abnormal satellite channel;
[0095] S62, opening the closed satellite channels of the target satellite system that meet the preset signal condition before being closed in order of the signal-to-noise ratio before being closed from large to small, until a replaceable satellite channel is screened out, or all the closed satellite channels that meet the preset signal condition before being closed have been opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal condition after being opened;
[0096] S63, when a replaceable satellite channel is screened out, the abnormal satellite channel is replaced by the screened replaceable satellite channel to obtain an updated set of target satellite channels; and the satellite signals obtained by the updated set of target satellite channels are used to locate the mobile terminal;
[0097] S64: When no replaceable satellite channel is found, all satellite channels of the target satellite system are opened to reposition the mobile terminal.
[0098] Optionally, in this embodiment, alternative satellite channels may be screened based solely on the signal quality of the satellite channels.
[0099] For example, in this embodiment, in other only mode, the six satellites with the largest CN values are directly selected for positioning. When the quality of the satellite signal used is reduced (CN value <35), try to open the satellite with CN value >35 in the ephemeris when the low power mode is not turned on. If no replaceable satellite can be selected, open all channels and re-select the satellite channels.
[0100] Optionally, in this embodiment, when the environment changes, for example, in single-frequency mode, there are not more than 8 satellites with CN values greater than 35, or in dual-frequency mode, there are not more than 15 channels with CN values ≥ 35, the low-power mode is automatically exited, and the application satellites are adjusted in time to ensure the accuracy of the positioning results.
[0101] As an optional solution, after determining the satellite channels of the target satellite system that meet the preset signal condition, the method further includes:
[0102] S71: When the number of satellite channels satisfying a preset signal condition is greater than or equal to a preset number and the satellite system used by the mobile terminal further includes at least one satellite system other than the target satellite system, disabling at least one satellite system.
[0103] Here, the target satellite system may be a self-defined positioning system with the highest priority among a group of satellite systems. For example, in this embodiment, the target satellite system may refer to the GPS system.
[0104] For example, for a single-frequency GPS module and a GLONASS module, when more than eight satellites with CN values ≥ 35 are detected, the GLONASS module may be turned off.
[0105] As an optional exemplary embodiment, taking the target satellite system as a single-frequency single Beidou module as an example, combined with Figure 4 A terminal positioning method of a mobile terminal of the present application may include the following steps:
[0106] S401, first positioning is successful, and the satellite information after positioning is read;
[0107] S402, determining whether there are more than 8 satellites with CN values greater than 35, if yes, the low-battery cruise function is turned on, otherwise, the low-battery cruise function is turned off;
[0108] S403, only extract Beidou satellite information, perform minimum data processing, determine elevation and azimuth angles, select the six satellites that make up the positioning model, and close the remaining channels;
[0109] S404, when the satellite in use does not meet the previous condition, according to the ephemeris prediction, select a satellite that meets the previous condition to replace the satellite, and adjust the application satellite in time.
[0110] As another optional exemplary embodiment, taking the target satellite system as a dual-frequency multi-system module as an example, in combination with Figure 5 A terminal positioning method of a mobile terminal of the present application may include the following steps:
[0111] S501, the first positioning is successful, and the channel information after positioning is read;
[0112] S502, determining whether there are more than 15 channels with a CN value greater than 35, if so, turning on the low-battery cruise function, otherwise turning off the low-battery cruise function;
[0113] S503, only extract GPS Beidou satellite information, minimize data processing, determine elevation angle and direction angle, select 12 channels that constitute the positioning model, and close the remaining channels;
[0114] S504, when the channel in use does not meet the previous condition, according to the ephemeris prediction, select a satellite channel that meets the previous condition to replace the satellite channel, and adjust the applied satellite channel in time.
[0115] This application selects satellite signals in a good positioning environment and turns on low-power cruise. In theory, closing one channel can reduce power consumption by 0.05mA. Taking the dual-frequency multi-system as an example, without power saving, the module can use up to 63 channels; after turning on low-power cruise, the number of channels used is reduced to 12, and the power consumption can be reduced by 2.55mA, reducing the power consumption of the positioning module during the positioning process and increasing the use time of the terminal;
[0116] By judging the strength of the satellite signal, the low-power cruise function is automatically turned on and off, which reduces power consumption while ensuring positioning accuracy and improving user experience.
[0117] Here, the low-power cruise function may mean that the satellite channels of the target satellite system except for a group of target satellite channels are closed, and when there are abnormal satellite channels in a group of target satellite channels that do not meet the preset signal conditions or whose position information is invalid, the abnormal satellite channels are closed, and the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed are opened in sequence until a replaceable satellite channel is screened out. If no replaceable satellite channel is screened out, all satellite channels of the target satellite system are opened, and the mobile terminal is re-positioned.
[0118] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0119] According to another aspect of an embodiment of the present application, a terminal positioning method device for a mobile terminal for implementing the above-mentioned terminal positioning method for a mobile terminal is also provided. Figure 6 is a structural block diagram of an optional terminal positioning method device for a mobile terminal according to an embodiment of the present application, such as Figure 6 As shown in , the device includes:
[0120] The determining unit 602 is configured to determine, when the mobile terminal is successfully positioned by the target satellite system, a satellite channel in the satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold;
[0121] A selection unit 604 is configured to select K satellite channels from the satellite channels that meet the preset signal condition to obtain a group of target satellite channels if the number of satellite channels that meet the preset signal condition is greater than or equal to a preset number, where K is a positive integer greater than or equal to 4;
[0122] A first closing unit 606 is used to close other satellite channels of the target satellite system except a group of target satellite channels;
[0123] The positioning unit 608 is used to perform terminal positioning on the mobile terminal through satellite signals acquired by a group of target satellite channels.
[0124] It should be noted that the determination unit 602 in this embodiment can be used to execute the above step S202, the selection unit 604 in this embodiment can be used to execute the above step S204, the positioning unit 606 in this embodiment can be used to execute the above step S206, and the positioning unit 608 in this embodiment can be used to execute the above step S208.
[0125] Through the above-mentioned module, when the mobile terminal is successfully positioned through the target satellite system, the satellite channels in the target satellite system that meet the preset signal conditions are determined, wherein the preset signal condition is that the signal-to-noise ratio corresponding to the satellite channel is greater than or equal to the preset signal-to-noise ratio threshold; if the number of satellite channels that meet the preset signal conditions is greater than or equal to the preset number, K satellite channels are selected from the satellite channels that meet the preset signal conditions to obtain a group of target satellite channels, wherein K is a positive integer greater than or equal to 4; the other satellite channels in the satellite channels of the target satellite system except for a group of target satellite channels are closed; the mobile terminal is positioned through the satellite signals obtained through the group of target satellite channels, thereby solving the problem of short working time due to high power consumption in the terminal positioning method of the mobile terminal in the related art and improving the working time of the terminal.
[0126] Optionally, in this embodiment, the selection unit includes:
[0127] A first selection module is used to select L satellite channels from satellite channels that meet a preset signal condition in descending order of signal-to-noise ratios corresponding to the satellite channels to obtain a group of first satellite channels, where L is a positive integer greater than or equal to K;
[0128] A determination module, configured to determine an altitude angle of a satellite corresponding to each first satellite channel in a group of first satellite channels and an azimuth angle of a satellite corresponding to each first satellite channel;
[0129] The second selection module is used to select K satellite channels from a group of first satellite channels according to the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel to obtain a group of target satellite channels.
[0130] Optionally, in this embodiment, the second selection module includes:
[0131] A selection submodule is used to select M first satellite channels whose corresponding satellites have the largest elevation angles from a group of first satellite channels to obtain a first group of satellite channels, and to select a first satellite channel whose corresponding satellite has the smallest elevation angle from a group of first satellite channels to obtain a minimum elevation angle satellite channel, wherein M is a positive integer greater than or equal to 1;
[0132] A determination submodule is used to determine N reference direction angles with the direction angle of the satellite corresponding to the minimum elevation angle satellite channel as the initial direction angle and the specified direction angle as the step length, and determine the first satellite channel with the smallest difference between the direction angle of the corresponding satellite and each reference direction angle of the N reference direction angles, to obtain a second group of satellite channels, wherein N is a positive integer greater than or equal to 1;
[0133] The target satellite channels include a first group of satellite channels, minimum elevation angle satellite channels and a second group of satellite channels.
[0134] Optionally, in this embodiment, the above device further includes:
[0135] A second closing unit is used for closing the abnormal satellite channels in the target satellite system after closing the other satellite channels except a group of target satellite channels, if there is an abnormal satellite channel in the group of target satellite channels that does not meet the preset signal condition or whose position information is invalid;
[0136] A first execution unit is used to sequentially open the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed, until a replaceable satellite channel is screened, or all the closed satellite channels that meet the preset signal conditions before being closed are opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal conditions after being opened;
[0137] The second execution unit is used to replace the abnormal satellite channel with the screened replaceable satellite channel to obtain an updated set of target satellite channels when the replaceable satellite channel is screened; and to perform terminal positioning on the mobile terminal using the satellite signals obtained through the updated set of target satellite channels;
[0138] The third execution unit is used to open all satellite channels of the target satellite system and re-position the mobile terminal when no replaceable satellite channel is screened.
[0139] Optionally, in this embodiment, the first execution unit includes:
[0140] A first opening module is used to open the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed in a descending order of the altitude angles of the corresponding satellites before being closed, when the abnormal satellite channel is one of the first group of satellite channels;
[0141] The second opening module is used to open the closed satellite channels in the target satellite system that meet the preset signal conditions before being closed in the order of the difference between the direction angle of the corresponding satellite before being closed and the reference direction angle from small to large when the abnormal satellite channel is the minimum altitude angle satellite channel or one of the second group of satellite channels.
[0142] Optionally, in this embodiment, the selection unit includes:
[0143] The third selection module is used to select K satellite channels from the satellite channels that meet the preset signal conditions in descending order of the signal-to-noise ratios corresponding to the satellite channels when the target satellite system is a satellite system other than the Beidou satellite system and the global positioning system, to obtain a group of target satellite channels, where L is a positive integer greater than or equal to K.
[0144] Optionally, in this embodiment, the above device further includes:
[0145] A third closing unit is used to close the abnormal satellite channel after selecting K satellite channels from the satellite channels that meet the preset signal conditions, if there is an abnormal satellite channel that does not meet the preset signal condition or whose position information is invalid in a group of target satellite channels;
[0146] a fourth execution unit, configured to open the closed satellite channels of the target satellite system that meet the preset signal condition before being closed in order of signal-to-noise ratio from large to small before being closed, until a replaceable satellite channel is screened out, or all the closed satellite channels that meet the preset signal condition before being closed are opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal condition after being opened;
[0147] A fifth execution unit is configured to, when a replaceable satellite channel is screened, replace the abnormal satellite channel with the screened replaceable satellite channel to obtain an updated set of target satellite channels; and perform terminal positioning on the mobile terminal using satellite signals acquired through the updated set of target satellite channels;
[0148] The sixth execution unit is used to open all satellite channels of the target satellite system and re-position the mobile terminal when no replaceable satellite channel is screened.
[0149] Optionally, in this embodiment, the above device further includes:
[0150] A disabling unit is used to disable at least one satellite system after determining the satellite channels in the target satellite system that meet the preset signal condition, if the number of satellite channels that meet the preset signal condition is greater than or equal to a preset number and the satellite system used by the mobile terminal also includes at least one satellite system other than the target satellite system.
[0151] Optionally, in this embodiment, the embodiments to be implemented by the above-mentioned various unit modules can refer to the above-mentioned various method embodiments, which will not be repeated here.
[0152] According to another aspect of the present application, a computer-readable storage medium is also provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the terminal positioning method of the mobile terminal provided in the above-mentioned various optional implementations.
[0153] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0154] S1, when the mobile terminal is successfully positioned by the target satellite system, determining a satellite channel in the satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold;
[0155] S2, if the number of satellite channels satisfying the preset signal condition is greater than or equal to the preset number, select K satellite channels from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels, where K is a positive integer greater than or equal to 4;
[0156] S3, shutting down other satellite channels of the target satellite system except for a group of target satellite channels;
[0157] S4, performing terminal positioning on the mobile terminal through satellite signals acquired through a group of target satellite channels.
[0158] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0159] According to another aspect of the embodiment of the present application, an electronic device for implementing the terminal positioning method of the mobile terminal is also provided. The electronic device may be Figure 7 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a server as an example. Figure 7 As shown, the electronic device includes a memory 702 and a processor 704. The memory 702 stores a computer program, and the processor 704 is configured to execute the steps in any of the above method embodiments through the computer program.
[0160] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0161] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0162] S1, when the mobile terminal is successfully positioned by the target satellite system, determining a satellite channel in the satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold;
[0163] S2, if the number of satellite channels satisfying the preset signal condition is greater than or equal to the preset number, select K satellite channels from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels, where K is a positive integer greater than or equal to 4;
[0164] S3, shutting down other satellite channels of the target satellite system except for a group of target satellite channels;
[0165] S4, performing terminal positioning on the mobile terminal through satellite signals acquired through a group of target satellite channels.
[0166] Alternatively, a person skilled in the art may understand that: Figure 7The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other electronic devices. Figure 7 The structure of the electronic device is not limited. Figure 7 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 7 Different configurations shown.
[0167] Among them, the memory 702 can be used to store software programs and modules, such as the program instructions / modules corresponding to the terminal positioning method and device of the mobile terminal in the embodiment of the present application. The processor 704 executes various functional applications and data processing by running the software programs and modules stored in the memory 702, that is, realizing the terminal positioning method of the mobile terminal mentioned above. The memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 702 may further include a memory remotely arranged relative to the processor 704, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 702 can be specifically, but not limited to, used to store relevant data. As an example, such as Figure 7 As shown, the memory 702 may include, but is not limited to, the determining unit 602, the selecting unit 604, the first closing unit 606, and the positioning unit 608 in the terminal positioning method device for the mobile terminal. In addition, other module units in the terminal positioning method device for the mobile terminal may also be included but are not limited to, which will not be described in detail in this example.
[0168] Optionally, the transmission device 706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 706 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0169] In addition, the electronic device mentioned above further includes: and a connection bus 708, which is used to connect various module components in the electronic device mentioned above.
[0170] In other embodiments, the electronic device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, the nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0171] According to another aspect of the present application, a computer program product is also provided, the computer program product includes a computer program / instruction, and the computer program / instruction contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit, various functions provided by the embodiment of the present application are executed.
[0172] The computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part to the random access memory (RAM). In the random access memory, various programs and data required for system operation are also stored. The central processing unit, the read-only memory and the random access memory are connected to each other through a bus. The input / output interface (I / O interface) is also connected to the bus.
[0173] The following components are connected to the input / output interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a local area network card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0174] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions defined in the system of the present application are executed.
[0175] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0176] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the above methods in each embodiment of the present application.
[0177] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0178] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0179] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0180] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0181] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A terminal positioning method for a mobile terminal, characterized in that: include: In a case where the mobile terminal is successfully positioned by the target satellite system, determining a satellite channel among satellite channels of the target satellite system that meets a preset signal condition, wherein the preset signal condition is that a signal-to-noise ratio corresponding to the satellite channel is greater than or equal to a preset signal-to-noise ratio threshold; If the number of satellite channels satisfying the preset signal condition is greater than or equal to the preset number, K satellite channels are selected from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels, where K is a positive integer greater than or equal to 4; Turning off other satellite channels of the target satellite system except the group of target satellite channels; The mobile terminal is positioned using satellite signals acquired through the group of target satellite channels.
2. The method according to claim 1, characterized in that: The step of selecting K satellite channels from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels comprises: Selecting L satellite channels from the satellite channels that meet the preset signal condition in descending order of the signal-to-noise ratios corresponding to the satellite channels to obtain a group of first satellite channels, where L is a positive integer greater than or equal to K; Determine an altitude angle of a satellite corresponding to each first satellite channel in the set of first satellite channels and an orientation angle of a satellite corresponding to each first satellite channel; According to the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel, K satellite channels are selected from the group of first satellite channels to obtain the group of target satellite channels.
3. The method according to claim 2, characterized in that The step of selecting K satellite channels from the group of first satellite channels according to the altitude angle of the satellite corresponding to each first satellite channel and the azimuth angle of the satellite corresponding to each first satellite channel to obtain the group of target satellite channels comprises: Selecting M first satellite channels whose corresponding satellites have the largest elevation angles from the group of first satellite channels to obtain a first group of satellite channels, and selecting a first satellite channel whose corresponding satellite has the smallest elevation angle from the group of first satellite channels to obtain a minimum elevation angle satellite channel, wherein M is a positive integer greater than or equal to 1; Taking the direction angle of the satellite corresponding to the minimum elevation angle satellite channel as the initial direction angle and the specified direction angle as the step length, determining N reference direction angles, and determining the first satellite channel having the smallest difference between the direction angle of the corresponding satellite and each reference direction angle of the N reference direction angles, to obtain a second group of satellite channels, wherein N is a positive integer greater than or equal to 1; The group of target satellite channels includes the first group of satellite channels, the minimum altitude angle satellite channels and the second group of satellite channels.
4. The method according to claim 3, characterized in that After shutting down other satellite channels of the target satellite system except the group of target satellite channels, the method further includes: If there is an abnormal satellite channel in the group of target satellite channels that does not meet the preset signal condition or whose position information is invalid, shut down the abnormal satellite channel; Sequentially opening the closed satellite channels in the target satellite system that meet the preset signal condition before being closed, until a replaceable satellite channel is screened out, or all the closed satellite channels that meet the preset signal condition before being closed have been opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal condition after being opened; In the case where the replaceable satellite channel is screened, the abnormal satellite channel is replaced by the screened replaceable satellite channel to obtain an updated set of target satellite channels; and the mobile terminal is positioned using satellite signals acquired by the updated set of target satellite channels; In the case that the replaceable satellite channel is not screened, all satellite channels of the target satellite system are opened, and the terminal positioning of the mobile terminal is performed again.
5. The method according to claim 4, characterized in that The direction angle of the satellite corresponding to the abnormal satellite channel is the reference direction angle; The step of sequentially opening the closed satellite channels in the target satellite system that meet the preset signal condition before being closed includes: In the case where the abnormal satellite channel is one of the first group of satellite channels, the closed satellite channels in the target satellite system that meet the preset signal condition before being closed are opened in order from high to low according to the altitude angles of the corresponding satellites before being closed; In the case that the abnormal satellite channel is the minimum elevation angle satellite channel or one of the second group of satellite channels, the closed satellite channels in the target satellite system that meet the preset signal condition before being closed are opened in ascending order of the difference between the direction angle of the corresponding satellite before being closed and the reference direction angle.
6. The method according to claim 1, characterized in that The step of selecting K satellite channels from the satellite channels satisfying the preset signal condition to obtain a group of target satellite channels comprises: When the target satellite system is a satellite system other than the Beidou satellite system and the global positioning system, K satellite channels are selected from the satellite channels that meet the preset signal conditions in descending order of the signal-to-noise ratios corresponding to the satellite channels to obtain a group of target satellite channels.
7. The method according to claim 6, characterized in that After selecting K satellite channels from the satellite channels that meet the preset signal condition, the method further includes: If there is an abnormal satellite channel in the group of target satellite channels that does not meet the preset signal condition or whose position information is invalid, shut down the abnormal satellite channel; Opening the closed satellite channels of the target satellite system that meet the preset signal condition before being closed in order of signal-to-noise ratio from large to small before being closed, until a replaceable satellite channel is screened out, or all the closed satellite channels that meet the preset signal condition before being closed have been opened, wherein the replaceable satellite channel is a satellite channel that meets the preset signal condition after being opened; In the case where the replaceable satellite channel is screened, the abnormal satellite channel is replaced by the screened replaceable satellite channel to obtain an updated set of target satellite channels; and the mobile terminal is positioned using satellite signals acquired by the updated set of target satellite channels; In the case that the replaceable satellite channel is not screened, all satellite channels of the target satellite system are opened, and the terminal positioning of the mobile terminal is performed again.
8. The method according to any one of claims 1 to 7, characterized in that After determining the satellite channels of the target satellite system that meet the preset signal condition, the method further includes: When the number of satellite channels satisfying the preset signal condition is greater than or equal to the preset number and the satellite system used by the mobile terminal further includes at least one satellite system other than the target satellite system, the at least one satellite system is disabled.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 8 when executed.
10. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 8 when executing the computer program.