Mobile client-server communications CSE 390 Fall 2010.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO Wi-Fi TECHNOLOGY.
Advertisements

Wi-Fi Technology ARTI J JANSARI M.E.(C.S.E.):-1ST (E.C.)
Overview Environment for Internet database connectivity
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Mobile Technologies Computer Networks Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
David Waitt Kate Disney 2008 April Digitizing An Analog World.
9 Lecture The Wireless Revolution. Identify the principal wireless transmission media and devices, cellular network standards and generations, and standards.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Mgt 20600: IT Management & Applications Telecommuncations and Networks Tuesday March 28, 2006.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
CPET 260 Bluetooth. What is Bluetooth? Not IEEE (Wi-Fi) or HomeRF Originally designed to replace wires Short-range, lower-power wireless technology.
Introduction to Web Interface Technology (CSE2030)
Remote mailbox access gateway Software lab project.
CM2502 E-Business Mobile Services. Desktop restrictions Mobile technologies Bluetooth WAP Summary.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
8 1 Digital Cellular Telephony Chapter Learning Objectives  Describe the applications that can be used on a digital cellular telephone  Explain.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
SAMEER NETAM RAHUL GUPTA PAWAN KUMAR SINGH ONKAR BAGHEL OM PANKAJ EKKA Submitted By:
 An electrical device that sends or receives radio or television signals through electromagnetic waves.
Mobile Computing and Commerce
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Wireless Versus Wired Network Components By: Steven R. Yasoni & Dario Strazimiri.
An Introduction to WAP/WML. What is WAP? WAP stands for Wireless Application Protocol. WAP is for handheld devices such as mobile phones. WAP is designed.
INTRODUCTION TO WEB DATABASE PROGRAMMING
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
IT in Business Enterprise and Personal Communications Networks Lecture – 07.
1 Remote Management of Wireless Gateway Student Name: Dinesh D N (BITS ID: 2004HZ12158) MphasiS Technologies Ltd, Bangalore March 2006.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Example XML Applications/Languages. Objectives To Review uses of XML To investigate some Language applications of XML XHTML RSS WML Web Services.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
Ch 11. Integrated Architecture for Wireless Myungchul Kim
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Living Online Module Lesson 23 — Networks and Telecommunication
Guided by: Jenela Prajapati Presented by: (08bec039) Nikhlesh khatra.
PRESENTATION ON WI-FI TECHNOLOGY
45 nm transistor 45nm =.045um (microns)= 450 Angstroms.
© 2008 Pearson Prentice Hall, Electronic Commerce 2008, Efraim Turban, et al. Chapter 9 Mobile Computing and Commerce and Pervasive Computing.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
FYP: LYU0001 Wireless-based Mobile E-Commerce on the Web Supervisor: Prof. Michael R. Lyu By: Tony, Wat Hong Fai Harris, Yan Wai Keung.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Copyright © 2012 UNICOM Systems, Inc. Confidential Information z/Ware Product Overview illustro Systems International A Division of UNICOM Global.
Cellular Communication SNSCE - CS2402 Mobile Pervasive Computing.
Living Online Module Lesson 23 — Networks and Telecommunication Computer Literacy BASICS.
Wireless Telecommunications Networks personal area network (PAN) A wireless telecommunications network for device-to-device connections within a very short.
Distributed systems: an architectural view. Once upon a time… The Mainframe Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb Terminal Dumb.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
WWW Programming Model. WWW Model The Internet WWW architecture provides a flexible and powerful programming model. Applications and content are presented.
Introduction to Mobile Applications. Wireless Applications Personal Time and KnowledgeManagemnt Personal Health & Security PersonalNavigation Remote Monitoring.
Wireless Networks Standards and Protocols & x Standards and x refers to a family of specifications developed by the IEEE for.
Presented by: Gurpreet Singh Assistant Professor Department of School of Computing and Engineering Galgotias University Cellular Communication.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Linux Operations and Administration
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Wireless & Mobile Networks By Dr. Ali Maqousi Feb, 2012.
1 Seminar: Pervasive Computing 2004 Automatic mobile device configuration: Status & open challenges Stefan Hoferer Supervisor: Andreas Fasbender.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Wi-Fi Technology.
Fundamentals of Information Systems, Sixth Edition
Data communication and Networks
Network Infrastructure Services Supporting WAP Clients
z/Ware 2.0 Technical Overview
Universal Mobile Telecommunication System (UMTS)
Topic 5: Communication and the Internet
M-Commerce Wireless Markup Language (WML) By Prof T.R. Vaidyanathan.
Presentation transcript:

Mobile client-server communications CSE 390 Fall 2010

Cellular connection types Time Division Multiple Access (TDMA) – assigns calls a time slot on a given frequency. Used by GSM. Code Division Multiple Access (CDMA) – assigns each call a unique code. Used by UMTS. Global System for Mobile Communication (GSM) – most popular standard. 80% of the global market, 1.5 billion users, 212 countries. Extensive roaming arrangements with international mobile operators. Second Generation (2G) technology – meaning both signaling and speech channels are digital. GSM introduced Short Message Service (SMS). Different frequencies are used in many countries (USA and Canada use 850MHz and 1900MHz). The iPhone has a tri-band frequency chipset to accommodate the most common frequencies.

