CN110737005B - Method for positioning chip and terminal equipment - Google Patents

Method for positioning chip and terminal equipment Download PDF

Info

Publication number
CN110737005B
CN110737005B CN201910099457.5A CN201910099457A CN110737005B CN 110737005 B CN110737005 B CN 110737005B CN 201910099457 A CN201910099457 A CN 201910099457A CN 110737005 B CN110737005 B CN 110737005B
Authority
CN
China
Prior art keywords
positioning
chip
time
positioning chip
decoding
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
CN201910099457.5A
Other languages
Chinese (zh)
Other versions
CN110737005A (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.)
Techtotop Microelectronics Co Ltd
Original Assignee
Techtotop Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Techtotop Microelectronics Co Ltd filed Critical Techtotop Microelectronics Co Ltd
Priority to CN201910099457.5A priority Critical patent/CN110737005B/en
Priority to PCT/CN2019/126636 priority patent/WO2020155912A1/en
Publication of CN110737005A publication Critical patent/CN110737005A/en
Application granted granted Critical
Publication of CN110737005B publication Critical patent/CN110737005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption
    • 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/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/25Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
    • G01S19/258Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to the satellite constellation, e.g. almanac, ephemeris data, lists of satellites in view
    • 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/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention is suitable for the technical field of positioning, and provides a method for positioning a positioning chip and a terminal device, wherein the method comprises the following steps: powering on the positioning chip; according to the current working stage of the positioning chip, the positioning time required by the positioning chip to determine the current position is detected at least one preset moment after the positioning chip is powered on, and corresponding operation can be executed according to the positioning time estimated by the positioning chip, so that the power consumption of a positioning receiver of a user is saved, and the user experience is improved.

Description

Method for positioning chip and terminal equipment
Technical Field
The invention belongs to the technical field of positioning, and particularly relates to a method for positioning a positioning chip and terminal equipment.
Background
With the progress of the technical level, the Global Positioning System (GPS) technology is increasingly applied to aspects of daily life, and the GPS technology plays an important role in Positioning children, the elderly, or people with intelligence restriction, etc. In the application of low-power-consumption positioning and tracking, namely the application of positioning once every 1 hour, a user positioning receiver opens a GPS chip for positioning once every 1 hour, if the positioning can be carried out within 3 minutes, the GPS is powered off immediately, if the positioning can not be carried out within 3 minutes, the GPS is powered off within 3 minutes, and the power-on positioning is unsuccessful.
Due to the low-power-consumption positioning tracking application, the battery capacity is small, when the existing GPS chip cannot be positioned, the power of the GPS chip needs to be cut off in 3 rd minute, so that the power consumption of the GPS chip is large, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for positioning a positioning chip and a terminal device, so as to solve the problems in the prior art that due to low power consumption of positioning tracking application, battery capacity is small, and when the existing GPS chip cannot perform positioning, the power of the GPS chip needs to be cut off in 3 rd minute, which results in large power consumption of the GPS chip and poor user experience.
A first aspect of an embodiment of the present invention provides a method for positioning a chip, including:
powering on the positioning chip;
detecting positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip;
and executing corresponding operation according to the positioning time.
In one embodiment, the operational phase comprises: the method comprises a satellite signal acquisition working phase, a time decoding working phase, an ephemeris decoding working phase and a positioning calculation working phase.
In an embodiment, after the positioning chip is powered on, the method further includes:
receiving satellite signals transmitted by a satellite;
detecting whether the time data and the ephemeris data stored in the positioning chip are valid or not;
when the time data and the ephemeris data stored in the positioning chip are invalid, performing time decoding and ephemeris decoding on the received satellite signal to obtain decoded time data and ephemeris data;
detecting the number of satellites corresponding to all received satellite signals;
and if all the received satellite signals correspond to at least four satellites, and the time decoding and the ephemeris decoding are successful, performing positioning calculation according to at least four decoded time data and at least four decoded ephemeris data, and outputting the current position.
In one embodiment, the satellite signals are acquired at different times, the time required for decoding is different, the ephemeris is decoded at different times, and the position solution is calculated at different times under different signal conditions.
In an embodiment, the detecting, according to the current working phase of the positioning chip, the positioning time required by the positioning chip to determine the current position at least one preset time after the positioning chip is powered on includes:
and detecting the positioning time required by the positioning chip to determine the current position according to the number of the satellites corresponding to the currently received satellite sending signals at least one preset moment after the positioning chip is powered on.
The detecting, according to the current working phase of the positioning chip, the positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on includes:
and at least one preset moment after the positioning chip is powered on, detecting the positioning time required by the positioning chip to determine the current position according to the number of satellites corresponding to the currently received transmitted satellite signals and the number of satellites for completing ephemeris decoding.
In an embodiment, the performing corresponding operations according to the positioning time includes:
detecting whether the positioning time exceeds a preset time or not;
when the positioning time exceeds the preset time, performing power-off operation on the positioning chip;
and when the positioning time does not exceed the preset time, the positioning chip continues to execute the positioning operation.
A second aspect of the embodiments of the present invention provides a device for positioning a chip, including:
the power-on module is used for powering on the positioning chip;
the detection module is used for detecting the positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip;
and the processing module is used for executing corresponding operation according to the positioning time.
A third aspect of an embodiment of the present invention provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method for locating a chip as described above when executing the computer program.
A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, including: the computer readable storage medium stores a computer program which, when executed by a processor, performs the steps of the method for positioning a chip as described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the positioning time required by the positioning chip for determining the current position is detected at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip, corresponding operation can be executed according to the positioning time estimated by the positioning chip, the power consumption of a user positioning receiver is saved, and the user experience is 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 embodiments or the prior art descriptions will be briefly described 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 inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for positioning a chip according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of another method for positioning a chip according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interaction flow for performing corresponding operations according to positioning time according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an apparatus for positioning a chip according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart of an implementation of the method for positioning a chip according to the embodiment of the present invention, which is detailed as follows:
step 101, powering on a positioning chip.
The positioning chip is a core component for positioning in the positioner. In some embodiments, the positioning chip may be a GPS chip.
Step 102, detecting the positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip.
Optionally, the working phase of positioning the chip may include: the method comprises a satellite signal acquisition working phase, a time decoding working phase, an ephemeris decoding working phase and a positioning calculation working phase, wherein the sequential execution of the working phases of the positioning chip is a positioning execution process of the positioning chip.
Optionally, as shown in fig. 2, after step 101 in the method for positioning a chip, a positioning process for positioning the chip may be further included, specifically including the following steps.
Step 201, receiving a satellite signal transmitted by a satellite.
The GPS navigation system satellite part is used for continuously transmitting satellite signals, and after the positioning chip is electrified, the satellite signals transmitted by the satellites can be received, so that positioning is carried out.
One frame of satellite data is broadcast by satellite signals every 30 seconds, each frame of satellite data comprises 5 subframes, each subframe is 6 seconds in length and contains time information, and in addition, ephemeris information is contained in 18 continuous seconds in the frame of satellite data. Ephemeris refers to a table of precise positions or trajectories of flight object operation as a function of time during a GPS measurement, which is a function of time. The satellite ephemeris determines various parameters such as time, coordinates, azimuth, speed and the like of a flight body according to the mathematical relation among 6 orbit parameters of Kepler's law, and has extremely high precision. The ephemeris information of the satellite is also called ephemeris, and the ephemeris data is used to describe the predetermined position of a certain satellite at regular intervals or the predetermined position of a certain artificial satellite at regular intervals.
Step 202, detecting whether the time data and the ephemeris data stored in the positioning chip are valid; when the time data and the ephemeris data stored in the positioning chip are invalid, executing step 203; when the time data and the ephemeris data stored in the positioning chip are valid, step 204 is executed.
Optionally, it is detected whether the time data and the ephemeris data stored in the positioning chip are the latest time data and ephemeris data that can be used for subsequent positioning. For example, if the time data and the ephemeris data stored in the positioning chip are data before the preset time, the time data and the ephemeris data are not available, and if the time data and the ephemeris data stored in the positioning chip are data after the preset time, the time data and the ephemeris data are available. Optionally, the preset time is data set according to experience, and the preset time set for different positioning chips may be different. For example, the preset time is 5 minutes, that is, the time data and ephemeris data stored in the positioning chip are data before 5 minutes, and are not available.
Step 203, performing time decoding and ephemeris decoding on the received satellite signal to obtain decoded time data and ephemeris data, and executing step 204.
And when the time data and the ephemeris data stored in the positioning chip are invalid, performing cold start operation, and autonomously acquiring the time data and the ephemeris data of the satellite. Further, when the time data and the ephemeris data stored in the positioning chip are valid, the time data and the ephemeris data may be directly used for positioning calculation.
The method comprises the steps of carrying out time decoding on satellite signals, extracting time data, comparing the time data with a clock of a user positioning receiver (the user positioning receiver comprises a positioning chip), obtaining the distance between a satellite and the user positioning receiver, extracting ephemeris data by carrying out ephemeris decoding on the satellite signals, calculating the position of the satellite when the satellite signals are transmitted according to the ephemeris data, and obtaining information such as the position speed of the user positioning receiver in a WGS-84 geodetic coordinate system.
And step 204, detecting the number of satellites corresponding to all the received satellite signals.
Step 205, if all the received satellite signals correspond to at least four satellites and the time decoding and the ephemeris decoding are successful, performing positioning calculation according to at least four decoded time data and at least four decoded ephemeris data, and outputting the current position.
Since the clock used by the user positioning receiver and the satellite-borne clock cannot always be synchronized, in addition to the three-dimensional coordinates x, y, z of the user positioning receiver, a delta t is introduced, i.e. the time difference between the satellite and the user positioning receiver is taken as an unknown, and then the 4 unknowns are solved by 4 equations for positioning. So that at least 4 satellites are received if one wants to know where the user positioning receiver is located.
The basic conditions for general satellite positioning are therefore: at least four satellites are acquired, and ephemeris decoding of the acquired at least four satellites is successful. Therefore, in this embodiment, at least four received satellite signals transmitted by the satellites are required.
Steps 201 to 205 describe the positioning process of the positioning chip, but under different signal conditions, the time required for acquiring the satellite signal is different, the time required for decoding the ephemeris is different, and the time required for resolving the positioning is different. For example, in an open environment, the signal condition is good, the time required for each working phase of satellite positioning is short, and the satellite positioning time is also short; under the environments of elevated bridges, urban high buildings, indoor environments and the like, the signal conditions are good, the time required by each working stage of satellite positioning is longer than that required by each working stage of the environment with good signal conditions, and therefore the time required by satellite positioning is longer than that required by the environment with good signal conditions; in the case of poor signal conditions or no satellite signals, the positioning chip may not acquire four satellites all the time, which may result in unsuccessful satellite positioning all the time.
Optionally, when the signal condition is good, at least one preset time after the positioning chip is powered on, the positioning time required by the positioning chip to determine the current position is detected according to the number of currently received satellites corresponding to the transmitted satellite signals and the number of satellites completing ephemeris decoding, so that the time required by the positioning chip to position can be detected more accurately.
When the signal condition is good, various working progresses of the positioning chip are smooth, the positioning chip may have finished a satellite signal capturing working phase, a time decoding working phase and an ephemeris decoding working phase at a preset moment after the positioning chip is powered on, and the positioning time required by the positioning chip to determine the current position is detected according to the number of captured satellites and the number of satellites completing ephemeris decoding.
Optionally, when the signal condition is poor, at least one preset time after the positioning chip is powered on, the positioning time required by the positioning chip to determine the current position is detected according to the number of satellites corresponding to currently received transmitted satellite signals.
When the signal condition is poor, at a preset moment after the positioning chip is powered on, the positioning chip may only be in a satellite signal capturing working stage, and the number of captured satellites is less than four, and at this time, the positioning time required by the positioning chip to determine the current position is detected according to the number of captured satellites.
The preset time for detecting the positioning time may be set empirically, for example, the preset time may be 30 seconds for powering on the positioning chip, or the preset time may be 120 seconds for powering on the positioning chip.
The following describes a specific embodiment of detecting the time required for positioning the positioning chip at least one preset time after the positioning chip is powered on according to the working phase of the positioning chip under different signal conditions.
In an open environment, the signal condition is good, and the time required for the positioning chip to perform each item of work is shown in table 1.
Table 1 time required for the positioning chip to perform each work when the signal condition is good in an open environment
Figure BDA0001965314940000071
Figure BDA0001965314940000081
As shown in table 1, after the positioning chip is powered on, the positioning chip starts to receive a satellite signal sent by a satellite, acquire the satellite, find that time data and ephemeris data stored in the positioning chip are invalid, and need to perform time decoding and ephemeris decoding autonomously again, where the estimated required positioning time is 300 seconds. When the positioning chip is electrified for 2 seconds, eight satellites are successfully captured, and the estimated required positioning time is 40 seconds. In open environments, the acquisition of satellite signals requires only 1 to 2 seconds. When the positioning chip is powered on for 7 seconds, the time decoding of one satellite is successful, and the estimated required positioning time is 24 seconds. Multiple experiments show that the time required for time decoding of the satellite is about 6 seconds. When the positioning chip is powered on for 22 seconds, ephemeris of one satellite is successfully decoded, and the estimated required positioning time is 9 seconds. Multiple experiments show that the ephemeris decoding of a satellite takes 18 to 30 seconds, and it should be noted that the time decoding and the ephemeris decoding of different satellites can be performed simultaneously. Multiple tests show that the positioning solution can be completed within 1 second. Therefore, when the signal condition is good, the average localization time is generally about 30 seconds.
In an environment with better signal conditions, the time required for the positioning chip to perform each task is shown in table 2.
TABLE 2 time required for positioning the chip to perform various tasks in an environment with good signal conditions
Figure BDA0001965314940000091
Figure BDA0001965314940000101
As shown in table 2, after the positioning chip is powered on, the positioning chip starts to receive a satellite signal sent by a satellite, acquire the satellite, find that time data and ephemeris data stored in the positioning chip are invalid, and need to perform time decoding and ephemeris decoding autonomously again, where the estimated required positioning time is 300 seconds. When the positioning chip is electrified for 4 seconds, the first satellite is successfully acquired, the estimated required positioning time is 300 seconds, when the positioning chip is electrified for 30 seconds, the fourth satellite is successfully acquired, and therefore under the environment with better signal conditions, the satellite signal acquisition needs 4 to 30 seconds. When the positioning chip is powered on for 10 seconds, the time decoding of one satellite is successful, and the estimated required positioning time is 290 seconds. In the time decoding and ephemeris decoding processes, if the signal is just near the sensitivity of the teletext or has the influence of transient interference, the ephemeris data decoding cannot be successfully decoded within one frame of satellite data, and decoding of multiple frames of satellite data is required to verify each other, which may take 30 × N. In the process of positioning calculation, if the distribution positions of the visible satellites are not good, the positioning calculation time is also prolonged, and even a plurality of successfully decoded satellites need to be waited to participate in the positioning calculation, so that the positioning result can be output. Therefore, under the condition of good signal condition, the average positioning time is generally about 120 seconds.
In an environment with harsh signal conditions, the time required for the positioning chip to perform each operation is shown in table 3.
TABLE 3 time required for positioning the chip to perform various operations in an environment with harsh signal conditions
Figure BDA0001965314940000111
As shown in table 3, after the positioning chip is powered on, the positioning chip starts to receive a satellite signal sent by a satellite, acquire the satellite, find that time data and ephemeris data stored in the positioning chip are invalid, and need to perform time decoding and ephemeris decoding autonomously again, where the estimated required positioning time is 300 seconds. When the positioning chip is electrified for 6 seconds, the first satellite is successfully acquired, the estimated required positioning time is 300 seconds, when the positioning chip is electrified for 26 seconds, the second satellite is successfully acquired, and the estimated required positioning time is 290 seconds. When the positioning chip is powered on for 300 seconds, only two satellites are acquired, so that under the condition that satellite signals are bad or none, the positioning chip cannot acquire 4 visible satellites all the time, and positioning is not successful all the time.
And 103, executing corresponding operation according to the positioning time.
Alternatively, as shown in fig. 3, step 103 includes the following steps.
Step 301, detecting whether the positioning time exceeds a preset time; when the positioning time exceeds the preset time, executing step 302; when the positioning time does not exceed the preset time, step 303 is executed.
Optionally, the preset time may be set empirically, for example, the preset time may be set to 80 seconds, or the preset time may be set to 120 seconds, and in this embodiment, the specific setting value of the preset time is not limited.
Step 302, performing a power-off operation on the positioning chip.
Optionally, if the preset time is set to 80 seconds and the positioning time is 280 seconds, the upper computer may directly power off the positioning chip in order to save power consumption.
Step 303, the positioning chip continues to perform positioning operations.
Optionally, if the preset time is set to 80 seconds and the positioning time is 15 seconds, the positioning chip is not powered off first, and the positioning chip is powered off after the positioning is completed.
According to the method for positioning the positioning chip, the time required by positioning the positioning chip is detected at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip, corresponding operation can be executed according to the positioning time estimated by the positioning chip, the power consumption of a positioning receiver of a user is saved, and the user experience is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 shows an exemplary diagram of an apparatus for positioning a chip according to an embodiment of the present invention, which corresponds to the method for positioning a chip according to the above embodiment. As shown in fig. 4, the apparatus may include: a power-on module 401, a detection module 402 and a processing module 403.
And a power-on module 401, configured to power on the positioning chip.
A detecting module 402, configured to detect, according to a current working phase of the positioning chip, positioning time required by the positioning chip to determine a current position at least one preset time after the positioning chip is powered on.
And the processing module 403 is configured to execute a corresponding operation according to the positioning time.
Optionally, the working phase may include: the method comprises a satellite signal acquisition working phase, a time decoding working phase, an ephemeris decoding working phase and a positioning calculation working phase. Under different signal conditions, the time required for acquiring the satellite signals is different, the time required for decoding the ephemeris is different, and the time required for resolving the positioning is different. For example, in an open environment, the signal condition is good, the time required for each working phase of satellite positioning is short, and the satellite positioning time is also short; under the environments of elevated bridges, urban high buildings, indoor environments and the like, the signal conditions are good, the time required by each working stage of satellite positioning is longer than that required by each working stage of the environment with good signal conditions, and therefore the time required by satellite positioning is longer than that required by the environment with good signal conditions; in the case of poor signal conditions or no satellite signals, the positioning chip may not acquire four satellites all the time, which may result in unsuccessful satellite positioning all the time.
Optionally, when the signal condition is poor, at least one preset time after the positioning chip is powered on, the positioning time required by the positioning chip to determine the current position is detected according to the number of satellites corresponding to currently received transmitted satellite signals.
Optionally, when the signal condition is good, at least one preset time after the positioning chip is powered on, the positioning time required by the positioning chip to determine the current position is detected according to the number of currently received satellites corresponding to the transmitted satellite signals and the number of satellites completing ephemeris decoding, so that the time required by the positioning chip to position can be detected more accurately.
Optionally, the processing module 403 is specifically configured to detect whether the positioning time exceeds a preset time; when the positioning time exceeds the preset time, performing power-off operation on the positioning chip; and when the positioning time does not exceed the preset time, continuing to execute the positioning operation.
According to the device for positioning the positioning chip, the detection module detects the positioning time required by the positioning chip for determining the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip, and corresponding operation can be executed according to the positioning time estimated by the positioning chip, so that the power consumption of a positioning receiver of a user is saved, and the user experience is improved.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 501, a memory 502 and a computer program 503, such as a program for locating a chip location, stored in said memory 502 and executable on said processor 501. The processor 501 executes the computer program 503 to implement the steps in the above-mentioned method for positioning a chip, such as steps 101 to 103 shown in fig. 1, or steps 201 to 205 shown in fig. 2, or steps 301 to 303 shown in fig. 3. The processor 501, when executing the computer program 503, implements the functions of the modules in the above-described device embodiments, such as the functions of the modules 401 to 403 shown in fig. 4.
Illustratively, the computer program 503 may be partitioned into one or more program modules that are stored in the memory 502 and executed by the processor 501 to implement the present invention. The one or more program modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 503 in the apparatus for positioning a positioning chip or the terminal device 5. For example, the computer program 503 may be divided into a power-on module 401, a detection module 402 and a processing module 403, and specific functions of the modules are shown in fig. 4, which is not described in detail herein.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 501, a memory 502. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 502 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 502 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 502 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 502 is used for storing the computer programs and other programs and data required by the terminal device 5. The memory 502 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A method for positioning a chip, comprising:
powering on the positioning chip;
detecting positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip; the working phase comprises: a satellite signal acquisition working phase, a time decoding working phase, an ephemeris decoding working phase and a positioning calculation working phase;
and executing corresponding operation according to the positioning time.
2. The method of positioning a chip as recited in claim 1, wherein after the positioning chip is powered on, the method further comprises:
receiving satellite signals transmitted by a satellite;
detecting whether the time data and the ephemeris data stored in the positioning chip are valid or not;
when the time data and the ephemeris data stored in the positioning chip are invalid, performing time decoding and ephemeris decoding on the received satellite signal to obtain decoded time data and ephemeris data;
detecting the number of satellites corresponding to all received satellite signals;
and if all the received satellite signals correspond to at least four satellites, and the time decoding and the ephemeris decoding are successful, performing positioning calculation according to at least four decoded time data and at least four decoded ephemeris data, and outputting the current position.
3. The method for positioning the chip of claim 2, wherein the time required for acquiring the satellite signals is different, the time required for decoding the ephemeris is different, and the time required for resolving the position is different under different signal conditions.
4. The method as claimed in claim 3, wherein the detecting the positioning time required by the positioning chip to determine the current position at least one preset time after the positioning chip is powered on according to the current working phase of the positioning chip comprises:
and detecting the positioning time required by the positioning chip to determine the current position according to the number of the satellites corresponding to the currently received satellite sending signals at least one preset moment after the positioning chip is powered on.
5. The method as claimed in claim 3, wherein the detecting the positioning time required by the positioning chip to determine the current position at least one preset time after the positioning chip is powered on according to the current working phase of the positioning chip comprises:
and at least one preset moment after the positioning chip is powered on, detecting the positioning time required by the positioning chip to determine the current position according to the number of satellites corresponding to the currently received transmitted satellite signals and the number of satellites for completing ephemeris decoding.
6. The method for positioning chip of any one of claims 1 to 5, wherein the performing corresponding operations according to the positioning time comprises:
detecting whether the positioning time exceeds a preset time or not;
when the positioning time exceeds the preset time, performing power-off operation on the positioning chip;
and when the positioning time does not exceed the preset time, the positioning chip continues to execute the positioning operation.
7. An apparatus for positioning a chip, comprising:
the power-on module is used for powering on the positioning chip;
the detection module is used for detecting the positioning time required by the positioning chip to determine the current position at least one preset moment after the positioning chip is powered on according to the current working stage of the positioning chip; the working phase comprises: a satellite signal acquisition working phase, a time decoding working phase, an ephemeris decoding working phase and a positioning calculation working phase;
and the processing module is used for executing corresponding operation according to the positioning time.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201910099457.5A 2019-01-31 2019-01-31 Method for positioning chip and terminal equipment Active CN110737005B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910099457.5A CN110737005B (en) 2019-01-31 2019-01-31 Method for positioning chip and terminal equipment
PCT/CN2019/126636 WO2020155912A1 (en) 2019-01-31 2019-12-19 Positioning chip positioning method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910099457.5A CN110737005B (en) 2019-01-31 2019-01-31 Method for positioning chip and terminal equipment

