590 likes | 947 Views
MOBILE DATABASE SYSTEMS. Eylül Taşyürek 2007100706 12.2011, Boğaziçi University. OUTLINE. INTRODUCTION TO MDB’s DEMAND ON MOBILE DATA USAGE REQUIRED SYSTEM MOBILE DATABASE’s PROPERTIES OF MDB’s MANAGEMENT OF MDB’s ARCHITECTURE & COMMUNICATION ENVIRONMENT EXAMPLES OF MDB’s.
E N D
MOBILE DATABASE SYSTEMS Cmpe 422 Boğaziçi University , 2011 Eylül Taşyürek 2007100706 12.2011, Boğaziçi University
OUTLINE • INTRODUCTION TO MDB’s • DEMAND ON MOBILE DATA USAGE • REQUIRED SYSTEM • MOBILE DATABASE’s • PROPERTIES OF MDB’s • MANAGEMENT OF MDB’s • ARCHITECTURE & COMMUNICATION ENVIRONMENT • EXAMPLES OF MDB’s Cmpe 422 Boğaziçi University , 2011
OUTLINE • INTRODUCTION TO MDB’s • DEMAND ON MOBILE DATA USAGE • REQUIRED SYSTEM • MOBILE DATABASE’s • PROPERTIES OF MDB’s • MANAGEMENT OF MDB’s • ARCHITECTURE & COMMUNICATION ENVIRONMENT • EXAMPLES OF MDB’s Cmpe 422 Boğaziçi University , 2011
DEMAND ON MOBILE DATA USAGE • Increasingusage of mobile devices (laptops, smartphones) • Increasingusage of data on mobile (with 3G, UMTS…) • Rapidexpansion of cellular, satelliteetccommunication • Growingnumber of mobile workers Cmpe 422 Boğaziçi University , 2011
REQUIRED SYSTEM • Portable • Reachable • Abletoprocess data efficiently • Abletocommunicatewiththemain server andclients Cmpe 422 Boğaziçi University , 2011
MOBILE DATABASE’s • Definition: A databasethat is portableandphysicallyseparatefromthecorporatedatabase server but is capable of communicatingwiththat server fromremotesitesallowingthesharing of corporate data. • Reference: [1] Cmpe 422 Boğaziçi University , 2011
PROPERTIES OF MDB’s • Communication • Connectivity & Mobility • Capability • Reference: [2] Cmpe 422 Boğaziçi University , 2011
PROPERTIES OF MDB’s • Communication • Communicationboth WIRELESS & WIRED • Built on PCS(PersonalCommunications Service) & GSM platforms • Connectivity & Mobility • Completespatialmobility (portability) • Mobile connectedsystems • Capability • Completedatabasesystem Cmpe 422 Boğaziçi University , 2011
OUTLINE • INTRODUCTION TO MDB’s • DEMAND ON MOBILE DATA USAGE • REQUIRED SYSTEM • MOBILE DATABASE’s • PROPERTIES OF MDB’s • MANAGEMENT OF MDB’s • ARCHITECTURE & COMMUNICATION ENVIRONMENT • EXAMPLES OF MDB’s Cmpe 422 Boğaziçi University , 2011
MANAGEMENT OF MDB’s • Data Management • TransactionManagement Cmpe 422 Boğaziçi University , 2011
Data Management • Requiredtoimprovethe • Usability of data • Reachability of data • Availability of data Cmpe 422 Boğaziçi University , 2011
Data Management • Server Side • Data Caching • Data Broadcasting • Access Store Side • Data Classification • LocationDependent • LocationIndependent • QueryTypes • Reference: [3], [2] Cmpe 422 Boğaziçi University , 2011
Data ManagementServer side • Data Caching • Semanticalcaching: • Storingthe data as semantics, instead of as tuples. “Semantic caching is particularly attractive for use in mobile computing due to the facts of the reduced wireless network traffic and more autonomy of the mobile clients.” BySouthernMedhodistUniversity • Reference: [4] Cmpe 422 Boğaziçi University , 2011
Data ManagementServer side • Data Broadcasting • Continuouslybroadcastfrequentlyused data • From a fixedchannel • Efficient in terms of • Energy • Bandwidth • Indexingetc. formoreefficientaccess. Cmpe 422 Boğaziçi University , 2011
Data ManagementAccess storeside – Data Classification • LocationIndependent • LocationDependent • Binding • Mapping • Hierachy Cmpe 422 Boğaziçi University , 2011
Data Management Access storeside – Data Classification • Location Dependent • Data is functionally dependent on location: • Buildings, in 100mt diameter • The distance from here to Bosphorus Cmpe 422 Boğaziçi University , 2011
Data Management Access storeside – Data Classification • StoringLocationDependent • Binding • Bindto data togetherandsynchronize • Bindaccordingtolocation • Mapping • Mapaccordingtolocation • Hierachy • Hierarchicalrepresentationaccordingtolocation • Country -> City -> Theaters Cmpe 422 Boğaziçi University , 2011
Data Management Access storeside – Data Classification • QueryTypes • LocationIndependent • LocationDependent • Questionsdepends on Location“Here” • Resultsdependson Location “Here” • Ex: Howmanybuildingsarethere in 200mt diameterfromhere? • What is time differencebetweenhereandLondon, UK? Cmpe 422 Boğaziçi University , 2011
Data Management Access storeside – Data Classification • LocationDependent • Thistype of queriesused in daily life such as: • GPS technologies • Navigationtechnologies Cmpe 422 Boğaziçi University , 2011
MANAGEMENT OF MDB’s • Data Management • TransactionManagement • ACID Properties • Recovery • Mobile TransactionModels Cmpe 422 Boğaziçi University , 2011
TransactionManagement • ACID Properties of Transactions • Atomic • Allornon • Consistent • No violation of integrityconstraints • Isolated • Othertransactionscannotseetheupdates, untilthetransaction is terminated • Durable • Effectsarepermanent • Reference: [5] Cmpe 422 Boğaziçi University , 2011
TransactionManagement • ACID Propertiesaretoostrict! • Moreefficientusage of ACID • Concurrentprocess • Committing • Reference: [2] Cmpe 422 Boğaziçi University , 2011
TransactionManagement • Moreefficientusage of ACID • Concurrent • Concurrentlyprocesstransactions • LockingsToavoidlossor • Timestampsmisinterpretation of data Cmpe 422 Boğaziçi University , 2011
TransactionManagement • Moreefficientusage of ACID • Commitby Mobile UnitandDB’s • Completingbeforetimeout • Committingseparately Cmpe 422 Boğaziçi University , 2011
TransactionManagement - Recovery • Harderon mobile • WHY? • Mobile nodes • Lessphysical,easyrecoveringnodes • Mobile device constraints Cmpe 422 Boğaziçi University , 2011
TransactionManagement - Recovery • DifferentApproaches: • PartialRecovery • Mobile Agents • Capabletostoreownhistory of the device Cmpe 422 Boğaziçi University , 2011
TransactionManagement - Mobile Models • TransactionBy Mobile Node • Consists of • A set of fragmentsto be executed • A set of locations (locationdependent) • A set combiningthefragmentstolocations Cmpe 422 Boğaziçi University , 2011
TransactionManagement - Mobile Models • Kangaroo • ManagementandRequestfrom Mobile Device • Process at Main Server Side • Reporting & Co-transaction • Parenttransaction • Reportingtransaction (commitindependently) • Co-transaction (waitforothertransactions) • Reference: [2] Cmpe 422 Boğaziçi University , 2011
TransactionManagement - Mobile Models • ClusteringBased • Transactionclassification • Weak, Strict • Read/Writeclassification • Weak, Strict • SemanticBased • Splitthetransactiontofragments • Mergethemtogether at theend • Reference: [2] Cmpe 422 Boğaziçi University , 2011
OUTLINE • INTRODUCTION TO MDB’s • DEMAND ON MOBILE DATA USAGE • REQUIRED SYSTEM • MOBILE DATABASE’s • PROPERTIES OF MDB’s • MANAGEMENT OF MDB’s • ARCHITECTURE &COMMUNICATION ENVIRONMENT • EXAMPLES OF MDB’s Cmpe 422 Boğaziçi University , 2011
ARCHITECTURE • Components of a mobile databaseenvironment: • Maindatabase server and DBMS • Remotedatabaseserver andDBMS • Mobile deviceswithdatabaseplatforms • Communicationlinksbetweenthem (BaseStation, Mobile SwitchingCenteretc.) • Reference: [1] Cmpe 422 Boğaziçi University , 2011
ARCHITECTURE • Reference: [1] Cmpe 422 Boğaziçi University , 2011
ARCHITECTURE • Thereare network elementstoprovidethecommunicationbetweenthosethreecomponent. • BS: basestations • PSTN: publicswitched network • MSC: mobile switchingcenter • EIR: equipmentidentifyregister Cmpe 422 Boğaziçi University , 2011
COMMUNICATION ENVIRONMENT • Limitations of theenvironment • Architecturalimplementation&designissues • Roaming • Handover Cmpe 422 Boğaziçi University , 2011
Limitations of communicationenv. • BANDWIDTH / FREQUENCY • Limitedbandwidth • Forthetechnology • Forthecountry • Fortheprovider • BandwithSharing Cmpe 422 Boğaziçi University , 2011
Limitations of communicationenv. • SPEED • Depends on • Thetechnology • Theprovider • Thebandwidth • Thecapacity of mobile device etc. Cmpe 422 Boğaziçi University , 2011
Limitations of communicationenv. • SECURITY • Limitingtheusers • EIR: EquipmentIdentifyRegister • Securingthecommunicationchannel • Protocols (MD5) • Hashingetc. Cmpe 422 Boğaziçi University , 2011
Limitations of communicationenv. • CONSTRAINTS OF THE MOBILE DEVICE • Energy • Memory Cmpe 422 Boğaziçi University , 2011
COMMUNICATION ENVIRONMENT • Limitations of theenvironment • Architecturalimplementation&designissues • Roaming • Handover Cmpe 422 Boğaziçi University , 2011
roaming • Definition:switching between different wireless networks. • Uninterruptedcommunication, even in thecoverage of differentoperators. • Reference: [6] Cmpe 422 Boğaziçi University , 2011
roaming • TechnicalCompatibility • Bandwidthdifferences • Architecturaldifferences • OperatorIssuesCompromise • Accouting Cmpe 422 Boğaziçi University , 2011
Handover • Definition: Inter-cellhandover: Switchingtheconnectionsto a newbasestation (cell) • Differenttypes, depending on theswitched network elemet • Inter-cell • Intra-MSC • Inter-MSC • Reference: [7], [8] Cmpe 422 Boğaziçi University , 2011
Handover • Required • Toprovideuninterruptedcommunications • Toprovideconnection in locationchange Cmpe 422 Boğaziçi University , 2011
OUTLINE • INTRODUCTION TO MDB’s • DEMAND ON MOBILE DATA USAGE • REQUIRED SYSTEM • MOBILE DATABASE’s • PROPERTIES OF MDB’s • MANAGEMENT OF MDB’s • ARCHITECTURE & COMMUNICATION ENVIRONMENT • EXAMPLES OF MDB’s Cmpe 422 Boğaziçi University , 2011
EXAMPLES OF MBD’s • Sybase'sSQL Anywhere • Used in Desktopand Mobile • RelationalDatabaseManagementSystem • Reference: [9] Cmpe 422 Boğaziçi University , 2011
EXAMPLES OF MBD’s • IBM DB2 Everyplace (DB2e) • UltraLite • Mobile devices (PDA’s, smartphones) • Microsoft SQL Server Compact • For Windows Applications on Mobile devices • Reference: [10],[11],[12] Cmpe 422 Boğaziçi University , 2011
REFERENCES • DatabaseSystems – A PracticalApproachtoDesign, Implementation, andManagement, Thomas Connolly, CarolynBegg, AddisonWesley, 2005 • Mobile Database Systems, Vijay KumarComputer Sc. TelecommunicationsUniversity of Missouri-Kansas City5100 Rockhill RoadKansas City, MO 64110, USA • Mobile Data Management, SecondInternationalConference, MDM 2001 Hong Kong, China, January 8-10, 2001 ProceedingsSeries: LectureNotes in ComputerScience, Vol. 1987 Tan, Kian-Lee; Franklin, Michael J.; Lui, John C.-S. (Eds.) 2001, XIII, 290 p. • SemanticCaching, DatabaseResearchGroup, SouthernMethodistUniversity, http://lyle.smu.edu/cse/dbgroup/Caching.html • DatabaseDesign, Application, Development, & Administration, Michael V. Mannino, McGrawHillInternationalEdition, 2007 • A seamless and proactive end-to-end mobility solution for roaming across heterogeneous wireless networks, ChuanxiongGuo; ZihuaGuo; QianZhang; WenwuZhu; Wireless & NetworkingGroup, Beijing, China, Selected Areas in Communications, IEEE Journal on, June 2004 • Analysis of HandoverAlgorithms. MikaelGudmundsonRadioCommunicationSystemsRoyalInstitute of Technology, Sweden • Handover,Network Optimization, SSMC Training Center, http://www.scribd.com/doc/29526341/05-Handover • http://www.sybase.com/products/databasemanagement/sqlanywhere • http://www-01.ibm.com/software/data/db2/everyplace/ • http://theopensourcery.com/sqlite.htm • http://www.microsoft.com/sqlserver/en/us/editions/compact.aspx Cmpe 422 Boğaziçi University , 2011