CN101210963B - Position location system and its control method - Google Patents

Position location system and its control method Download PDF

Info

Publication number
CN101210963B
CN101210963B CN2006101324380A CN200610132438A CN101210963B CN 101210963 B CN101210963 B CN 101210963B CN 2006101324380 A CN2006101324380 A CN 2006101324380A CN 200610132438 A CN200610132438 A CN 200610132438A CN 101210963 B CN101210963 B CN 101210963B
Authority
CN
China
Prior art keywords
positioning system
module
application program
control program
control
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
CN2006101324380A
Other languages
Chinese (zh)
Other versions
CN101210963A (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.)
Mitac Computer Shunde Ltd
Shunda Computer Factory Co Ltd
Mitac International Corp
Original Assignee
Mitac Computer Shunde Ltd
Mitac International Corp
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 Mitac Computer Shunde Ltd, Mitac International Corp filed Critical Mitac Computer Shunde Ltd
Priority to CN2006101324380A priority Critical patent/CN101210963B/en
Publication of CN101210963A publication Critical patent/CN101210963A/en
Application granted granted Critical
Publication of CN101210963B publication Critical patent/CN101210963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a position system, comprising a positioning module, an application program, a control procedure, a first transmission interface, a second transmission interface and a shift module. The positioning module is used to provide positioning information; the application program controls the positioning module to receive the positioning information from the positioning module; the control procedure controls the positioning module upon the stop of the application program to receive the positioning information from the positioning module; the first transmission interface is to provide the positioning information to the application program and the second transmission interface is to price the positioning information to the control program. The shift module alternatively shiftsthe application program or THE control procedure to control the positioning module to receive the positioning information. The invention provides the positioning system and a control method, which im proves the positioning without additional cost of hardware.

Description

