Hgi nghi Khoa hoc ky- niim 35 ndm Viin Khoa hoc vd Cong nghe Viet Nam - Hd Ngi 10 2010<br />
<br />
<br />
<br />
NGHIEN ClTU VA PHAT TRIEN CAC iTNG DUNG GIAM SAT VA<br />
DIEU KHIEN Ttr XA TREN CO SO DINH VI GPS VA MANG<br />
KHONG DAY GSM/GPRS<br />
Thai Quang Vinh, Chu Ngoc Liem, Pham Ngoc Minh, Nguyen Anh Tuan<br />
Vien Cdng Nghe Thdng Tin. Vien Khoa Hgc va Cdng Nghe Viet Nam<br />
A3/18 Hoang Qudc Viet. Cau Giay, Ha Ndi.<br />
Email: tqvinh@ioit.ac.vn<br />
<br />
Tom tat:<br />
Sir phdt triin manh me cua ca sa ha tdng hi thdng mgng internet eg vi sd<br />
luo'ng vd chdt luang Id tiin di cho sir phdt trien cua cdc hi thdng vd irng dung<br />
tren ca sd mgng truyin thdng. Bin cgnh dd. vdi sir biing nd ciig hi thdng mgng<br />
diin thoai khdng ddy, mgng internet cdng di sdu vdo cdc irng dung ddi sdng cimg<br />
nhu cdc irng dung trong sdn xudt cua chimg ta. Hg tdng mang di ddng cho phep<br />
cdc thiit bi cd thi di chuyin linh hoat khdp cdc vi tri dia hinh, md rdng cd khdng<br />
gign hi thdng vd sd luang thiit bi thgm gig vdo hi thdng, tuy nhiin viec xdc dinh<br />
vi tri vd ddng bd thdi gian la vdn di cdn bdn trang viic xdy dung vd qudn li he<br />
thdng do. Vd dich vu dinh vi GPS la chinh Id phdn khdng thi thiiu trong cdc irng<br />
dimg mgng khdng ddy. Bdi bdg ndy gidi thiiu cdc nghiin ciru vd irng dung chung<br />
tdi dd vd dgng phdt triin trin ca sa hi thdng mgng khdng ddy GSM/GPRS vd dinh<br />
vi GPS<br />
<br />
<br />
I. Gidi thieu<br />
De tang cudng quan li nha nude ve cac phuong tien kinh doanh van tai, Nghi dinh<br />
91/2009 cua Chinh phii yeu cau cac xe kinh doanh van tai hanh khach va cac xe cdng-ten-na<br />
phai dugc lap dat thiet hi giam sat hanh trinh nham luu giir thdng tin hanh trinh, tdc do van<br />
hanh, thdi gian van hanh lien tuc, thdi gian \'a dia diem dimg dd.<br />
Qui dinh nay nham quan li cac phuang tien kinh doanh van tai vdn dang kha phirc tap<br />
hien nay, ddng thdi ciing giiip cho cac doanh nghiep tang cudng kiem soat dugc tai san \'a qua<br />
trinh van hanh cac phuang tien ciia minh. Tu>' nhien, vdi qui dinh va cac phuang tien kT thuat<br />
tren co quan chiic nang ciing nhu cac doanh nghiep mdi chi thuc hien dugc chirc nang kiem<br />
soat qua khir ma chua kiem soat dugc cac phuang tien true tuj'en, thdi gian thuc de cd cac<br />
bien phap phdng ngira cac tai nan. tieu cue. va td chirc van hanh tdi uu cat giam chi phi, dam<br />
bam an toan, canh bao va cim hd khi gap su cd.<br />
Vdi nhan dinli dd phdng thi nghiem trgng diem qudc gia ve cdng nghe tru\'en thdng va<br />
da phuang tien, \'ien cdng nghe thdng tin da td chirc nghien cim phat trien he thdng quan li<br />
phuong tien true tuyen ung dung cdng nghe ban dd sd, he thdng giam sat \'a dan dudng giao<br />
thdng, he thdng hd trg thdng tin du lich ban dd sd tren thiet hi cam tay.<br />
<br />
<br />
<br />
<br />
139<br />
Tieu ban: Cong nghi thong tin - Tir dong hod - Cong nghe I 'it tru ISBN: 978-604-913-010-6<br />
<br />
<br />
<br />
II. He thong cung cap dich vu giam sat vi tri true tuyen<br />
2.1. Thiet bi giam sat lap dat tren phuong tien<br />
Cac thiet hi lap dat tren phuong tien dugc phat trien dua tren cdng nghe Wa\'eeom va<br />
SiRF starlll, cd tich hgp Bluetooth va vi dilu khiln PSoC nhim thuc hien kit noi va dap ung<br />
cho cac dich vu LBS tren cac thiet hi cam tay PDA.<br />
GSM Modem GPS Chip<br />
Open AT Application<br />
Receiver<br />
Open AT C-<br />
API GPS Plug-In Correlators<br />
<br />
ARM® 1 1<br />
CPU<br />
OS Core<br />
<br />
<br />
<br />
Hinh I. Kiin tnic bd thu GPS/GSM/Bluetooth<br />
<br />
<br />
<br />
Thiet hi lap dat tren phuang tien giao thdng dugc tich hgp cdng nghe GSM de dam bao<br />
kha nang ket ndi khdng day tdi he thdng may chii thdng qua ket ndi GPRS. Ngoai ra thilt bi<br />
cdn dugc tich hgp cdng nghe truyen thdng khdng day Bluetooth de cd the ket ndi true tiep vdi<br />
cac thiet hi cam tay va cac thiet hi thu thap sd lieu.<br />
<br />
<br />
<br />
<br />
Hinh 2 Cdc thiit bi mdu<br />
<br />
<br />
Thilt hi dugc tich hgp sin he tga do tieu chuin qudc gia VN-2000 chuyen ddi tir he tga<br />
do qudc tl WGS-84<br />
<br />
2.2. Phan mem thu thap sd lieu true tuyin tir cac thilt bi dinh vi<br />
<br />
Md hinh he thdng mang thu thap sd lieu vi tri va thdng tin phuang tien tren qua mang<br />
dien thoai di ddng<br />
<br />
<br />
<br />
140<br />
Hoi nghi Khoa hoc ky niim 35 ndm \ 'iin Khoa hoc vd Cong nghe Viet Nam - Hd Noi 10/2010<br />
<br />
<br />
<br />
<br />
Ettterrel / intemei<br />
(TCP/IP pfolocol)<br />
<br />
<br />
<br />
<br />
Hinh 3 Md hinh mgng thu thdp ca sd dd liiu qua mgng di ddng<br />
<br />
<br />
Phan mem quan li, ciu hinh va thu thap sd lieu cua cac thilt hi dinh vj gin tren cac<br />
phuang tien dugc phat triln nhu mdt phin mim ddc lap tren may chii.<br />
<br />
fasammmssmmsm<br />
GPRS MonHoring: Seiver Sat-up<br />
H « * p a n i s final Dev<br />
GPfiS Statui Wstino... Lacd[p^<br />
Ckert IP UnknnHi<br />
<br />
GPRSfFKiiage- 1 ..... PorilD. j T l<br />
<br />
IWG.3b62100O0/B3*l3,tGPnMC 1<br />
GI2?9 4 e 7 > . 3 7 ? 3 2 * 7 5 N 12158 3 • Not connsclKfl<br />
41 G . W . 0 . 1 3 . 3 0 3 6 2 . 1 2 0 5 3 8 . . ' 1 0<br />
1 Btno<br />
Conrecl TeimrviJ j RsadliQTiTsirind |<br />
GPRS r i B i i B o e c o u r t e r<br />
<br />
<br />
0 *"W. {HviO-j/fr.<br />
,<br />
APN I"'*'™' c.««™, 1<br />
Remala Data:<br />
<br />
IPACMBII: 1222 252 8&.?01<br />
Puiword 1<br />
<br />
<br />
ModwnPwi laooo Do«:elD |35S21MIEI7S9Aar*i*ng Pnx^flm<br />
<br />
<br />
<br />
<br />
Hinh 4 Phdn mim thu thdp sd hiu tir cdc thiit bi dinh<br />
<br />
Phin mem sir dung cdng nghe TCP/IP dl kit ndi vdi cac thilt hi dinh vi. He thdng sir<br />
dung mang internet thdng qua kit noi GPRS cua he thdng mang GSM hien rit phd biln hien<br />
nay nen hau nhu khdng gidi ban vl pham \'i kit ndi tren toan lanh thd Viet Nam cung nhu ve<br />
chat lugng ket ndi. Sd lugng thiet bi cd thi quan li tren mang Idn, dap iing dugc hiu hit cac<br />
nhu cau quan li giam sat phuong tien ciia cac khach hang.<br />
<br />
2.3. He thdng quan li phuong tien ung dung cdng nghe GIS<br />
<br />
Phan mem quan li phuong tien true tuyen dugc xay dimg nhu mdt img dung mang (Web<br />
application) va img dung nin tang cdng nghe ban dd so GIS.<br />
<br />
<br />
<br />
14]<br />
Tiiu ban: Cong nghe thong tin - Tir dong hod - Cong nghi Vii tru ISBN: 978-604-913-010-6<br />
<br />
<br />
<br />
I Own V lati - GeOcot<br />
rgi tmgmmgm<br />
•- c a t ! nnp..',toc*iost:B"eo/ae:;?cj'vc-Aj,TaxijHcmR/n£p.3sp<br />
n CuBofTfteLWa<br />
<br />
<br />
«^a75 V ^ Quan I3'' phuoiig tien<br />
<br />
<br />
<br />
<br />
//?/?/2 5 P/?an mi/w ^wd« li phuang tien true tuyen<br />
<br />
<br />
<br />
Phin mim biln thi true tilp tren nen Web, cho phep ngudi diing cd the truy cap va hien<br />
thi thdng tin tir bat ki may tinh ndi mang intemet nao ma khdng can phai cai dat phan mem<br />
ddc lap nao.<br />
Ung dung hien dang dugc thir nghiem tai htlpy/210.245.62.44:8080/geoserver/QLTaxi/Home/niap.isp.<br />
Phan mem nay cung ung tat ca cac dich vu lien quan den ban dd sd. Cho phep ngudi diing<br />
hien thi vi tri phuong tien tren nen ban dd, phdng to/ thu nhd de quan sat chi tiet va tdng the<br />
khu vuc phuang tien dang boat ddng. Cho phep tim ten dudng phd , tim kiem va hien thi<br />
thdng tin phuong tien, cho phep xem Id trinh ciia phuong tien va cac thdng tin lien quan ve<br />
qua trinh van hanh phuang tien.<br />
<br />
Ngoai ra phan mem cdn cung cap dich vu quan tri he thdng, cho phep ngudi quan tri tiiy<br />
bien va dieu chinh boat ddng cua he thdng theo yeu cau, de dang them bdt cac ddi tugng quan<br />
li, dua ra cac canh bao ve cac phuang tien dang dugc gidm sat cd dau hieu vi pham an toan<br />
van hanh.<br />
<br />
2.4. Phan mem cung cap thdng tin dich "vu tren thiet bi cam tay.<br />
<br />
Ngoai viec ket ndi he thdng vdi may chii giam sat hoat dgng ciia phuang tien, thiet bi<br />
dinh vi gan tren xe cdn cho phep ket ndi true tiep vdi cac thiet bi cam tay ciia ngudi dieu<br />
khien phuong tien.<br />
<br />
<br />
<br />
<br />
142<br />
Hoi nghi Khoa hoc ky niem 35 ndm Vien Khoa hoc vd Cong nghe Viet Nam - Hd Noi 102010<br />
<br />
<br />
<br />
<br />
WE B-GIS SERVER<br />
<br />
<br />
<br />
^ GPRS<br />
•f~- (Internet)<br />
GPRS,<br />
<br />
WiFi \<br />
<br />
<br />
<br />
<br />
Tfinh 6. Md hinh mgng cung cdp thdng<br />
tin hd tra<br />
<br />
<br />
<br />
i^HH^.,.. iff -"<br />
Cic A f t r g a^vigtti bkih<br />
<br />
<br />
<br />
^ ' ^ ' ' ^"^ArfiCiJ^*<br />
<br />
<br />
<br />
<br />
is<br />
<br />
<br />
vaa" •t-33'"''\<br />
<br />
<br />
Htnh 8. Tim Id trinh ngdn nhdt<br />
JiHBH^., •BE"'<br />
T- -r<br />
-!!ra<br />
|r->.| !<br />
<br />
<br />
Jl/ -.V^&T:<br />
<br />
<br />
<br />
<br />
SS - -<br />
<br />
*""" "^<br />
Hinh 7. Ddn dudng tu ddng<br />
true qugn //?«/2 P. 7>o ciru thdng tin<br />
du lich<br />
<br />
<br />
He thdng dugc phat trien hd trg va cung cap thdng tin cho ngudi dimg trong pham vi<br />
quanh vi tri boat dgng ciia phuong tien nhu: thdng tin ve cac diem dd dirng xe, cac quan an,<br />
cac diem mua sam. cay xang, va cac thdng tin khac, tren nen ban dd sd. Phan mem ho trg tim<br />
dudng va dan dudng dudng tu ddng.<br />
Phin mem nay ho trg dugc thiet ke chay tren nen tang cdng nghe JAVA cd thi ho trg cho cac<br />
may cam tay sir dung he dieu hanh Window CE hoac cac thiet hi cam tay cd ho trg JAVA.<br />
Thiet bi ket ndi can cd giao tiep Bluetooth de ket ndi vdi cac thiet bi dinh vi dugc gin tren<br />
phuong tien. Giao dien tieng Viet vdi thiet ke dan gian nhung hieu qua trong \'iec cung cip<br />
thdng tin ke ca vdi nhirng ngudi diing it kinh nghiem ve cdng nghe thdng tin nhit.<br />
<br />
<br />
<br />
142<br />
Tiiuban: Cong nghe thong lin - Tir dong hod - Cong nghi Vit tru ISBN: 978-604-913-010-6<br />
<br />
<br />
<br />
I. Thu nghiem va danh gia hieu qua cua he thdng<br />
<br />
Cac thiet bi va cac phan mem ho trg dugc che tao va lip dat thir nghiem tren cac phuang tien<br />
cho ket qua kha tdt. Ket qua nghien ciiu va phat trien he thdng nay da di trudc mdt budc trong<br />
viec cung cip cho cac doanh nghiep mdt cdng cu ho trg quan li hieu qua. San phim cd tilm<br />
nang iing dung cao cho cac doanh nghiep van tai nhu taxi, xe buyt, hay cac van chuyin hanh<br />
khach tuyen dudng dai. He thdng hd trg viec dieu phdi boat ddng ciia mang ludi phuang tien,<br />
giam sat van hanh va canh bao khi cac phuong tien cd dau hieu vi pham an toan. Hd trg hieu<br />
qua cho cac doanh nghiep van tai hang hda nhu xang dau, than quang va cac hang hda khac<br />
ma bay lau nay la diem ndng trong viec that thoat trong qua trinh van chuyen. Thuan tien<br />
trong viec quan li va bao ve tai san cho cac cdng ty thue va cho thue xe.<br />
<br />
Hd trg true tiep cho nhirng ngudi diing ca nhan vdi nhieu tinh nang trg giup him ich, de dang<br />
thuan tien trong quan li tai san ciing nhu bao ve tai san.<br />
He thdng dugc thiet ke tren ca sd he thdng md nen de dang tich hgp va phat triln cac modul<br />
Cling nhu cac tinh nang mdi phat sinh trong qua trinh boat ddng va theo yeu ciu ciia khach<br />
hang.<br />
<br />
<br />
<br />
<br />
144<br />