Cellular connection types (cont.) Enhanced Data Rates for GSM Evolution (EDGE) – a bolt-on enhancement for GSM networks to provide higher bit rates. Does not require installation of new transmitter towers. Universal Mobile Telecommunications System (UMTS) – Third Generation (3G) technology based on many of the GSM protocols (and was originally called 3GSM), but uses CDMA as the underlying air interface. Uses same core network standard as GSM – Mobile Application Port (MAP). Uses Universal Subscriber Identity Module (USIM) – compatible with GSMs SIM – for user authentication. Requires installation of new transmission towers – expensive to migrate.

Wireless connection types IEEE a/b/g – Wireless Local Area Network (WLAN) technology. More generally called WiFi. Network access points are called hotspots. Typically operates in the range of 2.4 GHz, with a range of about 120 feet indoors and 300 feet outdoors. Signal can be affected by radio reflection off buildings and trees. Interference can also be caused by devices operating on the same frequency (such as microwave ovens). Uses Wired Equivalent Privacy (WEP) for security. Bluetooth 2.1 – Wireless Personal Area Network (WPAN) technology. Uses frequency hopping spread spectrum radio technology, also in the 2.4GHz range. Data rate of 1Mbit/s is possible. Range is about 33 feet (10 meters). The most common applications for mobile devices are connecting wireless headsets and printing to bluetooth-enabled printers. A master bluetooth device can connect with up to seven devices in a wireless user group.

Thin clients Less device and OS specific than fat clients, but require a persistent network connection. No custom application code is needed on the device, instead an industry-standard web or WAP (Wireless Application Protocol) browser provides the functionality. The browser may run some client-side scripting, such as Javascript. But typically the server handles all the logic and data functions. Still, devices vary in many ways, such as screen size, so a renderer running on the server is often used to customize the content for the device. The application data is stored in XML files and separate XSL style sheets are created for each supported device. At run time the server checks the devices browser type, transforms the XML, and renders the the content to the device. The downside of this approach is the need to develop multiple XSL files for each web page you wish to display. The upside of this approach is that application code can be modified and updated in one place – the server – and not on potentially thousands (or millions) of devices.

Fat clients Advantages of this approach are when devices are only connected to a network infrequently, or when you want utilize a specific peripheral of the device, such as the camera, phone, or GPS. Use cases, such as can be modeled using the Unified Modeling Language (UML), include the following: – Log in (for many reasons, such as the device may be lost or stolen, or that you will allow the user to access and edit data on a server) – Task selection, by presenting a menu of options for the user – Data download, such as doctor searching for patient records, or a salesperson looking for account information – Edit data locally, to modify the patient or account records – Upload changes

Fat clients (continued) Object reuse – for many business applications code may have already been written that would have to be rewritten for each device you want to support. One way around this is to expose these business objects on the server by creating an XML web service, which would forward method calls to those objects. Object design – object oriented code design allows code to be more easily ported. Common object properties and methods include: – Constructor (often called New) creates a new object by allocating memory for it and initializing it – Destructor releases the object and frees up the memory allocated to it – Save allows data and preferences to persist between uses of the application – Delete – Get back-end data Data Access Object – common methods include: – Create database – Check that database exists – Delete database – Execute SQL command – Execute dataset (executes a SQL command and returns a dataset)

Client-server data transfer HTTP and HTML – A web browser on the client uses an HTTP GET request for information of the server, typically through port 80. The server retrieves the information and sends it, after which the sever connection closes. A client may also send information to the server using the HTTP POST method. WAP and WML – When a client with a WAP browser accesses a web page the request is initially sent to a WAP gateway, which then forwards the request to the HTTP server. The WAP gateway then encodes the response and returns it to the client as WML (Wireless Markup Language). The structure of WML is a deck of cards. A deck has a URL like a web page and contains one or more cards. Each card represents a small screen of information, like a menu or a data entry screen. Generally each card only displays a few lines of data. In Japan, i-Mode is a competing technology.

Client-server data transfer (cont.) Remote Database Access (RDA) – is a protocol standard for database access. RDA describes the connection of a database client to a database server. It includes features for: – communicating database operations and parameters from the client to the server, – transporting result data from the server to the client, – database transaction management. RDA is an application-level protocol, meaning that it builds on an existing network connection. It allows the developer to push and pull data from the mobile database and the server side database. It also allows the application to send SQL statements to be executed on the remote server. If there is an error pushing data to the server, the records that were not uploaded are placed into an error table.

Client-server data transfer (cont.) Simple Object Access Protocol (SOAP) - is a protocol for sending structured data between remote computers over a network. The SOAP spec was defined by the W3C, and was designed as a mechanism for performing remote procedure calls using XML over HTTP. Because SOAP is an open standards-based protocol, it can be used on any OS, and provides interoperability among devices running different operating systems. SOAPs messaging framework defines rules for constructing and processing SOAP messages. A SOAP message is an XML document consisting of a SOAP envelope. The envelope has a Body element, which contains the message payload and or error information. The envelope may also have a Header element which can pass information not part of the main method call, such as message priority or authentication information. SOAP messages can be quite large.

Client-server data transfer (cont.) Web Services Description Language (WSDL) – provides a spec for describing a web service in XML. The description contains information about the messages, data types, and protocols the web service supports. It contains the following items: – Service Name – Port (the URL of the web service) – Binding (transport and encoding protocols of the port) – Port Type (operations supported by the web service) – Messages