0% found this document useful (0 votes)
138 views7 pages

LAN Chat Messenger (LCM) Using JAVA Programming With VOIP: November 2013

This document describes the development of a LAN Chat Messenger (LCM) using Java programming with VOIP. The LCM allows staff within a company to chat, send files, and make free voice calls to communicate more efficiently and save time and costs compared to existing communication methods. It was developed using the Rational Unified Process methodology and implements a client-server network architecture using TCP/IP for communication. The LCM was tested within a private organization and aims to improve information exchange and presence awareness between employees within a local network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views7 pages

LAN Chat Messenger (LCM) Using JAVA Programming With VOIP: November 2013

This document describes the development of a LAN Chat Messenger (LCM) using Java programming with VOIP. The LCM allows staff within a company to chat, send files, and make free voice calls to communicate more efficiently and save time and costs compared to existing communication methods. It was developed using the Rational Unified Process methodology and implements a client-server network architecture using TCP/IP for communication. The LCM was tested within a private organization and aims to improve information exchange and presence awareness between employees within a local network.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/261056310

LAN Chat Messenger (LCM) using JAVA programming with VOIP

Conference Paper · November 2013


DOI: 10.1109/ICRIIS.2013.6716748

CITATION READS
1 1,683

4 authors, including:

Umapathy Eaganathan
Vels University
13 PUBLICATIONS   8 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

e-Supply Chain (e-SC) trust model for B2B collaboration-A case study of Malaysian construction industry View project

Serious game View project

All content following this page was uploaded by NorShakirah Aziz on 29 December 2015.

The user has requested enhancement of the downloaded file.


3rd International Conference on Research and Innovation in Information Systems – 2013 (ICRIIS’13)

LAN CHAT MESSENGER (LCM) USING JAVA PROGRAMMING


WITH VOIP

IBRAHIM MUHAMMED ABBA NORSHAKIRAH AB.AZIZ


SOCSIT SOCSIT
Linton University College Linton University College
Mantin, Malaysia Mantin, Malaysia
[email protected] [email protected]

UMAPATHY EAGANATHAN JANET GABRIEL


DOCS SOCSIT
Vels University Linton University College
Chennai, India Mantin, Malaysia
[email protected] [email protected]

Abstract—LAN Chat Messenger (LCM) using VOIP offers sends another colleague an email the colleague (recipient)
zero cost communication among staffs in a company. Not may have to go online to check his/her email before the
limited to that, it is also allows them to chat, send files and free message can be seen or read [2]. Some staffs do check their
voice call. This study offers voice call and file transfer which mail every two or three days, so if a message is sent, it may
helps to solve the communication issue especially on time and take the recipient two to three days to reply because that is
cost of the communication maintenance. The information when he would be able to access or check his mail.
exchange between individual becomes smoother and provides Therefore, with the highlighted problem above, LCM aims
more options. The Rational Unified Process(RUP) development is to give a solution to this setback. This Messenger will
methodology was used in the development of the System and help save time, evaluate work presence and reduce the staff
for implementation Client/Server network and TCP/IP was stress.
used. LCM is a standalone application using JAVA
programming as the programming language and tested at one
of the private organization as domain study. II. LITERATURE REVIEW
Keywords-LAN, Chat, Messenger, Client Server. LCM is a computer program for the widespread online
conference.LCM is considered for an instant messaging
I. INTRODUCTION build for the use only in a single LAN (Local Area
Network) [3].As a matter of fact there are countless
The relatively amorphous nature of synchronous messaging
allows it to potentially support many different types of assortments of chatting. The simplest computer chatting is a
communication.It could boost business activities, save time, method of dispatching, consenting, and storing typed
energy and cost in some cases, it also takes place in memos alongside a web of users. This web might be WAN
different forms such as speech, text, signals and the likes. It (Wide Area Network) or LAN (Local Area Network).This
can also be said to be a conceptual way of exchanging study proposed chat system using LAN’s (static IP address).
information between entities [1]. It is made up of two requests one runs on the server side
The despite of uprising growth, popularity and advancement (every computer on the web that selects it to be the server)
in communication technology which many organizations are as the supplementary is held and gave on the client side.
using today, some of them still lags behind i.e. they still Every single period the client wants to chat he/she runs the
have not gotten the basic use of Instant Messaging service
client application.The client must login and then enter port
among Staffs. The communication still conducted with the
conventional way which the staffs communicate with each number and IP address of the server, while the server
other by walking to the office of the colleague they intend to application started.
communicate with. They do similarly or call using mobile With a LCM, it is easy to broadcast information to other
phones when they need information from a colleague, which clients. It makes information sharing possible without any
is stressful and/or costly. Also, despite the use of emails for physical contact. As stated by [4] the Importance of chat
communication, it still has this drawback that if a colleague messenger includesconnections provision combined
problematic resolving, coordination, communal connection,

