Docsity

Mobile Administrator-Computer Sciences Applications-Project Report, Study Guides, Projects, Research of Applications of Computer Sciences

Toggle sidebar
bg1
1
Project Report
Remote Administration
via Mobile Phone
1. Project Overview
This section gives an overview of the software product including description or purpose of
the product as well as its comparison with other software product in the market now a days.
1.1 Description
Mobile Administrator is a remote administration tool consisting of an emulated terminal,
service management system and an alert system. It has two parts, e.g. Client application and Server
application. This software is to be used by the system administrators, which are not available on the
site of administration most of their time. It will give them the ability to remotely connect to the
server and perform server administration as much required.
1.2 Comparison with other products
Many software applications are available on internet to get downloaded and installed on
mobile phone to perform remote administration but each has its own pros and cons. In beginning the
solutions stick to use a webpage based interface and connect to server via Internet but even for that a
computer was needed with a live Internet connection and wasn’t feasible while traveling and
nevertheless in such cases remote desktop connection would have been better with more control
over the remote system. Then came the idea of command line tools to administrate, but the problem
remained of limited GUI and inflexible mobile keypad in most of cases. Today VNC clients are the
burning topic but they still lack and have their own problems, which are discussed later.
Some of features of this product already exist in other application, so for some features this
software application will be just like a 1-in-all package with some extra.
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download Mobile Administrator-Computer Sciences Applications-Project Report and more Study Guides, Projects, Research Applications of Computer Sciences in PDF only on Docsity!

1. Project Overview

This section gives an overview of the software product including description or purpose of the product as well as its comparison with other software product in the market now a days.

1.1 Description

Mobile Administrator is a remote administration tool consisting of an emulated terminal, service management system and an alert system. It has two parts, e.g. Client application and Server application. This software is to be used by the system administrators, which are not available on the site of administration most of their time. It will give them the ability to remotely connect to the server and perform server administration as much required.

1.2 Comparison with other products

Many software applications are available on internet to get downloaded and installed on mobile phone to perform remote administration but each has its own pros and cons. In beginning the solutions stick to use a webpage based interface and connect to server via Internet but even for that a computer was needed with a live Internet connection and wasn’t feasible while traveling and nevertheless in such cases remote desktop connection would have been better with more control over the remote system. Then came the idea of command line tools to administrate, but the problem remained of limited GUI and inflexible mobile keypad in most of cases. Today VNC clients are the burning topic but they still lack and have their own problems, which are discussed later.

Some of features of this product already exist in other application, so for some features this software application will be just like a 1-in-all package with some extra.

1.2.1 Popular Remote Administration Applications

Names of existing applications include AlertMobile Pro, LogMeIn, Hidden Administrator, Idokorro Mobile Admin, pcAnywhere, etc Mobile but each of them has its own plus and minus points.

1.2.2 Similarities

The similarities are given as below:  A remote administration application  Use of GPRS for communication  Java powered  Authentication of remote client

1.2.3 Common set of Features

The main features of product are listed as below:  It will run on any mobile phone provided that the phone supports Java, GPRS and minimum hardware requirements.  It will not import desktop.  It will not use Remote Frame Buffer Protocol.  It will let user access common commands via drop down list, select required switches, provide input for selected switches and simply run that command.  It will let user execute scripts from mobile by selecting their names from the drop down list.  It will provide user a terminal-like environment on his mobile and he would be able to type in commands and execute them as he does on system.  It will have certain shortcut/hot key for execution of certain commands while being on emulated terminal.  It might also support command completion on emulated terminal.  It will log every remote connection.  It will be Free and Open Source.

2.1 Literature Survey

Keeping the fact of project belonging to the category of development in mind, the very first task was to select a language in which project was to be developed. For this, a survey was conducted, comparison of different mobile application development technologies based on capabilities, application support and etc was analyzed and Java was chosen due to its broad support on mobile phone architectures. In Java, there were a couple of configuration and profile sets available for developing application for mobile phones including CLDC, CDC, MIDP, PDP and etc. Due to goals like minimum hardware requirements and broad support, CLDC and MIDP were chosen. Detailed discussion on choosing these technologies and rejecting other ones is coming afterwards.

For remote connection, socket programming was required, which could be done either using UDP or via TCP/IP. Socket programming with TCP/IP was opted to ensure the ordered reliable delivery of data as system administration is a very critical task and any missing or delayed packets may cause a crisis.

As project is to be meant for Linux servers only, a survey of the use of different distributions on servers was conducted and Red Hat Enterprise Linux 5 was chosen to be the production environment due to its popularity, stability and wide support worldwide. As a practice, DHCP was configured on the Linux system to have a production environment that could resemble the deployment environment and work as a simulator before deploying the software to the deployment site to minimize the number of software crashes and risks due to differences between the production environment and deployment environment.

Ample amount of research was done on Linux services, run levels, server configurations, how to execute Linux commands from Java environment, how to authenticate a user using Java, how to execute your software as a startup daemon, how to use *nix pipes in Java, common Linux server administration commands and limitation of Java for system administration.

2.2 Prototype

Prototype of client application was made without any checks. Furthermore, second increment was implemented with stubs and drivers to have a basic know-how of the software working.

2.2.1 Need of Prototype

Prototype is the non-functional or a very little functional representation of the whole software. Its usual purpose is to demonstrate the flow of events and interface rather than the actual functionality. Normally the purpose of a prototype is to be able to communicate more easily and efficiently with the client as well as to be able to be more elaborative in design process and finding any requirements that are likely to be missed if we stick to the usual model-based development. Examples of which will include software program dependencies, which are not to be found before software construction phase in the usual model-based development.

2.2.2 Prototype Description

A prototype of the client side of project was made to document any missing requirements and produce design that is more precise. Following screenshots demonstrate the prototype along with the description.

2.2.2.1 Prototype Screens

This section shows screenshots taken from the prototype to establish an understanding of user’s screen-to-screen journey.

Figure 3 Wait screen

Figure 4 Application menu

Figure 5 Change application password

Figure 6 About page

Figure 9 Remote actions menu

Figure 10 Selecting a command

Figure 11 Selecting switches

Figure 12 Inputting switches

Figure 15 Output of commands and script

Figure 16 Subscribe alerts

Figure 17 Subscription complete

No server application prototype was created rather second increment was implemented with drivers and stubs. Screenshots of second increment are as follows.

Figure 18 Execute command demo

Figure 19 Execute command demo output

 commons logging o Not included in the distribution. It is a very common dependency and mostly already available on the system.  JAAS o JAAS is integrated into the Java 2 SDK, version 1.4.  pam-devel-0.77-66.2 or similar RPMs o depends upon the host system vendor for presence. A fresh installation will eradicate any doubts.

2.4 Technologies Used

After a survey of available technologies for mobile application development, MIDP 2.0 and CLDC 1.1 were chosen in Java 2 ME.

Table 1 Comparison of Mobile Technologies available at Wikipedia [1]

2.4.1 Comparison of available technologies

Table 2 Comparison based on support available at Wikipedia [1]

respectively which have made quite some reputation for small scale, largely supported mobile phone application development stack. [3] provides a list of proposed supported devices.

2.5 Design

The design phase was divided into two sub phases as shown in the Incremental Process Model provided in Software Project Management Plan document.

2.5.1 High Level Design

High Level Design of the client application is as below:

Figure 21 Client Application - Screen Description

Figure 22 Server Application - High Level Design

Figure 23 Client Application - High Level Design

2.5.2 Detailed Design of 1st^ Increment

Figure 24 Server Application - First Increment - Detailed Design