Vous êtes sur la page 1sur 4

2010 International Conference on Computer, Mechatronics, Control and Electronic Engineering (CMCE)

Research on GPRS Vehicle Location Network Service System

Yougui Liu Baoxing Bai

Changchun University of Science and Technology Changchun University of Science and Technology

Changchun, Jilin, P.R.China Changchun, Jilin, P.R.China

gmgps@sohu.com bxbai@cust.edu.cn

Abstract-We can achieve vehicle location tracking on I. PREFACE


Internet by using GPRS vehicle location terminal and
The vehicle location application of GPRS
combining with Internet technology and GIS technology.
technology was started in developed countries such as
The article gives the design structure of GPRS vehicle
European and American at the end of the 1980s, it has
location network service system. The system is divided
been 20 years. The method to make vehicle location
into three parts: GIS network workstations, network
management by using GPS technology can bring great
communications server and GPRS vehicle location
convenience and high economic efficiency for the
terminal. Then, the article makes the brief introduction
vehicles usage and management units, Many vehicle
to the function of three parts of the system: GIS network
management units and departments cannot carry out
workstations are responsible for sending command
the normal work without it .GPS has been very popular
"Setting GPS Location Data Return Interval" to
and wide-used on the aspect of vehicle location. So,
network communications server, and receiving GPS
the article designs GPRS vehicle location network
location data packet uploaded from GPRS vehicle
service system, and discusses about the principle of
location terminal from network communications server,
each function briefly, proves the feasibility of system
making analysis of received GPS location data packet;
design through experiments.
The vehicles will be appeared as title in the specified

position on the map by combining with GIS. Network II. GPRS VEHICLE LOCATION NETWORK SERVICE

communications server is responsible for receiving the SYSTEM

command "Setting GPS Location Data Return Interval" The system is consisted of three major parts: GIS
from GIS network workstations and transmitting to the network workstations, network communications server
specified GPRS vehicle location terminal and receiving and GPRS vehicle location terminal, shown in Figure1.
r-------I
GPS location data packet pass backed from GPRS
1 � 1
vehicle location terminal and distributing to the GIS network 1 Q � 1
1 :l 2 " 1
appropriate GIS network workstations simultaneously. 1JI � � � I
GPRS vehicle location terminal is responsible for
,�� ! :=;
..!, = f.'
r1 I
:::i ::l ::L
,....
e
C"i
·1
n
receiving the command "Setting GPS Location Data I
�: ("l �
Return Interval "sent from network communications r� e §' ;
e 3" GPRS 'HofJ[dc
server and sending GPS location data collected by GPS ::I
X;::::� location

module to network communications server. Finally, the


[ rermiool.2

article tests the feasibility of system design through

experiment. By using the system, it will be easy and fast

to make vehicle location tracking on Internet and timely

access vehicle location information.

Keywords: GPRS; GIS; Vehicle Location; Terminal;

Internet
Figure]. GPRS Vehicle Location Network Service System

978-1-4244-7956-6110/$26.00 ©2010 IEEE CMCE 2010


401
A GIS Network Workstations III. SYSTEM PRINCIPLES

GIS network workstations combined with GIS IS The following is working principles for parts of the
client human-machine interface program based on system.
internet communications. GIS network workstations
A GIS Network Workstations
are regarded as client of network communications
First, we initialize two SOCKET based on TCP
server and have 2 SOCKET communications links
protocol in GIS network workstations program, the
within network communications server based on
one SOCKET initiatively sends connection request to
internet transmission by using TCP protocol. One is
setting command service port of network
used for sending command "Setting GPS Location
communication server program with specified Internet
Data Return Interval" to network communications
IP address .The other SOCKET initiatively sends
server and the other is used for receiving GPS location
connection request to GPS location data service port of
data packets from network communication server.
network communication server program .After the two
B Network Communications Server
SOCKET have been "Three-way Handshaking" , Two
Network communications server is the core of the SOCKET connections are built on TCP-based protocol
whole system, it is consisted of three sub-services, and to start full-duplex data transmission. Then, in GIS
they are also SOCKET communication services based network workstations program, it sends command
on TCP protocol. The first sub-service IS "Setting GPS Location Data Return Interval" to
command-receiving service which receives setting network communications server through SOCKET
command sent from GIS network workstations; the connected with the command service port , while
second sub-service is real-time GPS location data receives GPS location data send by GPRS vehicle

distribution services which sends GPS location data location terminal in certain interval by SOCKET

packet to GIS network workstations. The third connected with GPS location data service port from
sub-service is GPRS vehicle location terminal network communication server program. Finally, GIS
communication service which communicates with network workstations analyze of received GPS
GPRS vehicle location terminal, and sends setting location data, vehicles will be appeared as title in the
command to GPRS vehicle location terminal, while specified position on the map by combining with GIS.
receives GPS location data packet send by GPRS
B Network Communications Server
vehicle location terminal.
Not only is network communications server
C GPRS Vehicle Location Terminal
program server of GIS network workstations but also
GPRS vehicle location terminal is GPS location is server of vehicle location terminal based on GPRS
terminal installed in the vehicle and based on GPRS technology, it has a fixed IP address, three service
module communications, it includes GPRS ports based on TCP protocol provide three
communication module, GPS location module and sub-services for the system namely:
integrated circuit boards inside, GPRS antenna and command-receiving service, real-time data distribution
GPS antenna outside. GPRS module is connected to services, and GPRS vehicle location terminal
Internet through CMNET. It is regarded as client of communication service.
network communications server, and receives the First, the network communications server program
setting command sent from network communications opens the first listening port of command-receiving
server based on SOCKET of TCP protocol, and sends service, and it listens to the connection requests from
simultaneously GPS location data collected from GPS GIS network workstation and accepts connections,
module to the network communications server. establishes the first communication link. After the

completion of connection, the network communication

server program can receive "Setting GPS Location

402
Data Return Interval "issued by GIS network Main circuit system integration module is a small

workstations. type of embedded operating system. It has three main

Then, the network communications server program functions: First, automatic detection TCP connection

opens the second listening port of data distribution between GPRS module and GPRS vehicle location

service, and it listens to connection requests sent from terminal communication service, if TCP connection is

GIS network workstations and accepts connections, not in normal situation, then dead connection is shut

establishes the second communication link. After the down to rebuild a new connection. Second, main

completion of connection, the network communication circuit system integration module receives command

server program can send real-time GPS location data to "Setting GPS Location Data Return Interval "sent from

the corresponding GIS network workstations. GPRS vehicle location terminal communication

Finally, the network communications server services, and sets accordingly. Third, main circuit

program opens the third listening port of GPRS vehicle system integration module reads GPS location data

location terminal communication services, it listens to packet from GPS location module, and then sends data

connection request from GPRS vehicle location to GPRS vehicle location terminal communication

terminal and accepts connections, establishes data services by GPRS module.

communication link with GPRS vehicle location Combination of three-part work principles ,we can

terminal. After the completion of connection, the see the overall work process of system , First, GIS

network communication server program can network workstations send command "Setting GPS

communicate with GPRS vehicle location terminal and Location Data Return Interval "to command -receiving

vehicle location and transmit command "Setting GPS service, then, GPRS vehicle location terminal is

Location Data Return Interval "issued by GIS network responsible to send the data to GPRS vehicle location

workstations to GPRS vehicle location terminal, while terminal .After that , GPRS vehicle location terminal

it receives GPS location data packet returned from sends back GPS location data to GPRS vehicle

GPRS vehicle location terminal. location terminal communication services in a certain

interval , and finally, it sends GPS location data to


C GPRS Vehicle Location Terminal
each GIS network workstations through real-time data
GPRS vehicle location terminal is composed of
distribution services .
GPRS modules and antenna, GPS module and antenna,

main circuit system integration. IV. EXPERIMENTS

GPRS module is connected to Internet through In order to check the feasibility of this system, we
CMNET to initialize SOCKET by TCP protocol; it conducted experiments.
takes the initiative connection request to GPRS
A. Laboratory EqUipment
location terminal communication services existed in

network communications server. After the completion The laboratory equipment included experimental

of connection, GPRS module can receive command car (license number Ji AR0767), a set of GPRS

"Setting GPS Location Data Return Interval "issued by Vehicle Location Terminal (containing GPRS-enabled

GIS network workstations from GPRS vehicle location mobile SIM card), a server (installed the network

terminal communication services, and it sends back communication service program), and a PC (GIS

GPS location data packet to GPRS Vehicle Location network workstations program), a fixed Internet IP

Terminal in certain interval.GPS location module is address was applied for server .In the experiment, we

responsible for receiving GPS satellite signals, and opened three network monitor programs to oversee

getting GPS location data, outputting GPS position TCP data packets transmitted from three sub-services,

data packets through the serial port by a data packet and gained the specific information including sending

IP address and port , receiving IP address and port of


Isecond.
data packet.

403
B. Experimental Procedure Finally, GIS network workstations program

First, GPRS vehicle location terminal was installed received GPS location data packet, analyzed data

on the small car and connected to power supply, when packet, combined with GIS platform, vehicle was

the device was initialized; IP address of GPRS vehicle appeared as title in the corresponding position on the

location terminal and port were set as fixed IP address map, shown in Figure2.

of the server and GPRS vehicle location terminal


v. CONCLUSIONS
communications service port. After setting, GPRS
The experiment shows that it is feasible to achieve
vehicle location terminal automatically connected to
vehicle location tracking on Internet in the practice and
GPRS vehicle location terminal communications
theory by using GPRS vehicle location terminal and
services, and set IP address of GIS network
combining with Internet technology and GIS
workstations and port corresponding to the two
technology. Using this system, we can get moving
communications links as IP address of network
vehicle location information in a very short time, and
communications server and corresponding two service
this system provides a technical basis for vehicle
ports, operated login in , completed the connection of
management and scheduling.
two communications links III GIS network
Currently, GPRS vehicle location network service
workstations.
system is also widely used in the military field in
Then, "Setting GPS Location Data Return Interval
addition to socio-economic field .It can track the
for 20 Seconds" command is issued from GIS network
troops, equipments and war materials by using GPRS
workstations , then the detailed data packet is obtained
vehicle location network service system in order to
from command service port network monitoring
achieve fast, accurate, reliable, safe, low consumption
program and GPRS vehicle location terminal
of the military security objectives. It can be concluded
communications service port network monitoring
that GPRS vehicle location network service system
program including the sender IP address and port, the
will play more and more important role in the future
receiver IP address and port. For a while, GPRS
information warfure.
vehicle location terminal communication service port
References:
network monitoring program got GPS location data
[J]. You Zheng Computer Network Technology, Wuhan
packet uploaded from GPRS vehicle location terminal
University Press, Published in January, 2009.
timely, at the same time, it obtained GPS location data
2
[ ]. Wu Xinhua Computer Network Applications, Xi'an
packet from GPS location data distribution service port
University ofElectronic Science and Technology Press,
network monitoring program and sent to GIS network
Published in January 2007.
workstations.
[3]. Liu Lianghua Mobile Communication Technologies,

Science Press, First Edition in August, 2009.


[4]. Zhang Hui Modern Communication Theories and

Technology, Xi'an University of Electronic Science and

Technology Press, Second Edition in November, 2008.


[5]. Huang Jiahui C #. NET Network Programming,

Science Press, Published in November, 2009[4].


[6]. Deng H, Du 1. The technical analysis anddesign ofthe

GPS vehicle position system software. Computing

i CarName Long i t u d e latitude


Technology and Automation, 2003.
Ic----
- .
J IA R-7248 145 - 37. 6 9 98

Figure2. GPS Vehicle Location Map

404

Vous aimerez peut-être aussi