Data Management, Transaction Models and Enabling Technology for Mobile Commerce
This presentation is the property of its rightful owner.
Sponsored Links
1 / 50

Data Management, Transaction Models and Enabling Technology for Mobile Commerce PowerPoint PPT Presentation


  • 60 Views
  • Uploaded on
  • Presentation posted in: General

Data Management, Transaction Models and Enabling Technology for Mobile Commerce. In this discussion… Introduction Enabling Technology Data Management Transaction Models Query Processing Recovery. Introduction. E-commerce applications run on fixed, reliable networks.

Download Presentation

Data Management, Transaction Models and Enabling Technology for Mobile Commerce

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Data management transaction models and enabling technology for mobile commerce

Data Management, Transaction Models and Enabling Technology for Mobile Commerce


Data management transaction models and enabling technology for mobile commerce

  • In this discussion…

  • Introduction

  • Enabling Technology

  • Data Management

  • Transaction Models

  • Query Processing

  • Recovery


Data management transaction models and enabling technology for mobile commerce

  • Introduction

  • E-commerce applications run on fixed, reliable networks.

  • M-commerce combines two independent technologies: wireless telecommunication and digital communication.

  • M-commerce applications work on unreliable wireless networks and involve end users applications, mobile devices, middleware.

  • M-commerce applications include financial applications, advertising, inventory management, product locating and shopping, mobile auction services etc.

  • In this session we discuss issues of data management, transaction management, query processing and recovery in mobile commerce applications


Data management transaction models and enabling technology for mobile commerce

  • 2. Enabling Technology (WAP & GPRS)

  • Wireless Application Protocol (WAP):

  • WAP model provides architecture to develop and run applications on mobile devices. WAP content and applications are specified in a set of well-known formats. Content is transported using a set of communication protocols for wireless environment.

  • WAP defines a set of standard components.

  • Standard naming model for locating resources

  • Content typing for processing different types of data.

  • Standard content formats and

  • Standard communication protocol


Data management transaction models and enabling technology for mobile commerce

The WAP Architectureprovides a scalable and extensible environment for application development for mobile devices in wireless environment. Each layer of the architecture is accessible by the layers above, as well as by other applications and services

Fig 1: WAP Architecture


Data management transaction models and enabling technology for mobile commerce

Wireless Application Environment (WAE):

Provides interface to build and run applications of wireless environment

Wireless Session Protocol (WSP):

Offers both connectionless and connection oriented services and Responsible for long-lived session state, sessions suspend and resume with session migration, reliable and unreliable data push.

Wireless Transaction Protocol (WTP):

Provides unreliable and reliable one-way and two-way requests and transactions, asynchronous transactions and data unit concatenation.


Data management transaction models and enabling technology for mobile commerce

Wireless Transport Layer Security (WTLS):

Provides data integrity, privacy, authentication and protection to the upper layers.

Wireless Datagram Protocol (WDP):

Operates above the bearer services supported by the different networks and offers a consistent service to the upper layer protocols.

Bearers:

e.g. short message, circuit-switched data, and packet data.


Data management transaction models and enabling technology for mobile commerce

GPRS (General Packet Radio Service)

  • GPRS is a bearer service for GSM (Global System for Mobile communications)

  • Greatly improves and simplifies wireless access to packet data networks.

  • Transfers data packets from GSM mobile stations to external packet data networks (PDN) using a packet radio principle.

  • Networks based on the Internet Protocol (IP) and X.25 networks are supported by GPRS.

  • GPRS uses a billing system based on amount of transmitted data rather than time of connection.


Data management transaction models and enabling technology for mobile commerce

Fig 2: GPRS Architecture


Data management transaction models and enabling technology for mobile commerce

Table 1: GPRS Interfaces


Data management transaction models and enabling technology for mobile commerce

  • GPRS Services

  • Two types:

  • Point-To-Point (PTP) service

  • * PTP CNLS

  • * PTP CONS

  • 2) Point-To-Multipoint (PTM) service.

  • * PTM – M

  • * PTM – G

  • And additional services like messaging, database access, credit card validation etc.


