Showing posts with label grid computing. Show all posts
Showing posts with label grid computing. Show all posts

21 March 2010

Tengah berfikir..

Assalamulaikum wbt..




Click to enlarge


Gambar atas nie adalah workflow utk socket y aku prepare utk grid computing..pening mmg pening..jadi mmg jd..cume aku xsure workable or x bile combine dgn part Acad..hmm..

Sperti y ditunjukkan pd gambarajah di atas, aku write based on basic socket for client server. 3 hari gak berfikir smbil tgk CSI Las Vegas nih..Nseb bek la aku amik CST234 dulu, network programming.Kalu x, menjajah jgak nk tnye uncle googlerudin..

Aku rse cm complicated nk explain..cume pe y bleh di explain adalah sumer y kt atas tuh run on cross platform (windows + linux) and y pling penting, stiap server bleh jd client n vice versa..Alternating each other whenever needed.



i'm still thinking...








.

18 March 2010

FYP Progress

Assalamulaikum wbt..

Alhamdulillah, skg nie msih lgi da kekuatan utk berfikir, consume knowledge atas keizinan Allah swt..Dipendekkan cite, aku xsure projek aku nie nk ke mana..Wat ms nie, saat nie, pkataan y seswai utk projek nie adalah "impossible" to me..Still stp hri kne keep thinking nk figure out cmana nk "possible"kn bnde nie..Bese ar, bnde nie sgt bru bg aku..name pn bdak network terjun lam field AI n grid computing..

"INSPORA - IN DETAILS"



Click to enlarge

Kat atas nie adalah main system framework utk projek aku..Main purpose bnde nie adalah utk membolehkan orag rmai dptkan info sal bunga dgn secepat y mungkin..igt tue, "secepat y mungkin"..Which means, this project should implement all necessary method to make it run faster and efficient, xksah ar processing algorithm ker, memory leak management ker..Aku explain ar sikit supaya korang senang nk phm k..

"1 - USER INPUT"

Utk system nie, ade dua main input iaitu mobile device or website. User bleh upload gambar bunga either melalui website (conventional way) or send directly from mobile thru MMS ke system..Utk website, team aku gune Silverlight 3 technology utk interface visualization (XAML), all animation n language C# utk sumer event handling..Silverlight nie slah satu component dlm .Net Framework (latest version 4.0) y specialize utk high user interface experience. Ape y best nye, Silverlight nie ade full integration with Asp.net..mksudnye, let say ar certain function xleh wat dlm Silverlight, kite bleh invoke Asp.net punyer function as a delegate function..

Next, utk integration between Silverlight page ngn Web Server, aku gune WCF utk manage data connection..WCF nie integated web service y operate based on SOA (service oriented architecture)..snang gune nie sbb programmer cm kite xperlu nk pk kn sal WSDL, UDDI, Object Serialization n etc since everything WCF dh handle..data serialization done by enumerable data collection.Tue part web, utk receive MMS, kne ader GSM Modem spya bleh receive image file from network provider..GSM modem nie lebih kurang cm broadband y kite bese gune, cume beza nye die ade antena kecik cam access point..Once user send MMS ker system, akan ade "daemon" apps y akn retrive image from GSM modem nie and transfer tue web server..So, for now web server dh ade flower image y die dpt either dri GSM Modem (MMS) or Silverlight (manual upload)..

"2 - WEB SERVER + GRID MANAGER"


Next, web server n grid manager actualy reside on two separate machines..One on windows n linux on the other..Utk communication n data transmission between 2 machine nie aku gune socket programming dgn UDP protocol, since aku assume both are on dedicated line n no service lookup is needed..just one-to-one mapping..Those y interested nk tw pe die socket programmng nie leh rujuk kat entry y lepas2 yer..Once web server dh dpt image tue, cam bese, path file akn di store lam MySql database, n image file dlm file server..Bleh je nk stor image dlm database gune format BLOB, tp nti nk load image akn jd lmbat..Then path file tue akn di pass as a forward request to Grid Manager..Kat sini, ngn bantuan Globus middleware and main language Java, any available image processing engine bleh di pick on round robin basis..Grid computing mmg pnting kat sini..Xleh nk citer byk sbb aku pn still ngah develop part nie..Examiner aku suggest gune ping method, kire machine y reply plig cepat, machine tu y akn di pick..

"3 - IMAGE PROCESSING"

Dlm projek Inspora nie, ade 2 part y plig pnting iaitu cross platform communication n image processing..After receive path file image td, ngn bantuan Matlab, system akn retrive blik image from file server, and go thru 1st phase which is image enhancement. Reason being is image from user bleh dtg ngn mcm2 format, ade 2, 3 or 8 megapixel, ade y jpeg, bitmap or png, ade y blur n low contrast..mcm2 lagi..After that, 2nd phase which is image recognition will take over..Bermula ngn binarization, elimination, then edge detection utk define degree of circularity or shape, n dominant color determination..process nie melibatkan bbrapa feature extraction algorithm y agk pnjag lebar kalu nk explain kt sini..so, xyah la explain erk..Data2 y dh di extract tu akn dicompare ngn system punye neural network based on back propagation algorithm..berkenaan ngn bnde nie, aku srahkan kat acad ar (team mate) sbb die majoring in AI..hehe..

"4 - FORWARD RESULT"

After dh dpt result n dh tw bunga tue bunga ape, retrieve reference id from database, pass back to web server. Based on id tue, web server akn retrieve necessary info n display result kat user (in case of Silverlight) or send to user using SMS via SMS gateway (in case of MMS)..SMS gateway nie plak actually 1 "daemon" apps y connect ngn external dummy gateway

"CURRENT PROGRESS"

Click to enlarge

Progress skg ? leh rujuk pic kat atas tu..mmg byk lagi y aku xwat..xtaw bile nk siap nie..bnde nie ssh nk wat sbb name pn projek bdak master, level cm kite nie ssh gak ar nk prah otak fikirkan kn bnde y kite xpnah blaja..Dlm project ni, aku responsible utk interprocess and cross platform communication on mobile n distributed grid computing, and team mate aku, Acad plak responsible utk image processing n neural network algorithm..exploration takes time kn..sabar je laa.

"SOME SCREENSHOT"

Kalu korang prasan ar, projek aku nie bleh kate 87% main programming kat background system..xder ar interface sgt pun..Projek Inspora nie da 1 interface jer iaitu from Silverlight website..So, aku tnjuk ar sikit2 shot ya ader..hak cipta terpelihara ok..watch out..

Main front page..Konsep die kt sini, besenye org taip keyword kat google utk cri image, but skg ktorang reverse, upload image utk cri keyword n explaination.


Sign up page..Main theme web site nie kaler kuning + grey..logo kaler hjau tu aku pick je mane2..


Front page after sign in..data xder lagi, sbb mlas nk goreng info..nk display jer pun.


Page utk display all image uploaded by user..sumer gmbar same sbb gune sample pic y sme.


Flower description..Once again, data kosong sbb mlas nk goreng info..


Page utk list all or favorite article..kosong gak sbb info n karangan len mlas nk isi..y ptg programming sumer siap..






.

29 October 2009

My FYP

Assalamulaikum wbt..

Lame aku xpost kat blog nie..xtaw nk letak ape..cm stp hari xder terpk pn nk post ape kat sini..lagipun, xtaw blog nie ader org bace ke x kn..niway, kat sini aku nk cite cikit sal project FYP aku y xseberapa lagi la hampeh nie

Tajuk fyp aku - Mobile Grid Flower Recognition System..In general, bnde nie pasal flower la. Aku pn xtaw naper flower..huhu..aku ngn flower? erk...mmg xder kene mengena lagsung ngn imagine cup theme..huhu..xpolah..byk competition laen..Project nie combination antara mobile technology+grid parallel computing+AI image processing. Tiga2 bnde nie aku xtaw satu hapa pun..huhu..tue y best tuh..blaja bnde baru..pada aku..kalu bnde yg kite wat sgt susah, org akn lebih appreciate hasil kj kite even xacomplish pun sbb xramai org y bleh wat bnde nie..tul x acad? oo lupe lak..project nie wat berdua jaa. Aku n acad. Dua org aje untuk project y heavy susah, so nothing to expect from us..

Project nie kitorang namakan Inspora, amik dripada word "spora" as egen penyebaran maklumat coz objective system ni adalah utk increase awareness among public user about kepentingan flower tue sndri, die punye value dr segi kesihatan ker, market ker..coz nilai jualan eksport bunga Malaysia ke jepun mencapai RM 25 juta annualy..Briefly, user bleh amik gambar bunga gune nset n MMS/3G ke web server..Kat sini kene implement MMS/SMS gateway nye technology. then web server akn send request ke Image processor utk recognize gambar tue gune image processing algorithm. Kat sini la fungsi nye artificial intelligence..utk process 1 gambar pixel by pixel, computer perlukan byk processing power (dual core xcukup kot), memory space aka RAM n bla bla bla..so, datang la fungsi grid computing kat sini..Pada sape y xtaw fungsi grid nie, korang bleh imagine ade 1 monitor, tapi CPU die ade 20..in other words, kite cume ada 1 monitor as interface, tapi in the back end, kite ade processing power equivalent to 20 CPU (just imagine kalu each cpu ade quard core processor..fuuuuhh)..selepas computer tue bleh recognize image (lebih kurang cm face detection method)..computer akan compare ngn database n return result kat user ape name bunga tersebut, berserta ngn basic info, traditional value and etc via sms..cmtu la lebih kurang citenye FYP aku..actually da beberape component lagi..tp next time la aku explain..

Grid computing nie dh byk industry heavyweight y implement..korag xterpikir ker cmane google n yahoo leh wat search engine n return result less than 3 seconds kat kite, after search gazillion page kat website..Google dh move 1 step ahead ngn advance grid iaitu ape y diorang namakan Cloud Computing dlm OS Android..Just imagine if kite ade satu PDA kecik kat tgn, tp d support oleh bribu-riban computer kat back end..Actually, kalu grid computing nie di implement ngn btul, laptop kite bleh mencapai lebih dri 1 pentaflops processing power sebenanye..macho kan..hehe..

tp tue la, bnde nie ssh kn..huhu..cmane la nk wat nie..adooooooooiii!!!