






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Date Version Description Author
2012-11-07 0.1 Initial Draft Niklas Gillström
2012-11-08 1.0 First version All group members
2012-11-24 1.1 Updated class diagrams, database schema and figure 4-9. Corrected spelling errors.
Nives Bučić,
Danijel Jambrečina
2012-12-27 1.2 Updated class diagrams, database schema and GUI screenshots.
Nives Bučić,
Danijel Jambrečina
2013-01-10 1.3 Final review Antonio Gallucci
1.1. Purpose of this document
The purpose of this document is to provide information about Let’s Help Bo project design. The goal of this project is to create software that supports the machine operators in their working activities. Besides that, the software will have also other extra functionalities that aim to help in the daily activities the other people that work in the mine (e.g. Production supervisor). As main actor we have the machine operator, who works underground, but there are also four other actors that will have a part in the system. We developed LHB taking into account the environment in which it will be used and made it as usable as possible for the final users. The system is available for different platforms: smartphones, laptops, desktops and tablets.
1.2. Intended Audience
The intended audience for this document is:
The architecture described is a server client architecture, where all components are on the server side and the output from the components is displayed to users that can interact with the system from the client side. This document covers the following design parts used in the project:
LHB Let's Help Bo DSD Distributed Software Development UM User management component WC Work order component MC Map component IC Inventory component SDK Software Development Kit RDBMS Relational Database Management System GUI Graphic user interface MVC Model View Controller
3. References - Project DSD home page http://www.fer.unizg.hr/rasip/dsd/projects/lets_help_bo - Project Google group http://groups.google.com/group/dsd-project
1.3. Conceptual design
Figure 0 0 1 EConceptual design
The overall system is based on a central server running the main software, local database and client applications connected to the central server by an internal wireless network. Client applications are represented with mobile and web interfaces.
The system is built out of several components which interact among each other.
Figure 0 0 1 ESystem components
1.3.1.. User management component
This component deals with user administration which includes creating user accounts, editing their information or deleting them. These operations are managed by the system administrator.
1.3.2.. Inventory component
This is the main component which involves booking of the spare parts by the machine operators. It offers information on order status and availability and is responsible for sending notification regarding order completion and inventory status. It is also responsible for warehouse administration, composed of spare parts ordering and checking the inventory for missing parts. This is managed by the maintenance supervisor.
1.3.3.. Map component
Hold the map of the mine with warehouse, users, vehicles, rooms and work order locations, tunnel paths and tunnel statuses. It provides the shortest path functionality, that is used to show the shortest path to the user from his position to the warehouse or work order place.
1.3.4.. Work order component
Creation and editing of work orders. A work order is an action that needs to be performed and it is assigned to a machine operator.
1.4. Architecture
The system architecture is based on three tiers along with a database.
Figure 0 0 1 ESystem architecture
The data access layer offers an interface between the database and the business logic. The business logic layer contains the functionalities of the central system. The presentation layer contains the client applications which provide the user interface for the system.
application and a web application. It is not recommended to build the Android application for the sole reason of launching the web site. Instead, we will design the web pages with the proper characteristics so they fit it this environment. The client-side application embeds some web pages using Web View in application layout.
6. Communication Interfaces
Our web application will communicate with the database through ASP.NET middleware. Using ASP.NET we can dynamically create the web pages, fill them with the information from the database (using scripts) and present them to the user in the graphical user interface.
Since all of our application logic and data layers are on the server side it’s integral to have access to either the internal Wi-Fi network or to the 3G network (outside the mine).
7. User Interfaces
The system is divided into several core components: Work orders, Inventory, User and Map. Each component can have independent or mixed with usage of other core components. All core components must support mobile and desktop platforms. The interfaces of applications are provided for each platform individually due to increase usability quality. The system and all their components representations are device orientated. The usage of the system is orientated into several user types. All users are separated with authentication access and have different, additional or limited views in GUI.
Figure 0 0 1 EMain page Figure 0 0 1 EWork order component
Figure 3-2 Illustrates the main page of Mobile application for clients. Here clients can access all components by clicking the relative buttons. Figure 3-3 Illustrates mobile application with work orders component realization for Client users. The navigation between work orders dates can be held by pressing buttons left right on top bar or swiping the screen to left or right. Each Task can be marked as done directly in this page.
Application for Desktop platform also follows the same structure of authentication and organization with components as in Mobile platform.
Figure 0 0 1 EBooking process
Figure 3-4 illustrates the booking process with Client access in our web application for Desktop platform. Since, on desktop platforms there is a large space, it gives us possibility to insert more information on one screen compare to mobile platform. At the header of web application there is a navigation of components. On the left side, there is a menu bar that changes for each user role. The menu items list is differentiated by access type in web application (e.g. Administrator has different menu items compare to Machine operator). Log out form and navigation for settings are the same for all type of users and it is located on top right sight of the application.
1.7. Implementation modules / components
In this chapter the class diagrams for the following components will be presented:
1.8. Inventory component class diagram
Figure 0 0 1 EInventory component
In this component there are all the classes to manage the functionalities related to the inventory system. The machine operator can book only one spare part per time, but multiples items for it.
1.9. Map component class diagram
Figure 0 0 1 EMap component
This diagram contains all the classes related to the map component. A map can be seen as a set of tunnels and hotspots. Each hotspot has its coordinate on the map, and it can represent a user, room, vehicle, warehouse or production front.
1.10. Work order component class diagram
Figure 0 0 1 EWork order component
In the work order component, we have the work order class in which all the data about the work orders is kept. There are also entities that represent the vehicles, rooms and warehouses in the mine.
1.11. User component class diagram
Figure 0 0 1 EUser component
In the user component there are all the information about the users that exist in the system. The users can log in with username and password and each user has a specific role and hotspotid.
8. Data Types / Formats
The product contains the following file formats:
Figure 0 0 1 E9 Inventory support
Figure 4-9 illustrates navigation of Inventory support component. Some of the pages are linked to another component. As we already mentioned each components can be mixed with each other. For instance, there is a possibility to view the item location on warehouse. This is realized by calling the map component.
11. Interfaces to External Systems
The only interface exposed by this product to external systems is the user interface. The functionality of the interface is the functionality obtained when browsing a web page, but within the user interface all functionality from the components can be retrieved with the proper credentials.
12. Algorithms
The algorithm to get all possible routes uses the same technique as depth first algorithm. This algorithm is customized to function in 3D space with a limited amount of movements in vertical space to optimize performance. The route generation algorithm is based on connection coordinates which is from the GPS system, latitude and longitude. The start point is always the position the user is at, the endpoint can be several places. For example if the user wants to see possible routes to different warehouses for his own position. If the connection coordinates matches some location that is added the search on that branch continue, but if there are no possible connections then that route is excluded because it didn’t lead to the destination point. In the case that in the tunnel end or beginning occurs a split into multiple tunnels all tunnels but one is added to a queue and before they are added the route to that point are copied and the next tunnel are added to avoid infinite loops. If the tunnel goes to another floor a check is made so it is a floor in the right direction and if it is then it is processed as a new tunnel with sub-tunnels. After each tunnel either reaches an end-tunnel or have a successful path to the destination the last tunnel added to the queue are processed next then this continue until the queue is empty.