Data management transaction models and enabling technology for mobile commerce

3. Data Management

  • Challenges:

  • Dissemination problems due to limited band width of the channel

  • susceptibility to interferences

  • limited battery power

  • security threat and

  • asymmetric communication i.e. downstream is larger than upstream.


Data management transaction models and enabling technology for mobile commerce

Global data management : network level issues such as location, addressing, replication, broadcasting etc.

Local data management: energy efficient data access management and query processing at the user level


Data management transaction models and enabling technology for mobile commerce

Fig 3: Mobile database architecture


Data management transaction models and enabling technology for mobile commerce

  • Location data management deals with the management of databases to store the information of user’s locations. Location databases are queried while routing to obtain the current location of mobile user.

  • Location databases are distributed in nature.

  • Location management involves searching, reading and updating the location databases.


Data management transaction models and enabling technology for mobile commerce

Data access management

Initiation

Dissemination

Publication

Demand-driven

Client (Pull)

Server (Push)


Data management transaction models and enabling technology for mobile commerce

Broadcast data organization is known as broadcast program or broadcast schedule.

flat

Cyclic

Non-flat

Broadcast program

Acyclic


Data management transaction models and enabling technology for mobile commerce

Fig 4: Broadcast programs


Data management transaction models and enabling technology for mobile commerce

Broadcast Disks: (Acharya et al) uses cyclic, non-flat dissemination architecture.

  • provide a multi-level mechanism that permits non uniform broadcast of data items

  • devises mechanisms for storage management, client side caching and prefetching for efficient multi-level broadcast.


Data management transaction models and enabling technology for mobile commerce

Data Indexing:Extra meta-data is added to data objects so that clients only need to selectively tune to broadcast channel to extract the desired data.

  • addition of indexing information increases the bandwidth requirement of the communication channel.

  • Indexing schemes should be evaluated in terms of a tradeoff between access time and listen time.


Data management transaction models and enabling technology for mobile commerce

  • Performance Criteria ( TAARQ )

  • Tuning time: Amount of time spent by client to listen the channel.

  • Adaptability: This is the ability of the model to cope up with the changing environment.

  • Average access time: It is the average time period between client’s requests and getting the requested data from the server.

  • Resource utilization: Resource utilization can be measured as data requests per unit battery power.

  • Query rate: Number of queries per unit time.


Data management transaction models and enabling technology for mobile commerce

Data Replication and Consistency Management:

Data replication

- reduces access time

- transparency of mobility

Challenges

- selection of data and service stations

- updation of database

- consistency management


Data management transaction models and enabling technology for mobile commerce

  • Consistency Management:

  • “Session guarantees” address the problems of consistency management.

  • A session is a sequence of read and write operations in an application.

  • Session guarantees are developed and deployed in Bayou project.

  • The methods of session guarantees offered by session manager are:

  • Read your writes: read after write.

  • Monotonic Reads: read after read.

  • Write Follow Reads: write after read.

  • Monotonic Writes: write after write.


Data management transaction models and enabling technology for mobile commerce

4. Transaction Models

  • Reporting & Co-Transactions

  • Kangaroo

  • Clustering

  • Isolation-only

  • Two-tier

  • Team

  • Multi-database

  • Toggle

  • PRO-MOTION


Data management transaction models and enabling technology for mobile commerce

  • Reporting and Co-Transactions(Chrysanthis)

  • Based on the open-nested transaction model.

  • Mobile transaction is a set of relatively independent transactions.

  • If a parent transaction aborts, all its uncommitted components may also abort.

  • classifies mobile transactions into the following four types:

  • Atomic transactions

  • Compensatable transactions

  • Reporting transactions

  • Co-transactions


Data management transaction models and enabling technology for mobile commerce

