0% found this document useful (0 votes)
61 views4 pages

Sms Registration Using Digi Connect Wan Via TCP Socket: Abstract-In This Paper, We Will Show An Application Which

This document describes an SMS registration application using Digi Connect WAN via TCP socket. Digi Connect WAN is a wireless gateway that collects SMS data and sends it to a computer via TCP socket. The computer then filters the SMS data, stores it in an Excel file, and sends it to a database hosted online. The application was developed in C# using Visual Studio 2010 to process the data received from Digi Connect WAN over TCP/IP and store it reliably in a database.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views4 pages

Sms Registration Using Digi Connect Wan Via TCP Socket: Abstract-In This Paper, We Will Show An Application Which

This document describes an SMS registration application using Digi Connect WAN via TCP socket. Digi Connect WAN is a wireless gateway that collects SMS data and sends it to a computer via TCP socket. The computer then filters the SMS data, stores it in an Excel file, and sends it to a database hosted online. The application was developed in C# using Visual Studio 2010 to process the data received from Digi Connect WAN over TCP/IP and store it reliably in a database.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

SMS REGISTRATION USING DIGI CONNECT WAN VIA TCP SOCKET

Pham Ngoc Hoa Department of A tomat!c Contro" #ac "t$ of E"ectr!ca" E"ectron!c% Eng!neer!ng Ho Ch! M!nh c!t$ Un!&er%!t$ of Techno"og$ Ho Ch! M!nh C!t$' V!etnam Phamngochoa()(*+**,-gma!".com Tr ong Thanh H!en Department of A tomat!c Contro" #ac "t$ of E"ectr!ca" E"ectron!c% Eng!neer!ng Ho Ch! M!nh c!t$ Un!&er%!t$ of Techno"og$ Ho Ch! M!nh C!t$' V!etnam h!en/%0-gma!".com

AbstractIn this paper, we will show an application which use computer collect SMS data. We use C# language with MS visual studio 2010 tool and igi connect W!" which receive SMS data. #ere, a$ter igi connect W!" is received SMS data, it will send data to a computer and computer will $ilter and show SMS data. igi connect W!" is a Master which collect data and send data to slave. Computer is a slave which receive data. #ere, igi inter$ace with computer via %C& standard. In computer, we write a '(I which control open)close port and wait data received. '(I also write) read data to *+cel which save data. ,e-word. %C&, I'I connect W!", '(I, C# language. I. INTRODUCTION In fact' reg!%ter !n c"a%% !% comp"e1 an2 %pen2 too man$ t!me. Therefore' 3e !ntro2 ce an app"!cat!on 3h!ch can re%o"&e th!%. In th!% app"!cat!on' $o can reg!%ter at c"a%% &er$ / !c4"$ &!a SMS ce""phone. A 2e&!ce 3h!ch co""ect a"" SMS an2 %en2 to comp ter. At th!%' comp ter 3!"" %a&e to e1ce" an2 %en2 to 2ata0a%e !n ho%t. 5e%!2e 3!th e1ce"' 3e can e1ec te man$ act!on % ch a%6 %ort' %earch' chec4' co nt %t 2ent n m0er7 5eca %e 2ata !% enc"o%e2 !n 2ata0a%e !n ho%t an2 th!% he"p %t 2ent can chec4 comforta0"e the!r !nformat!on. 8 !c4"$' effect!&e' %afet$ 3h!ch th!% app"!cat!on a"3a$% ten2. No3' 3e ha&e man$ metho2 to SMS reg!%trat!on. Here' 3e %e th!% mo2e" 3!th %afe an2 effect!&e of D!g! Connect WAN. D!g! !% a 2e&!ce 3!th man$ feat re of connect!on. D!g! co""ect man$ SMS an2 0"!n4 co""ap%e connect!on. Proce%% rate of D!g! !% / !c4"$ an2 !t can 0"!n4 3h!ch man$ SMS rece!&e2 %!m "taneo %. 5e%!2e% D!g! !% comp"e1 !n %e. It ha&e man$ feat re an2 SMS co""ect!on !% on"$ one !t% app"!cat!on. Co%t !% e1pen%!&e. The$ % a""$ %e !t !n !n2 %tr$. Here' 3e %e comp ter % ch a% heart of %$%tem. In th!% heart' 3e %e too"% to proce%% 2ata % ch co""ect %tr!ng 3h!ch !% %ent from D!g!' f!"ter SMS 2ata' %tore !n e1ce" an2 %en2 2ata to 2ata0a%e. C9 !% a %!mp"e an2 comforta0"e program "ang age 3h!ch !% % pport man$ too"% to proce%% an2 connect to 2e&!ce &!a TCP %oc4et. MS ,(+( a"%o perm!t 3e can 3or4 3!th e1ce" 3h!ch !% a too" of M!cro%oft. W!th e1ce" ma%ter can %e !t a% %ame a% report to %tat!%t!c an2 proce%% 2ata. 5e%!2e C9 !% on"$