428
3rd International Conference on Research and Innovation in Information Systems – 2013 (ICRIIS’13)

and collective knowledge which are important for difficult and devices (such as modem, printer or fax card). The
collaboration.This is very helpful mainly for large offices clients neither share their resources with any Client nor the
because the distance barrier is broken and reduces burden on Server. The figure 2 below shows the Client/Server network
staff. Information that could be shared can include; files, architecture.
text and pictures. Therefore, chat messenger can be
considered as a powerful tool for information sharing. The
proposed system will be using voice call, send file and will
support multiple clients to have a conversation that is
conference.
Many firms rely on LCM to stay in stroke alongside every
single other. And alongside the attendance indicator, one
can swiftly and facilely notify if a co-worker is at their desk
or computer. According to [1], It has become common
place for teams to work across distances so common, in fact,
that new terminology such as virtual teams and global work
are becoming widely accepted. Many economic factors
drive this style of working. Despite inexperienced claims in
some quarters that working across distance is not essentially
different from co-located work, careful analysis and Fig. 2 Client/Server network keeps resources centralized [6]
examination of the evidence indicate otherwise.
The LCM system uses the three (3) tier client server A protocol is a set of formal rules describing how data is
architecture as shown in Figure 1. Most of the company transmitted especially across a network [7]. This study,
logic is placed in the middle tier which the company logic is TCP/IP protocol was used for implementation purposes and
encapsulated as a constituent in a distinct tier. In this client server model for communication. All instant
construction, after the company attention or company laws messenger clients use one or more protocols to enable
change, merely the middle tier has to be adjusted [5]. communication possible. Computer Network Protocols
commonly use packet switching technique to send and
receive messages in a packet format [7].
According to [8], TCP/IP layers is widely accepted standard
to promote interoperability among vendor equipment and to
encourage economies of scale. This is due to complexity of
communication tasks. The communication layers are
divided into layers to promote understandability and
modularity for process communication.The table below
explains the five layers in the TCP/IP architecture layer of a
network communication according to [8].

Table 1 TCP/IP layers


Application Provides access to the OSI environment for
layer users and also provides distributed
information services.

Transport layer Provide the control structures for


communication between end points;
Fig. 1 Three Tier Client/Server Architecture Model [5] provides end-to-end error recovery and
flow control
Client/server network was chosen to be used in this paper to Network layer Provides upper layers with independence
implement the LCM because of the central administration, from the data transmission and switching
scalability- any component or client can be upgraded when technologies used to connect systems;
required, flexibility – new technology can be integrated into responsible for establishing, terminating
the network should the client increase.In the Client/Server connections.
network host/nodes/computers called clients communicate
with each other using or with the help of a central
host/node/computer called Server [6]. In this type of Link layer Provides for the reliable transfer of
network, all the resources are being provided and managed information across the physical link; sends
by the Server while the Clients consume the resources. blocks (frame) with the necessary
Again these resources may be files, directories, applications synchronization, error control, and flow

429
3rd International Conference on Research and Innovation in Information Systems – 2013 (ICRIIS’13)

control. A. How Chat Communication Works


As mentioned, two sockets are created at the client side and
the server side. The client connects to the server through its
Physical layer Concerned with transmission of IP address and port number. They must share the same port
unstructured with bit stream over physical number for them to communicate [9].The client and the
medium; deals with mechanical, electrical, server both communicate through a stream of bytes written
functional, and procedural characteristics to to the socket. The client and the server must agree on a
access the physical medium. protocol (TCP, UDP or RAW) and agree on the language of
the information transferred back and forth through the
socket [14].
This study used socket concept to collect message. Basically
Inorder to implement the LCM, it requires socket which is the message sent by one staff into a socket and pass it to
generally a software element that is used to connect process another staff on the receiving side. If it is a group chatting, a
to communicate with other computers process. Socket was central socket will be used to collect the message and then it
described by [9] as an object that represents a low-level will be broadcast to all staff that is active.The process of the
access point to the IP stack. [10] continues explains that socket communication shown in figure 5.
Socket enables an application to connect to a network and
communicate with other applications that connected to the
same network.
A socket basically constitutes the combination of an IP
address and a port number. (Socket = IP address + Port
Number). The figure 3 and 4 shows the TCP client
incoming connection and after a connection was
established.The server accepts the client request and TCP
listener. Then its listens for another incoming client
connection request. After that its accommodate other clients
in the network and the cycle goes until the server goes
down. However, after a connection is established it can
only be terminated by the client.

Fig. 3 Server Application listens on a host and port number


for incoming TCP client connection [10].

Fig. 5 Socket communication (Creating a TCP Stream


Socket Application [9].

Fig. 4 TCP listener accepts incoming TCP client connection


[10]

430
3rd International Conference on R
Research and Innovation in Information Systems – 2013 (ICRIIS’13)

III. RESEARCH METHODOL


LOGY
RUP was used as the methodology of the pproposed system.
RUP is the process of building a working system by using
object oriented concepts to describe work fflows and phases
of an information system [11]. The RUP is also known as a Select Online
procedure instituted and conserved by Rational User

Software[12]. However [13]stated that RUP P is not a suitable


procedure for all kinds of progress but it doees embody a new
creation of generic processes. The most vitaal changes are the
separation of periods and workflows, andd the credit that Click Voice Verify
Call Information
employing multimedia in a user’s nature iis portion of the
process. It establishes a methodical methood for allocating
tasks and obligations inside an enhanced organization. Its
target is to make sure the conception of high-quality [ Yes ] [ No ]
Voice Called User Rejected
multimedia that meets the needs of its endd-users, inside an Sucessful Call
anticipated design and budget. The Figurre 6 shows RUP
phases, it describes work flows of RUP phases.

Fig. 7 Make Voice Call Activity


A Diagram

For the send file function, the Fiigure 8 shows the work
flows of send the file. The send file function in this system
n one second and receive
is very fast, it sends files in less than
files in less than one second.

Select Online
User

Click Send
File

Fig. 6 RUP Phases [12].


Select File from
Dialog Box

To help the development process and foocus on the core


functionalities of the system, the unified moodeling language
(UML) as fundamental principles was desiggned. The Figure Click Open
Button
Confirm
Inforrmation

7 shows the processes of Voice Call coonducted by the


proposed system.
[ Yes ] [ No ]
File Sent File Was
Sucessful Rejected

Fig. 8 Send file Activity Diagram

The functionalities of the system m have shown that the


system meets its requirements speecification analyzed. The
system’s functionalities have inclluded the improvements
expected and the solutions to the problems
p it was meant to
solve. The proposed system also provides Voice Call
Function with recent calls that aree missed calls, outgoing
call and incoming call. Figure 9 sh
hows the client page that

431
3rd International Conference on Research and Innovation in Information Systems – 2013 (ICRIIS’13)

listed all of the incoming call which the existing systems Factor Akeni LAN Outlook LAN Proposed
don’t have. It allows users to communicate on networks Messenger Messenger System
outside internet boundaries. At the same time, it saves Protocol It uses the It uses the It uses the
money and time especially in the process of getting single single single
information. It allows multiple chat (conference) which can protocol i.e. it protocol i.e. it protocol i.e. it
be integrated in the school library for communication can only can only can only
between students and Librarian. The proposed system can communicate communicate communicate
with other with other with other
work on all Windows platforms provided the Client and users on the users on the users on the
Server are using the same type of operating system and it same client same client same client
enables connected clients to save their chat history. software software using software using
using the the TCP/IP the TCP/IP
TCP/IP protocol. protocol.
protocol.
Communication No Voice No Voice Call Support Voice
feature Call Call

Slow file Slow file File transfer


transfer transfer very fast

The proposed system also was tested with the identified


staffs which the feedback of the testing is good and really
helps the staffs in the institution communicate among them
easily. They prefer to use the chat because of the history of
Fig. 9 Client Page Showing Incoming Call. communication rather than using telephone conversation
which no track record provided. At the same time, the
information was distributed efficiently among the staffs.
IV. RESULT AND DISCUSSION V. CONSLUSION
As conclusion, the LCM proposed supports peer to peer and As mentioned previously, the proposed system solved the
server based modes. Without internet connection, the staffs communication problem among staffs and reduce the time
still able to communicate with each other and LCM allows and cost of the internal institution communication. The
them to send files and chatting. Table 1 shows the details of proposed system also helps the staffs within a building or
the comparison of the proposed system with two selected work group to be connected which in distant locations. It
existing systems. becomes interconnected into larger wide area networks
(WAN) using voice call and some other functions
mentioned which helps the routine office chores such as file
transfer and urgent management announcement.
Table 2: Comparison between Akeni LAN Messenger,
Outlook LAN Messenger and Proposed system. REFERENCES

Factor Akeni LAN Outlook LAN Proposed [1] Handel, M and Herbsleb, J.D (2002) What Is Chat Doing in the
Messenger Messenger System Workplace?, ACM Publishers, New York.
Security It is a secure
It is a secure It is more [2] Flynn, N., (2004),Instant Messaging rules: a business guide to
LAN LAN secure managing policies, security & legal issues for safe IM
messenger messenger because there communication, Amacom, USA.
is encryption [3] LAN Messenger http://en.wikipedia.org/wiki/LAN_messenger
Encryption No No The messages (2012)
sent to other [4] Bonnie, A.N, Steve, W and Erin, B (2000) Interaction and
users are Outeraction: Instant Messaging in Action, ACM Publishers,
New York.
encrypted. [5] Chandra, S.Y and Kumar, S.S (2009) An Introduction to
Network It requires It requires It requires CLIENT/SERVER COMPUTING, New Age International
Connection only the LAN only the LAN only the LAN Publishers, New Delhi.
Type to to to [6] Hallberg, B. (2010), Networking, a beginner's guide, 5th ed.,
communicate communicate communicate USA: McGraw-Hill Companies
with other with other with other [7] Meghanathan, N. (2010), Recent Trends in Networks and
Communications, Germany: Springer-Verlag.
users. users. users. [8] Williams, S (2004) Computer Networking with Internet
Protocols and Technology Alan Apt, Pearson Education, Upper
Saddle River.

432
3rd International Conference on Research and Innovation in Information Systems – 2013 (ICRIIS’13)

[9] Reid, F (2004) Network programming in .net with c# and visual


basic, Elsevier digital press, 200 wheeler road, Burlington, ma
01803, USA.
[10] Donahoo, J. M. &. Calvert, L. K. (2009),TCP/IP Sockets in C:
practical guide for programmers, 2nd ed., USA: Elsevier Inc.
[11] Bruegge, B and Dutoit, A.H (2000) Object-Oriented Software
Engineering Conquering Complex And Changing Systems,
Prentice Hall, Upper Saddle River, New Jersey.
[12] J. Manalil, "Rational Unified Process," Cochin University of
Science and Technology, 2011.
[13] Sommerville, I (2007) Software Engineering: Software Process,
8thedn, Addison Wesley,London.
[14] Umar, S and Justin, M.P. (2003). Service-oriented Network
Socket, Association for Computing Machinery Publishers, New
York.

433

View publication stats

You might also like