NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)

Slides:



Advertisements
Similar presentations
Adding Dynamic Content to your Web Site
Advertisements

4.01 How Web Pages Work.
CSCI-235 Micro-Computers in Science The Network. Network Fundamentals A computer network consists of two or more computers linked together to exchange.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Layer 7- Application Layer
An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz.
Master’s course Bioinformatics Data Analysis and Tools Lecture 6: Internet Basics Centre for Integrative Bioinformatics.
Jacob Boston Josh Pfeifer. Definition of HyperText Transfer Protocol How HTTP works How Websites work GoDaddy.com OSI Model Networking.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Definitions, Definitions, Definitions Lead to Understanding.
Guide To UNIX Using Linux Third Edition
Web and Internet Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Internet Standard Grade Computing. Internet a wide area network spanning the globe. consists of many smaller networks linked together. Service a way of.
INTRODUCTION TO WEB DATABASE PROGRAMMING
JAVASCRIPT HOW TO PROGRAM -2 DR. JOHN P. ABRAHAM UTPA.
CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Chapter 3 The Basics of Networking
Web Application Architecture and Communication. Displaying a Web page in a Browser
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
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.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Syllabus outcomes Describes and applies problem-solving processes when creating solutions Designs, produces and evaluates appropriate solutions.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Lesson 2 — The Internet and the World Wide Web
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Twelfth Edition.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
IT Introduction to Information Technology. The Internet & World Wide Web Began in 1969 with the ARPANET (Advanced Research Project Agency Network)
Networks QUME 185 Introduction to Computer Applications.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
The Internet The internet is simply a worldwide computer network that uses standardised communication protocols to transmit and exchange data.
Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang.
Chapter 1 What is the Internet?. The Wired World of the Internet Who runs the Internet? Collection of thousands of networks RFCs, users’ agreement about.
1 Welcome to CSC 301 Web Programming Charles Frank.
Exploring Office 2003 – Grauer and Barber HTML And Basic Web page.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Networking Relationships What is a computer network?
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Creating Web Documents: How the Web works Client / Server Protocols Access methods Homework: Complete experiment & report on Discussion Forum.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
TCP/IP (Transmission Control Protocol / Internet Protocol)
INTRANETS MR ROSS UNIT 3 IT APPLICATIONS. DEFINITION An intranet is an internal, secured environment that has a similar look and feel to the Internet,
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Web Server.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
JavaScript and Ajax (Internet Background) Week 1 Web site:
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Revision Unit 1 – The Online World Online Services Online Documents Online Communication Cloud Computing The Internet Internet Infrastructure Internet.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
1 CGI (Common Gateway Interface) CmpE 587 Emir Bayraktar Onur Bük.
World Wide Web. The World Wide Web is a system of interlinked hypertext documents accessed via the Internet The World Wide Web is a system of interlinked.
Internet and World Wide Web Introduction to the Internet.
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.
JavaScript and Ajax (Internet Background)
CNIT 131 Internet Basics & Beginning HTML
Introduction To Web Design
Web Development & Design Chapter 1, Sections 4, 5 & 6
TASK 4 Guideline.
CS222 Web Programming Course Outline
Web Design & Development
Presentation transcript:

NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)

Network Centric Computing A Web Browser to provide a Universal Client Users have a consistent and Familiar User Interface A Browser can launch many types of applications and read many types of documents This can be accomplished on different operating systems/platforms and is independent of where the applications or documents are stored

PC Web Connections The PC with web browser connects to Internet via modem (RS232, USB or Ethernet) The RS232 and USB would be telephone connections either via landline or mobile Ethernet would be cable or broadband telephone or in some cases via satellite

Simplified Web Operation(1) All devices connected to the web have a unique number called the IP address and may have an alphanumeric hostname IP is short for the Internet Protocol that makes it possible for different computers with different hardware and operating system to communicate A network of computers, or Hosts, connected by the Internet Protocol is called an Internet The data from the PC may seem to be a continuous stream but is broken up into smaller “chunks” called packets

Simplified Web Operation(2) The link between the PC with the browser and the host PC being called appears direct In reality the packets of data require many intermediate steps through routers, gateways and even other servers on the way to the other host PC The mechanism that controls all this is TCP, transmission Control Protocol The complete system is called TCP/IP as both protocols are needed for correct operation

A Web based Embedded System This type of system uses conventional PCs with a Web browser as user interfaces Another PC, often part of a distributed embedded system, is used for control and data capture The key to this system is the use of a database which may be on the control and data capture PC or a separate database server PC In either case the resulting captured data is stored in the database Any authorised user can have access to the data, via a server PC, which is searchable and manipulated as required, without direct access to the hardware

Typical Web Embedded System

Distributed Embedded System NETIOM or similar system used for non time critical tasks as the use of web pages as data transfer is not fast. Microcontroller used for time critical tasks such as data collection from SPI or I2C sensors and PWM control of motors etc. Microcontroller programmed in ‘C’ with communications to PC via fast serial RS232 or USB

Control and Data Capture PC High level connection to user PCs via a server program connected to the Internet Connection to Database server also via Internet but server for this task in on the database server PC Connections to embedded system, distributed or otherwise, would probably use ‘C’

Database Server PC Communicates over the Internet to the Control and Data Capture PC, no User PC can access this directly All database queries are sent from the control and Data Capture PC and results are returned to the Data Capture PC The Control and Data Capture PC receives requests for information from User PCs and formulates them correctly for the Database Server PC Results from Database Server PC are returned correctly formulated to the User PC by the Control and Data Capture PC

Control and Data Capture PC Tasks

Control and Data Capture PC Task 1

Software for task 1 The overall program would typically be written in something like PERL or PHP These are “glue” languages that are often used to create applications with many different elements PERL has modules to send SMS text messages, communicate with the internet and call system programs including those written in ‘C’. A user written task in ‘C’ could control and collect data Internet module could be used to update database after formatting data for database use

Data Collection and Control The code for this task is now totally separate and can be written using the most appropriate programming techniques The distributed embedded system could use FPGAs and even single board Computers if the task required that kind of processing power. In the case of a single board computer the interface would via ethernet

Software for task 2

Software for Task 2 The user PC would send request as data in a form to a PERL CGI file in the Control and Data Capture PC server This request would be coded as a Database query and sent using the web interface module in PERL to the database server The result from the database server, via the PERL web interface, would be coded as an answer for the User and sent as a reply to User PC from the PERL CGI file in the Control and Data Capture PC server The CGI file would terminate and a new execution would begin when another user request was received by the Control and Data Capture PC server

FORM Example The following form example runs as a web page and asks the user for a name. This is put in the variable user_name and sent with the name input to the CGI file that is given as the action for the form. The method called post is describing how the answers from the form have been encoded This method of data entry can be generated by the PERL web interface module so that the same CGI type files can be used for this data entry as well

A very simple form A VERY SIMPLE FORM Please enter name:

FORM as seen in browser

CGI FORM DECODE in PERL A PERL module called CGI is used to decode the post encoding method The value from the FORM variable user_name is stored in a PERL variable $user_name An HTML web page is generated by PERL print statements so that it can be displayed by a web browser The text message to be sent has the variable in it, and that is substituted by PERL as the text is sent to the Internet so it appears in the user message on the screen. These techniques are used in the PERL CGI of Task 2 to include the Database results in the message going back to the user PC

#!/usr/bin/perl # cgi program to process a very simple form use CGI; $foo = new CGI; $user_name = $foo->param('user_name'); #get name from form print "Content-type: text/html\n\n"; #output as an HTML file print " \n"; print " Response to simple_form input \n"; print " \n"; print " Hello $user_name, welcome to an ELEC2630 Example! \n"; print " \n";

RESPONSE as seen in browser

User Interface Software The code called by the user is in the form of CGI programs The CGI code can be written to process user requests into queries for the database and return the data in the format that the user requires

Conclusions The integration of web access with embedded systems takes many forms and is a growth area at the moment This trend is helped by the increasing complexity of embedded devices, such as micro-controllers, made posible by advances in semiconductor technologies Many of the PCs in these systems would be using the LINUX operating system. The server would be APACHE. The Database is often MySQL and the “glue” language PERL or PHP. This is now so common that such a system is called a LAMP system for Linux Apache MySQL Perl or Php

PERL example of Web Use

Screen Display Result from CGI

END OF PRESENTATION