A Seminar Report On

SECURITY IN MOBILE DATABASE SYSTEMS

Submitted By :Pankaj Menaria

Yash Vyas
Kamlesh Jain

A Seminar Report On
SECURITY IN MOBILE DATABASE SYSTEMS
In partial fulfillment of requirements for the degree of

Bachelor of Engineering In Computer Engineering
SUBMITTED BY:

Pankaj Menaria Yash Vyas Kamlesh Jain

Under the Guidance of

Mr. Ajay Prasad
DEPARTMENT OF COMPUTER SCIENCE ENGINEERING

PAGE INDEX

SN

Topic

1. INTRODUCTION 1.1 SECURITY IN MOBILE DATABASE 1.2 MOBILE DATABASE 1.3 MOBILE SECURITY 1.4 DATABASE SECURITY 1.5 NEED FOR MOBILE DATABASE

2. MOBILE DATABASE SYSTEMS 2.1 Fully Connected Information Space 2.2 Personal Communication System (PCS) 2.3 Mobile Database Systems (MDS) 2.4 Transaction Management 2.5 Query Processing 2.6 Location and Handoff Management 2.7 Wireless Information Broadcast

3. MOBILE DATABASE SECURITY 3.1 MOBILE CONDITIONS 3.2 PROTECTION OBJECTS AND ACTION

4. CONCLUSION

5. REFERENCES

1. INTRODUCTION
The importance of databases in modern businesses and governmental institutions is huge and still growing. Many missioncritical applications and business processes rely on databases. These databases contain data of different degree of importance and confidentiality, and are accessed by a wide variety of users. Integrity violations for a database can have serious impact on business processes; disclosure of confidential data in some cases has the same effect. Traditional database security provides techniques and strategies to handle such problems with respect to database servers in a non-mobile context.
1.1 SECURITY IN MOBILE DATABASE

developing mobility support in database context. The confidentiality of missioncritical data must be ensured, even though most mobile devices do not provide a secure environment for storage of such data. Security requirements that apply to a central company database should apply similarly and in an appropriate manner to the parts of the database replicated on mobile devices in the field. A mobile database security infrastructure is needed to accomplish this goal. When developing such an infrastructure we can benefit from the results of traditional database security work. But we also need to adapt the existing techniques and strategies to the mobile context, and we need to develop new ones that attack certain issues specific to use of database systems in a mobile environment.
1.2 MOBILE DATABASE

With the rise in popularity of smartphones has come an increasing need to secure them. Since their introduction mobile phones have becoming increasingly smaller, more powerful with increasing storage capacity and have remained expensive items. With the rise of their popularity so has the need to secure the devices from theft, as well as traditional threats that effect computers such as malware and the need to back and protect the data on the devices.

A mobile database is a database that can be connected to by a mobile computing device over a mobile network. The client and server have wireless connections. A cache is maintained to hold frequent data and transactions so that they are not lost due to connection failure. A database is a structured way to organize information. This could be a list of contacts, price information or distance travelled.

The use of laptops, mobiles and PDAs is Database security is also a specialty within increasing and likely to increase in the the broader discipline of computer security. future[citation needed] with more and more applications residing in the mobile systems. While those same analysts can’t tell us For many businesses applications are going exactly which applications will be the most mobile that means using enterprise data in a popular, it is clear that a large percentage mobile context, thus using a mobile DBMS. will require the use of a database of some With these new developments the business sort. Many applications such as databases data of an enterprise can be made available would require the ability to download to an even larger number of users and a information from an information repository wider range of applications than before. and operate on this information even when To work on business data anytime and out of range or disconnected. anywhere is the major goal pursued by

Mobile databases let employees enter data on the fly. This type of access and work load generated by such users is different from the traditional workloads seen in client–server systems of today. Unintended activity can be categorized as authenticated misuse. Information can be synchronized with a server database at a later time. In this scenario user would require to access and update information from files in the home directories on a server or customer records from a database. typically specified in Since their introduction mobile phones have the data dictionary. Although viruses are a key concern. 1. and procedures that protect a database from  Mobile users must be able to work without a wireless connection due to poor or even non-existent connections. Applications must be able to access local device/vehicle hardware. With the  Authentication rise of their popularity so has the need to  Encryption secure the devices from theft.4 DATABASE SECURITY     Database security is the system. information security. 1.An example of this is a mobile workforce. more  Access control powerful with increasing storage capacity  Auditing and have remained expensive items. such as printers.5 NEED FOR MOBILE DATABASE A recent report from McAfee titled" 2011 Threats Predictions". outlines the company’s concerns about the changing ―threats landscape‖ thanks in part to increases in malware sophistication and targeting and how they relate to seven areas — including social media. or GPS units (for mapping or Automatic Vehicle Location systems). processes. as With the rise in popularity of smartphones Databases provide many layers and types of has come an increasing need to secure them. mobile Apple-related products and applications. 1. malicious attacks or inadvertent mistakes made by authorized individuals or processes. Traditionally databases have been protected from external connections by firewalls or routers on the network perimeter with the database environment existing on the internal network opposed to being located within a demilitarized zone. only recently modified data. Users don't require access to truly live data. as well as  Integrity controls traditional threats that effect computers such as malware and the need to back and protect the data on the devices. Additional network security devices that detect and alert on malicious database protocol traffic include network intrusion detection systems along with host-based intrusion detection systems. including: becoming increasingly smaller. Bandwidth must be conserved (a common requirement on wireless networks that charge per megabyte or data transferred). With the advent of mobile databases. bar code scanners. now users can load up their smart phones or PDAs with mobile databases to exchange missioncritical data remotely without worrying about time or distance.3 MOBILE SECURITY unintended activity. Database security is more critical networks have become more open. . the actual number of viruses targeting mobile phones in the wild has not been widespread. Applications must provide significant interactivity.

mobile-database field. with about 68 percent of the mobile database market. When a mobile unit leaves a cell serviced by a particular base station.’s SQL Anywhere dominates the application with synchronization. such as  Mobile computing devices: low-power.) Base stations are two-way radios. the chances are good that you 2) Products will be required to build a mobile database Sybase Inc.. (Note that these networks need not be cellular telephone networks. SQLBase from Gupta Technologies LLC of low-cost. might serve your needs 1) Three parties equally well.  Limited life of power supply(battery) The changing topology of network the mobile unit's transaction and data support to whichever base station covers the mobile unit's new location. Design and management tools within SQL Anywhere enable developers to implement and deploy frontline applications and equip administrators to easily manage and support them. or wireless routers.and  Mobile computing constraints Database Viewer Plus from Cellica Corporation NY. HanDBase from  Wireless networks DDH Software Inc. . installations in fixed locations. Fla. Calif. portable phones. SQL Anywhere’s data exchange technologies extend information in corporate applications and enterprise systems to databases running in mission-critical frontline environments. things to be enterprise synchronization server that considered are: extends enterprise applications to mobile devices. portable Redwood Shores. IBM’s DB2 Mobile database system architecture Everyplace is a relational database and For any mobile architecture. mobile units. of Lake Worth. and base stations. that pass communications with the mobile units to and from the fixed hosts. They are typically lowpower devices such as mobile phones. Microsoft SQL Server Compact and  Users are not attached to a fixed Oracle9i Lite are similar mobile databases. geographical location Products from lesser-known vendors. If your application meets any of those requirements. Mobile databases typically involve three parties: fixed hosts. Fixed hosts perform the transaction and data management functions with the help of database servers. that station transparently transfers the responsibility for 3) Sybase's SQL Anywhere SQL Anywhere offers enterprise-caliber databases that scale from 64-bit servers with thousands of users down to small handheld devices. Mobile units are portable computers that move around a geographical region that includes the cellular network (or "cells") that these units use to communicate to base stations.

The data on the handheld device is synchronized to a Ultralite: UltraLite is a database. management system (RDBMS) that scales from thousands of users in server 5) IBM DB2 Everyplace (DB2e) environments down to desktop and mobile applications used in widely deployed. manages data on a handheld device.SQL Remote: SQL Remote technology is based on a store and forward architecture that 4) SQL Anywhere Technologies allows occasionally connected users to synchronize data between SQL Anywhere SQL Anywhere Server is a high performing databases using a file or message transfer and embeddable relational database. DB2e is currently available footprint mobile devices such as PDAs and for Palm OS.system (RDMS).mechanism.server-based relational database management management system designed for small. EPOC.DB2e stores. Windows CE smart phones. zero. session-based synchronization technology for  IBM DB2 Database Engine exchanging data among relational databases  IBM Sync and other non-relational data sources. Neutrino. retrieves. . organizes and administration environments. and embedded Linux DB2e on the handheld device includes: Mobilink: MobiLink is a highly-scalable.  Query By Example (QBE) QAnywhere: QAnywhere facilitates the development of robust and secure store-andforward mobile messaging applications.

MobiSnap aims at developing a middle-ware infrastructure that allows access to relational database systems from mobile computers with a clear semantics in all operational scenarios (from high to unavailable connectivity). providing conquerable support for data divergence control and connectivity abstractions. focusing only on application specific problems. programming APIs. a research project that aims to support the development of SQL based applications for mobile environments. which:     called Borland JDataStore 6 is a fast. and server database the JDataStore database features a very small Mobile Device Administration Center footprint. This platform will isolate programmers from the problems related to mobility and disconnection. and so on). and synchronization capabilities Java ME Sync Client for cell phones of a full-power database. thereby also providing close integration to legacy information systems. 8) Others Borland's JDataStore . C++. requires practically zero (MDAC) maintenance. integrated development experience through Visual Studio and a Management Studio. and EPOC database clients. integration with Oracle's Advanced Queuing (AQ) mechanism. versatile Java database for truly portable embedded. PalmOS. The Oracle9i Lite relational database is surprisingly[citation needed] powerful. Delphi. The database supports 100% Java development (through JDBC drivers and the database's native support for embedded SQLJ and Java stored procedures) as well as programming from any development tool that supports ODBC (Visual Basic. and data and application synchronization software (to enterprise Oracle databases. It includes support for Win32. 6) Microsoft SQL Server Compact (formerly SQL Server 2005 Mobile Edition) Microsoft SQL Server Compact (SSC) is a small footprint embedded database designed for developers who target Microsoft Windows mobile-based devices or desktops. and delivers the performance. and Web server applications.1. Allows synchronization between DB2e Compliant with Java and SQL92 standards. It provides synchronization with Microsoft SQL Server. allowing them to easily develop new applications for mobile environments. mobile.1 scalability. Table encryption for version 8. and pagers MobiSnap MobiSnap. Windows CE. 7) Oracle9i Lite This is a complete solution for mobile or wireless applications that require the use of a relational database on the mobile client.DB2e includes a component Synchronization Server. MobiSnap will be based on SQL.

and wired and wireless systems (PCS.  Some node can process information. and GSM) .  Some node can communicate through voice channel. Cellular system.2. MOBILE DATABASE SYSTEMS 2.  Some node can do both Can be created and maintained by integrating legacy database systems.1 Fully Connected Information Space  Each node of the information space has some communication capability.

PSTN AC HLR VLR EIR MS BS MS Wire le ss compone nt M SC (M TSO) M SC (M TSO) PSTN: Public Switched Network.2. and in any form. Also called MU (Mobile Unit) or Mobile Host (MH). since every person. BS: Base Station. could be equipped. Also called MTSO (Mobile Telephone Switching Office). Business opportunities (E-commerce) for such services are tremendous. AC: Access Chanel. Most of them are connected to Public Switched Telephone Network (PSTN) to integrate with the wired service. AMP was designed as a high capacity system based on a frequency . MSC: Mobile Switching Center. Commercial AMPS service has been available since 1983. PCS refers to variety of wireless access (communication) and personal mobility services provided through a small terminal at any place. a large scale AMPS trial was conducted in Chicago. It is based on frequency division multiple access (FDMA). which was developed during the 1970s by Bell Lab.2 Personal Communication System (PCS) A system where wired and wireless networks are integrated for establishing communication.. Several PCS systems have been developed to meet rapid growth prompted by market demand. EIR: Equipment Identify Register. HLR: Home Location Register. every organization. From 1974 to 1978. MS: Mobile Station. Two of the most popular PCS systems are:  Cellular telephony  Cordless and low-tier PCS telephony Cellular telephony overview Four popular cellular telephony networks are:  Advanced Mobile Phone Service (AMPS)  Global System for Mobile Communication (GSM)  EIA/TIA IS-136 Digital Cellular System  EIA/TIA IS-95 Digital Cellular System Advanced Mobile Phone Service (AMPS) AMPS was the first cellular system. VLR: Visitor Location Register. etc.

For a user. CT2 is allocated 40 FDMA channels with a 32-Kbps speech coding rate.25 MHz. that is. which has been extended to 5 MHz in the third generation wideband CDMA proposal. Thus. CT2 also supports data transmission EIA/TIA IS-136 Digital Cellular rates of up to 2. IS-136. Cellular (ADC). EIA/TIA System IS-95 Digital Cellular GSM is a digital cellular system developed by Groupe Special Mobile of Conference Europeenne des Postes et Telecommunications (CEPT) and its successor European Telecommunications Standard Institute (ETSI). In the call setup procedure. Global System Communication (GSM) for Mobile times that of AMPS. call delivery is not digital AMPS (DAMPS). In AMPS. Cordless Telephone. This digital cellular system was developed by Qualcomm. whereas an AMPS base station needs one such pair for every voice channel. With TDMA. The maximum transmit power of a CT2 handset is 10 mW. every pair of radio transceiverreceiver supports eight voice channels. both baseptop handset signals and handset-to-base signals are transmitted in the same frequency. IS-54 was renamed IS-136 when it reached revision C. IS-95 is based on Code Division Multiple Access (CDMA) technology. the radio hardware in the base station can be shared among multiple users. CT2 does not support handoff and in a This system is also referred to as public CT2 system. Generation (CT2) Second Developed in Europe. It allows many users to share a common frequency/time channel for transmission. except that no large scale trial was conducted. The GSM development process was similar to that of AMPS. and has been operating in USA since 1996. The channel bandwidth used by IS-95 is 1. GSM combines time divisioin multiple access (TDMA) and FDMA. IS-136 capacity is around three Enhanced Cordless Telephone to denote . In GSM the frequency carrier is divided into eight time slots where the speech coding rate is 13 Kbps. In a GSM base station. there are about 50 channels per cell. 832 downlinks and 832 uplinks. where the speech coding rate is Telephone has been replaced by Digital 7. American Digital supported. The speech coding rate for IS-95 is 13 Kbps or 8 Kbps. and has been available since 1989. A total of 50 MHz in the 824849 MHz and 869-894 MHz bands is allocated for AMPS. the typical frequency reuse plan employs either a 12group frequency cluster using omnidirectional antennas or a 7-group cluster using three sectors per base stations. or North American TDMA (NA-TDMA).95 Kbps.reuse scheme.4 Kbps through the speech code and up to 4. An existing AMPS system can be easily upgraded to IS-136 0n a circuit-by-circuit basis. CT2 moves a call path from one radio channel to another after three seconds of handshake failure.This spectrum is divided into 832 full-duplex channels using 1664 discrete frequencies. IS-95’s capacity is estimated to be 10 times that of AMPS. Digital European Cordless Telephone supports a TDMA air interface similar to that (DECT) of GSM. the successor to IS-54. It supports three voice The Digital European Cordless channels.8 Kbps with an increased System rate.

similar to cellular systems.1 MHz (40 channels) is designed for public systems. DECT supports high user density with a picocell design. There are 12 voice channels per frequency carrier. DECT is typically implemented as a wireless-PBX (Private Brach Exchange) connected to PSTN. the PACS uplink and downlink utilizes different RF carriers. Personal Access Communications Systems (PACS) PACS is a low-power PCS system developed at Telcordia (formerly Bellcore). . In FDD mode. DECT also supports seamless handoff.1-1918. each with 300 KHz bandwidth.1 MHz (37 channels) is used for home/office applications. DECT can interwork with GSM to allow user mobility. Sleep mode enables PHS to support five hours of talk time. Sleep mode is employed to converse handset power. The bandwidth is partitioned into 77 channels. using radio access to the public telephone network or other digital networks. offices. PHS operates in the 1895-1918. or 150 hours of standby time. and the band 1895-1906. The band 1906. PHS is a low-tier digital PCS system that offers telecommunication services for homes.global acceptance of DECT. and outdoor environment.1 MHz band. TDMA is used in PACS with eight voice channels per frequency carrier. Low-tier PCS telephony overview Personal (PHS) Handy Phone System PHS is a standard developed by the Research and Development Center for Radio Systems (RCR). PHS uses TDMA. a private standardization organization in Japan.

Other functions of BS are call processing. maintenance. Micro and picocell Low Low ( 30 mph) Small/Zonal.4-22 mile) Low-tier PCS Medium (30-300’) Cordless Small (30-60’) User speed High ( 160 mph) Large/Continuous macrocell High Medium ( 60 mph) Medium. The BS communicates to its mobile unit via the air interface. signaling. or medium. for communication to any mobile unit within its cell. and to MTSO by dedicated communication link such as T1 trunks. picocell Coverage area Handset complexity H-set power use Speech coding rate Delay or latency Low High (100-800 mW) Low (5-10 mW) Low (5-10 mW) Low (8-13 Kbps) High (32 Kpbs) High (32 Kpbs) High ( 600 ms) Low (10 ms) Low ( 20 ms) Wireless Components Base Station (BS): A network element that interconnects the mobile station (or Mobile unit (MU)) to the network via the air interface. . and diagnostics. Each cell in the network has a BS associated with it. Communication links on the BS to the MTSO interface are also classified into voice links and signaling link. The primary function of a BS is to maintain the air interface.Cordless and low-tier PCS telephony overview System Cell size High-tier Cellular Large (0.

the system has a large number of very small hexagons (cell). a palmtop. A MU also stores (a) Mobile Identification Number (MIN). However. Within their geographical region. or any other mobile device. or a cell phone. The greater the number of hexagons. The user interface exists only at MU. a keypad for entering information. and (C) Station Class Mark (SCM). the more simultaneous calls the system can handle. These are transmitted upon power on. Thus.Mobile Units (MU): Also called Mobile Systems (MS) or Mobile Hosts (MH). cell coverage is a dynamic activity. MSC (MTSO) BS MS MS Cell Mobile cell Within the cellular allocation the USA is divided into Metropolitan Statistical Areas (MSAs) and Rural Statistical Areas (RSAs). Wireless component . each service provider divides their area into smaller segments called cells. larger number of hexagons increases the cost of implementation. and an audio interface for speaking and hearing voice conversation. and cell origination. cell initiated sampling. There are six PCS service providers authorized to provide mobile service in each of these areas. which consists of a display. Each of this cell has a Base Station. This can be a laptop. which is constantly changing in response to increases in demand. Ideally. (b) antenna. (b) Electronic Serial Number (EIN). and (c) user interface. It consists of three components: (a) transceiver.

High density Smaller cells.Metropolitan area Metropolitan area BS Base Station Coverage area in one cell BS BS Coverage area in three cells Large cells. Higher density The entire coverage area is a group of a number of cells. The size of cell depends upon the power of the base stations. MSC PSTN . Low density Small cells.

 Periodic registration: A MU may be instructed to periodically register with the network.  Mobile station constraints. Two basic operations in roaming management are Registration (Location update): The process of informing the presence or arrival of a MU to a cell.  Integration of a new service provider into the network.  A mobile network coverage space may be managed by a number of different service providers.  Power-down registration. Needs some standard. private. When an MU is switched on.  Quick MU response to a service provider’s availability.  Limited battery life. Registration (Location update): There are six different types of registration. European 900MHz band may not be available in other parts of the world. Location tracking: the process of locating the desired MU. Administrative constraints      Billing. Registration (Location update): There are six different types of registration. Roaming can be provided only if some administrative and technical constraints are met. Any other policy constraints. A roaming subscriber must be able to detect this new provider. which allows a  subscriber to enjoy uninterrupted communication from anywhere in the entire coverage space. Call transfer charges. For example. Needs some standard.  Deregistration. or residential). This may preclude some mobile equipment for roaming. . They must cooperate with each other to provide roaming facility.  Service providers must be able to communicate with each other. it sends a registration message. User profile and database sharing. Subscription agreement. A MU decides to acquire control channel service on a different type of network (public. Technical constraints  Bandwidth mismatch. Done by the MU when it intends to switch itself off. it registers.  Service providers must be able to communicate with each other.  Power-up registration. Opposite to power-down registration.Problems with cellular structure  How to maintain continuous communication between two parties in the presence of mobility? Solution: Handoff  How to maintain continuous communication between two parties in the presence of mobility? Solution: Roaming  How to locate of a mobile unit in the entire coverage area? Solution: Location management Roaming  Roaming is a facility.  New system/Location area registration: when the location area of the MU changes.

2. Forced registration: A network may. MDS Limitations     Limited wireless bandwidth Wireless communication speed Limited energy source (battery power) Less secured  Can physically move around without affecting data availability Can reach to the place data is stored  Can process special types of data efficiently  Not subjected to connection restrictions  Very high reachability  Highly portable To build a truly ubiquitous information processing system by overcoming the inherent limitations of wireless architecture What is a Mobile Database System (MDS)? MDS Issues  Data Management  Data Caching  Data Broadcast (Broadcast disk)  Data Classification  Transaction Management     Query processing Transaction processing Concurrency control Database recovery . force all MUs to register. MDS capabilities A system with the following structural and functional properties  Distributed system with mobile connectivity  Full database system capability  Complete spatial mobility  Built on PCS/GSM platform  Wireless and wired communication capability MDS Applications  Insurance companies  Emergencies services (Police.3 Mobile Database Systems (MDS)  Vulnerable to physical activities  Hard to make theft proof. etc. under certain circumstances.)  Traffic control  Taxi dispatch  E-commerce  Etc. medical.

For efficient access the broadcast file use index or some other method. A broadcast (file on the air) is similar to a disk file but located on the air. Thus. Mobile Units can tune to this Examples: City tax. The contents of the broadcast reflects the data demands of mobile units. etc. broadcasting it on some fixed radio Location Data value frequency.  Data Broadcast on wireless channels Semantic caching How MDS looks at the database data?  Client maintains a semantic description of the data in its cache Data classification instead of maintaining a list of pages  Location Dependent Data (LDD) or tuples. which can be fed to the data broadcasting system. City area. frequency and download the desired data from the broadcast to their local cache. . the value of Data Broadcast (Broadcast disk) A set of most frequently accessed data is the location determines the correct value of made available by continuously the data.A Reference Architecture (Client-Server model) PSTN DB DBS DB DBS HLR M SC BSC Fixe d host Fixe d host BS MU MU MU BS MU BS MU VLR M SC BSC MDS Data Management Issues How to improve data availability to user queries using limited bandwidth? Possible schemes  Semantic data caching: The cache contents is decided by the results of earlier transactions or by semantic data set. The class of data whose value is functionally dependent on location. This can be achieved through data access history.  Location Independent Data (LID)  The server processes simple predicates on the database and the results are Location Dependent Data (LDD) cached at the client.

However. Any change in the room rate of one branch would not affect any other branch. the value of the location does not determine the value of the data. Example: Person name. Schema: It remains the same only multiple correct values exists in the database. The database distribution (replication. account number. Pune can be represented in terms of N cells and the LDD of Pune can be replicated at these individual cells. which is referred to as ―Data region‖. Location Dependent Data (LDD) Distribution MDS could be a federated or a multidatabase system. the room rent of this hotel will depend upon the place it is located. Thus. Location Dependent Data (LDD) Example: Hotel Taj has many branches in India. City data County 1 data County 2 data County n data Subdivision 1 data Subdivision data Subdivision m data . Needs location binding or location mapping function. LDD must be processed under the location constraints. Thus. Thus. the tax data of Pune can be processed correctly only under Pune’s finance rule.Location Independent Data (LID) The class of data whose value is functionally independent of location. etc.) must take into consideration LDD. partition. The person name remains the same irrespective of place the person is residing at the time of enquiry. Concept Hierarchy in LDD In a data region the entire LDD of that location can be represented in a hierarchical fashion. etc. One approach is to represent a city in terms of a number of mobile cells. Location binding or location mapping can be achieved through database schema or through a location mapping table.

Each transaction is divided into subtransactions. Mobile Transaction Models Kangaroo Transaction: It is requested at a MU but processed at DBMS on the fixed network. CommitL}. L. write}. one ensuring overall atomicity by requiring compensating transactions at the subtransaction level.4 Transaction Management Transaction fragments for distribution PSTN An execution fragment eij is a partial VLR order eij = {j. ln} is a set of locations. …. where F = {e1. Two types of processing modes are allowed. flm2. flmn} is a set of fragment location mapping where j. The user transaction may not be completely executed at the MU so it is fragmented and distributed among database servers for execution.2. l2. The management of the transaction moves with MU. This creates a Distributed mobile execution. L = {l1. …. BSC DB DBS DB DBS HLR M SC BSC Fixe d host Fixe d host BS MU MU MU BS MU BS MU Transaction fragments for distributed execution Execution scenario: User issues transactions from his/her MU and the final results comes back to the same MU. …. en} is a set of execution fragments. flmi (ei) = li  For any Ojk and Ojl where Ojk = R(x) and Ojl = W(x) for data object x. j} where  i = OSj  {Ni} where OSj = kOjk. FLM>.SC M and Nj {AbortL. Ojk {read. then either Ojk j Ojl or Ojl j Ojk. and FLM = {flm1. e2. A mobile transaction (MT) can be defined as Ti is a triple <F. .

Clustering: A mobile transaction isdecomposed into a set  Two-phase locking based (commonly used) of weak and strict transactions. e3) MU2 DBS4 DBS3 MU3 . A cotransaction is a special class of reporting transaction.Reporting and Co-Transactions: Semantics Based: The model assumes a mobile transaction to be a long lived task and splits large and complex objects into smaller manageable fragments. which can be forced to wait by other transaction. e2. The decomposition is done based on the  Timestamping consistency requirement. If the fragments can be recombined in any order then the objects are termed reorderable objects. The read and write  Optimistic operations are also classified as weak and strict. Mobile Transaction execution DBS1 DBS2 T2(e4. A reporting transaction can share its partial results with the parent transaction anytime and can commit independently. e5) MU1 T1(e1. Serialization of concurrent execution. The parent transaction (workflow) is represented in terms of reporting and cotransactions which can execute anywhere. These fragments are put together again by the merge operation at the server.

Serialization of concurrent execution.Reasons these methods may not work satisfactorily  Wired and wireless message overhead.  MU extract its fragment. Thus. Transaction commit. during processing no communication is required. . A scheme which uses very few messages.  Coordinator further fragments the MT and distributes them to members of commit set. and send rest of MT to the coordinator. especially wireless. is desirable.. to maintain global Protocol: TCOT-Transaction Commit On Timeout Requirements Coordinator: Coordinates transaction commit Home MU: Mobile Transaction (MT) originates here Commit set: Nodes that process MT (MU + DBSs) Timeout: Time period for executing a fragment Protocol: TCOT-Transaction Commit On Timeout  MT arrives at Home MU. which uses minimum number of messages. In MDS a transaction may be fragmented and may run at more than one nodes (MU and DBSs). multiversion.  DBSs process their fragments and inform the coordinator.  MU processes and commits its fragment and sends the updates to the coordinator for DBS. A scheme. Transaction and database recovery Complex for the following reasons  Some of the processing nodes are mobile  Less resilient to physical use/abuse  Limited wireless channels  Limited power supply  Disconnected processing capability Desirable recovery features  Independent recovery capability  Efficient logging and checkpointing facility  Log duplication facility Database update problem arises when mobile units are also allowed to modify the database. each node commit their fragment independently. 2-phase commit (2PC) or 3-phase commit (3PC) is no good because of their generous messaging requirement.  Coordinators commits or aborts MT. Concept: MU and DBSs guarantee to complete the execution of their fragments of a mobile transaction within their predefined timeouts. An efficient commit protocol is necessary. New schemes based on timeout. estimates timeout.  Hard to efficiently support disconnected operations. One possible scheme is ―timeout‖ based protocol. may work. At the end of timeout. especially wireless messages is required.  Hard to manage locking and unlocking operations. To maintain global consistency an efficient database update scheme is necessary. Database update consistency. etc.

The network may be mobile of ad-hoc in which case the scope of business activities significantly increases. Mobile E-commerce What is E-commerce? Mapping of business activity on the network. This allows tremendous flexibility to customers as well as to vendors.g. BS)  Saving log on Zip drive or floppies. Security  Centralized and distributed logging Conventional key approaches needs revision.. Independent recovery capability reduces communication overhead.. which are essential for recovery.. MU)  Logging at a centralized location (e. Mobile Agent Technology Requirements for a mobile E-system A mobile agent is an independent software  Security module capable of  Reliability  Efficient  Migrating to any node on the network  Customer trust  Capable of spawning and eliminating  Quality of service itself  Capable of recording its own history These requirements are difficulty and A mobile agent can be used for the following complex to achieve activities. A Mobile unit may need to carry its log with it for independent Reliability recovery Hard to provide mainly because of the  Log processing for database recovery unreliability and limitations of resources. Possible approaches  Agent broadcast on a dedicated wireless channel  Pool of agents at every processing node  Agent migration to a required node.  Transaction commit or abort Efficient This capability can be easily improved mainly because of the elimination of spatial constraints. at the right location. MUs can recover without any help from DBS  Efficient logging and checkpointing facility conserve battery power  Log duplication facility improves reliability of recovery scheme Possible approaches  Partial recovery capability  Use of mobile agent technology Possible MU logging approaches  Logging at the processing node (e. . Thus. at a designated DBS)  Logging at the place of registration (e. Why mobile E-commerce? To make business activity free from spatial constraints. Important gain: Making information available at the right time.g. and in a right format.  Log carrier.g.

Its movement is random and therefore its geographical location is unpredictable. web. which seamlessly resumes the session using its own set of channels. . This situation makes it necessary to locate the mobile unit and ecord its location to HLR and VLR when a call has to be delivered to it. An integration of mobility. identification of the current geographical location or current point of attachment of a mobile unit which is required by the MSC (Mobile Switching Center) to route the calland (b) handoff. It first explains how these processes work and then discusses their relevance to transaction management in mobile database systems. data warehousing and workflow offers tremendous growth potential and a very controlled way of managing business activities 2. but none of them have been implemented in any commercial system. so they are not discussed. Location Management MDS Query processing Query types  Location dependent query  Location aware query  Location independent query In cellular systems a mobile unit is free to move around within the entire area of coverage. the entire process of the mobility geographical location of the origin of the management component of the cellular query. Quality of service Mobility and web provides ample scope for improving the quality of service.6 Location and Handoff Management The handoff process is provided and the topic of location management is introduced. The working of existing handoff and location mechanisms given in IS-41 is explained. GPS can do this. system is responsible for two tasks: Example What is the distance of Pune railway station from here? The result of this query is correct only for ―here‖. Location dependent query A query whose result depends on the Thus. transferring (handing off) the current (active) communication session to the next base station.that is. every time the answer is different but correct. (a) location managementthat is.5 Query Processing 2. Quite a few location management schemes have been proposed recently. Location dependent query Situation: Person traveling in the car desires to know his progress and continuously asks the same question. Customer do not easily trust electronic communication and always wants to see a reliable backup service. Requirements: Continuous monitoring of the longitude and latitude of the origin of the query.Customer trust A time consuming activity. However. The entire process of location management is a kind of directory management problem where locations are current locations are maintained continuously.

The location management module uses a two-tier scheme for locationrelated tasks. A number of neighboring cells are grouped together to form a location area. then it is neither possible nor necessary for the location manager to find the location. The cost of update and paging increases as cell size decreases. The other related issue is the distribution of HLR to shorten the access path. 151. further adds to the cost. The current point of attachment or location of a subscriber (mobile unit) is expressed in terms of the cell or the base station to which it is presently connected.9. The unrestricted mobility of mobile units presents a complex dynamic environment. which is a common scenario in highly commuting zones. and the paging area is constructed in a similar way.or picocell clusters. In some situations. the current location of the unit is recorded in HLR and VLR databases. When it moves to a different cell in doze or power down modes. A mobile unit can freely move around in (a) active mode. and in power down mode the unit is not functional at all. and (c) paging. recently a number of innovative location management schemes have appeared in the research world [ 141. which is initiated by the mobile unit. Motivated by these issues. and the second tier 4earch is initiated only when the first tier search fails. and in most commercial systems they are usually identical. the location management procedure is invoked to identify the new location. In location update. and it may continue to move within the cell or may encounter a handoff which may interrupt the communication. The location management performs three fundamental tasks: (a) location update. or (c) power down mode. The first tier provides a quick location lookup. A large number of schemes to achieve low cost and infrequent update have been proposed. It is the task of the location manager to find the new location and resume the communication. and the location management component must be able to identify the correct location of a unit without any noticeable delay. (b) location lookup. . In active mode the mobile actively communicates with other subscriber. remote cells may be included in these areas. It is useful to keep the same set of cells for creating location and paging areas. and new schemes continue to emerge as cellular technology advances.One of the main objectives of efficient location management schemes is to minimize the communication overhead due to database updates (mainly HLR) [6. This arrangement reduces location update frequency because location updates are not necessary when a mobile unit moves in the cells of a location area. The mobile units (called and calling subscribers) can continue to talk and move around in their respective cells. These two tasks are initiated by the MSC. Location lookup is basically a database search to obtain the current location of the mobile unit and through paging the system informs the caller the location of the called unit in terms of its current base station. which is similar to data distribution problem in distributed database systems. which becomes quite significant for finer granularity cells such as micro. but as soon as both or any one of the units moves to a different cell. In doze mode a mobile unit does not actively communicate with other subscribers but continues to listen to the base station and monitors the signal levels around it. (b) doze mode. The system creates location areas and paging areas to minimize the cost. The presence of frequent cell crossing.

then it is referred to as intra-system handoff where the same MSC  Transfer of radio link: The identified manages the entire process. If for some reason the process fails to complete in this area or within degradation interval. Cell overlap region. An intersystem channels are allocated to the mobile handoff occurs between two separate unit. registration areas where two MSCs are involved in handoff processing. Figure illustratesthe presence of an overlap region between Cell 1 and Cell 2.Handoff Management This section discuses how a handoff is managed to provide continuous connectivity. registration area. A mobile unit may spends some time in this overlap area and the value of this duration depends upon the movement speed of the mobile unit. This implies that the handoff must not take more than the degradation interval to complete he process. The duration a mobile unit stays in this area is called the degradation interval . processing the system which are applied on GSM system but also . three approaches for detecting handoff effectively and accurately. There are initiated. then the call is dropped.  Assignment of channels: During handoff A brief description of these approaches. A handoff may happen within or outside a identifies new channels to be assigned registration area. If it happens within a for continuous connectivity. Fig. In each of Handoff Detection these cases the handoff processing is completed in three steps: Handoff processing is expensive. The objective is to complete a handoff process while the mobile unit is still in the overlap area. so the detection process must correctly detect a  Handoff detection: The system detects genuine and False Handoff which also when a handoff process needs to be occurs because of signal fading.

In this registration area. They are collaboration with BSs the handoff situation called: is detected. The BS monitors the signal strength used by MUs As discussed in Ref. Figure 3. every mobile unit any of these cases the handoff is terminated continuously measures the signal strength and the mobile unit loses the connection. and in details can be found in Ref. around 0.  Intercell or Inter-BS handoff The link transfer takes place between two BSs Mobile-Controlled Handoff (MCHO): which are connected to the same BSC. In this approach. the BS holding time is around 60 seconds. Figure situation for more than one handoff.1 1 illustrates the scenario.10 illustrates the scenario.13 In this scheme. The MU  Inter-BSC handoff: The link transfer continuously monitors the signal strength takes place between two BSs which are from neighboring base stations and identifies connected to two different BSCs and the if a handoff is necessary. the system is This scheme is implemented in second. In is used. then it 3. Necessary  Mobile-Assisted Handoff (MAHO) resources for setting up a call or to process a  Mobile-Controlled Handoff (MCHO) handoff request may not always be available. Some initiates a handoff. the link generation systems where TDMA technology transfer suffered some problem. Radio Link Transfer The strength of these signals are analyzed. is presented here and further signal strength occasionally. and a handoff is initiated when the strength The last phase of handoff is the transfer of of a neighboring base station exceeds the the radio link.  Network-Controlled Handoff (NCHO) For example. In case the  Intracell handoff Link or channel Mobile Unit (MU) moves to a different transfer occurs for only one BS. The hierarchical structure of strength of the serving base station. and so on. Mobile Unit (MU) does not illustrates the situation. an intersystem handoff is handoff a MU only switches channel. selects the base station with strongest signal  Intersystem or Inter-MSC handoff The for initiating a handoff.used in PCS. In this scheme the Mobile Unit (MU) is Figure 3. the MU is highly mobile and has Mobile-Assisted Handoff (MAHO): requested too many handoffs.taking too long to process a handoff. Figure 3. initiated. These two BSCs are connected to Network-Controlled Handoff (NCHO): two different MSCs. from surrounding base stations and notifies the strength data to the serving base station. The cellular system (PCS and GSM) presents the handoff decision is made jointly by base following five-link transfer cases for which station and Mobile Switching Center (MSC) handoff has to be processed. or base station controller (BSC).12 illustrates the scenario. typical call and if it falls below a threshold value. 0. [ 101. play any role in handoff detection. [lo]. The MAHO scheme shares some detection steps of NCHO.1 inter-BSC In fact the MSC instructs BSs to monitor the . responsible for detecting a handoff. link transfer takes place between two BSs which are connected to two different BSCs.5 inter-BS handoff. If it finds the BSC is connected to one MSC. In this scheme also BS real-life data indicates that there could be and MSC are involved in handoff detection. during a handoff the destination BS may not have any free channel.

11 Channel transfer between two BSs with one BSC.10 Channel transfer in intracell handoff. . 3.Fig. 3. Fig.

It is quite obvious that efficient processing of handoff is quite important for minimizing the call waiting time. and so MU returns to the old channel it was 1. The MS sends a ―handoff request message― to the network through the new BS. One way is referred to as Hard Handofland the other as Soft Handoff. This message indicates the initiation of the handoff process. . This acknowledgment message indicates is described below. The data also indicate that the failure rate of inter-MSC handoff is about five times more than inter-BS handoff.05 inter-MSC handoff.handoff. There are two ways to achieve link transfer. 3. Hard Handoff: In this handoff process the user experiences a brief silence or discontinuity in communication which occurs because at any time the MU is attached to only one BS and when the link is transfer the connection is broken temporarily resulting in a silence. The steps of the handoff for MCHO link transfer 3. MS sends a ―link suspend‖ message to the using and resumes voice communication old BS which temporarily suspends the while network process the handoff. and 0. The new BS then sends a ―handoff acknowledgement― message and marks the slot busy. Fig. conversation (occurrence of silence).72 Channel transfer between two BSs connected to two BSCs. to MU that the handoff process has started. 2.

4. When the new BS receives the handoff In the later case. In this rocess the voice communication is briefly interrupted again. 3. In the former channel. . the MS processes the handoff where it releases the old channel by sending an ―access release‖ message to the old BS. It gets the cypher key from (a) It is an intra-BS handoff or the old BS and associates it with the new (b) it is an inter-BS handoff. case the BS sends a handoff acknowledgment message and proceeds with 6. 6. since it is between two request message. the BS must complete some security check.13 Channel transfer between two BSs with two BSCs connected to two MSCs. The MSC bridges the conversation path handoff. Fig. then two cases arise: different BSCs. The MU sends a ―handoff complete‖ message through the new channel and resumes the voice communication. A detailed discussion on hard handoff for other kinds of link transfer. On the command of the network. and the new BS.

surrogates. The users are passive in that they can only read what is contained in a broadcast. This is an ideal scenario. For example. Initially. discussed in preceding chapters. information about airline schedule. it is not general enough for many different types of applications. This chapter discusses data dissemination technology and development of schemes such as indexing. The data dissemination discipline gives an illusion that the space is an infinite size persistent data storage from where a user can download desired information. While this model fits well into some types of data dissemination (such as local traffic information). it is becoming an information management system as well.2. and so on. Thus. has added another dimension in the area of mobile computing. wireless channels are always less than the number required to satisfy users’ demands. the task of data dissemination technology is to develop ways for satisfying users’ data demand with limited wireless resources. The discipline of data dissemination through wireless channel. but with advances in wireless and satellite communication. The discussion in this chapter is based mostly on research reports because a truly data broadcast system has not been developed and deployed for commercial use. Some examples can help to identify its usefulness and limitations. push and pull. Manufacturers continue to develop increasingly powerful mobile devices while decreasing their size and cost. then servers can continue to push all data users can ever need on these channels and users can pull whatever they require. data broadcast. weather. data staging. Accessing data from wireless channel is a very useful facility because it allows users to get desired data through many computationally enabled devices such as cellular phones. It also discusses in detail the architecture and working of a reference data dissemination and processing system called DAYS (DAta in your Space).6 Wireless Information Broadcast mobility in information management. stock quotes. for incorporating transactional facility. provided terminal and personal . data dissemination system appeared as an information dissemination tool similar to radio broadcast. etc. can be downloaded from the broadcast.. other new devices. In reality. and the wireless data dissemination took mobile systems one step further and allowed the user to tune and access and process desired information from anywhere in the world. The mobile database systems. Data broadcast is predominately userindependent. PDAs. that is. If it is assumed that there is an abundance of wireless channels.

7 hours and to preserve battery power. A typical AA cell is rated to give 800 mA/hour at I . The Hobbit chip from AT&T allows the operation in two modes: (a) active mode – the full operational mode where CPU and all other components are in running state and (b) doze mode . it will be beneficial if the CPU can be switched to the doze mode . the CPU must be in the active mode for examining data buckets in the broadcast. The ratio of power consumption in the active mode to doze mode is 5000. The CPU consumes more power than some receivers. and the power dissipation for display is around 2. These modes are motivated mainly by limited power consideration. that is. Therefore.2 V (0.the power conserving mode where the CPU is inactive. There are two basic modes of data dissemination.5 W. especially if it has to be active to examine all incoming buckets.Data Broadcast Mode The mode of data transfer is essentially asymmetric. The lifetime of a battery is expected to increase only 20% over the next 10 years 1221. When the mobile unit (palmtop) is listening to the channel. The available power source is likely to last for 2. The effectiveness of a data dissemination system is evaluated by its ability to provide a user his required data ubiquitously.96 Whour). the capacity of the transfer of data from the server to the mobile client downstream communication is significantly larger than the client or mobile user to the server upstream communication. and the power consumption in doze mode is 50 pW. these activities must be disabled whenever possible. The constant power dissipation in a CDROM (for disk spinning itself) is about 1 W. The power consumption in the active mode is 250 mW.

the height and kind of trees. On-Demand Mode: This mode allows a client to request specific data which is not available in the current broadcast or may never appear in the broadcast. transmission could reach tens of watts. play an important role in determining the power required in data dissemination. . In day-today activities. Simple filtering of broadcast data stream according to a user specified filter [6] is applied to access data. A user assumes that the desired information is available in the wireless space. Data broadcast can be managed with three different modes to satisfy user needs. purchasing a ticket for a particular destination. broadcast and on-demand modes are combined.2 kbps for slow paging channels to about 2 Mbps of the wireless LAN. Pull Process Pull process is user (client)-oriented. Transmitting and accessing data also consumes power. if necessary.whenever it is not being used and switched back to active mode when the data of interest arrives on the broadcast channel.7 W with the receiver powered on and 3. There is no uplink channel involved in this mode. renting a movie with a particular title. The server is not concern with the individual user’s access. download the required data. With distance the power requirement increases significantly 1261. This bandwidth is projected to go up to gigabits [20]. This facility is called selective tuning. It also. A number of factors like the terrain.. Broadcast Mode: In this mode the broadcast server periodically broadcast most popular data on some wireless channels from which users can listen and. For large cells the energy required for Hybrid Mode: In this mode. Using an e-mail facility may appear to follow pull process. and so on. a user keys in a URL on the web browser and pulls the desired information. It is also clear that what a user intends to pull may or may not be present in the pulled information. An intelligent pull technique such as a semantic web has yet to be fully developed. It is clear from these examples that in pull the user initiates a conditional information flow where the condition is defined by the user with an understanding that the condition is likely to be satisfied-for example. The current ATM (Asynchronous Transfer Mode) standards are designed to yield a bandwidth of up to 622 Mbps. These modes are further elaborated later in this chapter as Push and Pull technology. rather they are dropped in the user’s space without his knowledge and they just appear on his e-mail directory. The wireless bandwidth varies from 1. and he pulls it by tuning the channel. landscape. season. pulling information from Google with some condition brings quite a lot of trash along with the desired information. etc.4 W with the transmitter powered on. For example. renting a movie or music CD. The client sends the query for the required data through an uplink channel. It is also immaterial whether the user finds the desired data or encounters an error or delay occurs in downloading the data. For example. For example. rain. and so on. but actually it is not so. A recipient of an e-mail does not select the e-mails he receives. foliage. a Wavelan card consumes 1. some as spam but some quite useful. broadcasts on-demand data if its popularity matches the popularity of broadcast data. The effective bandwidth of wireless network is only a fraction of the bandwidth that is available in wired networks. pull process is frequently applied: borrowing a book from a library. The server allows individual data requests from clients through uplink channel and allows data broadcast through downlink channel. buying an airline ticket. if necessary.

Disadvantages of Pull: In wireless data dissemination platform. most of the commercials on broadcast media such as television. real state costs and inflation status. A user requires a separate channel to send the request as a SQL query or in some other form to the server for the desired information. If there are a large number of users and they need identical information. then each user will occupy two channels with identical data on all back channels. The main objective of push technology was to handle the problem of information overload due to low bandwidth which restricted users to receive multimedia contents. etc. The push technology can be augmented with a number of mechanisms to increase its scope and effectiveness. the pull approach is resource-intensive. the smart-pull approach can assist users to get specific information. In fact. In a push system a client cannot send a specific query to the server. Thus every pull needs two channels for completing the process successfully. or short video clips. data staging can be augmented to enhance data availability. are pushbased. etc. The client tuned The push technology has been deployed for sometime in many real-world activities such as in the financial world to broadcast stock quotes. For example. and so on. Sometimes it is also called PointCusting to honor the company which invented it. and so on. The push technology was introduced somewhere around April 1996 by an internet company called PointCast Inc. it can push weather information on one channel. news. Nearly all software manufacturers use push to broadcast application and system updates and fixes to clients’ machines. Companies are at a great advantage for making use of the push technology which allows them to make instant changes in the . The user does not need to search in the wireless information space by tuning several channels. the server broadcasts data (pushes data) on one or multiple channels. For example. large graphics. It appears from these limitations that pull is good for special cases of data retrieval. after receiving the request. The server. Developers and researchers found the push scheme quite useful. composes the result and must send it to the user on a back channel (downstream) known to the user. mutual funds costs. The push scheme provided an effective means to pre-deliver much larger packages of audio.. radio. personalization of channel contents can help to satisfy specific user. This cannot be easily afforded because of narrow bandwidth available for wireless communication. it was deployed on the internet in many ways such as webcasting or netcasting. The company started push scheme by broadcasting selected news and stock quotes to a client’s machine at predefined intervals [ 141. Clients. tune the appropriate channel. depending upon their data requirements. nor is the server broadcast client-specific. traffic information on another channel. since then. These topics are discussed in detail in subsequent sections. message indexing can be implemented to speed up broadcast search. cable television broadcast. Push Application In the push process. Many companies use this technology for advertisement. This was the beginning of an effective way of reaching a larger number of customers.Advantages of Pull: It is user-friendly and provides interactive capability to users for accessing the information through query. Push Process and downloaded information at these intervals. caching can be used to reduce data miss.

. It is impossible to implement eliminate the shipping cost. products like AirMedia Live and Wayfarer (INCISA). It guarantees identical message delivery. Companies can push on their intranet corporate information to employees using a predefined schedule. Advantages one at a time. The push technology applies to entertainment and leisure equally effectively. This can be viewed as a string  In a large information flow it minimizes of different categories of data. even though push applications are not really push. but the access time can be requires a mechanism to check clients’ . bandwidth viewpoint. Data are dropped in the channel. The server if the broadcast is composed of weather can keep the information up to date by information. A user is aware of the were dropped in the channel. which depends upon how the broadcast was composed and pushed on the channel by the server. the user always has the the broadcast sequentially in the order they latest information. At the client’s end the Fimplest way to access the information is sequentially. The difference is the automation of the process both for the server and the client. which is highly desirable. It is not now necessary for them to rely on a human operator to search a site for outdated material. An ideal scheme is to tune when the desired information appears  Automatically delivers directly to clients’ (e. The client will broadcast channel carrying the receive the broadcast in the order sent by the information and the exact location of the server. In  Sends the user the time-critical data for most cases this access is time consuming. traffic information. focus. any waiting-let alone reach those users with precision who are waiting for information to appear-is quite more likely to benefit from their products resource-expensive. Accessing Information from Broadcast significantly minimized through efficient indexing and carefully composing the broadcast. especially from a or services. places information. has to tune and wait until the  Helps organizations (academic. the burden of acquiring data. at the same time. dining information appears in the broadcast. There are a couple of true push technology applications-for example.broadcast or refresh it entirely based on users’ feedback to increase their effect on consumers. reduce or access is zero. For example. In a channel the push is strictly sequential. However. Such arrangements actually create a notion of smart-pull where client can pull exactly the information he wanted with minimum redundancy. Clients can access and download required information in a variety of ways. and dining broadcasting it on a regular interval. especially for providing transactional facility. business. to all employees. several disadvantages which makes it unsuitable. This setup significantly reduces the search time. there is a difference in them. however. if interested only i n dining information. or commercial) to identify. the waiting time for information faster and. that is. It has. then they will appear on consequently. client. selective tuning) and download the machines software upgrades and fixes data.g. The push technology is especially useful in the intranet market. A immediate attention. data in the broadcast. and In a wireless platform. This facility the ideal scheme. Push Advantages and Disadvantages Push technology has been a favorite choice of data dissemination because of its several advantages.

while it is useful event.  In multiple push a user can get frequent interruption. Static pages can be viewed by any browser on any operating system.machines for software and configuration and then modify these configurations. to name a few. however. Although users get the information. some urgent message can Disadvantages appear to notify user of some serious The push technology.  It requires more powerful hardware and specialized software to provide push service. Caching handle numerous client requests proxy servers. Marimba. For example.  The push scheme is still not that useful for individual users. develop application software with minimum portability and scalability. Its usefulness is describing required information needs. bandwidth problems. Competition to dominate the information space in this technology is growing fast and vendors are unable to develop software compatible to all systems. Berkeley Systems. will likely solve many of the bandwidth problems of push and  Shortens response time. Some preplanned because they may occur important ones are given below. for example. Problems arise due to the enormous bandwidth that push  Helps server to reserve more processing technologies can require when feeding time for data production by avoiding to data to thousands of end users. information about the client’s behavior are stored on the client’s computer. still confined to organizations that have a good customer base. Many vendorsAir Media. so users can schedule it for applications run mostly at the client times that they will be away from their machine and client’s profile and the log computer.  Satisfies a large client base using few resources. multicast solutions. The Identifying the location of the desired information in the broadcast and downloading the multimedia contents require a huge amount of disk storage. during a song broadcast. Some providers allow users to choose when the information is  Easily protects user privacy because push downloaded. has a number of interruption. randomly. Pointcast. the  Enables intelligent information filtering emergence of music P2P systems has based on personalized user profiles made it quite popular. allow it to scale. . in a number of situations and does conserve they may have to live with constant resources and energy. as well as individually. Such interruptions cannot be limitations and disadvantages [ 141.  Push system software may suffer with incompatibility problem. Alpha Microsystems. but the push system requires specific tools and applications. IntraExpress.  Uses incremental updates where only new and changed information has to be sent to the computer which significantly reduces  It suffers a number of unresolved access and download time.  Push applications are complex. and the development cost (time and resource) are generally high compared to creating static pages.

For example. Microsoft is pushing content providers have control over the the Extensible Markup Language (XML)content. Microsoft and Netscape each have external server. A proprietary client is Communications Corp. except they are actually infrastructure to deploy content delivery systems. are the two leading supplied. It is expensive to  There is no reliable solution to achieve implement. and Microsoft Corp. highly needed. but they guarantee timely secured broadcast. PointCast Business us to establish an anonymous relationship Network-gather and format the contents between the vendor and the subscriber. such categories : as Pointcast or the server delivers content using e-mail. No conjunction with their latest browsers. the push vendor directs feedback Marimba Inc. defining push updates. One of the main reasons is that users’ information needs are constant to some degree only. This becomes more expensive with number of users. TIBCO and Wayfarer (1NCISA)-offer the advantage of multicasting. ―client agent‖ to retrieve the information from the web.  Real-time data transfer: The products of this category-for example. which was  Web Server Extension Model: In this invented by Apple Computer. The proprietary client is required. and Netscape development tools. Both users and in the push technology. and the applications may use a competitors proprietary protocol.  Push information delivery models can be  Standards are currently lacking in this categorized at least into three main area (competing de facto industry categories : standards are pushed by companies) .  Creating and maintaining user profiles is time-consuming. a server. model. in a consistent wrapper and push it to users’ workstations. such as ChannelManager  Application Distributor: The products and InfoBeat. .  Push Server Model: It is the most common Push Server Model which Market for Push Technology provides a client.push technology is not good for the typical knowledge worker who mines information from a variety of sources and then draws conclusions by digesting that information [ 141. BackWeb-are similar to content aggregators. These run push market can be divided into four basic within the user’s installed browser. so that information can be created their own push clients for use in retained by the push vendor. Security safeguards are delivery of information possible. Some examples of this model are based Channel Definition Format (CDF) for BackWeb and Marimba’s Castanet. has begun cooperation with and demographic information to an Netscape. Each agent is designed to  Content aggregator: The products of this provide different search results and allows category-for example. of this category such as Marimba’s Castanet provide automatic delivery of  Client Agent Model: This model uses a application software to end users.  Platform provider: The products of this category-for example. Netscape is using the Meta-Content Format (MCF).

3 A simple broadcast disk setup.The user is responsible for deployment and the search type extensibility. . stock quotes. Users tune to these disks (channels) and download their desired data . Bandwidth Allocation The way a set of information is arranged and pushed on to the broadcast channels is called schedule. This arrangement can be compared with radio broadcast where different programs are transmitted over different stations (frequencies). In a similar manner. a set of different types of information such as weather. In an ideal schedule the latency time and tuning time are minimum. BROADCAST DISK In this section a novel broadcast scheme called broadcast disk is discussed. and so on. This approach created the notion of multiple disks spinning at different speeds on a single broadcast channel to create an effect of a fine grained storage hierarchy. B. If the broadcast station has a number of channels with different capacity. The relative speed of these disk3 in the air (airdisks) significantly affects the broadcast configuration. Fig. 9. The oval represents a broadcast disk (channel) which if accessed (tuned) by a few mobile devices. The speed can be tweaked to satisfy a variety of information needs of users. The broadcast station has a channel on which it continuously broadcasts (pushes) data items A. traffic.3 illustrates a simple broadcast set up using broadcast disk approach. Latency Figure 9. airline schedule. C and D in that order. then each channel can be used ac a differentsize disk. The broadcast data on a faster disk are pushed (repeated) more frequently than the dataon slower disks channel). The main idea of this scheme is to efficiently use the available bandwidth to push data to a majority of users. can be transmitted on different speed channels. news flashes.

T5).TL)+ (TI. Tuning Time: It is the total time required to tune to the channel which is broadcasting the desired data. This time becomes important especially in interactive applications such as video games which require fast scan. In some client population.T4) + (Ts . and so on. geographical information may be highly important and accessed most frequently while some population may frequently access stock quotes. . This time becomes important for fast changing data such as stock quotes. that is.TI ) + (T4 ~ Tj) + (TG . Client information requirement is highly random. This is quite difficult because there is a trade-off between these two times. If DM > 7T then the tuning time saves energy and the saving will be highest only if the client has accurate information about the tuning time for accessing data.4 illustrates access and tuning time. on the other hand. The access time depends on broadcast size.2'0). then the actual tuning time will be 7T = (T7 . Tn selective tuning the mobile unit will be in doze mode (DM) for (TL. selective tuning requires extra information to be appended to the broadcast data which increases the size of the broadcast. The broadcast program can be addressed in terms of bandwidth allocation. therefore.Ts)+ (Ts .Time: Similar to conventional disk access. The client must be able to quickly tune to the right channel to get the data. If the client listens continuously from the time the query was submitted and until the response is received. Access Time: Another parameter which is called access time is the total time to download the desired data from the broadcast channel to a client's local storage. Unfortunately. A client submits a request at To and receives the desired response at time T7. Different samples of client populations may have orthogonal data requirements. The task. is to find optimal points in the 2D space of access and tuning times. the client slips into doze mode intermittently. and the tuning time depends on the identification of exact data location in the broadcast which is achieved through selective tuning. tunes selectively (selective tuning). then the access and tuning times can be expressed as AT = TT = (T7 ~ To). An efficient bandwidth allocation scheme is directly linked with data popularity among the client population. must balance this trade-off. This increase in size affects access time. An efficient broadcast scheme. therefore. an increase in length of the broadcast can lead to an unacceptably long access time for the user. In the push approach. it is the total time for (a) a client request to arrive at the server and (b) the time when the desired data is available in the broadcast channel. If. Figure 9.

Thus. Data Access Frequency The aim of the broadcast server is to achieve the highest hit rate for every type of data it pushes. stock. The access frequency identification can be done in many ways. D2. to develop an optimal schedule for all situations. which makes it very hard. and broadcast composition an efficient schedule can be created. These components are discussed in detail below. The difference between schedule (a) and (b) is quite obvious. It may provide yellow pages services. where users initiate all kinds of transactions. data item D1 is treated as more frequently accessed than other items on the broadcast. The benefit of a particular broadcast (b) broadcast schedules. Schedule (b) is a skewed broadcast where data item D1 appears twice one after another followed by D2 and D3.5 presents three broadcast samples [4]. Schedule (a) is a flat schedule where data items set D1. So far a data broadcast has been seen as a push-based system while a mobile database has been seen as pull-based. The future broadcast systems are likely to be used as a large data warehouse storing (pushing) a large amount of data on all topics. the relationship among data popularity. etc. and so on. broadcast indexing. if not impossible. This makes it necessary that the server must first identify a high demand set of data. client samples. and D3 continuously appear in the broadcast. for example. dictionary. and broadcast them. A new generation of data management system is thus capable of disseminating data for universal access and at the same time efficiently process all types of transactions with full database support as we are used to. This will require not only efficient broadcast schedules but also a faster way to reduce the search space of requested data. arrange them in a specific order considering the size of broadcast channel. In (b). traffic. The trend now is to integrate both facilities into one infrastructure. (b) reaching active . with the help of popularity computation. entertainment. by (a) monitoring current access pattern by some means. encyclopedia. and schedule can be understood by thcir expected (c) data access from the broadcast. However. Figure 9. and geographical domain becomes very complex. Schedule (c) is a regular broadcast where the interarrival time of each page is the same. access delay. BROADCAST INFRASTRUCTURE The usefulness of data dissemination system lies in its ability to broadcast a huge amount of data on a number of topics such as weather. The main components of such a system are (a) data access frequency.

and a corresponding decrement of 1 is performed on the value of PFn at time (Th + RL). as is the database to support their requests. This reflects the anticipated departure of the client whose request caused the 7th increment. PT. Let the timestamp of the ith increment to PFD be denoted by Th. (c) user movement. It can be denoted as PFS or just PFn. (c) studying the market trends. The surrogate is connected to the file server with a high-speed wired network. The popularity of D goes down after its RL value. It is only a single wireless hop away from the mobile unit and connected by wireless technologies such as 802. The server also records the corresponding time. In the dynamic approach the data requirements will be identified using (a) Residence latency (RL) and Expected Departure Time (EDT) [8]. and the surrogate where data is to be staged. RL and EDT: When the server decides to include an item in its broadcast. Data Staging with Surrogates Staging data in a surrogate allows users to extend their limited caching capacity. the file server in the base station (broadcast tower). one way to implement them is through an abstract data type-for example. it also needs to decide the length of time the item will remain in its broadcast set. and it can be computed a priori based on the advanced knowledge of user movement patterns and cell geography. (b) Popularity Factor (PF) and Ignore Factor (IF). The RL value for a specific data set is the average length of time a mobile user resides in a cell. The client proxy continuously monitors the data access operation of the mobile user. In reality the client population is very large. it is able to store the information of the user access pattern without using much cache area. PF: Popularity factor of a data set D at time T identifies the number of clients in the cell at time T who are interested in D.1 1. a PF queue with these operations. All these approaches essentially identify the access probability. To identify the esidency duration of a data item an RL value is associated with each data set. static and dynamic approaches can be used. This is done by borrowing storage space from the surrogate and by joint operation of the client proxy of the mobile user.clients to look at their data access history. the proxy generates a periodic routine which contains the information about what the mobile user is most likely to access at any time. and T . A data item’s EDT from a broadcast can be computed by adding the item’s entry into the broadcast and data’s RL. . The routine contains the control information about the pushed data which is requested and the information about a particular pulled data which has been frequently accessed by the user. The server will continue to broadcast the static data set for the defined period. Thus. Based on the information stored in the log file. The control information it stores is for the broadcast and pages which are pulled by the user. and so on. the power consumption of the mobile unit does not increase. One way to maintain PF of a data item at the rerver in a cell is to increment it by 1 when a client requests D. Since the increment and decrement are frequently invoked operations. The proxy continuously maintains and upgrades this routine. Since it is working internally and does not need to log on to the wirelesq channel continuously. For achieving the highest data hit rate and highest channel utilization. In the static approach a user notifies the broadcast server regarding its present and future data pull and approximate duration for their use. It maintains a log file into which it stores the three types of control information of each page: BT. and (d) channel tunability.

Let size of the data pages = M kbytes. Figure 9. The overall aim of data staging is to allow the user to access data at a minimum latency. total number of broadcasts in a day is 24 x 601n.1 1 and to the file server with a high speed wired network. for the user to access a data. but it is fixed for this calculation). we calculate a time bound. Since the public data is staged in the machine. the index should be broadcasted after every (B/M) x:l.28 shows accesses of data from the surrogates by a mobile user. on an average. The client proxy present in the mobile user has a periodic routine which contain information about the data the user is most likely to access at any point of time. Total time taken for a broadcast is N/(B/M) = ( ( N x M ) / B ) . . Figure 9. So. It consists of a surrogate. The channel bandwidth for broadcast is B kbps. 9. and thus the overall latency time can be reduced. So. which is connected to the mobile user by wireless technologies such as 802. Let time required for a broadcast = n minutes. we believe that proper handling of data storage in a surrogate can significantly increase the efficiency of data access. the number of pages broadcast per second = B / M pages. The user sends the periodic routine to the surrogate. For this.27 shows the data staging architecture.27 Data staging in DAYS. the surrogate allows the user to use a certain amount of space for staging data. the average wait for any page in the broadcast is ((N x M)l(2 x B)).Fig. Based on the amount of storage available. There is a time bound for accessing the index which is interleaved in the broadcast so that the user does not have to wait for the entire broadcast to access the index. Tbound. Thus. where n: << ( N x M)IB is total time for each broadcast. Let the size of an index page be I kbytes where I << M . Thus. Thus. It may send it periodically or at the time the user requests a data. Let the time bound for getting the index be Ttndcz = 5. the user has to wait for Tindez/2 units of time to receive the index. Let approximate number of pages in a broadcast be N ( N may vary. The time of dispatch of the periodic routine is arbitrary. number of pages by the base station.

and restrictions detailed. Scarce mobile resources make covered in four parts of the mobile context: insecure communication necessary to replicate used data and increase the risk of  human factors. In Lubinski. The mobile user accesses data that are also accessed by other users or itself on different locations and devices. The or demand new ones. size) them. MOBILE DATABASE SECURITY Mobile work using mobile devices and wireless links comprehends a row of problems concerning security issues like availability. This meta-information is models. Determined tasks are viewpoint to well known security measures.e. equipment Mobile work is context-sensitive work and tools) with contexts describing environmental  information. other restricting or dismissing security measures. i. Applications and required data are the reason for various di culties in securing location dependent. Context information comprehends further . hard. we summarize the like frequent disconnections make a mobile main mobile circumstances causing various work with database systems di cult. In this section. applicable on special whereabouts.available mobile resources. New risks and challenges for security and privacy occur in this environment. respectively. Supporting mobile work involves providing access to interesting data at the appropriate location. but their access must be mobile work and for requiring a new location transparent. Mobile work including mobile database access makes ubiquitous computing. Mobile devices like handhelds connected via wireless networks support mobile users. costs and duration of connections. anywhere and anytime possible.For this purpose we require di erent information regarding the current infrastructure.1 MOBILE CONDITIONS time). which people and objects in the environment stay. connectivity.and software (mobile site and network characteristics. their tasks. This is threats. 1998]. and mobile environment are described more especially their dynamics. The goal is the protection of mobile users and their data. con dentiality. integrity and accountability. time and device. preferences. especially in connection with position searching tools. the special problems of database systems in such a These mobile circumstances. knowledge and skills. where and when the data are used based on user aims.3. Security measures must take into The mobile context includes mobile account the distribution of data and their work and communication attending metadata heterogeneous handling regarding to security to support users. mobile infrastructure restricts the available volume and type of data and the data transfer. roles. application characteristics characteristics and the relationships between (like type. and bandwidths. These requirements occur for network components as well as database systems. Mobile work is characterized by infrequent and temporary short connections to the fixed network (low connectivity) and by a variety of access types (register and query data). persons  location (and changing location in 3. The mobility requires suitable hardware and software.

addresses of messages. Metadata include 1999]. Profiles of communicating users are simply keys. The body of the table illustrates the special problems. respectively. Attacks and security for mobile components need at least receiver and sender communication are described in[ Federrath. items and actions to be protected and characterize them in a short manner. for the particular combinations of actions and items appearing in the special mobile environments. accesses and transfer to protection objects data and metadata.and integrity rules. Database systems manage object types. 3. we must take into account mobile systems are characterized by very protection of the main action types mobile hardware. threats or desired security characteristics.E. management. the distribution and heterogeneity leads to typical distributed security problems including data exchange between systems Assuming distributed and/or replicated with differing models and aims.g. Transfer creatable. are predestinated to be eavesdropped on.. We focus in this paper database related Data and metadata are the items which must mobile security issues and ignore be protected.2 PROTECTION OBJECTS AND ACTIONS . a protection items gets the following table. consists in three main tasks to keep mobile work secure (see also[ Lubinski. databases. Wireless links Metadata are used on di erent levels. The thread of lost confidence by loss of devices is often underrated.whereas metadata are communication security. 1998]). The horizontal and vertical separation of first row and column shows the possible metadata and an adaptation of security. necessarily mobile context data and security relevant information like security policies. Our approach additionally used for their protection. the Combining possible actions with restriction of database transparencies. Moreover.

undesired information flow between different system layers outside the controlled area. Inner-database-communication Because of the opportunity to misuse context information. too. sensitive aggregation of user identifying data  Adapt security: and other contexts must be avoided. It allows only a view to a (role dependent) section or a facet of mobility patterns and behaviour. . Additionally. But the separation. a useful protection lies has to be unobservable by intruders in separation or anonymization of it. A powerful access control realize this type of There are a few papers which focus separation. However. Restrict transparencies: Database transparencies like distribution and replication transparency is soften to allow user's participation. users. The essential criterion in mobile environments is accessed and as a rule location dependent their dynamics due to possibly very dynamic data gives information to the whereabout of mobile contexts. audit data should be anonymized or pseudonymized.  Separate metadata: Vertical separation supports confidentiality requirements by protecting users from tracing their movement. every Horizontal separation represents a transparency must be remain controlled by layered view and constitutes a prevention of the system to avoid insecure system states. Separated physical context security in heterogeneous database systems management improves the acces control. vertical and horizontal. meeting requirements of integration and We distinguish two kinds of data access to data of various policies. This requirement concerns transparent security management and control. The (encrypted) as well as by underlying services.

open bank account. it has a number of easy and difficult problems and they must be solved before MDS can be built. provides a cheaper way to get connected and in some cases this is the only way to reach people. etc. This is what the wireless technology driving us to.A flexible adaptation to the changing 4. However. It approach but assure a minimal security. We enforce a resource aware commonly used communication platform. workflow systems. This tutorial discussed some of these problems and identified a number of possible approaches. E-commerce. attend lectures. . Customer can surf the information space from any location at any time and do their shopping. fully mobile so that any service can be provided from any place. and so on. such as web. The emerging trend is to make all service providing disciplines.. Conclusions environment characteristics decides about suitable choice of applicable security Wireless network is becoming a mechanisms. make flight reservation.

13. A Mobile Transaction Model That Captures Both the Data and Movement Behavior. T. 3. H. S. Sep. Pitoura. Of the 22nd VLDB Conference. E. Proc.. Franklin. Barbara. Int. ACM SIGMOD Conf. and Balakrishnan. 6. 2000. in IEEE Workshop on Advances in Parallel and Distributed Systems. Mobile Computing. Prentice Hall. Broadcast Disks: Data management for Asymmetric Communication Environments. Johnsson. on management of Data.Shaul Dar. Proc. 4. Mumbai. Minneapolis. Dunham.Vijay Kumar. B. 11. B. E. No. Proc. Transaction Processing in Mobile Computing Environment. 14.. Pitoura and G.. Bjorn T. ―Timeout-based Mobile Transaction Commit Protocol‖. and Michael Tan. and Imielinski. M. 9. K.E. 10... 4. and Bhargava. DC. ―Electronic Commerce: A Managerial Perspective‖. 1998. Kluwer Academic Publishers. May. 5.5. Samaras.. Dhawan. ACM SIGMOD Conf. ACM SIGMOD International Conf. C. el.. and Bhargava. Forman. Alonso. conf. P.L. R. San Jose. ACM/Baltzer Journal on Special Topics in Mobile Networks and Applications. Proc. 1994. 8. S. Turban. The Challenges of Mobile Computing. 1995. H. April 1994. October 1993. India. D. R. 1994. 2. 1995. H.. Sleepers and Workaholics: Caching Strategies in Mobile Environments. Michael Franklin.. Vol. Helal. Proceedings of 15th International Conference on Distributed Computing Systems. McGraw-Hill. No. 7. J. 2000. Alonso. Artech House. Building Information Systems for Mobile Environments. M. Pitoura. 12... IEEE Computers. at. 1997. May 1993. 3rd. 5-8.. Database Systems Issues in Nomadic Computing. May.E. and Zdonik. Divesh Srivastava. 1998. A. Acharya. Prague. Washington. Chrysanthis. REFERENCES 1. S. . 2000 ADBIS-DASFAA Symposium on Advances in Databases and Information Systems... ―Secure Electronic Transactions‖. on Information and Knowledge Management. and Korth. Maintaining Consistency of Data in Mobile Distributed Environments.. 27. Loeb. ―Semantic Data Caching and Replacement‖. Proc. George and Zahorjan. 1996. ―Data Management for Mobile Computing‖. 1997.

(CSE) Mr Arun Kumar HOD (CSE Dept.) . Pro.Approved by (Signature): Guide : Mr Ajay Prasad Asst.

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.