Upload
hima-bindu
View
217
Download
0
Embed Size (px)
Citation preview
8/2/2019 Network Controlling Through Mobile
1/12
A
TECHNICAL PAPER
ON
PRESENTED BY
KANTA ABHISHEK
III/IV YEAR
C.S.E DEPARTMENT
INTELL ENGINEERING COLLEGE
ANANTAPUR
mailto:[email protected]:[email protected]:[email protected]:[email protected]8/2/2019 Network Controlling Through Mobile
2/12
MOBILE: 9704448428
ABSTRACT
Mobile technology is evolving at such a rapid pace
that new doors have been opened in the field of
mobility and wireless applications. The purpose of
the paper, Network Controlling through Mobile
is to develop a mobile application that can be used
to manage a system in a network remotely using a
GPRS enabled mobile phone. This report gives an
account of the architecture behind the end-to-end
control of a system, and how this was achieved
successfully in real-time.
A software package is installed on the mobile
phone, which grants the client a graphical user-
interface and allows the ability of advanced
control between the computer and the network
administrator. The server-side software is
developed using servlets and java, which will
process the user requests and sends appropriate
replies. General Packet Radio Service (GPRS),
Hyper Text Transfer Protocol (HTTP) and a
duplex communication between the parties form
the medium that links these two ends. The paper,
Network Controlling through Mobile is a
mobile application that one can use to track and
manage their computer in a network. Using this
application one can access the resources of their
computer. They can even make some changes to
files and store edited contents in their computer.
This paper not only helps in making an
8/2/2019 Network Controlling Through Mobile
3/12
individuals work easy but also makes him
productive all the time.
1. INTRODUCTION
This section is going to introduce the new system
Network Controlling through Mobile which is
being developed. It includes the system overview,
literature survey, motivation to the project,
proposed project and organization of the document.
1.1 System Overview
Mobile Technology is improving so fast
that it is not only replacing the older telephone
system but also allows data communication in
various ways. Network Monitoring and
Controlling Tool is a mobile application that
enables the communication between a personal
computer and a mobile phone.
The ability to remotely control a PC using a mobile
wireless system has great advantages for the end
user. For example, Files that are present on your
PC can be sent as an email attachment from the
mobile remotely. The paper I am presenting boosts
the role of remote access by offering a user-
friendly application that is designed using Java.
This application can be deployed on any Java-
enabled cellular phone, regardless of its
manufacturer and service provider. A GPRS
Subscription allows the mobile to communicate
with the server via the Internet, which creates the
necessary link required for accessing the remote
PC. This pathway can also be utilized for reverse
communication between the computer and the
mobile client.
This concept is an advancement over the
existing system which enables a communication
between two computers which are connected in a
LAN or some form of network.i.e.Users of two
computers need to be in front of the computer
always to accomplish their work. The concept I am
developing is making use of the wireless
technology to establish a communication betweena personal computer and a mobile phone. i.e., a
user can access the resources of his computer from
a remote place at any time.
1.2 Literature Survey
8/2/2019 Network Controlling Through Mobile
4/12
For getting a clear idea about this technology, one
needs to know how a wireless technology works?
What is GPRS and GSM system? How
GPRS system is connected to the Internet?
To answer all these questions a detailed survey of
the literature is needed. The answers to the above
questions along with their sources from where they
are taken are given below:
1. What is GPRS and GSM system?
GSM, which stands for Global System for Mobile
communication, is a second-generation digital
mobile telecommunication system, which provides
voice services compatible to ISDN, and other
PSTN systems.
GPRS, which stands for General Packet Radio
Service, is a system that enhances the data
transmission capabilities of the GSM system. In
my paper I will be using GPRS system for
establishing a communication between the mobile
and computer in a network.
2. How GPRS system is connected to the
Internet?
GPRS is connected to the Internet via Gateway
GPRS Support Node (GGSN). GGSN contains
routing information for GPRS users, performs
address conversion etc.
The figure shows the Architecture of the Network
Controlling through Mobile.
The mobile phone, which acts as a client, is
actually GPRS enabled and J2ME compatible.
An administrator who is having GPRS
enabled mobile phone can connect to
computer in a network and access resources
using a GPRS network.
Computer, which acts as a server, should
have a global IP address.
The Gateway GPRS Support Node
(GGSN), which is present in the GPRS
network, will connect to the external
Internet to which the computer is
connected.
User
Mobile
GPRS
Network
Inte
rnet
Figure1: Architecture of the system
Computer
8/2/2019 Network Controlling Through Mobile
5/12
2 Related Hardware and Software
The hardware and software requirements are
discussed below
2.1 Hardware Requirements
The hardware requirements for the client andserver side are discussed here.
Client side:
GPRS and J2ME enabled Mobile Device.
Server side:
The servermachine needs the following minimum
configuration.
Intel Pentium III or above processor
128MB RAM & above
600MB of hard disc space
Internet connection
2.2 Software Requirements
The software requirements for the client and server
side are discussed here.
Client side:
Operating system: Windows 2000/XP
Software: J2ME.
Server side:
Operating System: Windows 2000/XP
Software: Wireless Tool Kit
JDK1.4
Jakarta Tomcat Server 5.0
3. User Classes and Characteristics
4. System Features:
Various features of the system along with
their functionalities and functional requirements
are given below.
4.1 Viewing Different Drives:
Using this feature an administrator is able to view
from a mobile phone, the different drives present
in computer in a network.
Functional requirements: A connection between the client and server
should be present for performing the above
operations.
A GUI is needed to collect information
from the user.
Select command is used to select one item
from a list and to see its contents.
Back command is used to go back to the
previous menu.
Managers Checking currently running process
Sending file as an E-mail
attachmentWriting a message
File view
Marketing
Staff
View drives and their contents
Sending file as an E-mail
attachment
Students File manipulation
WriteSending file as an E-mail
attachment
File view
Public Can use any available options
depending on their need.
8/2/2019 Network Controlling Through Mobile
6/12
Ok command is used to pass some
information from client to server.
Figure2: Use case diagram for modeling
the drives of the system
4.2 Task Manager Functions
Using this feature one can view on their
mobile phone all the currently running processes in
the system .we can start any process and kill any
process.
Figure 3: A Use case diagram used for
modeling the requirements of the
system
5. About Technology
This section is going to present the technologies
used in client, server and communication between
the two.
5.1 J2ME Technology:
5.2 Server-Side Technology:
On server side servlets and java are used for
developing the application.
Servlets:OEM
Apps
OEM
Classes
Operating System
Java Virtual Machine
Configuration
J2ME APIs
MIDP
Figure4: Layers of the J2ME Architecture
8/2/2019 Network Controlling Through Mobile
7/12
A Servlet accepts the request from the client
via the web server , performs some task and rturns
the results. The web server receives the requestfrom the client and sends it to the servlet. If the
servlet has not yet been loaded, the web server will
load it into the JVM and execute it. The servlet
will receive the HTTP request and perform tasks
and return a response to the web server which in
turn forwards it to the client.
6. The Two-tier Architecture
The Network Controlling through Mobile
application has the following 2-tiers.
Client Tier
Server Tier(web-server).
Tier 1: The client contains the
presentation logic, including simple
control and user input validation.
This application is also known as a
Midlet.
Tier 2: The servlet tier is also
known as the web-server as the
business logic.
The advantages of 2-tier architecture are:
The 2-tier approach increases scalability
and separates the display and business
layers.
It is simple to design and implement.
It is easier to modify or replace any tier
without affecting the other tiers.
Adequate security policies can be enforced
within the server tiers without hindering theclients.
7. Using UML:
Below figure shows the activity diagram of the
system
HTTP
Request
HTTP
Response
Client Web-
Server
Servle
t
Figure 5: Client
Server interaction
Client Side
Server Tier
HTTP Web-
Server
Front-End For
users
Users
Figure 6: Two-Tier Architecture
8/2/2019 Network Controlling Through Mobile
8/12
Figure7: Activity Diagram For
do Process ()
Figure8: Activity diagram for do
drives ()
The DoDrives activity is itself shown separately as
another activity diagram. Swimlanes are used to
partition the activity states in the activity diagram
in to groups. Here PC and Mobile are the names of
the swimlanes.
8. SCREENSHOTS
This section describes the screens of the
Network Controlling through Mobile .
8/2/2019 Network Controlling Through Mobile
9/12
Screenshot 1
This is the second screen that appears on starting
the project after the welcome screen. In the login
screen the username, password and server IP
address are collected in the textbox. The commandOK will take to the next screen.
Figure A.1: Login Screen
Screenshot 2
A valid user will have a list of options i.e.
process and drives to choose. On pressing
the select button the details of the option
will be listed.
Figure A.2: Menu Options
Screenshot 3
On selecting the process option, another list as
shown above will be displayed. The two
commands back and select will take to the previous
and next screen respectively.
Figure A.3: Process Types
Screenshot 4
8/2/2019 Network Controlling Through Mobile
10/12
On selecting the list of process option the currently
running processes in the Pc are displayed. The
command kill will kill the selected process. Back
command will take you to the previous screen.
Figure A.4: Process List
Screenshot 5
To start a particular process on the pc the process
name as to be specified. The command back will
take to the previous screen and Ok command will
start the process.
Figure A.5: Start Process
Screenshot 6
On selecting the Drives option, the list of drives
present in the Pc will be displayed. The command
Read Files will display all the files and folders of
the selected drive.
Figure A.6: List of Drives
Screenshot 7
Once the files present in the drive are displayed,
we can perform manipulations on the selected file.
The menu displays the possible manipulations
possible.
8/2/2019 Network Controlling Through Mobile
11/12
Figure A.7: List of Options
9. ADVANTAGES:
The communication between the phone and
the computer take place through GPRS.
This means that the administrator can
access the contents of computer in a
network at anytime any place.
The application runs on any GPRS and
J2ME enabled mobile phone regardless of
the vendor and GPRS service provider.
It consumes minimum storage resources, as
no data is stored in the mobile.
10. DISADVANTAGES:
Viewing the file from the mobile handset is
limited by the bandwidth of GPRS network
and the capability of mobile handset.
The rate at which the file is transmitted
between the computer and the mobile is
8/2/2019 Network Controlling Through Mobile
12/12
12. REFERENCES
Books
[1] James Keogh, The Complete Reference
J2ME, Tata McGraw-Hill Edition
[2] Jochen Schiller, Mobile
Communications, second Edition
[3] Grady Booch and Etal, The Unified
Modeling Language user guide, Pearson
Education
Websites
[4]
http://www.gprshelp.co.uk/html/GPRSArchite
cture.html
[5]
http://www.codeproject.com/ce/mobileconne
ct.asp
[6]
http://docs.info.apple.com/article.html?
artnum=19652
[7] http://www.gprhelp.co.uk/html/-secure
http://www.gprshelp.co.uk/html/GPRSArchitecture.htmlhttp://www.gprshelp.co.uk/html/GPRSArchitecture.htmlhttp://www.gprshelp.co.uk/html/GPRSArchitecture.htmlhttp://www.gprshelp.co.uk/html/GPRSArchitecture.html