Date post: | 20-Dec-2015 |
Category: |
Documents |
View: | 220 times |
Download: | 0 times |
1
System Architecture I
• System Functionality:– basic functionality similar to the
previously designed GUI.
– further extensions to the system include:
• implement database.
• display time of arrival and threshold values.
• test the system with the real time data.
2
System Architecture II
• Class based structure of GUI Client: • Summary of modifications implemented in the previously designed classes:
– ‘GuiMain’: It is modified to obtain the data from the server and write it to and read it from a database.
– ‘NodeDetailThread’: This class now contains methods to interact with the modified ‘RSSIDATA’ and ‘Display’ classes and display the received threshold values relative to the threshold set by the user.
– ‘RSSIDATA’: It has been modified to write data to a database and read data from the database.
– ‘DISPLAY’: This class has been modified to display time of arrival for each packet. It also displays the threshold variation in the received data packets.
RSSI DATA DISPLAY
GUI MAIN NODE THREADNODE DETAIL
THREAD
FLOOR PLAN FILE CHOOSE HISTOGRAM
DRAW HISTOGRAM
3
System Architecture III
• System implementation details:– Modified packet structure
• extended field structure of the packet:– TOA (Hr)
– TOA (Min)
– TOA (Sec)
– TOA (mSec)
– TOA (AM/PM)
• displayed time format:– hours:min:sec:millisec:Meridian(AM/
PM)
4
System Architecture IV
• System implementation details:– database implementation.
GUI
RSSI DATA
JDBCMySQL
Table
5
System Architecture V
– commands used for communication between MySQL server and client program:
• load appropriate driver – Class.forName("com.mysql.jdbc.Driver");
• retreive data from database– stmt.executeUpdate(query);
– table implemented in database:
Cycle Number
Tx Node
Rx Node
Valid RSSI
RSSI
(0)
….. RSSI
(50)
GLRT Threshold
TOA_HR
TOA_MIN
TOA_SEC
TOA_MSEC
TOA_AMPM
6
System Architecture VI
• displaying GLRT values:– select the radio button on the interface
– enter the threshold manually
– press the display button
– the user interface plots the GLRT values with respect to the threshold set by the user
• displaying TOA values:– TOA is displayed automatically when the packets are being displayed.
9
Tests and Results III
• secondary launch window: • this figure displays:– time of arrival of packets based
on server time.
– Time of arrival is an approximation in order of milliseconds.
10
Tests and Results IV
• the analysis window: • this window displays the real time obtained data.
• the data displayed corresponds to the data collected for a period of 45 minutes.
11
Tests and Results V
• analysis window: • this window displays:– the GLRT values.
– the user is able to set the threshold manually.
– test the obtained GLRT values with different threshold levels.
– this helps to calibrate the system and improve the perfomance of the system
13
Conclusion
• In this 4 –week project we have successfully :– implemented database into the GUI client.
– tested the system with the data obtained from the ITU.
– display the time of arrival of packets.
– display GLRT data with respect to the threshold set by the user.
• As a result of implementation of above mentioned specifications the perfomance of the system has increased in terms of speed
• Furthermore the user can now perfome some basic detection based on the threshold values and determine the time of occurence of change in environment.