%!mp"e %o 3e are &er$ 2!ff!c "t !n proce%% 3!th re/ e%t 0e%t an2 / !c4"$ 3hen program proce%%. W!th 2ata0a%e 3e %e !t a% %ame a% a "ocat!on 3h!ch 3e can %tore an2 proce%% !n net3or4. Here' 3e %e a ho%t 3h!ch !% pro&!2e man$ too" can % pport % !n connect 2ata0a%e. In fact' man$ ho%t ha&e % pport Data0a%e management %$%tem% 3h!ch perm!t 3e 3or4 3!th 2ata0a%e of % an2 3e can a"%o %en2 3e0%!te to th!% ho%t. Ho%t 3!"" %en2 % an a22re%% 3h!ch e&er$one can connect to !t. An2 MS ,(+( a"%o pro&!2e man$ too" 3h!ch perm!t 3e 3or4 3!th 2ata0a%e. Th!% app"!cat!on !% re"!a0"e an2 effect!&e 3hen 3e app"$ !n c"a%%. II. CONNECTION MODE:

#!g re +. Connect!on mo2e" D!g! !% a 2e&!ce 3h!ch co""ect SMS an2 %en2 to PC. D!g! %e a SIM of V!ette" 3!th a phone n m0er an2 a"" %t 2ent carr$ o t reg!%ter 3!th 3r!te SMS 3!th a %$nta1. Then' the$ 3!"" %en2 SMS to Ma%ter for han2"e &!a comp ter. Note6 3e m %t !n%ta"" D!g! 0efore %e !t 0eca %e D!g! ha&e man$ 2!fferent feat re. A. D!g! connect WAN D!g! Connect WAN !% a 3!re"e%% WAN gate3a$. It pro&!2e% h!gh performance Ethernet to 3!re"e%% comm n!cat!on% thro gh ce"" "ar GSM ;G"o0a" S$%tem for Mo0!"e comm n!cat!on< or CDMA ;Co2e D!&!%!on M "t!p"e Acce%%< net3or4% for pr!mar$ an2 0ac4 p connect!&!t$ to remote "ocat!on%. It %e% Genera" Pac4et Ra2!o Ser&!ce ;GPRS<=Enhance2 Data Rate% for GSM E&o" t!on ;EDGE< to offer an ea%$ an2 co%t>effect!&e mean% of connect!ng &!rt a""$ an$ remote "ocat!on !nto the corporate IP net3or4. It !% !2ea"