Kangaroo Transaction Model(Dunham et al)

  • DAA (Data Access Agent) acts as transaction manager at base station

  • For each transaction request DAA generates…

  • For each hop a new Joey is created.

  • When a Joey fails, all previous Joeys and KT will abort.

  • A Kangaroo Transaction (KT) at MH

  • A set of Local Transactions (LTs) & Global Transactions (GTs) at local base station called as Jeo Transaction (JT).


Data management transaction models and enabling technology for mobile commerce

Fig 5: Kangaroo Transaction Model


Data management transaction models and enabling technology for mobile commerce

  • The Clustering Model(Pitoura et al)

  • Based on the extended open-nested transaction model.

  • Database is divided into clusters defined statically or dynamically.

  • Based on consistency requirement, Transactions and Operations are divided into two sets- weak and strict transactions.

  • A weak operation can access only the local copies of a data item (i.e. within the cluster). Strict operations are allowed to access all the clusters.

  • Weak operations are committed for two times, first in local cluster and second across clusters.


Data management transaction models and enabling technology for mobile commerce

Isolation-Only Transactions (Satyanarayan et al)

  • provides an application transparent file system (by hoarding highly prioritized files)

  • concurrency control for mobile clients.

  • proxy maintains log information during disconnection and updates the information on reconnection.

  • detects read/write conflicts automatically during disconnections.

  • does not guarantee failure atomicity.


Data management transaction models and enabling technology for mobile commerce

Two-tier Model(Gary et al)

  • Master data copy exists in the fixed network.

  • Transactions at fixed stations are called base transactions.

  • Transactions carried out at the disconnected mobile hosts are called tentative transactions.

  • At the reprocessing stage, application semantics and serialization applied to increase concurrency of the transactions.

  • Model uses a history-based approach for reprocessing.


Data management transaction models and enabling technology for mobile commerce

Team Transaction model(Gore and Ghosh)

  • Designed to deal with mobile transactions in Ad hoc networks

  • - Team Transaction consists of three entities:

  • 1) Coordinator 2) Players 3) Data Access Agent (DAA). These entities form a cluster.

  • Coordinator is captain of the team and responsible for coordinating the operations of transactions.

  • Players carry the operations of sub-transactions assigned by coordinator.

  • - DAA provides database access, maintains log information for recovery, and keeps track of the coordinator and selects new coordinator incase of crash.


Data management transaction models and enabling technology for mobile commerce

Fig 6: Team Transaction Model


Data management transaction models and enabling technology for mobile commerce

Multi-database Transactions(Yeo and Zaslavsky)

  • Main goals are transparency, concurrency, availability and recovery.

  • Multi-database system is an integrated distributed system of

  • local and global transaction management components global communication manager

  • global recovery manager

  • interface managers


Data management transaction models and enabling technology for mobile commerce

Fig 7: Architecture of MDSTPM


Data management transaction models and enabling technology for mobile commerce

Toggle Transactions(Dirckze and Gruenwald)

  • similar to Multi-database scheme.

  • a Mobile Multidatabase System (MMDBS) is defined as a collection of fixed and mobile databases.

  • MMDBMS is a DBMS software, resides on fixed network and controls respective database systems.

  • Global transactions access MMDBMS.

  • Local transactions use local database.

  • Global transactions:

  • Site-transaction is a subset of global transactions which access the same site.

  • migrating transactions support the mobility of the users.


Data management transaction models and enabling technology for mobile commerce

PRO-MOTION(Crysanthis)

  • Based on client-server architecture.

  • Supports disconnected transaction processing.

  • Considers the entire mobile sub-system as a large, long-lived transaction

  • Each sub-transaction is again the root of another nested split transaction.

  • A compact is an agreement between server and host.

  • Mobile hosts execute a piece of code called compact agent to handle requests.

  • An intermediate mobile manager (MM) on the mobile service station handles compact agent and writes log information.

  • Compact manager (CM) executes on the server provides nested-split transaction processing capability.


Data management transaction models and enabling technology for mobile commerce

Fig 8: PRO-MOTION System Architecture


Data management transaction models and enabling technology for mobile commerce

