CN107678045B - Global positioning system starting method, user terminal and related medium product - Google Patents

Global positioning system starting method, user terminal and related medium product Download PDF

Info

Publication number
CN107678045B
CN107678045B CN201710847896.0A CN201710847896A CN107678045B CN 107678045 B CN107678045 B CN 107678045B CN 201710847896 A CN201710847896 A CN 201710847896A CN 107678045 B CN107678045 B CN 107678045B
Authority
CN
China
Prior art keywords
satellite
gps
gps module
signal information
invalid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710847896.0A
Other languages
Chinese (zh)
Other versions
CN107678045A (en
Inventor
林华秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710847896.0A priority Critical patent/CN107678045B/en
Publication of CN107678045A publication Critical patent/CN107678045A/en
Application granted granted Critical
Publication of CN107678045B publication Critical patent/CN107678045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/23Testing, monitoring, correcting or calibrating of receiver elements

Abstract

The embodiment of the invention discloses a global positioning system starting method and a user terminal. Wherein, the method comprises the following steps: under the condition that a Global Positioning System (GPS) module is in an open state, searching satellites through the GPS module to obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information; judging whether the GPS module is in an invalid positioning state currently or not according to the first satellite signal information; and if the GPS module is in an invalid positioning state currently, restarting the GPS module. The embodiment of the invention can improve the positioning efficiency of the global positioning system.

Description

Global positioning system starting method, user terminal and related medium product
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a global positioning system (gps) starting method, a user terminal, and a related medium product.
Background
The Global Positioning System (GPS) is a medium-distance circular orbit satellite navigation System. The GPS can provide accurate positioning, speed measurement and high-precision time standard for most regions of the earth surface. With the maturity of the GPS technology, more and more user terminals (such as smart phones) are provided with GPS modules, which brings great convenience to the life of users. However, in practice, when a user starts a GPS module in a user terminal for navigation, a GPS satellite is frequently dropped during the navigation process, such as: the number of satellites searched by the GPS module falls from 10 to 0, and in this case, the GPS module cannot locate the user terminal, and the user usually needs to manually restart the GPS module before the location can be implemented. If the number of times of GPS satellite dropping is large in the navigation process, the user needs to manually restart the GPS module for many times to realize positioning, so that the efficiency of GPS positioning is low.
Disclosure of Invention
The embodiment of the invention provides a global positioning system starting method, a user terminal and a related medium product, which can improve the positioning efficiency of the global positioning system.
The first aspect of the embodiment of the invention discloses a method for starting a global positioning system, which comprises the following steps:
under the condition that a Global Positioning System (GPS) module is in an open state, searching satellites through the GPS module to obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information;
judging whether the GPS module is in an invalid positioning state currently or not according to the first satellite signal information;
and if the GPS module is in an invalid positioning state currently, restarting the GPS module.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the GPS module searches for satellites and obtains a first GPS satellite list when the GPS module is in an on state, the method further includes:
acquiring a second GPS satellite list, wherein the second GPS satellite list is used for storing second satellite signal information;
judging whether the satellites included in the first satellite signal information exist in the satellite set included in the second satellite signal information;
and if so, executing the step of judging whether the GPS module is in an invalid positioning state currently according to the first satellite signal information.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the acquiring the second GPS satellite list includes:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving the second GPS satellite list sent by the AGPS.
With reference to any one of the first aspect to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first satellite signal information includes a first number of satellites that have been searched for and a signal strength value of a signal sent by each of the satellites, and the determining, according to the first satellite signal information, whether the GPS module is currently in an invalid positioning state includes:
judging whether the first satellite number is larger than or equal to a minimum satellite number threshold value;
if so, determining a second satellite number of satellites with signal strength values larger than the minimum signal strength threshold value;
judging whether the second satellite number is smaller than the minimum satellite number threshold value or not;
and if so, determining that the GPS module is in an invalid positioning state currently.
With reference to the first aspect or any one of the second possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes:
if the GPS module is in an invalid positioning state currently, judging whether the duration time of the invalid positioning state is greater than a minimum invalid time threshold value;
and if so, executing the step of restarting the GPS module.
A second aspect of the embodiments of the present invention discloses a user terminal, including:
the device comprises a searching unit, a receiving unit and a processing unit, wherein the searching unit is used for searching satellites through a Global Positioning System (GPS) module under the condition that the GPS module is in an opening state to obtain a first GPS satellite list, and the first GPS satellite list is used for storing first satellite signal information;
the first judging unit is used for judging whether the GPS module is in an invalid positioning state currently according to the first satellite signal information;
and the restarting unit is used for restarting the GPS module if the first judging unit judges that the GPS module is in an invalid positioning state currently.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the user terminal further includes:
the acquisition unit is used for searching satellites through the GPS module under the condition that the GPS module of the global positioning system is in an open state, acquiring a second GPS satellite list after acquiring a first GPS satellite list, wherein the second GPS satellite list is used for storing second satellite signal information;
a second determining unit, configured to determine whether the satellites included in the first satellite signal information all exist in the set of satellites included in the second satellite signal information;
the first determining unit is specifically configured to determine, according to the first satellite signal information, whether the GPS module is currently in an invalid positioning state when the second determining unit determines that the satellites included in the first satellite signal information are all in the satellite set included in the second satellite signal information.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the manner of acquiring the second GPS satellite list by the acquiring unit is specifically:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving the second GPS satellite list sent by the AGPS.
With reference to any one of the second aspect to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the first satellite signal information includes a number of first satellites from which satellites are searched and a signal strength value of a signal emitted by each of the satellites, and the first determining unit includes:
the judging subunit is used for judging whether the first satellite number is greater than or equal to a minimum satellite number threshold value;
the determining subunit is used for determining the second satellite number of the satellite with the signal strength value larger than the minimum signal strength threshold value if the judging subunit judges that the first satellite number is larger than or equal to the minimum satellite number threshold value;
the judging subunit is further configured to judge whether the second satellite number is smaller than the minimum satellite number threshold;
the determining subunit is further configured to determine that the GPS module is currently in an invalid positioning state if the determining subunit determines that the second satellite number is smaller than the minimum satellite number threshold.
With reference to any one of the second aspect to the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the first determining unit is further configured to determine whether a duration of the invalid positioning state is greater than a minimum invalid time threshold if the GPS module is currently in the invalid positioning state;
the restarting unit is specifically configured to restart the GPS module if the first determining unit determines that the duration of the invalid positioning state is greater than a minimum invalid time threshold.
In the embodiment of the invention, under the condition that a Global Positioning System (GPS) module is in an open state, a user terminal can search satellites through the GPS module to obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information; further, the user terminal can judge whether the GPS module is in an invalid positioning state currently according to the first satellite signal information; if the GPS module is in the invalid positioning state currently, the user terminal can restart the GPS module. Therefore, through the embodiment of the invention, the user terminal can automatically judge whether the GPS module is in an invalid positioning state at present according to the received satellite signal information of the satellite, if the GPS module is in the invalid positioning state at present, the GPS satellite falling situation is shown at present, the user terminal can automatically restart the GPS module, and the user terminal can be positioned without manually restarting by a user, so that the positioning efficiency of a global positioning system can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a positioning system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a GPS booting method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another GPS booting method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a user terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another ue disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another user terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a global positioning system starting method and a user terminal, which can improve the positioning efficiency of a global positioning system. The following are detailed below.
In order to better understand the global positioning system starting method disclosed in the embodiment of the present invention, a network architecture to which the embodiment of the present invention is applicable is described below.
Referring to fig. 1, fig. 1 is a schematic diagram of a positioning system according to an embodiment of the present invention. As shown in fig. 1, the positioning system includes a user terminal and a plurality of satellites. The user terminal may include, but is not limited to, various user terminals such as a smart phone, a notebook Computer, a Personal Computer (PC), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and an intelligent wearable Device (e.g., a smart watch and a smart band). The user terminal is provided with a Global Positioning System (GPS) module and an Assisted Global Positioning System (AGPS) module, and the satellite is an artificial celestial body that surrounds a planetary orbit and periodically runs according to a closed orbit. It should be noted that the number of satellites shown in fig. 1 is not limited to 4, and more or fewer satellites than those shown in fig. 1 may be included.
The positioning system shown in fig. 1 is typically composed of 24 satellites. Wherein, 21 working satellites and 3 spare satellites are evenly distributed on 6 orbits, 4 satellites in each orbit run on a nearly circular orbit with the radius of 26560 kilometers, and the running period is 11 hours and 58 minutes. The space satellite system ensures that more than 4 satellites can be observed at any place and any time on the ground and receives GPS navigation signals continuously played by a radio transmitter carried by the satellites. The user terminal can capture the satellite to be tested selected according to a certain satellite cut-off angle through the GPS module and track the operation of the satellites. After the user terminal captures the tracked satellite signal, the change rate of the pseudo distance and the distance from the receiving antenna to the satellite can be measured, and data (namely ephemeris data) such as satellite orbit parameters can be demodulated. According to the data, a processor in the user terminal can perform positioning calculation according to a positioning calculation method, and calculate the information of longitude and latitude, height, speed, time and the like of the geographical position of the user terminal.
The user terminal may also obtain ephemeris data through the AGPS module. Specifically, the reference position of the user terminal may be obtained through interaction between the AGPS server and the user terminal, and then assistance data such as ephemeris data and clock required by the user terminal may be sent to the user terminal through a mobile network (e.g., GSM/GPRS, WCDMA, and CDMA2000 networks) to assist the GPS module of the user terminal in positioning.
However, when a user starts a GPS module in a user terminal for navigation, a GPS satellite is frequently dropped during the navigation process, such as: the number of satellites searched by the GPS module falls from 10 to 0, and in this case, the GPS module cannot locate the user terminal, and the user usually needs to manually restart the GPS module before the user can locate the user terminal, which makes the GPS location inefficient.
In the positioning system described in fig. 1, in a case where the GPS module is in an on state, the user terminal may search for a satellite through the GPS module to obtain a first GPS satellite list, where the first GPS satellite list is used to store first satellite signal information; further, the user terminal can judge whether the GPS module is in an invalid positioning state currently according to the first satellite signal information; if the GPS module is in the invalid positioning state currently, the user terminal can restart the GPS module. Therefore, through the embodiment of the invention, the user terminal can automatically judge whether the GPS module is in an invalid positioning state at present according to the received satellite signal information of the satellite, if the GPS module is in the invalid positioning state at present, the GPS satellite falling situation is shown at present, the user terminal can automatically restart the GPS module, and the user terminal can be positioned without manually restarting by a user, so that the positioning efficiency of a global positioning system can be improved.
Based on the architecture shown in fig. 1, the embodiment of the invention discloses a global positioning system starting method. Referring to fig. 2, fig. 2 is a flowchart illustrating a method for starting a global positioning system according to an embodiment of the present invention. As shown in fig. 2, the method may include the following steps.
201. Under the condition that the GPS module is in an open state, the user terminal searches satellites through the GPS module to obtain a first GPS satellite list.
In the embodiment of the invention, a user terminal can search satellites above the user terminal through a GPS module, receive signals sent by the searched satellites, analyze the frequency, the number and the running track of the sent signals of each satellite, finally lock the satellites and obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information, and the first satellite signal information can comprise information such as the identification of the satellites, the number of the satellites and the signal intensity value sent by each satellite.
202. The user terminal judges whether the GPS module is in an invalid positioning state currently according to the first satellite signal information, if so, step 203 is executed, and if not, the process is ended.
In an embodiment of the present invention, the first satellite signal information includes a first number of satellites from which the satellites are searched and a signal strength value of a signal from each satellite.
As an optional implementation manner, the manner for the user terminal to determine whether the GPS module is currently in the invalid positioning state according to the first satellite signal information may be:
determining whether the first number of satellites is greater than or equal to a minimum number of satellites threshold;
if so, determining a second satellite number of satellites with signal strength values larger than the minimum signal strength threshold value;
judging whether the second satellite number is smaller than a minimum satellite number threshold value or not;
and if so, determining that the GPS module is in an invalid positioning state currently.
In this optional embodiment, the GPS module needs at least 4 satellites when positioning the user terminal, so the minimum satellite number threshold may be 4, when the user terminal determines that the first satellite number is greater than or equal to the minimum satellite number threshold, the user terminal may count the second satellite number of satellites whose signal strength values are greater than the minimum signal strength threshold (for example, 8), and further determine whether the second satellite number is less than the minimum satellite number threshold, if so, it indicates that there are fewer satellites whose signal strengths are not sufficient for the GPS module to position the user terminal, and at this time, the user terminal may determine that the GPS module is currently in an invalid positioning state. And if the first satellite quantity is judged to be smaller than the minimum satellite quantity threshold value, the GPS module can be determined to be in an invalid positioning state currently.
203. And the user terminal restarts the GPS module.
In the embodiment of the invention, the user terminal judges that the GPS module is in the invalid positioning state currently according to the first satellite signal information, which indicates that the GPS satellite falling condition currently occurs, and the user terminal can automatically restart the GPS module without manually restarting by a user, so that the positioning of the user terminal can be realized.
In the method flow described in fig. 2, in a case that the GPS module is in an on state, the user terminal may search for a satellite through the GPS module to obtain a first GPS satellite list, where the first GPS satellite list is used to store first satellite signal information; further, the user terminal can judge whether the GPS module is in an invalid positioning state currently according to the first satellite signal information; if the GPS module is in the invalid positioning state currently, the user terminal can restart the GPS module. Therefore, through the embodiment of the invention, the user terminal can automatically judge whether the GPS module is in an invalid positioning state at present according to the received satellite signal information of the satellite, if the GPS module is in the invalid positioning state at present, the GPS satellite falling situation is shown at present, the user terminal can automatically restart the GPS module, and the user terminal can be positioned without manually restarting by a user, so that the positioning efficiency of a global positioning system can be improved.
Based on the architecture shown in fig. 1, the embodiment of the invention discloses a global positioning system starting method. Referring to fig. 3, fig. 3 is a flowchart illustrating another gps startup method according to an embodiment of the disclosure. As shown in fig. 2, the method may include the following steps.
301. The user terminal searches satellites through the GPS module under the condition that the GPS module is in an open state, and obtains a first GPS satellite list.
302. The user terminal obtains a second GPS satellite list.
In an embodiment of the present invention, the second GPS satellite list is used to store second satellite signal information. The second GPS satellite list is used to store second satellite signal information, which may include identification of satellites, number of satellites, signal strength values transmitted by each satellite, and the like.
Optionally, the manner in which the user terminal acquires the second GPS satellite list may specifically be:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving a second GPS satellite list sent by the AGPS.
In this alternative embodiment, once the GPS module is successfully located, the ephemeral ephemeris data may be stored in a memory, that is: latitude and longitude of the fix, altitude, number and trajectory of the satellites over the fix location, and predicting the location of these satellites within four hours. When the user terminal needs to be positioned next time, the short-term ephemeris data can be directly read from the GPS module, so that the satellite can be locked only by simply analyzing and processing the short-term ephemeris data without calculating the orbit of the satellite, the range of searching and positioning the satellite can be reduced, the corresponding positioning satellite can be searched, the time of searching the satellite is shortened, and the positioning speed is accelerated.
However, the short-term ephemeris data stored in the GPS module is not valid for a long time, and when the time exceeds a minimum time threshold (e.g., 4 hours) or the distance from the last positioning exceeds a minimum distance threshold (e.g., 1000 km), the short-term ephemeris data stored in the GPS module is invalid, and at this time, the GPS module may automatically empty the stored short-term ephemeris data.
The AGPS module can assist the GPS module of the user terminal in positioning. The a-GPS technology is a technology that combines network base station information and GPS information to locate a mobile station, and can be used in GSM/GPRS, WCDMA and CDMA2000 networks. The AGPS module can obtain the reference position of the user terminal through the interaction between the AGPS server and the user terminal, and then send auxiliary data such as ephemeris data and clocks required by the user terminal to the user terminal through a mobile network so as to assist the GPS module of the user terminal to carry out positioning.
303. The user terminal determines whether the satellites included in the first satellite signal information are all in the satellite set included in the second satellite signal information, if yes, step 304 is executed, and if not, step 307 is executed.
In the embodiment of the present invention, the second satellite signal information is information that the GPS module successfully locates and stores the user terminal in advance, or the second satellite signal information is information that the AGPS module acquires through the mobile network, the second satellite signal information belongs to valid information, and the first satellite signal information is information that the current user terminal acquires by searching for a satellite through the GPS module, and may be invalid information. Therefore, the user terminal can judge whether the satellites included in the first satellite signal information are all in the satellite set included in the second satellite signal information, if so, the first satellite signal information acquired by the current GPS module is indicated to be valid information, if not, the first satellite signal information acquired by the current GPS module is indicated to be invalid information, and the GPS module can be restarted immediately when the condition that the GPS is dropped occurs currently.
304. The user terminal determines whether the GPS module is currently in an invalid positioning state according to the first satellite signal information, if so, step 305 is executed, and if not, the process is ended.
305. The user terminal determines whether the duration of the invalid positioning state is greater than the minimum invalid time threshold, if so, step 306 is executed, and if not, step 301 is executed again.
In the embodiment of the invention, when the user terminal is shielded by a shielding object (such as a building), the user terminal cannot receive the signal sent by the satellite, generally, in a short time, the user terminal can leave the shielding object with the user terminal, and the user terminal can receive the signal sent by the satellite and recover the positioning of the user terminal, which is not the case of satellite dropping. A minimum invalid time threshold may be set, for example, 3min, the user terminal may determine whether the duration of the invalid positioning state is greater than the minimum invalid time threshold, if so, it indicates that the satellite drop actually occurs at present, and the user terminal needs to restart the GPS module, and if not, it indicates that the user terminal is currently in a transient invalid positioning state, and the user terminal may continue to search for a satellite and perform relocation.
306. The user terminal restarts the GPS module and ends the process.
307. The user terminal restarts the GPS module and ends the process.
In the method flow described in fig. 3, the user terminal may determine whether the satellite drop condition occurs currently in multiple ways, so that the GPS module cannot position the user terminal, and if the satellite drop condition occurs, the user terminal immediately restarts the GPS module without manual restart by the user, so that the efficiency of positioning the global positioning system may be improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, wherein the user terminal is configured to execute all or part of the steps of a gps start method disclosed in fig. 2 and fig. 3, and as shown in fig. 4, the user terminal 400 may include:
a searching unit 401, configured to search for a satellite through a global positioning system GPS module when the GPS module is in an on state, to obtain a first GPS satellite list, where the first GPS satellite list is used to store first satellite signal information;
a first determining unit 402, configured to determine whether the GPS module is currently in an invalid positioning state according to the first satellite signal information;
a restarting unit 403, configured to restart the GPS module if the first determining unit 402 determines that the GPS module is currently in an invalid positioning state.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another ue disclosed in an embodiment of the present invention, wherein the ue is configured to perform all or part of the steps of the gps start method disclosed in fig. 2 and fig. 3, the ue shown in fig. 5 is further optimized on the basis of the ue shown in fig. 4, and compared with the ue shown in fig. 4, the ue shown in fig. 5 may further include, in addition to all the elements of the ue shown in fig. 4:
an obtaining unit 404, configured to, when the searching unit 401 is in an on state of a global positioning system GPS module, search for a satellite through the GPS module, and obtain a first GPS satellite list, and then obtain a second GPS satellite list, where the second GPS satellite list is used to store second satellite signal information;
a second determining unit 405, configured to determine whether all satellites included in the first satellite signal information exist in a set of satellites included in the second satellite signal information;
the first determining unit 402 is specifically configured to determine whether the GPS module is currently in an invalid positioning state according to the first satellite signal information when the second determining unit 405 determines that the satellites included in the first satellite signal information are all in the satellite set included in the second satellite signal information.
Optionally, the manner of acquiring the second GPS satellite list by the acquiring unit 404 is specifically:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving the second GPS satellite list sent by the AGPS.
Wherein the first satellite signal information includes a first satellite number of searched satellites and a signal strength value of each signal emitted by the satellite, and the first determining unit 402 includes:
a determining subunit 4021, configured to determine whether the first number of satellites is greater than or equal to a minimum number of satellites threshold;
a determining subunit 4022, configured to determine, if the determining subunit 4021 determines that the first satellite number is greater than or equal to the minimum satellite number threshold, a second satellite number of satellites whose signal strength values are greater than the minimum signal strength threshold;
the determining subunit 4021 is further configured to determine whether the second satellite number is smaller than the minimum satellite number threshold;
the determining subunit 4022 is further configured to determine that the GPS module is currently in an invalid positioning state if the determining subunit 4021 determines that the number of the second satellites is smaller than the minimum satellite number threshold.
Optionally, the first determining unit 402 is further configured to determine, if the GPS module is currently in an invalid positioning state, whether a duration of the invalid positioning state is greater than a minimum invalid time threshold;
the restarting unit 403 is specifically configured to restart the GPS module if the first determining unit 402 determines that the duration of the invalid positioning state is greater than a minimum invalid time threshold.
In the user terminal 400 depicted in fig. 4 and 5, in the case where the GPS module is in the on state, the search unit 401 may search for satellites through the GPS module to obtain a first GPS satellite list for storing first satellite signal information; further, the first determining unit 402 may determine whether the GPS module is currently in an invalid positioning state according to the first satellite signal information; if the GPS module is currently in the invalid positioning state, the restart unit 403 may restart the GPS module. Therefore, through the embodiment of the invention, the user terminal can automatically judge whether the GPS module is in an invalid positioning state at present according to the received satellite signal information of the satellite, if the GPS module is in the invalid positioning state at present, the GPS satellite falling situation is shown at present, the user terminal can automatically restart the GPS module, and the user terminal can be positioned without manually restarting by a user, so that the positioning efficiency of a global positioning system can be improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another ue disclosed in the embodiment of the present invention, wherein the ue is configured to execute all or part of the steps of the gps start method disclosed in fig. 2 and fig. 3, and as shown in fig. 6, the ue 600 may include: at least one processor 601, a receiver 602, a memory 603, and at least one communication bus 604. Wherein a communication bus 604 is used to enable communication connections between these components. Those skilled in the art will appreciate that the configuration of the user terminal shown in fig. 6 is not intended to limit the embodiments of the present invention, and may be a bus structure, a star structure, a combination of more or less components than those shown, or a different arrangement of components. Wherein:
the processor 601 is a control center of the user terminal, connects various parts of the entire user terminal using various interfaces and lines, and performs various functions of the user terminal and processes data by running or executing programs and/or modules stored in the memory 603 and calling data stored in the memory 603. The processor 601 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 601 may include only a Central Processing Unit (CPU), or may be a combination of a CPU, a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), and various control chips. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The memory 603 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 603 may optionally be at least one storage device located remotely from the processor 601. As shown in fig. 6, the memory 603, which is a kind of computer storage medium, may include therein an operating system, a network communication module, an application program, and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
Specifically, the processor 601 invokes an application program stored in the memory 603 to perform the following operations:
under the condition that a Global Positioning System (GPS) module is in an open state, searching satellites through the GPS module to obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information;
judging whether the GPS module is in an invalid positioning state currently or not according to the first satellite signal information;
and if the GPS module is in an invalid positioning state currently, restarting the GPS module.
Optionally, after the GPS module searches for satellites and obtains the first GPS satellite list under the condition that the GPS module is in the on state, the processor 601 further invokes an application program stored in the memory 603, so as to perform the following operations:
acquiring a second GPS satellite list, wherein the second GPS satellite list is used for storing second satellite signal information;
judging whether the satellites included in the first satellite signal information exist in the satellite set included in the second satellite signal information;
and if so, executing the step of judging whether the GPS module is in an invalid positioning state currently according to the first satellite signal information.
Wherein the obtaining the second list of GPS satellites comprises:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an assisted global positioning system AGPS module, and receiving the second GPS satellite list sent by the AGPS through the receiver 602.
The determining, according to the first satellite signal information, whether the GPS module is currently in an invalid positioning state includes:
judging whether the first satellite number is larger than or equal to a minimum satellite number threshold value;
if so, determining a second satellite number of satellites with signal strength values larger than the minimum signal strength threshold value;
judging whether the second satellite number is smaller than the minimum satellite number threshold value or not;
and if so, determining that the GPS module is in an invalid positioning state currently.
Optionally, the processor 601 further calls an application program stored in the memory 603 for performing the following operations:
if the GPS module is in an invalid positioning state currently, judging whether the duration time of the invalid positioning state is greater than a minimum invalid time threshold value;
and if so, executing the step of restarting the GPS module.
In the method flow described in fig. 6, the user terminal may automatically determine whether the GPS module is currently in an invalid positioning state according to the received satellite signal information of the satellite in real time, and if the GPS module is currently in the invalid positioning state, indicating that a GPS satellite drop situation currently occurs, the user terminal may automatically restart the GPS module, and may implement positioning of the user terminal without manual restart by the user, so that the efficiency of positioning the global positioning system may be improved.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and elements referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (12)

1. A global positioning system starting method is applied to a user terminal and is characterized by comprising the following steps:
under the condition that a Global Positioning System (GPS) module is in an open state, searching satellites through the GPS module to obtain a first GPS satellite list, wherein the first GPS satellite list is used for storing first satellite signal information;
judging whether the GPS module is in an invalid positioning state currently or not according to the first satellite signal information;
if the GPS module is in an invalid positioning state currently, restarting the GPS module;
after the GPS module searches for satellites and obtains a first GPS satellite list when the GPS module is in an on state, the method further includes:
acquiring a second GPS satellite list, wherein the second GPS satellite list is used for storing second satellite signal information, and the second satellite signal information is information which is successfully positioned and stored for the user terminal by a GPS module in advance;
judging whether the satellites included in the first satellite signal information exist in the satellite set included in the second satellite signal information;
if yes, executing the step of judging whether the GPS module is in an invalid positioning state currently according to the first satellite signal information;
the judging whether the GPS module is in the invalid positioning state currently comprises the following steps:
and judging whether the satellites included in the first satellite signal information exist in the satellite set included in the second satellite signal information, if so, judging that the current GPS module is in an effective positioning state, and if not, judging that the GPS module is in an invalid state.
2. The method of claim 1, wherein the obtaining the second list of GPS satellites comprises:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving the second GPS satellite list sent by the AGPS.
3. The method of claim 1 or 2, wherein the first satellite signal information comprises a first number of searched satellites and a signal strength value of each signal from the satellite, and wherein the determining whether the GPS module is currently in an invalid positioning state according to the first satellite signal information comprises:
judging whether the first satellite number is larger than or equal to a minimum satellite number threshold value;
if so, determining a second satellite number of satellites with signal strength values larger than the minimum signal strength threshold value;
judging whether the second satellite number is smaller than the minimum satellite number threshold value or not;
and if so, determining that the GPS module is in an invalid positioning state currently.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
if the GPS module is in an invalid positioning state currently, judging whether the duration time of the invalid positioning state is greater than a minimum invalid time threshold value;
and if so, executing the step of restarting the GPS module.
5. The method of claim 3, further comprising:
if the GPS module is in an invalid positioning state currently, judging whether the duration time of the invalid positioning state is greater than a minimum invalid time threshold value;
and if so, executing the step of restarting the GPS module.
6. A user terminal, comprising:
the device comprises a searching unit, a receiving unit and a processing unit, wherein the searching unit is used for searching satellites through a Global Positioning System (GPS) module under the condition that the GPS module is in an opening state to obtain a first GPS satellite list, and the first GPS satellite list is used for storing first satellite signal information;
the first judging unit is used for judging whether the GPS module is in an invalid positioning state currently according to the first satellite signal information;
the restarting unit is used for restarting the GPS module if the first judging unit judges that the GPS module is in an invalid positioning state currently;
the acquisition unit is used for acquiring a second GPS satellite list after the search unit searches satellites through the GPS module under the condition that the GPS module is in an open state and acquires a first GPS satellite list, wherein the second GPS satellite list is used for storing second satellite signal information, and the second satellite signal information is information which is successfully positioned and stored in advance for the user terminal by the GPS module;
a second determining unit, configured to determine whether the satellites included in the first satellite signal information all exist in the set of satellites included in the second satellite signal information;
the first determining unit is specifically configured to determine, according to the first satellite signal information, whether the GPS module is currently in an invalid positioning state when the second determining unit determines that the satellites included in the first satellite signal information are all in the satellite set included in the second satellite signal information.
7. The ue of claim 6, wherein the obtaining unit obtains the second GPS satellite list by:
acquiring a second GPS satellite list from the GPS module; or the like, or, alternatively,
and sending a second GPS satellite list acquisition request to an AGPS module, and receiving the second GPS satellite list sent by the AGPS.
8. The user terminal according to claim 6 or 7, wherein the first satellite signal information includes a first number of searched satellites and a signal strength value of each signal sent by the satellite, and the first determining unit includes:
the judging subunit is used for judging whether the first satellite number is greater than or equal to a minimum satellite number threshold value;
the determining subunit is used for determining the second satellite number of the satellite with the signal strength value larger than the minimum signal strength threshold value if the judging subunit judges that the first satellite number is larger than or equal to the minimum satellite number threshold value;
the judging subunit is further configured to judge whether the second satellite number is smaller than the minimum satellite number threshold;
the determining subunit is further configured to determine that the GPS module is currently in an invalid positioning state if the determining subunit determines that the second satellite number is smaller than the minimum satellite number threshold.
9. The ue according to claim 6 or 7, wherein the first determining unit is further configured to determine whether a duration of the invalid positioning state is greater than a minimum invalid time threshold if the GPS module is currently in an invalid positioning state;
the restarting unit is specifically configured to restart the GPS module if the first determining unit determines that the duration of the invalid positioning state is greater than a minimum invalid time threshold.
10. The ue of claim 8, wherein the first determining unit is further configured to determine whether a duration of the invalid positioning state is greater than a minimum invalid time threshold if the GPS module is currently in an invalid positioning state;
the restarting unit is specifically configured to restart the GPS module if the first determining unit determines that the duration of the invalid positioning state is greater than a minimum invalid time threshold.
11. A user terminal, comprising: at least one input device; at least one output device, at least one processor, and a memory, the input device, the output device, the processor, and the memory being connected by one or more buses;
the processor invokes an application program stored in memory for performing the method of any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that it stores a computer program comprising instructions for carrying out the method of any one of claims 1 to 5.
CN201710847896.0A 2016-03-25 2016-03-25 Global positioning system starting method, user terminal and related medium product Active CN107678045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710847896.0A CN107678045B (en) 2016-03-25 2016-03-25 Global positioning system starting method, user terminal and related medium product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610177515.8A CN105842712B (en) 2016-03-25 2016-03-25 A kind of global positioning system starts method and user terminal
CN201710847896.0A CN107678045B (en) 2016-03-25 2016-03-25 Global positioning system starting method, user terminal and related medium product

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610177515.8A Division CN105842712B (en) 2016-03-25 2016-03-25 A kind of global positioning system starts method and user terminal