Positioning system and control method thereof
Technical field
The present invention relates to a kind of positioning system and control method thereof, particularly a kind of control program that sees through when Navigator is closed, upgrades almanac data, to accelerate the positioning system of positioning time.
Background technology
Global Positioning System (GPS) is called for short GPS, is the accurate satellite navigation of the cover location plan by U.S.'s development.This Global Positioning System (GPS) has 26 artificial satellites altogether and is distributed on 6 tracks and turns round, each interorbital is 55 degree angles mutually, when making on earth any of user of Global Positioning System (GPS),, if no landform or build the thing facility and cover, the neither influence that is subjected to weather, and can receive the signal of 4~8 satellites and located.Utilize this Aquarian science and technology, anyone can obtain correct position, speed and time easily.
The GPS development plan is to be presided over by U.S. Department of Defense, adds Department of Transportation and participates in, and this technology is transferred to use among the people, is applied in the relevant operations such as navigator fix, precision measurement, attitude and standard time.GPS is the navigational system in conjunction with satellite and wireless technology, can provide the user accurately location, speed and time.The application of GPS extensively is present in existing market, along with the progress of satellite science and technology, many GPS technology and business opportunity also just develop by leaps and bounds, and GPS is confined to military unit in early days, its purpose is at military use, for example degree of accuracy location of opportunity of combat, ships, vehicle, personnel, target of attack etc.Even to this day, GPS is open to be used as the location among the people, this is in conjunction with the science and technology of deep space satellite and mechanics of communication, in the flourishing expansion in market among the people, except providing the accurate localization, also can accurately provide information for speed, time, direction and distance, the scope of utilization is quite extensive, and GPS is limitless business opportunity abrim really.
But in present GPS location, navigator must could see through the gps antenna reception satellite-signal that gps satellite transmitted on the navigator at open space (sky and arround do not have veil), download almanac data, after the download of GPS ephemeris is finished, just can obtain enough data and finish location for the first time, this process is called cold start-up (cold start).And such position fixing process approximately needs 45 seconds~time of not waiting in 2 minutes, and if in the area of the non-constant of reception, the time of this cost may be longer.
Yet, these GPS ephemeris data of downloading have ageing, because gps satellite in the sky is not fixed, appointment every day of same gps satellite is detoured two weeks of the earth, with SiRF GPS module is example, effective holding time of all GPS almanac datas is 4 hours, if more new element is not carried out in the centre, then original GPS almanac data is after through 4 hours, just lost the value of position reference, therefore essential again the cold start process of carrying out a time again, but the process of this essential periodic renewal GPS almanac data, but suitable spended time.
Therefore, nearly one or two years, existing people developed to have GPRS (General Packet Radio Service) (General PacketRadio Service, GPRS) Global Systems for Mobile communications (Global System for MobileCommunications, GSM) locate by mobile phone.And the mode of utilizing mobile phone to do to locate, be commonly referred to as auxiliary global satellite positioning system (Assisted GPS, AGPS), itself and different the locating of traditional GPS maximum, be that GPS only utilizes satellite to position, locate for the first time and the time-consuming length in each afterwards location, AGPS then sees through the rough position that the GSM base station is searched the user earlier, utilize gps satellite to do accurate location again, not only can save positioning time for the first time, be reduced to 10 seconds by traditional one minute, back each location required time, also be reduced to 0.1 second by 40 seconds, and after overcoming in traditional GPS inlet chamber, the shortcoming that can't locate because the satellite reception is not good.
Yet, be positioned at time-consuming shortcoming when upgrading the GPS almanac data though utilize AGPS can improve GPS in the past, but if will use AGPS the time, must possess the mobile phone that the AGPS function is arranged earlier, and also must this telecommunications dealer provide this service to use, and the package of GPRS is when transmitting, and telecommunications dealer also can collect the charges, and therefore suitable does not calculate.
The inventor through research and design and special topic discussion in many ways, then proposes a kind of positioning system and control method thereof in the present invention based on going in for the study for many years and many practical experience, sees through native system and can quicken the location, and do not need extra hardware cost.
Summary of the invention
Because the problems referred to above, purpose of the present invention is for providing a kind of positioning system and control method thereof, and particularly a kind of control program that sees through when Navigator is closed, upgrades almanac data, to shorten the positioning system of positioning time.
For reaching above-mentioned purpose, according to a kind of positioning system of the present invention, it comprises a location module, an application program, a control program, one first transmission interface, one second transmission interface and all die change pieces.Locating module is in order to provide a location information, application process control locating module, in order to receive locating information from locating module, control program is when closing application program, the control locating module, in order to receive locating information from locating module, first transmission interface receives locating information in order to application program to be provided, and second transmission interface receives locating information in order to control program to be provided.The handover module selectivity switches to one first state or one second state, when first state, makes first transmission interface see through handover module, receive locating information from locating module, or when second state, make second transmission interface see through handover module, receive locating information from locating module.
Above-mentioned technical scheme, because of complying with positioning system of the present invention and control method thereof, it proposes a kind of new locating module control architecture, see through all die change pieces, do switching at Navigator and control program between access to the locating module serial port, Navigator and control program can be operated single locating module in same period, read the locating information of locating module, control program can upgrade almanac data in real time, and need not wait until Navigator close the serial port of locating module could begin the action, so just can not need to change under the prerequisite of existing navigation software, one cover control flow additionally is provided, parallel with existing positioning software, and the positioning time of being accelerated locating module.
Further understand and understanding for your juror is had technical characterictic of the present invention and the effect reached, hereinafter sincerely provide preferred embodiment and correlative type to think and assist a ruler in governing a country usefulness, and with detailed comment cooperate explanation as after.
Description of drawings
Fig. 1 is for showing the calcspar of positioning system of the present invention
Fig. 2 is the calcspar of the preferred embodiment of demonstration positioning system of the present invention
Fig. 3 is for showing the flow chart of steps of positioning system control method of the present invention
Fig. 4 is the flow chart of steps of the preferred embodiment of demonstration positioning system control method of the present invention
Fig. 5 is the embodiment calcspar of the software of demonstration positioning system of the present invention
Fig. 6 is another embodiment calcspar of the software of demonstration positioning system of the present invention
Embodiment
Hereinafter with reference to correlative type, positioning system and control method thereof according to preferred embodiment of the present invention are described, wherein identical assembly will be illustrated with identical reference marks.
See also Fig. 1, show the calcspar of positioning system of the present invention, it comprises a location module 16, an application program 11, a control program 12, one first transmission interface 13, one second transmission interface 14 and all die change pieces 15.Locating module 16 is in order to provide a location information 161, application program 11 control locating modules 16, in order to receive locating information 161 from locating module 16, when control program 12 is closed in application program 11, control locating module 16, in order to being provided, control program 12 receives locating information 161 in order to provide application program 11 to receive locating information 161, the second transmission interfaces 14 in order to receive locating information 161, the first transmission interfaces 13 from locating module 16.Handover module 15 selectivity switch to one first state or one second state, when first state, make first transmission interface 13 see through handover module 15, receive locating information 161 from locating module 16, or when second state, make second transmission interface 14 see through handover module 15, receive locating information 161 from locating module 16.
Wherein, above-mentioned application program is a Navigator preferably, above-mentioned locating module is a GPS module (Global Positioning System GPS), above-mentioned first transmission interface and second transmission interface are an asynchronous system serial line interface (Universal Asynchronous Receiver TransmitterUART), above-mentioned control program is when application program launching, enter a dormant state, above-mentioned handover module is according to the priority settings of application program and control program, switching to first state or second state, or according to the general objects input/output port (general-purpose I O port GPIO) of central processing unit to switch to first state or second state.When above-mentioned control program is lower than a default value in the satellite-signal intensity that locating module received, make locating module enter a dormant state, above-mentioned control program is when the power supply of positioning system is under-supply, when locating module has received enough locating information, or when the satellite-signal that locating module received is lower than a default value, enter a dormant state.
See also Fig. 2, the calcspar that shows the preferred embodiment of positioning system of the present invention, it comprises a central processing unit 21, one first Asynchronous Serial Interface 22, one second Asynchronous Serial Interface, 23, one complicated programmable logic module (Complex Programmable Logic Device, CPLD) 24 and one GPS module 25.This complicated programmable logic module 24 is a switching circuit, in order to the locating information that provides GPS module 25 to be transmitted, can be in first Asynchronous Serial Interface 22 and 23 switchings of second Asynchronous Serial Interface of central processing unit 21, its switching mode is to utilize the general objects input/output port of central processing unit 21 (general-purpose I O port GPIO) to control.
See also Fig. 3, show the flow chart of steps of positioning system control method of the present invention, its step is as back:
Step S31: start a control program;
Step S32: see through control program, control one location module is in order to receive a location information from locating module; And
Step S33: when application program launching, the closing control program.
See also Fig. 4, show the flow chart of steps of the preferred embodiment of positioning system control method of the present invention, its step is as back:
Step S41: start a control program;
Step S42: detect first serial port and whether be in user mode, if, represent an application program just in commission, then execution in step S48 makes control program enter a dormant state, if not, execution in step S43 then;
Step S43: whether detecting has enough power supply supplies, and if not, the expression power supply is under-supply, and then execution in step S48 makes control program enter a dormant state, if, execution in step S44 then;
Step S44: start one second serial port, provide this control program in order to operate this locating module, to receive a location information;
Step S45: whether detecting has received enough almanac datas, if then execution in step S47 and step S48 close second serial port, makes control program enter a dormant state, and if not, then execution in step 46;
Step S46: whether the detecting satellite-signal intensity that locating module received is lower than a default value, if then execution in step S47 and step S48 close second serial port, makes control program enter a dormant state, if not, then repeats above-mentioned steps S42;
Step S47: close second serial port; And
Step S48: make control program enter a dormant state.
See also Fig. 5, show the embodiment calcspar of the software of positioning system of the present invention, it comprises a location module 16, an application program 11, a control program 12, one first serial port 51 and one second serial port 52.Application program 11 these locating modules of control, when control program 12 is closed in application program 11, in order to control locating module 16, first serial port 51 provides application program 11 to see through first serial port 51, with control locating module 16, second serial port 52 provides control program 12 to see through second serial port 52, with control locating module 16.
Because application program and control program use different serial ports, both can not impact mutually, so even control program has been opened second serial port, when application program is opened the execution of first serial port, still can open first serial port smoothly, can not impact fully.
See also Fig. 6, show another embodiment calcspar of the software of positioning system of the present invention, it comprises a location module 16, an application program 11, a control program 12 and one first serial port 51.Application program 11 control locating modules 16, when control program 12 was closed in application program 11, in order to control locating module 16, and application program 11 and control program 12 utilized a multi-threaded architecture 61, only see through first serial port 51, can reach the purpose of control locating module 16.
The above only is an illustrative, but not is restricted person.Anyly do not break away from spirit of the present invention and category, and, all should be contained in the accompanying claim its equivalent modifications of carrying out or change.

Claims (18)

1. positioning system comprises at least:
One location module is in order to provide a location information;
One application program is controlled this locating module, in order to receive this locating information from this locating module;
One control program when this closing application program, is controlled this locating module, in order to receive this locating information from this locating module;
One first transmission interface receives this locating information in order to this application program to be provided;
One second transmission interface receives this locating information in order to this control program to be provided; And
All die change pieces, selectivity switches to one first state or one second state, this handover module is when this first state, make this first transmission interface see through this handover module, receive this locating information from this locating module, this handover module makes this second transmission interface see through this handover module when this second state, receives this locating information from this locating module.
2. positioning system according to claim 1 is characterized in that, this application program is a Navigator.
3. positioning system according to claim 1 is characterized in that, this locating module be a GPS module (Global Positioning System, GPS).
4. positioning system according to claim 1 is characterized in that, this first transmission interface and this second transmission interface be an asynchronous system serial line interface (Universal Asynchronous ReceiverTransmitter, UART).
5. positioning system according to claim 1 is characterized in that, this control program enters a dormant state when this application program launching.
6. positioning system according to claim 1 is characterized in that, this handover module is according to a priority settings of this application program and this control program, to switch to this first state or this second state.
7. positioning system according to claim 1 is characterized in that, (general-purpose I/O port is GPIO) to switch to this first state or this second state according to the general objects input/output port of central processing unit for this handover module.
8. positioning system according to claim 1 is characterized in that, when this control program is lower than a default value in the satellite-signal intensity that this locating module received, makes this locating module enter a dormant state.
9. positioning system according to claim 1 is characterized in that, this control program enters a dormant state when the power supply of this positioning system is under-supply.
10. positioning system according to claim 1 is characterized in that, when this control program has received enough locating information in this locating module, enters a dormant state.
11. positioning system according to claim 1 is characterized in that, this control program enters a dormant state when the satellite-signal that this locating module received is lower than a default value.
12. the control method of a positioning system when being applicable to a closing application program, comprises at least:
Start a control program;
See through this control program, control one location module is in order to receive a location information from this locating module; And
When this application program launching, make this control program enter a dormant state.
13. the control method of positioning system according to claim 12 is characterized in that, this control program further comprises the following step when carrying out:
(a) whether detecting one first serial port is in a user mode, and this first serial port provides this application program in order to operating a location module, if, then make this control program enter a dormant state, if not, execution in step (b) then;
(b) whether detecting has enough power supply supplies, if then execution in step (c) if not, then makes this control program enter a dormant state;
(c) start one second serial port, provide this control program in order to control this locating module, to receive this locating information;
(d) whether detecting has received enough almanac datas, if, then close second serial port, make this control program enter a dormant state, if not, execution in step (e) then; And
(e) whether the satellite-signal intensity of detecting this locating module and being received is lower than a default value, if, then close second serial port, make this control program enter a dormant state.
14. the control method of positioning system according to claim 12 is characterized in that, this application program is a Navigator.
15. a positioning system comprises at least:
One location module;
One application program is controlled this locating module;
One control program is when this closing application program, in order to control this locating module;
One first serial port, this application program sees through this first serial port, to control this locating module; And
One second serial port, this control program sees through this second serial port, to control this locating module.
16. positioning system according to claim 15 is characterized in that, this application program is a Navigator.
17. a positioning system comprises at least:
One location module;
One application program is controlled this locating module;
One control program is when this closing application program, in order to control this locating module;
One first serial port, this application program and this control program utilize a multi-threaded architecture, only see through this first serial port and control this locating module.
18. positioning system according to claim 17 is characterized in that, this application program is a Navigator.
CN2006101324380A 2006-12-29 2006-12-29 Position location system and its control method Active CN101210963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101324380A CN101210963B (en) 2006-12-29 2006-12-29 Position location system and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101324380A CN101210963B (en) 2006-12-29 2006-12-29 Position location system and its control method

Publications (2)

Publication Number Publication Date
CN101210963A CN101210963A (en) 2008-07-02
CN101210963B true CN101210963B (en) 2011-07-13

Family

ID=39611119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101324380A Active CN101210963B (en) 2006-12-29 2006-12-29 Position location system and its control method

Country Status (1)

Country Link
CN (1) CN101210963B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486613B (en) * 2012-02-14 2015-06-01 Htc Corp Method for reporting location information and mobile device and computer readalbe recording medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661307B (en) * 2008-08-29 2011-12-28 佛山市顺德区汉达精密电子科技有限公司 Computer system capable of receiving satellite positioning signals and control method thereof
CN102354303A (en) * 2011-05-30 2012-02-15 太仓市同维电子有限公司 Dual-CPU (Central Processor Unit) system UART (Universal Asynchronous Receiver/Transmitter) interface mutual control switch logic circuit structure and dual-CPU system UART interface mutual control switch debugging circuit system
US9942718B2 (en) * 2013-07-03 2018-04-10 Qualcomm Incorporated Methods and apparatuses for use in providing location parameters to mobile applications

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078290A (en) * 1998-01-06 2000-06-20 Trimble Navigation Limited User-controlled GPS receiver
CN1837845A (en) * 2005-03-23 2006-09-27 华为技术有限公司 A-GPS positioning method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078290A (en) * 1998-01-06 2000-06-20 Trimble Navigation Limited User-controlled GPS receiver
CN1837845A (en) * 2005-03-23 2006-09-27 华为技术有限公司 A-GPS positioning method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平11-202041A 1999.07.30

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI486613B (en) * 2012-02-14 2015-06-01 Htc Corp Method for reporting location information and mobile device and computer readalbe recording medium

Also Published As

Publication number Publication date
CN101210963A (en) 2008-07-02

Similar Documents

Publication Publication Date Title
van Diggelen Indoor GPS theory & implementation
CN100377507C (en) Determining time in a GPS receiver
US7427951B2 (en) Method for updating ephemeris data of global positioning system
CN102419443B (en) Method and system for processing signal
CN102084265B (en) Method and apparatus for satellite positioning system time resolution
CN101558323B (en) Time-based ephemeris identity in assistance data and assistance data request messages
CN101806908B (en) Automatic activation of speed measurement in mobile device based on available motion
Won et al. GNSS software defined radio
CN102037372B (en) Navigation device & method
Zhang et al. Evaluation of high sensitivity GPS receivers
CN103364809A (en) Apparatus and method for determining navigation bit boundary, receiving machine, mobile equipment and method for satellite navigation and positioning
EP3190429A1 (en) Method and device for hybrid positioning based on v2x and gnss
CN101430375A (en) Gnss receiver system and related method thereof
EP1903349A1 (en) Mobile communication terminal for receiving position information service and method thereof
CN103364799A (en) Apparatus and method for determining navigation bit boundary, receiving machine, mobile equipment and method for satellite navigation and positioning
CN101210963B (en) Position location system and its control method
CN102023303A (en) Method and apparatus for accelerating the process of determining a geographic position
CN101153901A (en) Method for updating ephemeris data of global positioning system
CN102340567A (en) Mobile phone and method for automatically setting time according to positioning of global positioning system (GPS)
CN102788982A (en) Assisted positioning-monitoring system
CN101334461A (en) Methods and apparatuses for searching for satellite signals
CN101676738A (en) Method and apparatus for sharing information between GPS engines in mobile terminal
JP2001133535A (en) Information terminal, and positioning method
CN105068095B (en) A kind of tracking system and method for improving satellite pseudorange accuracy
Leveson Benefits of the new GPS civil signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant