Automated location tracking_using_bluetooth


Published on

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Automated location tracking_using_bluetooth

  1. 1. Automated Location Tracking Using Bluetooth <br />Submitted by <br />UdayAnanth<br />AkhilaAthresh<br />AbhijeetYatgiri<br />
  2. 2. Abstract<br />Location Tracking is crucial in providing visibility of mobile nodes.<br />Better Control, higher productivity<br />Traditional Tracking – Global Positioning System(GPS) <br />Alternate Tracking for smaller geography -Bluetooth<br />
  3. 3. Objective<br />To track human location in signal sensitive area using Bluetooth. <br />Constantly monitor the location<br />Provide consistent information regarding user whereabouts.<br />Support duplex communication between mobile nodes and server<br />
  4. 4. System Requirements<br />
  5. 5. Hardware Requirements(per node basis)<br />Intel Core2Duo e8200 (2.66 GHz) (Lower end processors can be used as well)<br />2GB RAM DDR2 (A minimum of 512 MB required)<br />Intel dp35dp Chipset<br />LAN (Ethernet) Card<br />Silicon Cambridge Bluetooth Radio (Dongle)<br />Bluetooth Enabled Cellular Phones.<br />
  6. 6. Software Requirements <br />Operating System: Fedora 12<br />Development Platform: NetBeans IDE 6.8<br />Libraries Used<br />Java SE 6 v18<br />Bluecove GPL 2.1 (JSR -82)<br />
  7. 7. Java Database Connectivity (JDBC)<br />Jakarta Commons Net<br />Backend: MYSQL Server <br />Network Communication: vsftpd<br />
  8. 8. DESIGN<br />
  9. 9. Client Server Design<br />
  10. 10. University Campus<br />SERVER ROOM<br /><br />LAB 1<br /><br />LIBRARY<br /><br />LAB 2<br /><br />A4:67:B5:89:00:F5 <br />(Registered User A )<br />OFFICE<br /><br />LAB 3<br /><br />B6:88:C8:34:07:66 <br />(Registered User B)<br />
  11. 11. Client Functionality<br />Sweep a small geographical subarea<br />Detect mobile devices within this sub area and send their MAC addresses to server via FTP<br />Receive data from server<br />Push the data to the mobile device<br />
  12. 12. Server Functionality<br />Register Bluetooth enabled phones<br />Create, Maintain Databases<br />Receive MAC addresses of mobile nodes from Client nodes.<br />Determine which user is in which area using the above information<br />Send and receive data to mobile nodes via intermediate client nodes<br />
  13. 13. Software Design <br />
  14. 14. Bluetooth <br />
  15. 15. Bluetooth <br />Open Specification, Wireless Standard<br />Short range radio technology(2.4 Ghz) for ad hoc communication of voice and data transfer<br />Creation of PANs <br />Range: 10 m for low end, 100 m high end Bluetooth devices<br />
  16. 16. Bluetooth Stack<br />
  17. 17. Radio layer : lowest layer, controls transceiver's requirements and signals <br />Baseband : physical RF links b/w devices, channel processing, timing, channel access control.<br />Link Manager: Link control, Baseband packet size, Authentication.<br />
  18. 18. HCI : command interface for the below layers, can access hardware status, control registers<br />L2CAP : abstracts uppers layers from the lower layers<br />SDP : Protocol for querying, searching services<br />
  19. 19. RFCOMM : Serial port emulator<br />OBEX : Similar to HTTP but used in low end devices. Pushing data to mobile nodes.<br />
  20. 20. Device Discovery<br />A Bluetooth device dynamically detects other Bluetooth devices in it’s vicinity –Device Discovery (Inquiry)<br />It should also be able to detect services that are running on these detected devices –Service Discovery<br />Devices can be set to ‘general’ mode , ‘non- discoverable’ mode or ‘limited’ mode.<br />When issued an inquiry only discoverable devices respond back to the initiator with a 6 byte address<br />
  21. 21. Service Discovery<br />
  22. 22. A Bluetooth Server is one that’s running JABWT application and can provide services to Client via Bluetooth<br />The Bluetooth Stack provides Services Discovery Database (SDDB) : Contains all the services provided by server and accessible by client via Service Discovery Protocol (SDP) query<br />
  23. 23. List of all the services provided are stored as Services Records and are indexed using unique identifiers.<br />Server has to register all the services it can provide.<br />
  24. 24. JAVA<br />
  25. 25. Java provides a standardized and portable interface.<br />Maintains a clean memory with automatic garbage collection.<br />Capable of providing a simplistic User Interface.<br />Scalable by including external upgrades and packages.<br />
  26. 26. FRONT END<br />Java Swings has been used to design the User Interface(UI) for this application<br />Swing is a set of classes that provides more powerful and flexible components than those provided by traditional AWT .<br />Several additional components like tabbed panes, trees ,tables etc are provided in Swings.<br />
  27. 27.
  28. 28.
  29. 29. JSR 82<br />Provides an interface to the Bluetooth host controller.<br />Interfaces the Bluetooth Stack and Application Program.<br />Supports the use of custom built stacks following the JSR-82 specifications<br />
  30. 30. BACK END<br />
  31. 31. DATABASES<br />aname<br />broadcastfile<br />attlist<br />nodes<br />uploadfile<br />reglist<br />temp<br />sendfile<br />tlist<br />
  32. 32. J2EE<br />Provides access to Database Backend of the Application.<br />Provides Connectors to link up with specific vendors.<br />Simplifies connectivity by using a Type 4 Connector.<br />Provides a substantial Stack Trace to diagnose errors.<br />
  33. 33. CODE MODULES<br />
  34. 34. THE SERVER<br />
  35. 35.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
  36. 36. THE CLIENT<br />
  37. 37.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
  38. 38. Future Aspects<br />
  39. 39. Provide an option of Scalability with high powered Bluetooth Radios.<br />Integration of Real time and IP Traffic.<br />Triangulation facilities through an isometric layout of the network.<br />Integration with security and automation services.<br />
  40. 40. Limitations<br />
  41. 41. The range of low powered Bluetooth radios are limited to 10 meters.<br />Overlapping of Radio coverage can lead to ambiguity.<br />Latency and overhead involved using Bluetooth is higher than traditional networks.<br />Tight coupling of the Bluetooth protocol stack with the governing application prevents optimization.<br />
  42. 42. Foot Notes<br />
  43. 43. Simplistic location monitoring system.<br />Automated discovery of devices.<br />Royalty free radio band.<br />Integrated messaging system.<br />
  44. 44. Bluetooth SIG, Bluetooth Qualification Program<br />Jim Keogh, J2EE – The Complete Reference<br />Herbert Schildt, Java 2 - The Complete Reference<br />Kumar, C B., P. J. Kline and T. J. Thompson. Bluetooth Application Programming with the Java APIs<br />References<br />