Publications (2)

Publication Number Publication Date
CN107678045A CN107678045A (en) 2018-02-09
CN107678045B true CN107678045B (en) 2020-02-14

Family

ID=56583547

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610177515.8A Active CN105842712B (en) 2016-03-25 2016-03-25 A kind of global positioning system starts method and user terminal
CN201710847896.0A Active CN107678045B (en) 2016-03-25 2016-03-25 Global positioning system starting method, user terminal and related medium product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610177515.8A Active CN105842712B (en) 2016-03-25 2016-03-25 A kind of global positioning system starts method and user terminal

Country Status (1)

Country Link
CN (2) CN105842712B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018028522A (en) * 2016-08-19 2018-02-22 東芝テック株式会社 Information processor, positioning system and program
CN108151743B (en) * 2017-12-13 2021-11-16 联想(北京)有限公司 Indoor and outdoor position identification method and system
CN108563177A (en) * 2018-07-18 2018-09-21 兖州煤业股份有限公司 A kind of coal yard loading machine vehicle-mounted integral terminal based on DGPS
CN109343092B (en) * 2018-08-31 2021-01-05 深圳市广和通无线股份有限公司 Performance test method and device, electronic equipment and storage medium
CN109597108A (en) * 2018-12-20 2019-04-09 上海微小卫星工程中心 Global navigation satellite system receiver and its operating method
CN111366954B (en) * 2018-12-26 2023-11-24 成都鼎桥通信技术有限公司 GPS star searching control method and device in Android system
CN111148031B (en) * 2019-04-24 2022-05-03 广东小天才科技有限公司 Method for saving GPS positioning power consumption and wearable device
CN110324780B (en) * 2019-06-24 2021-07-13 诺领科技(南京)有限公司 Simplified GNSS positioning method and device for terminal of Internet of things
CN110366233B (en) * 2019-06-24 2021-07-13 诺领科技(南京)有限公司 Low-power-consumption positioning method and device for Internet of things
CN113534202A (en) * 2020-04-21 2021-10-22 深圳市万普拉斯科技有限公司 Satellite positioning system detection method, device, computer equipment and storage medium
CN112600610B (en) * 2020-12-09 2023-03-24 内蒙古电力(集团)有限责任公司内蒙古电力科学研究院分公司 Beidou communication module testing method, device, equipment and storage medium
CN113589345A (en) * 2021-08-03 2021-11-02 北京小米移动软件有限公司 Positioning method, positioning device and storage medium
CN113848071A (en) * 2021-09-24 2021-12-28 上汽通用五菱汽车股份有限公司 Positioning fault testing method and device, vehicle and computer readable storage medium
CN114143718B (en) * 2021-11-03 2023-06-20 珠海格力电器股份有限公司 Target positioning method, device, system, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424731A (en) * 2007-10-31 2009-05-06 中国科学院微电子研究所 Rapidly recapturing and positioning method under receiver signal deletion condition of global positioning system
CN103777215A (en) * 2014-02-12 2014-05-07 厦门雅迅网络股份有限公司 Detection method for GPS antenna malicious shielding
CN103983994A (en) * 2014-05-22 2014-08-13 深圳市益光实业有限公司 GPS locating and tracking device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7053824B2 (en) * 2001-11-06 2006-05-30 Global Locate, Inc. Method and apparatus for receiving a global positioning system signal using a cellular acquisition signal
CN101493511B (en) * 2008-01-23 2011-08-31 中国科学院微电子研究所 Global positioning system satellite searching and scheduling method
CN101672909A (en) * 2009-09-24 2010-03-17 安凯(广州)微电子技术有限公司 GPS fast relocation method
CN103033821B (en) * 2011-09-30 2016-02-17 中国电信股份有限公司 Localization method and locating device, mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424731A (en) * 2007-10-31 2009-05-06 中国科学院微电子研究所 Rapidly recapturing and positioning method under receiver signal deletion condition of global positioning system
CN103777215A (en) * 2014-02-12 2014-05-07 厦门雅迅网络股份有限公司 Detection method for GPS antenna malicious shielding
CN103983994A (en) * 2014-05-22 2014-08-13 深圳市益光实业有限公司 GPS locating and tracking device and system

Also Published As

Publication number Publication date
CN105842712B (en) 2017-09-19
CN107678045A (en) 2018-02-09
CN105842712A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN107678045B (en) Global positioning system starting method, user terminal and related medium product
CN102419443B (en) Method and system for processing signal
JP5663621B2 (en) Navigation bit boundary determination device and method therefor
JP6377161B2 (en) Cloud off-road global satellite positioning
EP3805801A1 (en) Identifying gnss navigation data as potentially manipulated or as trustworthy at least partially based on an estimated deviation of a second estimate of a satellite state from a first estimate of the satellite state
CN109343092B (en) Performance test method and device, electronic equipment and storage medium
JP2010197189A (en) Time determination method and time determination device
US20200124739A1 (en) Positioning device and positioning method
JP5740961B2 (en) Satellite signal capture suitability determination method and satellite signal capture suitability determination device
CN111650614A (en) Satellite positioning method, chip, module and electronic equipment
US7986268B2 (en) GPS RF front end and related method of providing a position fix, storage medium and apparatus for the same
JP2010127672A (en) Position calculating method and position calculating device
US8494094B2 (en) Demodulation of data collected prior to bit edge detection
US8953721B2 (en) Cross correlation determination method and cross correlation determination device
CN103675840A (en) Satellite signal receiver and positioning method thereof
KR20130049198A (en) Satellite positioning system signal searching methods and apparatuses
EP3195012B1 (en) Providing and using assistance data including ionosphere models
JP2001133535A (en) Information terminal, and positioning method
US20150091752A1 (en) Satellite signal searching method
US8330652B2 (en) Methods and apparatuses for reducing time to estimate a position using a satellite positioning system
CN112904372A (en) Auxiliary satellite navigation system and positioning method thereof
CN116559915B (en) Satellite ephemeris injection method for mine satellite navigation positioning
JP2007506099A (en) Partial almanac collection system
EP2397869A1 (en) Image pickup apparatus, image pickup method, and program
CN110737005B (en) Method for positioning chip and terminal equipment

Legal Events

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

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant