Development of Web Based Application for Visualisation of Railway Condition Data
Total Page:16
File Type:pdf, Size:1020Kb
Development of Web Based Application for Visualisation of Railway Condition Data Abiola Famureva Master Programme in Mobile Systems 2020 Luleå University of Technology Department of Civil, Environmental and Natural Resources Engineering Development of Web Based Application for Visualisation of Railway Condition Data by Abiola Famurewa Master of Science Mobile systems Department of Computer Science, Electrical and Space Engineering Luleå University of Technology Supervisor Dr. Josef Hallberg August, 2014 PREFACE This master thesis was carried out at Damill AB between 2013 and early 2014. It is submitted for the partial fulfillment of the requirement of Master Degree in Computer Science and Engineering at Luleå University of Technology. The central focus and contribution of the thesis is the development of web application which is suitable for visualizing railway condition data for different stakeholders. My sincere gratitude goes to God for his divine support and goodness towards me all through the programme especially during the thesis work. I would like to thank my examiner Prof. Christer Åhlund and my supervisor Dr. Josef Hallberg for the chance to work with them and their encouragement which inspires me to complete the thesis. I would like appreciate my external supervisor Mr. Dan Larsson and the entire members of staff of Damill AB for giving creating a good working environment and giving me the technical support during the course of the thesis work. The technical support of Jon Öberg in the collection and structuring of the data is appreciated I would also like to express my special gratitude to my dear husband Stephen and lovely children, Jeremiah and Joanna for their encouragement, patience and support to make this final thesis possible. Finally, I am grateful to all friends and family members that encouraged me in completing this project when it seems impossible. ii ABSTRACT The increase in the use of sensor networks makes data acquisition, mining, analysis, manipulation, representation and visualization crucial aspects of sensor networks. The use of relevant visual representations to explore, gain insight and interpret large amount of data at once is an aspect that is considered pressing in railway applications. This thesis is primarily aimed at presenting track force data acquired from railway track sensors for different stakeholders involved in railway operation in visual format using a web based application. The web based application will be used to access, format and generate both tables and chart for authorised stakeholders to visualize track sensor data. The thesis has reviewed some rapid application development (RAD) tools that can be used for the development of web based application that is suitable for railway applications. Based on the design requirement and operating environment of the application, oracle application express (APEX) has been selected as a suitable RAD tool. The design and implementation of the web based application called railway data visualizer is carried out in APEX development environment. The four distinct modules followed in the development environment are: the Application builder, SQL workshop, Team development, administration modules. Railway data visualizer is capable of real time reporting and publishing of daily train passages and their integrities, hourly count of trains and axles, presentation of lateral force, vertical force and speed of the trains for different users. In addition to this it is capable of supporting interactive and customised chart, analysis and reports. Finally, the performance of railway data visualizer was tested and assessed to ensure that the requirements of the users are met and that the interface is good enough for a railway application. The Layout, usability, display, response time, recovery ability, access control, compatibility, mobile interface and visuals are considered acceptable with respect to the initial requirements. The overall opinion of the evaluators shows that the performance of railway data visualizer is good and even has room for improvement. iii TABLE OF CONTENTS 1. INTRODUCTION ...................................................................................................................... 1 1.1. Background ....................................................................................................................... 1 1.2. Problem statement ........................................................................................................ 2 1.3. Purpose and objectives ................................................................................................ 3 1.4. Research questions ........................................................................................................ 3 1.5. Scope and limitation ...................................................................................................... 3 1.6. Research structure ......................................................................................................... 4 2. DATA VISUALISATION ......................................................................................................... 5 2.1. Need for data visualisation ......................................................................................... 5 2.2. Visualisation techniques .............................................................................................. 6 2.3. General motivation for the use of Web application for visualization ........ 7 2.4. Requirement ..................................................................................................................... 8 2.4.1. Functional requirements .................................................................................... 9 2.4.2. Non-functional requirements ........................................................................... 9 2.5. Use case ........................................................................................................................... 10 3. WEB BASED APPLICATION DEVELOPMENT ............................................................ 12 3.1. Background on web application ............................................................................ 12 3.2. Components of web based application ............................................................... 13 3.3. Characteristic features of RAD ............................................................................... 15 3.4. RAD framework for web based application development .......................... 15 3.3.1. Zend Framework ................................................................................................. 16 3.3.2. CakePHP ................................................................................................................. 16 3.3.3. Grails ........................................................................................................................ 16 3.3.4. Ruby on Rails ........................................................................................................ 16 3.3.5. Django ..................................................................................................................... 16 3.3.6. Oracle Application Express (Oracle APEX) ............................................... 16 4. DESIGN & IMPLENTATION .............................................................................................. 18 4.1. Data description ........................................................................................................... 18 4.2. System design overview ........................................................................................... 19 4.2.1. Creation of database objects .......................................................................... 19 4.2.2. Creation of the visualisation interface ........................................................ 20 4.2.3. Creation of user access control ..................................................................... 22 4.3. Implementation ............................................................................................................ 23 4.3.1. User access control ............................................................................................ 23 iv 4.3.2. Data visualisation and presentation performance ................................ 24 4.3.3. Interactive report and export performance ............................................. 29 4.3.4. Mobile interface of railway data visualizer .............................................. 29 5. EVALUATION AND DISCUSSION ................................................................................... 31 5.1. Evaluation objectives ................................................................................................. 31 5.2. Evaluation procedure and results ......................................................................... 31 5.3. Discussion ...................................................................................................................... 34 6. CONCLUSION ......................................................................................................................... 37 6.1. Concluding remarks ................................................................................................... 37 6.2. Recommendations ...................................................................................................... 38 v Introduction CHAPTER 1 1. INTRODUCTION 1.1. Background Data management is a very important aspect of wireless sensor networks that are