CN103439722A - Gps serial interface and ethernet interface data splitter - Google Patents
Gps serial interface and ethernet interface data splitter Download PDFInfo
- Publication number
- CN103439722A CN103439722A CN2013103630465A CN201310363046A CN103439722A CN 103439722 A CN103439722 A CN 103439722A CN 2013103630465 A CN2013103630465 A CN 2013103630465A CN 201310363046 A CN201310363046 A CN 201310363046A CN 103439722 A CN103439722 A CN 103439722A
- Authority
- CN
- China
- Prior art keywords
- gps
- processing module
- data
- data processing
- module
- 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.)
- Pending
Links
Images
Landscapes
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention provides a GPS serial interface and Ethernet interface data splitter. The GPS serial interface and Ethernet interface data splitter comprises a GPS antenna, a GPS module connected with the GPS antenna, a GPS data processing module connected with the GPS module, and a multi-serial port extension module connected with the GPS data processing module, wherein the GPS antenna is used for receiving GPS radio-frequency signals, the GPS module decodes the received GPS radio-frequency signals and outputs decoded information, the GPS data processing module arranges and packages the decoded information according to the requirements and outputs the arranged information to the multi-serial port extension module, and the GPS data processing module can be in real-time data interaction with external terminal devices through Ethernet interfaces. According to the GPS serial interface and Ethernet interface data splitter, a GPS system can be shared by all the terminal devices, expenses for the GPS system are saved, and economic benefit is improved.
Description
Technical field
The present invention relates to the location systems art field, particularly a kind of GPS serial line interface and Ethernet interface data shunt.
Background technology
From the nineties in 20th century, gps system (Global Positioning System, GPS), since opening for free to the whole world, be widely used in the field of navigation, traffic, geodetic surveying, precision time service etc. and position, speed, time correlation.Can say, gps system is most advanced, most widely used satellite navigation and location system at present, has extraordinary market outlook.
A GPS group of stars is comprised of 24 or more artificial satellites, and they lay respectively in 6 orbit planes, are highly approximately 12550 miles.These artificial satellites are undertaken synchronously by spaceborne atomic clock, constantly with two frequencies on L-band, transmit distance measuring signal, their current time and track dynamic, these two frequencies are called as respectively L1(1575.42MHz) and L2(1227.6MHz).Civilian GPS is only used the L1 wave band usually, and exploration needs to use L1 and L2 wave band with military use simultaneously.
Can obtain current latitude, longitude and height by the GPS location compute, error, regularly is accurate in 10ns with interior (only using the L1 wave band) at 5m.Gps receiver with the information of standard format output artificial satellite and time/position separates, wherein the NMEA0183 standard is modal formal definition.The defined statement of these standards has comprised that visible artificial satellite, satellite signal intensity, GPS or UTC time separate and separate position.Manufacturer also can self-defined statement, in order to export data or the access to oneself gps receiver specific function is provided with the form of customization.
At present, gps system is applied on numerous terminal devices, and usually appears under same applied field point environment, and a plurality of terminal devices are because data-interface is inconsistent, and the gps system that use is carried separately respectively.Can't share gps system between each terminal device, cause the significant wastage of resource.
Summary of the invention
The object of the present invention is to provide a kind of GPS serial line interface and Ethernet interface data shunt, to solve in prior art, between each terminal device, can't share gps system, cause the problem of resource significant wastage.
For solving the problems of the technologies described above, the invention provides a kind of GPS serial line interface and Ethernet interface data shunt, described GPS serial line interface and Ethernet interface data shunt comprise: gps antenna, the GPS module be connected with described gps antenna, the gps data processing module be connected with described GPS module and the many serial ports expansion module be connected with described gps data processing module, wherein
Described gps antenna is in order to receive the GPS radiofrequency signal;
Described GPS module is decoded to the GPS radiofrequency signal received, and the output decoded information;
Described gps data processing module is carried out layout and encapsulation as required to decoded information, and programmed information output is arrived to many serial ports expansion module; And it is mutual that described gps data processing module can be carried out real time data by Ethernet interface and exterior terminal equipment.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, described GPS module after the GPS radiofrequency signal received is decoded, obtain latitude, longitude, highly, speed, date, time, course and/or satellite condition information.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, the form of the decoded information of described GPS module output is GGA, GLL, GSA, GSV, RMC and/or VTG.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, described GPS module can send according to the request of described gps data processing module the decoded information of customization data form.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, described GPS module can be pressed specified time interval according to the request of described gps data processing module and be sent decoded information.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, described gps data processing module is carried out as required layout and encapsulation to decoded information and is comprised: the IP of set information form, content and/or serial ports baud rate, Ethernet interface encapsulation as required.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, described gps data processing module is carried out real time data by Ethernet interface and exterior terminal equipment and is comprised alternately:
Exterior terminal equipment sends the gps data request message to the gps data processing module;
The gps data processing module is identified request message, if support, sends gps data; If do not support, refusal request.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, when adopting the UDP encapsulation, described gps data processing module, after gps data of every transmission, is counted, the counting of resetting after the confirmation message of receiving exterior terminal equipment; If while reaching certain count value, do not receive yet the confirmation message of exterior terminal equipment, stop sending gps data.
Optionally, in described GPS serial line interface and Ethernet interface data shunt, the real time data of described gps data processing module and exterior terminal equipment adopts udp protocol or Transmission Control Protocol alternately.
By GPS serial line interface provided by the invention and Ethernet interface data shunt, each terminal device can share gps system, has saved the spending of gps system, has improved economic benefit.
The accompanying drawing explanation
Fig. 1 is the GPS serial line interface of the embodiment of the present invention and the structural representation of Ethernet interface data shunt;
Fig. 2 is the GPS serial line interface of the embodiment of the present invention and the business flow processing figure of Ethernet interface data shunt.
Embodiment
The GPS serial line interface and the Ethernet interface data shunt that the present invention are proposed below in conjunction with the drawings and specific embodiments are described in further detail.According to the following describes and claims, advantages and features of the invention will be clearer.It should be noted that, accompanying drawing all adopts very the form of simplifying and all uses non-ratio accurately, only in order to convenient, the purpose of the aid illustration embodiment of the present invention lucidly.
Please refer to Fig. 1, the structural representation of the GPS serial line interface that it is the embodiment of the present invention and Ethernet interface data shunt.As shown in Figure 1, described GPS serial line interface and Ethernet interface data shunt 1 comprise: gps antenna 10, the GPS module 11 be connected with described gps antenna 10, the gps data processing module 12 be connected with described GPS module 11 and the many serial ports expansion module 13 be connected with described gps data processing module 12, wherein
Described gps antenna 10 is in order to receive the GPS radiofrequency signal;
The GPS radiofrequency signal that 11 pairs of described GPS modules receive is decoded, and the output decoded information;
12 pairs of decoded informations of described gps data processing module carry out layout and encapsulation as required, and programmed information output is arrived to many serial ports expansion module 13; And it is mutual that described gps data processing module 12 can be carried out real time data by Ethernet interface and exterior terminal equipment.
In the present embodiment, described GPS module 11 is connected with described gps data processing module 12 by the TTL serial ports; Described gps data processing module 12 is connected with described many serial ports expansion module 13 by the DCB interface.
In the present embodiment, described GPS module 11 can be comprised of RF radio frequency chip, baseband chip and core codec CPU, to complete the decoding for the GPS radiofrequency signal.Concrete, described GPS module 11 is calculated according to the parameter of a plurality of satellite transmissions that receive, obtain about latitude, longitude, highly, the decoded informations such as speed, date, time, course and/or satellite situation.Then the decoded information serial is outputed to gps data processing module 12, its output data are ASCII coding, content comprised latitude, longitude, highly, the decoded informations such as speed, date, time, course and/or satellite situation.The output data layout adopts the NMEA-0183 communication standard, and common expressions is 6 kinds, comprises GGA, GLL, GSA, GSV, RMC and VTG.
Further, in the present embodiment, described GPS module 11 can send according to the request of described gps data processing module 12 decoded information of customization data form; Described GPS module 11 can also be pressed specified time interval according to the request of described gps data processing module 12 and be sent decoded information.For example, described GPS module 11 sends a certain specific NMEA statement according to the request of described gps data processing module 12 every some milliseconds.Thus, can improve the utilization ratio for gps system.
In the present embodiment, described gps data processing module 12 can adopt the single-chip microcomputer with IP stack, can be according to different application needs, programming Control is from serial data format and the transmission time interval of GPS module 11, and in real time data are reprocessed to processing, i.e. the IP of set information form, content and/or serial ports baud rate, Ethernet interface encapsulation as required.(can meet the NMEA-0183 communication specification according to predefined serial ports configuration parameter, also can the self-defining data form), after resetting information format, content and/or the baud rate from the decoded information of GPS module 11, send to many serial ports expansion module 13 by the DCB interface, then, exterior terminal equipment can by with many serial ports expansion module 13 on serial line interface 01, serial line interface 02 ... perhaps serial line interface N connects, to obtain gps data, thereby realization shares for gps system, has improved resource utilization.
In the present embodiment, it is mutual that described gps data processing module 12 also can be carried out real time data by Ethernet interface and exterior terminal equipment, wherein, described gps data processing module 12 can adopt udp protocol or Transmission Control Protocol alternately with the real time data of exterior terminal equipment.Idiographic flow can be:
When terminal device (being equivalent to client) need to obtain gps data, to the gps data processing module, 12(is equivalent to server end) send UDP(or TCP) request message (can the designated ends slogan be P1, the port numbers of P1 for not being used), wherein data field indicates the parameters such as gps data Format Type and transmission time interval;
Gps data Format Type and transmission time interval in 12 pairs of request messages of gps data processing module are identified, judge whether to support, if support, send after response further designated terminal equipment should at least often be received N gps data and add their confirmation, simultaneously at inner building database, safeguard with the connection status of terminal device etc.; If can not identify maybe, can't support, refusal request, terminal device can again send request and hold consultation;
Gps data processing module 12 after sending response message (expression accept request and comprise the requirement client to receive N gps data after must confirmation parameter), gps data form according to the request message indication, start to assemble gps data, adopt udp protocol (or Transmission Control Protocol) to carry out encapsulation of data, and sent to the purpose terminal device with the time interval of appointment.
At this, if adopt udp protocol, preferred, terminal device often receives that N gps data just adds their confirmation; If the employing Transmission Control Protocol, terminal device can not send acknowledge message (the existing affirmation mechanism that connects of Transmission Control Protocol itself).Further, gps data processing module 12, after 1 gps data of every transmission, just can be counted by inner time-out count device, after the confirmation message of receiving terminal device, is just reset; For example, if, when the counting of time-out count device reaches certain count value (4N, N is natural number), do not receive yet acknowledge message, think that terminal device connects to go wrong, stop sending gps data, remove connection status, wait for that terminal device asks again.Thus, can guarantee the reliability that gps data sends.
In the present embodiment, many serial ports expansion module 13 is a kind of chips that distribute a plurality of serial line interfaces to connect for different exterior terminal equipment application, each exterior terminal equipment can communicate by it and gps data processing module 12, and is controlled separately the parameters such as baud rate, data layout of each serial line interface by gps data processing module 12.Many serial ports expansion module 13 has increased the terminal device quantity be connected with serial line interface flexibly, makes a plurality of terminal devices of applying GPS system that need can share a set of gps system.
In the present embodiment, further, also provide the operation flow of GPS serial line interface and Ethernet interface data shunt.Concrete, please refer to Fig. 2, the business flow processing figure of the GPS serial line interface that it is the embodiment of the present invention and Ethernet interface data shunt.As shown in Figure 2, after GPS serial line interface and Ethernet interface data shunt 1 bring into operation, at first by gps antenna 10, obtain the GPS radiofrequency signal, then, the GPS radiofrequency signal is offered to GPS module 11 and is decoded, obtain content and be longitude, latitude, highly, the decoded information of time etc., then, decoded information is offered to gps data processing module 12, for the decoded information obtained, gps data processing module 12 can further propose form to GPS module 11, the requirements such as the time interval, also can offer according to set output format many serial ports expansion module 13, also can process restructuring to gps data, obtain the data that terminal device needs, and the data after processing are offered to many serial ports expansion module 13 or offer terminal device by Ethernet, wherein, gps data processing module 12 and terminal device are undertaken by Ethernet addressing before the mode of data interaction, do not repeat them here.
As fully visible, the GPS serial line interface provided by the present embodiment and Ethernet interface data shunt, each terminal device can share gps system, has saved the spending of gps system, has improved economic benefit.
Foregoing description is only the description to preferred embodiment of the present invention, and not to any restriction of the scope of the invention, any change, modification that the those of ordinary skill in field of the present invention is done according to above-mentioned disclosure, all belong to the protection domain of claims.
Claims (9)
1. a GPS serial line interface and Ethernet interface data shunt, it is characterized in that, comprise: gps antenna, the GPS module be connected with described gps antenna, the gps data processing module be connected with described GPS module and the many serial ports expansion module be connected with described gps data processing module, wherein
Described gps antenna is in order to receive the GPS radiofrequency signal;
Described GPS module is decoded to the GPS radiofrequency signal received, and the output decoded information;
Described gps data processing module is carried out layout and encapsulation as required to decoded information, and programmed information output is arrived to many serial ports expansion module; And it is mutual that described gps data processing module can be carried out real time data by Ethernet interface and exterior terminal equipment.
2. GPS serial line interface as claimed in claim 1 and Ethernet interface data shunt, it is characterized in that, described GPS module after the GPS radiofrequency signal received is decoded, obtain latitude, longitude, highly, speed, date, time, course and/or satellite condition information.
3. GPS serial line interface as claimed in claim 2 and Ethernet interface data shunt, is characterized in that, the form of the decoded information of described GPS module output is GGA, GLL, GSA, GSV, RMC and/or VTG.
4. GPS serial line interface as claimed in claim 2 and Ethernet interface data shunt, is characterized in that, described GPS module can send according to the request of described gps data processing module the decoded information of customization data form.
5. GPS serial line interface as claimed in claim 2 and Ethernet interface data shunt, is characterized in that, described GPS module can be pressed specified time interval according to the request of described gps data processing module and be sent decoded information.
6. GPS serial line interface as claimed in claim 1 and Ethernet interface data shunt, it is characterized in that, described gps data processing module is carried out as required layout and encapsulation to decoded information and is comprised: the IP of set information form, content and/or serial ports baud rate, Ethernet interface encapsulation as required.
7. GPS serial line interface as claimed in claim 6 and Ethernet interface data shunt, is characterized in that, described gps data processing module is carried out real time data by Ethernet interface and exterior terminal equipment and comprised alternately:
Exterior terminal equipment sends the gps data request message to the gps data processing module;
The gps data processing module is identified request message, if support, sends gps data; If do not support, refusal request.
8. GPS serial line interface as claimed in claim 7 and Ethernet interface data shunt, it is characterized in that, when adopting the UDP encapsulation, described gps data processing module is after gps data of every transmission, counted the counting of resetting after the confirmation message of receiving exterior terminal equipment; If while reaching certain count value, do not receive yet the confirmation message of exterior terminal equipment, stop sending gps data.
9. GPS serial line interface as claimed in claim 7 and Ethernet interface data shunt, is characterized in that, the real time data of described gps data processing module and exterior terminal equipment adopts udp protocol or Transmission Control Protocol alternately.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103630465A CN103439722A (en) | 2013-08-19 | 2013-08-19 | Gps serial interface and ethernet interface data splitter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013103630465A CN103439722A (en) | 2013-08-19 | 2013-08-19 | Gps serial interface and ethernet interface data splitter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103439722A true CN103439722A (en) | 2013-12-11 |
Family
ID=49693427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013103630465A Pending CN103439722A (en) | 2013-08-19 | 2013-08-19 | Gps serial interface and ethernet interface data splitter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103439722A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025479A1 (en) * | 2005-07-29 | 2007-02-01 | Erik Anderson | GPS front end with universal digital interface |
CN101145777A (en) * | 2007-10-11 | 2008-03-19 | 中国科学院长春光学精密机械与物理研究所 | GPS time synchronization terminal system |
CN201536372U (en) * | 2009-10-16 | 2010-07-28 | 中国北车股份有限公司大连电力牵引研发中心 | GPS-Ethernet gateway applied in industrial control |
CN203587804U (en) * | 2013-08-19 | 2014-05-07 | 电信科学技术第一研究所 | GPS serial interface and Ethernet interface data demultiplexer |
-
2013
- 2013-08-19 CN CN2013103630465A patent/CN103439722A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070025479A1 (en) * | 2005-07-29 | 2007-02-01 | Erik Anderson | GPS front end with universal digital interface |
CN101145777A (en) * | 2007-10-11 | 2008-03-19 | 中国科学院长春光学精密机械与物理研究所 | GPS time synchronization terminal system |
CN201536372U (en) * | 2009-10-16 | 2010-07-28 | 中国北车股份有限公司大连电力牵引研发中心 | GPS-Ethernet gateway applied in industrial control |
CN203587804U (en) * | 2013-08-19 | 2014-05-07 | 电信科学技术第一研究所 | GPS serial interface and Ethernet interface data demultiplexer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106415299B (en) | System and method for high reliability monitoring of aircraft | |
CN101442375B (en) | Time distribution service apparatus compatible with multiple networks and working method thereof | |
CN104363069A (en) | Network time system and method based on Beidou satellite positioning | |
CN104680853B (en) | A kind of ADS B Double Data chain automatic switching control equipment based on height | |
US9201135B1 (en) | Determination of state vector, timing, and navigation quality metrics from reception of SBS transmissions | |
CN105119648A (en) | Beidou foundation navigation network operation and managing system | |
CN110011893B (en) | AIS device and method with electronic channel chart remote online automatic upgrading function | |
CN203587804U (en) | GPS serial interface and Ethernet interface data demultiplexer | |
Patil et al. | Design and Development of fully automatic AT89C52 based low cost embedded system for rail tracking | |
CN203616481U (en) | GPS Ethernet interface data demultiplexer | |
CN205374745U (en) | Position terminal | |
CN103439724A (en) | Gps ethernet interface data splitter | |
CN101452069A (en) | Electric energy meter calibrating system and timing method thereof | |
CN103439722A (en) | Gps serial interface and ethernet interface data splitter | |
CN103439710A (en) | GPS comprehensive splitter | |
CN203587803U (en) | GPS serial interface data demultiplexer | |
CN203616480U (en) | GPS radiofrequency signal and serial interface data demultiplexer | |
Qin et al. | The design of intelligent bus movement monitoring and station reporting system | |
CN103439723A (en) | Gps serial interface data splitter | |
CN108964698A (en) | RTK base station location pilot system and method | |
CN103489326A (en) | Vehicle location system based on space-time coding | |
WO2014063584A1 (en) | Method and device for transmitting ionospheric delay correction parameters, and navigation satellite | |
CN103218923A (en) | Bus location display and enquiry system | |
CN110133684A (en) | A kind of GNSS static state resolving receiver apparatus | |
CN103454655A (en) | GPS radio-frequency signal and serial interface data shunting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131211 |