Location Management using Hierarchical Structured ... - CiteSeerX

16 downloads 519 Views 180KB Size Report
Available at http://www.gisdevelopment.net/tech- nology/lbs/techlbs003.htm. 2. Sengupta, S.: Open Standards in Location Based Services. Available at www.gis ...
Location Management using Hierarchical Structured Agents for Distributed Databases Romeo Mark A. Mateo, Bobby D. Gerardo and Jaewan Lee School of Electronic and Information Engineering, Kunsan National University 68 Miryong-dong, Kunsan, Chonbuk 573-701, South Korea {rmmateo, bgerardo, jwlee}@kunsan.ac.kr

Abstract. Location-based services (LBS) depend on data gathered from mobile and ubiquitous devices and provide services like getting the appropriate location of a mobile user presented in physical and logical maps. The main operations of location management in LBS are update and search methods. Some studies to improve these were presented by using optimal sequential paging, location area scheme and hierarchical database scheme. In addition, not all LBS have the same access methods on data and they lead to difficulties of providing services. In this paper, we use an approach of hierarchical structured agents for locating a mobile object in a location-based service. This research focuses on location management by using agents. The agents are used for accessing distributed databases on LBS. It also introduces a hierarchical search method that uses a nearest neighbor technique for efficient search. The result of using the technique shows an improved search method in the location management.

1

Introduction

There are many information services that can be obtained by using mobile and ubiquitous devices. In cellular phones, we have variety of services like mobile-banking, city guides, mobile gaming and many more. Ubiquitous devices like smart cards have less resources but powerful to provide information like location monitoring because of its availability. These services are provided by the location-based service [1], [2], [3]. The important function in mobile computing environment is to determine the mobile user’s current location. Location management in cellular networks [5] deals with how to track mobile users within the network provided by interactive components like base station, mobile switching center and public switched telephone network. In this paper, we present an approach of using agents for handling the data within the distributed environment. The architecture shows the design of distributed locationbased services managed by location agents to process the queries. The location management of the proposed system uses a hierarchical process of searching and updating, and other concerns to provide efficiency. It also introduces a search method using nearest neighbor algorithm to improve efficiency.

2

Related Works

Location management keeps track of an active mobile station in cellular networks [5]. A base station of a cellular network communicates with mobile station inside the cell. The main operations on location management are updating and paging of a mobile station. There is always tradeoff between the frequency of location updates and paging costs. If the update cost is zero then paging cost is maximized and if paging cost is zero then update cost is maximized. Many research works tackle the methods of locating a mobile object in cellular networks like in [6], [7] and [8]. Some introduce schemes to minimize the cost of paging and updating of locations. Research on location area schemes [5] discussed how the mobile station updates its location whenever it moves into a cell which belongs to new location area. Optimal sequential paging [6] presents a polynomial-time algorithm to solve the problem of minimizing the average paging costs. A predictive distance-based mobile tracking scheme is presented in [7] and a dynamic location update scheme in velocity-based scheme [8] is also presented. 2.1

Hierarchical Location Management

Hierarchical scheme of search and update method is another approach for location management discussed by Pituora, et. al. [12]. The study uses a hierarchical distributed location database to track mobile object in which the nodes are networked in a tree-like structure. The update method starts from low-level up to high-level nodes. A child node gathers the mobile object and passes the value to parent node. The process repeats until it reaches the root node. The root node will hold all the data under its sub nodes. In search method, a query in a local node or source node searches for a certain mobile object. If the mobile object is not found in source node then it passes the query and searches to parent node. The search method repeats until it reaches the root node. In addition, a research of hierarchy of agents in the network nodes that acts as mobile location databases [11] can be a model for location management using agents. Similar hierarchical scheme is used in this research except that it uses mobile agents to store the replication of data and applied for the location management.

3

Proposed Hierarchical Location Management Architecture

The goal of the proposed system is to provide an efficient location management from distributed databases in LBS. Figure 1 shows the architecture of the proposed system. A location-based service contains location agent. In [4] the location services use software agents for data management. The agent listens to all location data at every available location services. The proposed system includes a location agent in each location service that accesses the database of LBS and communicates to other location agents. They are arranged in hierarchical tree-like structure as shown in Figure 1. In process 1, mobile objects are stored in the database of LBS. The location agent 1 copies the mobile object and passes the value to location agent 2. The update at parent

agents continue until it reaches the root agents. In process 2, a search method is executed to find a mobile object. A query in LBS 2 searches for a mobile object in the local node. If the data is not found in the local node then the location agent LA 2 communicates with LA 3 to verify the mobile object’s availability. If the mobile object is not registered in the location agents then the search continues until it reaches the root agent. If a mobile object is found on a location agent then it returns the value of the node’s location where the mobile object is registered. Process 1: updating mobile object LBS 1 mobile object

LBS 2

LA 1

LBS 3

LA 2

LA 3

LA: Location Agent LBS: Location-based service

DB

Process 2: searching mobile object search mobile object

LBS 2

LBS 3

LA 2

LA 3

Hierarchical structured of location agents

Fig. 1. Proposed hierarchical location management architecture

3.1

Fault Management

The location agent of the proposed system has location manager component that analyzes the tasks to execute. One of the tasks of the location manager is fault management. In the case of leaf nodes, the agents know its parent’s parent or least ancestor so that if there is no communication between the parents, it searches for the least ancestor to establish its communication. If the root node fails the connection with its sub nodes then the sub nodes search for the available root and pass the data to the new root. If the node recovers then the sub nodes establish the link to its original parent. The node that recovers the link gathers all the updated data on its sub nodes and deletes all the obsolete data. Location Management in LBS 1 Location Agent 1

Location Agent Storage

Tasks

Database

Location Agent 3

Accept

Location Management in LBS 3

Location Manager

Location Management LBS 2

in

Fig. 2. Components of the location agent

3.2

Search Method using Nearest Neighbor

The nearest neighbor (NN) feature method is defined as the distance between the closest pair of objects. It involves pairs consisting of one object from each group. In this case, we have a set of nodes in a mesh network and each node has specific distance to each other. The NN algorithm locates the nodes which have the least distance from the parent node is presented in Equation 1. The n represents a node, ni is the source node and pi indicates its parent node of ni. It identifies all the near nodes and determines the count of the nodes.

∑ dist (n , n ) < dist (n , p ) where x = 1,2,..., n i

x

i

i

(1)

The improved search method is handled by the location manager. First, it executes the NN algorithm and if the query is not valid in the near nodes, it sends the query to the parent node. If the query is valid then it returns the value of the node’s location back to the source node. In Figure 3, node V is the nearest node of W (not a parent). Here, agent W communicates with the agent V to process the query. There is only one hop count in this point. The algorithm code is presented in Figure 4.

Fig. 3. Search method using NN algorithm

//search the nearest neighbor node List all Node = dist(Node, SourceNode) < dist(ParentNode, SourceNode) i = 0 For all List Do Search (MobileID, Node(i)) If BackOriginalNode = True Then End i = i + 1 Loop //search the parents up to the root GoTo ParentNode Function Search (MobileID, Node) //Search function { GoTo Node //Search the list of mobile in Location Agent Do all List of mobileID in LocationAgent If LocationAgent.MoblieID(List) = MobileID Then Return Node Location BackOriginalNode = True Loop While not end of data }

Fig. 4. Nearest neighbor algorithm

4

Performance Analysis

The simulation used a database consisting of 34 nodes, 80 mobile ID and 372 data replicated by agents were stored within the network. The simulation platforms used were IBM compatible PCs with Windows and Linux operating systems, Borland Visibroker, C/C++ and Java for development of software agents, and MySQL for the database. The experiment utilized a network of computers to implement the simulation. The CORBA was used for the simulation to perform interoperability on the operating systems. First, the experiment used the hierarchical search method of a mobile ID in the network. Then, proposed search method was simulated. The proposed technique provides fast search if the mobile object is near the node being searched and also enhances the efficiency in the database operation. We compare the database operation by using the normal search and search method with NN algorithm. The number of hops is determined by the level of the nodes and the search method is done from the lowest up to the highest level. Having inputs of 10 mobile objects per nodes and considering the total number of database operation to process the mobile object as outputs, we calculate the result of the average database operation as presented in Figure 5.

Fig. 5. Graphical results

In addition, it was observed that there were additional numbers of hop when implementing the improved search depending on the number of nearest nodes but the search was more efficient. Figure 5 shows hop count results. There are 34 nodes and each node can have two children nodes. There are 5 levels of nodes in the hierarchical structure and the root is at the level 0. Two cases were described in the situation. First, the mobile object is found on the nearest node and second when it is not found on the nearest node. The hop counts would minimized if the search for the mobile object is found on the nearest node.

5

Conclusion and Future Work

In this paper, we proposed the approach of hierarchical structured agents for location management of location-based services. It used location agents that perform data replication. A hierarchical process of updating and searching mobile objects was also presented. There was an improvement in location management by implementing the nearest neighbor algorithm. The searching does not need to go to all of the parent nodes when the mobile identification was found on the nearest nodes of the source node which implies efficient search. The simulation result implies that the technique using NN algorithm minimizes the database operations. The research is only limited on mobile tracking and does not include physical and logical mapping of the location. The additional functions of the LBS should be studied in the future. The cache and other auxiliary storage were not given emphasis but will be the subject of our future works.

References 1. 2. 3. 4. 5. 6.

7.

8.

9. 10. 11. 12. 13.

Prasad, M.: Location Based Services. Available at http://www.gisdevelopment.net/technology/lbs/techlbs003.htm Sengupta, S.: Open Standards in Location Based Services. Available at www.gis development.net / technology/lbs/ techlbs002.htm Roth, J.: Flexible Positioning for Location-Based Services. IADIS International Journal on WWW/Internet, Vol. 1, No. 2 (2004) 18-22 Jaric, P.: An Agent-Based Location System. Uppsala University, unpublished Master’s Thesis in Computing Science 141 (1999) Zhang, J.: Location Management in Cellular Networks. Available at www.cse.fau.edu/ ~jie/teaching/fall_2004_files/locationmanagement.pdf Krishnamachari, B., Gau, R. H., Wicker, S. and Haas, Z.: Optimal Sequential Paging in Cellular Networks. Available at ceng.usc.edu/~bkrishna/research/papers/OptimalSequentialPaging.pdf Liang, B. and Haas, Z.: Predictive Distance-based Mobility Management for PCS networks. Proceedings of the Eighteenth Annual Joint Conference of the IEEE Computer and Communications Societies, IEEE INFOCOM, ’99, vol. 3 (1999) 1377-84. Wan, G. and Lin, E.: A Dynamic Paging Scheme for Wireless Communication Systems. Proceedings of the ACM/IEEE International Conference on Mobile Computing and Networking, MOBICOM (1997) 195-203 Ozsu, M. T.: Distributed Databases. Available http://db.uwaterloo.ca/~ddbms/ publications/ozsu/ Distdb/ distdb.pdf#search='Distributed%20Databases' Lentini, R., Rao, G., Thies, J., and Kay, J.: EMAA: An Extendable Mobile Agent Architecture. Available at www.cse.unsw.edu.au/~sjha/papers/icc04 lee.pdf Lee, K., Lee H. W., Jha, S., and Bulusu, N.: Adaptive, Distributed Location Management in Mobile, Wireless Networks. http://www.cse.unsw.edu.au/~sjha /papers/icc04lee.pdf Pitoura, Evanggelia and Fudos, I.: Distributed Location Databases for Tracking Highly Mobile Objects. The Computer Journal, Vol. 44, No.2 (2001) Want, R., Hoper, A., Falcao, V. and Gibbons, J.: The Active Badge Location System. Available at www-lce.eng.cam.ac.uk /publications/files/tr.92.1.pdf

Suggest Documents