Table 2: Comparison of Transaction Models


Data management transaction models and enabling technology for mobile commerce

5. Query Processing

  • Location Dependent Query Processing

  • QBI (Query by Icons)

  • Using Summary Databases


Data management transaction models and enabling technology for mobile commerce

  • Location Dependent Query Processing (LDPQ)

  • - Queries contain location related and non-location related attributes.

  • Current position of the query issuer is implicitly involved in the query.

  • ex: “Find hospitals within 10 miles”

  • This implied location related information will be added to the query.

  • Location service binds the current location to the query and this binding is known as location binding.


Data management transaction models and enabling technology for mobile commerce

Query By Icons(Antonio Massari)

  • QBI include:

  • An iconic visual language interface that allows users to compose queries by using a pointing device like a pen to manipulate icons.

  • A semantic data model that captures most of the aspects of database structures.

  • Metaquery tools that assist on the formulation of queries during periods of disconnection.


Data management transaction models and enabling technology for mobile commerce

  • QBI Architecture

  • The architecture consists of four modules:

  • Presentation Manager: responsible for all user interactions

  • Query Manager: supports the specification of queries.

  • GA Evaluator: computes the generalized attributes

  • Database Access Manager:is responsible for any remote access to the data on a fixed host, data updates and metadata management.


Data management transaction models and enabling technology for mobile commerce

Fig 9: QBI Architecture


Data management transaction models and enabling technology for mobile commerce

Query Processing using Summary Databases(Madria et al)

  • A condensed form of the main database, which is termed as “summary database” is used in replication.

  • Summary databases are small in size and can answer the queries approximately during disconnection or weak connection.

  • There are three types of connections between host and MSS: connected, partially connected, disconnected.

  • The query processor selects main database or summary databases depending on the connection status.

  • Query processor rephrases the queries to access summary database.


Data management transaction models and enabling technology for mobile commerce

Query Processing using Summary Databases(contd..)

  • Summary databases use concept hierarchies.

  • Concept hierarchy is a result of mapping from one level to another level of data abstractions.

  • A concept hierarchy has a tree or lattice structure of concepts at different levels of abstraction.

  • Summarization of the data can take place in two ways:

  • Horizontal summarization (involves attributes of a relation)

  • Vertical summarization (involves tuples of a relation)


Data management transaction models and enabling technology for mobile commerce

Fig 10: Mobile Database Environment with Summary Databases


Data management transaction models and enabling technology for mobile commerce

6. Recovery

  • Recovery Protocols

  • Recovery Guarantees


Data management transaction models and enabling technology for mobile commerce

Recovery Protocols( M. M.Gore and R. K. Ghosh)

1.Timeout protocol: executed by MSS. MSS maintains a timer to measure the inactivity period of mobile host and initiates rollback for the transaction on timeout.

2.Disconnect protocol: executed by mobile host due to resource problems (like battery discharge, weak signal etc.).

3. Hand-off protocol: executed by mobile host, when it switches from one MSS to another MSS. Mobile host sends it’s new MSS address to the old MSS and conveys old MSS information to the new MSS while switching from cell to cell.

4. Migration protocol: In this protocol migration information and new settings of mobile host are communicated to the old MSS by the new MSS, before timeout or disconnect protocol execution at old MSS


Data management transaction models and enabling technology for mobile commerce

Fig 11: Mobile Transaction Recovery Protocols


Data management transaction models and enabling technology for mobile commerce

Recovery Guarantees(Martin and Krithi Ramamritham)

  • Recovery guarantee is a recovery assurance of one subsystem (eg.MSS) to another subsystem (eg.MH) in case of failures.

  • Protocol:

  • ifp succeeds

  • then q will also succeed, if invoked

  • The guarantee of assurance by a subsystem is up to its capabilities.

  • The guarantee can be given by any subsystem other than the system where operation p is executed.

  • Recovery protocols are prescriptions based on the recovery guarantees of the system. These protocols satisfy precedence constraints.


  • Login