Publications (2)

Publication Number Publication Date
CN110737005A CN110737005A (en) 2020-01-31
CN110737005B true CN110737005B (en) 2021-09-24

Family

ID=69236633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910099457.5A Active CN110737005B (en) 2019-01-31 2019-01-31 Method for positioning chip and terminal equipment

Country Status (2)

Country Link
CN (1) CN110737005B (en)
WO (1) WO2020155912A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03269385A (en) * 1990-03-20 1991-11-29 Pioneer Electron Corp Gps receiver
CN103235323A (en) * 2013-05-15 2013-08-07 易讯思创(北京)科技发展有限公司 Method for reducing power consumption of GPS (Global Positioning System)
CN103675841A (en) * 2012-09-05 2014-03-26 迈实电子(上海)有限公司 Satellite signal receiver and ephemeris update method thereof
CN105589085A (en) * 2014-10-24 2016-05-18 深圳艾科创新微电子有限公司 Low-power consumption Beidou positioning communication device and control method
CN107643531A (en) * 2016-07-20 2018-01-30 西安中兴新软件有限责任公司 GPS control method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7436357B2 (en) * 2006-11-20 2008-10-14 Centrality Communications, Inc. Background ephemeris download in navigational receivers
TWI415497B (en) * 2010-08-27 2013-11-11 Univ Nat Taiwan Device, system, and method for time synchronization
JP2012154872A (en) * 2011-01-28 2012-08-16 Sanyo Electric Co Ltd Electronic apparatus
CN103293544B (en) * 2013-06-24 2015-01-07 天津七一二通信广播有限公司 Rapid GPS (global position system) positioning method for AIS (automatic identification system) net sounder
CN106932798A (en) * 2017-02-27 2017-07-07 武汉市龙腾创科技有限公司 One kind searches and rescues alignment system and method
CN107959966B (en) * 2017-12-05 2021-07-16 青岛海信移动通信技术股份有限公司 Method and device for reducing power consumption of positioning type cellular Internet of things terminal and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03269385A (en) * 1990-03-20 1991-11-29 Pioneer Electron Corp Gps receiver
CN103675841A (en) * 2012-09-05 2014-03-26 迈实电子(上海)有限公司 Satellite signal receiver and ephemeris update method thereof
CN103235323A (en) * 2013-05-15 2013-08-07 易讯思创(北京)科技发展有限公司 Method for reducing power consumption of GPS (Global Positioning System)
CN105589085A (en) * 2014-10-24 2016-05-18 深圳艾科创新微电子有限公司 Low-power consumption Beidou positioning communication device and control method
CN107643531A (en) * 2016-07-20 2018-01-30 西安中兴新软件有限责任公司 GPS control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
导航接收机功率控制参数优化与性能分析;陈道伟 等;《全球定位系统》;20141031;第39卷(第5期);全文 *

Also Published As

Publication number Publication date
WO2020155912A1 (en) 2020-08-06
CN110737005A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN110830141B (en) Time synchronization method, system, storage medium and processor
CN107678045B (en) Global positioning system starting method, user terminal and related medium product
CN108072886B (en) Positioning method and device and electronic equipment
CN103852773A (en) Positioning system based on cloud computing technology and positioning method
JP6646741B2 (en) Positioning method and device for mobile terminal, and mobile terminal
TW201411168A (en) Satellite signal receivers and methods for updating ephemeris
US20120293369A1 (en) System, method and computer program for navigation data bit synchronization for a gnss receiver
CN110958059B (en) Testing device, system and method of satellite receiver
CN103364809A (en) Apparatus and method for determining navigation bit boundary, receiving machine, mobile equipment and method for satellite navigation and positioning
CN103364799A (en) Apparatus and method for determining navigation bit boundary, receiving machine, mobile equipment and method for satellite navigation and positioning
CN111123309B (en) Method, device and equipment for testing receiver
JP2009536347A (en) RF front end for GPS, positioning method, and storage medium and apparatus for the method
CN110737005B (en) Method for positioning chip and terminal equipment
CN108710141B (en) Baseband chip sensitivity test method and device
CN111381261B (en) Positioning resolving method and device and satellite navigation receiver
CN109889977A (en) A kind of bluetooth localization method, device, equipment and system returned based on Gauss
CN108663694A (en) Baseband chip performance test methods and device
CN207623538U (en) A kind of sub-meter grade car and boat location receiver
CN112904394A (en) Method for fixing KPI ambiguity of land-based positioning system receiver, receiver and system
CN214473984U (en) Measuring system for satellite positioning precision of railway site
CN111381260B (en) Method and device for processing satellite navigation positioning signal and receiver
CN111159618B (en) Method for improving PVT calculation speed of Beidou second satellite receiver
CN111381265B (en) Positioning resolving method and device and satellite navigation receiver
CN116520361A (en) Broadcast ephemeris checking method, device, equipment and medium
CN110794432A (en) Initial positioning method for GPS software receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Positioning method and terminal equipment of positioning chip

Effective date of registration: 20211217

Granted publication date: 20210924

Pledgee: China Co. truction Bank Corp Guangzhou Tianhe subbranch

Pledgor: TECHTOTOP MICROELECTRONICS Co.,Ltd.

Registration number: Y2021980015450

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230206

Granted publication date: 20210924

Pledgee: China Co. truction Bank Corp Guangzhou Tianhe subbranch

Pledgor: TECHTOTOP MICROELECTRONICS Co.,Ltd.

Registration number: Y2021980015450