for %e 3here 3!re2 net3or4% ;for e1amp"e' "ea%e2 "!ne=frame re"a$' CSU=DSU' fract!ona" T+< are not fea%!0"e or 3here a"ternat!&e net3or4 connect!on% are re/ !re2. 5enef!t% of 3!re"e%% comm n!cat!on% thro gh D!g! Connect WAN !nc" 2e !n%tant 2ep"o$ment' e"!m!nat!on of 3!r!ng co%t% an2 pro0"em% 2 e to 3!re 0rea4%' the a0!"!t$ to tra&er%e f!re3a""%' an2 the a0!"!t$ to mo&e the connect!on &!rt a""$ an$3here. 5. Soc4et A socket !% the mechan!%m that mo%t pop "ar operat!ng %$%tem% pro&!2e to g!&e program% acce%% to the net3or4. It a""o3% me%%age% to 0e %ent an2 rece!&e2 0et3een app"!cat!on% ; nre"ate2 proce%%e%< on 2!fferent net3or4e2 mach!ne%. The %oc4et% mechan!%m ha% 0een create2 to 0e !n2epen2ent of an$ %pec!f!c t$pe of net3or4. IP' ho3e&er' !% 0$ far the mo%t 2om!nant net3or4 an2 the mo%t pop "ar %e of %oc4et%. Th!% app"!cat!on pro&!2e% an !ntro2 ct!on to %!ng %oc4et% o&er the IP net3or4 ;IP&?<. The TCP Soc4et API offer% a 3ho"e API to open an2 %e a TCP connect!on. Th!% a""o3% app ma4er% to !mp"ement an$ protoco" a&a!"a0"e on top of TCP % ch a% IMAP' IRC' POP' HTTP' etc.' or e&en 0 !"2 the!r o3n to % %ta!n an$ %pec!f!c nee2% the$ co "2 ha&e. C. TCP=IP TCP an2 IP 3ere 2e&e"ope2 0$ a Department of Defen%e ;DOD< re%earch pro@ect to connect a n m0er 2!fferent net3or4% 2e%!gne2 0$ 2!fferent &en2or% !nto a net3or4 of net3or4. It 3a% !n!t!a""$ % cce%%f " 0eca %e !t 2e"!&ere2 a fe3 0a%!c %er&!ce% that e&er$one nee2% ;f!"e tran%fer' e"ectron!c ma!"' remote "ogon< acro%% a &er$ "arge n m0er of c"!ent an2 %er&er %$%tem%. Se&era" comp ter% !n a %ma"" 2epartment can %e TCP=IP ;a"ong 3!th other protoco"%< on a %!ng"e :AN. The IP component pro&!2e% ro t!ng from the 2epartment to the enterpr!%e net3or4' then to reg!ona" net3or4%' an2 f!na""$ to the g"o0a" Internet. On the 0att"ef!e"2 a comm n!cat!on% net3or4 3!"" % %ta!n 2amage' %o the DOD 2e%!gne2 TCP=IP to 0e ro0 %t an2 a tomat!ca""$ reco&er from an$ no2e or phone "!ne fa!" re. Th!% 2e%!gn a""o3% the con%tr ct!on of &er$ "arge net3or4% 3!th "e%% centra" management. Ho3e&er' 0eca %e of the a tomat!c reco&er$' net3or4 pro0"em% can go n2!agno%e2 an2 ncorrecte2 for "ong per!o2% of t!me. A% 3!th a"" other comm n!cat!on% protoco"' TCP=IP !% compo%e2 of "a$er%6 #!r%t' IP !% re%pon%!0"e for mo&!ng pac4et of 2ata from no2e to no2e. IP for3ar2% each pac4et 0a%e2 on a fo r 0$te 2e%t!nat!on a22re%% ;the IP n m0er<. The Internet a thor!t!e% a%%!gn range% of n m0er% to 2!fferent organ!Aat!on%. The organ!Aat!on% a%%!gn gro p% of the!r n m0er% to 2epartment%. IP operate% on gate3a$ mach!ne% that mo&e 2ata from 2epartment to organ!Aat!on to reg!on an2 then aro n2 the 3or"2. Secon2' TCP !% re%pon%!0"e for &er!f$!ng the correct 2e"!&er$ of 2ata from c"!ent to %er&er. Data can 0e "o%t !n the !nterme2!ate net3or4. TCP a22% % pport to 2etect error% or

"o%t 2ata an2 to tr!gger retran%m!%%!on nt!" the 2ata !% correct"$ an2 comp"ete"$ rece!&e2. Soc4et% > !% a name g!&en to the pac4age of % 0ro t!ne% that pro&!2e acce%% to TCP=IP on mo%t the %$%tem.

#!g re ,. :a$o t of TCP=IP

D. Data0a%e
We %e S8: 2ata0a%e 3h!ch co""ect 2ata an2 perm!t % manage 2ata. Data0a%e management %$%tem% ;D5MS< are %pec!a""$ 2e%!gne2 app"!cat!on% that !nteract 3!th the %er' other app"!cat!on%' an2 the 2ata0a%e !t%e"f to capt re an2 ana"$Ae 2ata. W!th D5MS !% %oft3are 3h!ch perm!t create a ta0"e' / er$ an2 a2m!n!%trat!on of 2ata0a%e%. Three man$ D5MS %oft3are % ch a% M$S8:' Mar!aD5' Po%tgreS8:' S8:!te' M!cro%oft S8: Ser&er' Orac"e' SAP' 25ASE' #o1Pro' I5M D5,' :!0reOff!ce 5a%e an2 #!"eMa4er Pro. M!cro%oft S8: Ser&er !% the mo%t pop "ar !n th!%. M!cro%oft S8: Ser&er !% a D5MS 3h!ch 2e&e"ope2 M!cro%oft. A% a 2ata0a%e' !t !% a %oft3are pro2 ct 3ho%e pr!mar$ f nct!on !% to %tore an2 retr!e&e 2ata a% re/ e%te2 0$ other %oft3are app"!cat!on%' 0e !t tho%e on the %ame comp ter or tho%e r nn!ng on another comp ter acro%% a net3or4 ;!nc" 2!ng the Internet<.

#!g re B6 Data0a%e O0@ect Here' 3e %e free ho%t 3h!ch % pport man$ too". In free ho%t ha&e % pport MS S8: %er&er fa&ora0"e to manage 2ata.

5e%!2e !n ho%t a"%o pro&!2e 3e0%!te manager perm!t 3e 2e%!gn / !c4 3e0%!te. III. #:OWCHART #!r%t' D!g! connect WAN rece!&e SMS 2ata 3!th %$nta1. Then' D!g! %en2 2ata to PC &!a TCP %oc4et. A GUI !n comp ter open=c"o%e connect!on' 3a!t 2ata rece!&e2. In GUI' 3e a"%o f!"ter SMS %tr!ng 0eca %e Data 3h!ch D!g! %en2 to GUI !% an ar0!trar$ %tr!ng. GUI chec4 SMS %tr!ng an2 %en2 to e1ce". We m %t chec4 SMS 2ata 0efore %a&e to E1ce". 5eca %e !n fact' 2ata can 0e error or ha&e man$ co!nc!2ence SMS. Therefore' GUI m %t rea2 2ata of E1ce" !n or2er to chec4 co!nc!2ence SMS or error. If co!nc!2ence SMS' 3e c"ear ne3 SMS %tr!ng. If error SMS' 3e m %t %en2 fee20ac4 to ce""phone. D!ff!c "t$ !% e1ec t!on t!me !n GUI. If e1ec t!on t!me too 0!g' 3hen SMS ne3 !% rece!&e2 then GUI m %t %top c rrent"$ programm!ng an2 can ca %e man$ error 3hen %a&e to E1ce". Therefore' 3e m %t 2ecrea%e %!Ae of GUI. D!g! %en2 to 2ata 3h!ch !% "og of D!g!. In "og' 3e ha&e a man$ %tr!ng. We on"$ !ntere%t to SMS %tr!ng. Therefore' 3e m %t f!"ter th!% %tr!ng an2 MS &!% a" ,(+( % pport Rege1 too". Rege1 too" he"p f!"ter SMS %tr!ng &!a "og!c an2 o tp t 2ata !% %tr!ng. 5e%!2e' MS &!% a" ,(+( a"%o % pport rea2 2ata of E1ce" &!a ro3 an2 co" mn. MS &!% a" %t 2!o ,(+( % pport man$ %oft3are too" he"p %e connect' !n%ta""' co""ect 2ata an2 !nterface 3!th e1ce". #!%t' START !% !2"e %tate. In!t!a" !% %tart co nt ro3 n m0er an2 co" mn n m0er !n E1ce". N m0er!ng for SMS &!a t!me rece!&e2. Th!% he"p % p2ate e1ce" rea%ona0"e. In%ta"" connect!on !% re%pon%!0"e for 3r!t!ng a f nct!on !n GUI. Th!% f nct!on create connect TCP 0et3een D!g! an2 Comp ter. Dec"arat!on C"!ent !% comp ter. Create o0@ect c"!ent !% a TCP %oc4et' protoco" t$pe !% TCP. Dec"arat!on IP an2 port of D!g! 2e&!ce. Then' Create connect 3!th ;connecte2< !% f nct!on CcatchC 2ata. To %tart rece!&e a SMS 2ata to D!g!' GUI 3!"" %en2 a %tr!ng comman2 re/ e%t D!g! %ho3 %m%ce"" "og. Comman26 2!%p"a$ %m%ce"" rec&"ogDta!". Then' % cce%%f " connect!on an2 3a!t SMS rece!&e2. If 3e rece!&e2 a SMS' GUI 3o "2 e1change %tr!ng to ASCII character. If 3e 2!2 not rece!&e a SMS' GUI 3!"" 3a!t SMS. Then' 3e 3!"" f!"ter SMS &!a Rege1 too". U%e "og!c f nct!on %eparate SMS an2 %a&e SMS to :!%t&!e3. Then' 3e chec4 2ata. If error' 3e %en2 fee20ac4 an2 3a!t SMS. If nor error' 3e %en2 2ata to E1ce" an2 p2ate 2ata to Data0a%e !n ho%t. Then' 3e 3a!t SMS. IV.

#!g re ?. Program!ng #"o3 Chart

CONC:USION

In th!% paper' 3e %e D!g! !n TCP %oc4et' rece!&e2 SMS an2 co""ect 2ata. Here' app"!cat!on !% reg!%trat!on &!a SMS. It %e % ch a% %!gn on !n c"a%%. In f t re' 3e can %e th!% mo2e" to SCADA %$%tem.

A2&antage6 #!r%t' app"!cat!on perm!t 3e can %e man$ 2!fferent too" to proce%% 2ata &!a comp ter. #!na""$' 3e 0"!n4 co""ap%e connect!on 3hen 3e ha&e man$ SMS 3h!ch !% %ent %!m "taneo %. D!%a2&antage6 #!r%t' proce%% rate of program!ng !% not h!gh 0eca %e MS ,(+( !% &er$ %!mp"e 3hen 3e ma4e !n net3or4 an2 program m %t r n nnece%%ar$ comman2. Here' 3e can %e con%o"e 3hen co2e 0eca %e con%o"e !% 0e%t comman2 !n proce%%. Secon2' 3e 3or4 3!th ho%t &!a GUI %en2 %tr!ng an2 %tr!ng !% / er$ S8:. S8: !% a %ome3hat comp"e1. Here 3e can %e too"% 3h!ch MS ,(+( % pport to program!ng / !c4"$. Re% "t6 App"!cat!on !% goo2 !n reg!%trat!on. It !% %e2 SMS reg!%trat!on !n R!%e Eo r Arm ,(+B. In th!% match' !t rece!&e2 a0o t ,(( SMS 3h!ch !% %ent 0$ %pectator !n a0o t B ho r. D r!ng th!% t!me' !t 3or4 goo2 an2 ha% no error.

V. +. ,. B. ?. ). G.

RE#ERENCES 5ehro A A. #oro Aan' Data comm n!cat!on% an2 net3or4!ng. MC Gra3 H!""' ,((+' %econ2 e2!t!on. #re2 Ha%a""' Data comm n!cat!on%' comp ter net3or4% an2 open %$%tem%' A22!t!on>We%"e$' +**,' th!r2 e2!t!on. Feffre$ E. #. #r!e2"' Ma%ter!ng Reg "ar E1pre%%!on%. :!0rar$' Soc4et' A%$nchrono % Ser&er Soc4et E1amp"e' http6==m%2n.m!cro%oft.com=en> %="!0rar$=f1G)HHte.a%p1 :!0rar$' The TCP=IP mo2e"' #!g re ,. :a$o t of TCP=IP' http6==technet.m!cro%oft.com=en> %="!0rar$=ccIHG*((;&D3%.+(<.a%p1 Chapter *. Data0a%e O0@ect%' #!g re B. Data0a%e o0@ect' http6==333.@corporate.com=e1pre%%o=2oc=e2g=e2gJ20 o0@ect%.htm"

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy