Applying Mobile Agent Information Querying System for

ISSN 2348-2370
Volume.01,Issue.01,
January-2015,
Pages:0015-0017
www.semargroups.org
Applying Mobile Agent Information Querying System for Bookshops
EI PYAE PHYO1, MOE MOE AYE2
1
Dept of IT, Mandalay Technological University, Mandalay, Myanmar, Email: [email protected].
Dept of IT, Mandalay Technological University, Mandalay, Myanmar, Email: [email protected].
2
Abstract: This system presents a case study namely Applying Mobile Agent in Information Querying System for Bookshops
and the roles of mobile agents. A mobile agent technology provides an alternative way to assist the user in finding relevant Web
based information. Agent technology is a novel approach for the development of distributed system. In this system, the user can
query the book information from one bookshop or all bookshops with the help of agents. The search agent that is mobile agent
is dispatched to bookshops and negotiated with database agents to get books information for the user. By using this system, user
can easily to inform the book, they just only known about Author name, Title and Price range. In this system, Java-based
mobile agent system, called the Aglets workbench, will be used as language tool.
Keywords: Aglets, Distributed Databases, Mobile Agents.
I. INTRODUCTION
Today, the number of available information sources is
growing rapidly. Finding and combining the relevant
information is becoming a critical task. There is a need for
facilities that perform these integrating tasks and thus
overcome problems such as distribution and heterogeneity.
We can access incredible amount of information at widearea networks, where data are stored at heterogeneous
sources and the accessibility of individual sources varies
by large degree [1]. By using a mobile agent system, users
can achieve many different tasks in different places.
Through a journey, the mobile agent interacts with
different machines to accomplish tasks [2, 3]. Mobile
agents are said to be autonomous, in the sense that they can
make their own decisions while away from their host. This
implies that a mobile agent is not just a piece of data being
transferred between systems, but may also carry some
logic (i.e., code) and state, which enables it
perform
some part of its tasks in one system, migrate to another and
continue its work there [4]. The advent of large wide-area
network, Internet has caused a large increase in the
information ability and in the number of the information
source. So, user can know about the information by
browsing and searching. In this paper purposes the
development of mobile agent system in the query of
information between online bookshops and user. In this
paper, mobile agent is dispatched to bookshops using
search agent and negotiate with database agents, to get
books information for the user. The system does not look
at the security aspects of mobile agent system.
easier way for the user to search the desired book prices
such as only desired title or only desired author or only
limited price. The system cannot permit to accept publisher
only and publishing year only. Then, the system can be
searched from the dedicated bookshop or all the bookshops
through the network. There are two kinds of agents such
as: stationary agent and mobile agent. Stationary agents are
Interface Agent (IA) at the user site and Database Agent
(DBA) at the bookshop site. Mobile agent which is Search
Agent (SA) created by IA as shown in figure 1. The role of
each agent is described as follows:
II. PROPOSED SYSTEM DESIGN
This session presents the design and architecture of
system. The aims of the proposed system is to provide an
A. Interface Agent (IA)
IA interacts with the user for accepting required book
data such as title, author name, publisher, publishing year
Fig 1. System Overview Design.
Copyright @ 2015 SEMAR GROUPS TECHNICAL SOCIETY. All rights reserved.
EI PYAE PHYO, MOE MOE AYE
and price range, and for retrieving the result. The system
returns the result back to the SA. The function of the DBA
needs to accept from the user of all information or title
is as shown in figure 4.
only or author only or the price range only. But the system
cannot permit to accept publisher only or publishing year
only. When the IA accepts the user’s information and
itinerary of bookshop, it creates the search agent (SA) and
dispatches SA to the destination. Finally, it receives the
result carried back by the SA and shows the result to the
user. The function of the IA is as shown in figure 2.
Fig 4. Function of Database Agent (DBA).
III. EXPERIMENTAL RESULT
In this session, some user interfaces of the proposed
system are described as follow. The Graphical User
Interface (GUI) provided by IA at the user site can be seen
in figure 5.
Fig 2. Function of Interface Agent (IA).
B. Search Agent (SA)
SA which is created by the IA accepts the user’s
requirements such as title, author name, publisher,
publishing year and price, and the itinerary of the user.
When the SA accepts the user’s requirements, it goes to the
instructed destination. And then, it negotiates with the
DBA. After getting it, it sends back to the host and returns
back to IA. The function of the SA is as shown in figure 3.
Fig 3. Function of Search Agent (SA).
C. Database Agent (DBA)
DBA is a stationary agent at the bookshop site. The
function of DBA is to accept the information which SA
wants to search and searches it in its database. Finally, it
Fig 5. Interface Agent of the System.
Fig 6. Book Searching Form.
When the user wants to query, they need to click the
“Start” button. When the user clicks the start button, the
interface shown in figure 6 will appear and the user must
International Journal of Software Engineering and Technology Informatics
Volume. 01, IssueNo.01, January-2015, Pages: 0015-0017
Applying Mobile Agent Information Querying System for Bookshops
fill the information they want to know. The user needs to
fill at least one information showing in star mark. Also the
user selected the itinerary of bookshops that they want to
query. After getting the itinerary, the “Search” button must
be clicked to search the required information. When the
“Search” button has been clicked, SA is created and
dispatched to the desired destination. At the remote site of
bookshops, every bookshop creates a Database Agent
(DBA) as shown in figure 7.
Fig 10. Book result for Title.
The result carried back by SA can be seen as shown in
figure. The following figure 8 shows the result of
bookshop when the user searched by using the author name
only. When the user searched by using the price range
only, the result for price range is as shown in figure 9. The
following figure 10 shows the result of bookshop when the
user types the title of book.
Fig 7. Database of Bookshop 1.
When SA arrive the remote site, it negotiates with the
DBA. DBA accepts the information SA wants, and
searches in its database. And then, it replies the result to
SA. When SA arrive back the host, it gives back the result
to IA and disposes itself.
Fig 8. Book results for Author name.
Fig 9. Book Result for Price range.
IV. CONCLUSION
In this paper, design and architecture of mobile agent
based information query system for bookshops are
proposed. The proposed system supports the development
of information retrieval system between bookshops and
user. By implementing this proposed system, it can provide
the advantages such as saving time, reducing the human’s
efforts. Moreover, it can retrieve the books information
from various bookshops not the same price at the same
title. Also user can know what update edition have where
in the bookshops.
V. ACKNOWLEDGMENT
First of all, the author is grateful to her parents who
specially offered strong moral and physical support, care
and kindness. The author is highly grateful to Dr. Moe
Moe Aye, for completion of this paper. The author is
deeply thankful to all her teachers and friends who helped
her enthusiastically during this paper.
VI. REFERENCES
[1] Rosane Maria Martins, Luci Pirmez and Luiz Fernando
Rust da Costa Carmo,”Databases and Information Retrival:
Taking advantages of Mobile Agent Technology”,
NCE/UFRJ, Universidade Federal do Rio de Janeiro.
[2] B.H. Tay, A. Ananda,”A Survey of Remote Procedure
Calls”, Operating system Review, 24(3), July 1990, PP 6379.
[3] Mohammed A. M. Ibrahim, “Applying E-book Model
to Mobile Agent in Network Wire & Wireless”.
International Journal of Software Engineering and Technology Informatics
Volume. 0, IssueNo.01, January-2015, Pages: 0015-0017