SlideShare a Scribd company logo
Design Principles for the Web Connectivity
Web Communication
protocols
Introduction for web
Connectivity
Web Connectivity
Message
Communication
protocols
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• Communication gateway connects two
application layers, one at sender and the
other at receiver.
• Enables use of two different protocols,
one at sender and the other at receiver
ends.
• Communication between web server
using the TCP/IP protocol conversion
gateway and IoT devices.
• Communication between the devices
using CoAP client and server using
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• An application uses a protocol.
• The protocols for Internet are HTTP,
FTP, SMTP, POP3, TELNET and several
other protocols.
• HTTP is most widely used application
layer protocol for communication over
TCP/IP.
• An HTTP client connects to an HTTP
server using TCP and then the client
sends a resource after establishing an
HTTP connection.
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• An HTTP transfer is stateless (data
transfer is an independent request).
• Therefore, header overhead information
and meta-data of previous state need to
be present with each HTTP request.
• Metadata is data which describes the
data for interpretation in future.
Ways of transferring both ways at the same
instant are:
• Multiple TCP connection
• HTTP requests at short, regular intervals
so that responses are nearly in real time
• Polling at successive intervals
• HTTP long polling means API sends a
request to the server, which keeps the
request open for a set period
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• Simple Object Access (SOAP) is a W3C
approved open-source protocol.
• SOAP is a protocol for exchange of
objects between applications using XML.
• It is also a protocol for access to a web
service. SOAP specifies the formats and
way of communicating the messages.
• SOAP functions connect the GUI
applications to web servers using the
standards of the Internet—HTTP and
XML.
• Microsoft’s .NET architecture supports
SOAP for Internet application
development.
• SOAP uses a body element after the
specifications in an envelope.
• The body element contains the SOAP
message intended for ultimate endpoint
of the message.
Web Connectivity
• A SOAP request could be an HTTP
POST, or an HTTP GET request.
• The HTTP POST request specifies at least
two HTTP headers: content type and
content length.
• A SOAP method uses HTTP
request/response after the HTTP binding
with the SOAP.
• The request and response complies with
the SOAP encoding rules.
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• W3C Technical Architecture Group
(TAG) developed the Representational
State Transfer (REST) architectural style.
• REST is a simpler alternative for SOAP
and Web Services Description Language
(WSDL).
• REST style web resources and Resource-
Oriented Architecture (ROA) have
increasingly replacing SOAP.
• The architectural properties of REST are
realized by applying specific interaction
constraints to data elements,
components, connectors and objects.
• REST software architecture style
provisions for the use of specific
practices, such as client-server mode of
communication and layered system
architectural approach
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• When all interactions used in the
applications conform fully to the REST
constraints then these are called RESTful.
• RESTful APIs comply with these
constraints and thus conform to the REST
architectural style.
• Web services with RESTful APIs adhere
to the REST architectural constraints.
• REST architectural style can be used for
HTTP access by GET, POST, PUT and
DELETE methods for resources and
building web services.
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
Standard HTTP methods are GET, PUT,
POST and DELETE. HTTP based RESTful
APIs use the following:
• URIs/URLs,
• REST-based web objects communicate
typically, but not always, over the HTTP.
• RESTful HTTP system feature is that
communication is over the HTTP and use
verbs (commands) same as in HTTP,
namely GET, POST, PUT and DELETE.
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
REST interfaces usually involve resource
repositories with identifiers. For example, /
Device Network/device or /Temperature
App, which can be operated upon using
standard verbs as follows:
• GET command is to get a list of the URIs
for resource repository of the resources.
• POST command creates a new entry in
the resource repository for the resources.
• PUT command which replaces the entire
resource repository with another
resource repository or replaces the
resource item of the repository.
• DELETE command from client retrieves
web objects and sends data to remote
servers
Web Connectivity
1. Communication Gateway
2. HTTP Request and Response Method
• Data Exchanges Between HTTP Web-
Objects
3. SOAP
4. REST and RESTful HTTP Web Applications
• RESTful
• RESTful HTTP APIs
• RESTful HTTP Verbs
5. WebSocket
Web Connectivity
• Instant messaging and many applications
need bidirectional data exchanges over
the same connection. WebSocket enables
bidirectional communication over a
single TCP connection.
• WSAPI attributes are URL, protocol,
ready state, buffered amount and are
extendable.
• The API functions are send (frame) and
close (socket).
• The Web Sockets enable easier usage of
existing infrastructure, authentication,
filtering and proxies.
• Number of popular browsers support the
protocol.
Web Connectivity
Web Connectivity
Features of WebSocket are:
• Small header size
• No new connection which will need a
new header and thus no new latency
period
• WSAPIs, because of very low connection
latencies, facilitate live content and the
creation of real-time games.
• Protocol is an independent TCP-based
protocol.
• Protocol uses default port 80 for regular
• Protocol is intended to be compatible
with HTTP-based server-side software
and intermediaries, so that a single port
can be used by both HTTP clients talking
to that server and WebSocket clients
talking to that server.
• Protocol specifies six frame types and
leaves ten reserved for future use.
• Clients and servers exchange the
‘messages’ after a successful handshake.
Web Communication
protocols
Introduction for web
Connectivity
Web Connectivity
Message
Communication
protocols

More Related Content

What's hot

M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizationsFabMinds
 
IOT PROTOCOLS.pptx
IOT PROTOCOLS.pptxIOT PROTOCOLS.pptx
IOT PROTOCOLS.pptxDRREC
 
Communication technologies
Communication technologiesCommunication technologies
Communication technologiesFabMinds
 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling TechnologiesPrakash Honnur
 
Internet connectivity
Internet connectivityInternet connectivity
Internet connectivityFabMinds
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
 
Overview of IoT (JNTUK - UNIT 1)
Overview of IoT (JNTUK - UNIT 1)Overview of IoT (JNTUK - UNIT 1)
Overview of IoT (JNTUK - UNIT 1)FabMinds
 
IOT Platform Design Methodology
IOT Platform Design Methodology IOT Platform Design Methodology
IOT Platform Design Methodology poonam kumawat
 
Application Layer Protocols for the IoT
Application Layer Protocols for the IoTApplication Layer Protocols for the IoT
Application Layer Protocols for the IoTDamien Magoni
 
IOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxIOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxArchanaPandiyan
 
Technology Behind IoT (JNTUK - Unit - 1)
Technology Behind IoT (JNTUK - Unit - 1)Technology Behind IoT (JNTUK - Unit - 1)
Technology Behind IoT (JNTUK - Unit - 1)FabMinds
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocolasimnawaz54
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocolPradeep Kumar TS
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network LayerRahul Hada
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication ProtocolsPradeep Kumar TS
 

What's hot (20)

M2M systems layers and designs standardizations
M2M systems layers and designs standardizationsM2M systems layers and designs standardizations
M2M systems layers and designs standardizations
 
IOT PROTOCOLS.pptx
IOT PROTOCOLS.pptxIOT PROTOCOLS.pptx
IOT PROTOCOLS.pptx
 
Communication technologies
Communication technologiesCommunication technologies
Communication technologies
 
IoT Enabling Technologies
IoT Enabling TechnologiesIoT Enabling Technologies
IoT Enabling Technologies
 
Internet connectivity
Internet connectivityInternet connectivity
Internet connectivity
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Overview of IoT (JNTUK - UNIT 1)
Overview of IoT (JNTUK - UNIT 1)Overview of IoT (JNTUK - UNIT 1)
Overview of IoT (JNTUK - UNIT 1)
 
IOT Platform Design Methodology
IOT Platform Design Methodology IOT Platform Design Methodology
IOT Platform Design Methodology
 
CoAP - Web Protocol for IoT
CoAP - Web Protocol for IoTCoAP - Web Protocol for IoT
CoAP - Web Protocol for IoT
 
Application Layer Protocols for the IoT
Application Layer Protocols for the IoTApplication Layer Protocols for the IoT
Application Layer Protocols for the IoT
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
netconf and yang
netconf and yangnetconf and yang
netconf and yang
 
IOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptxIOT System Management with NETCONF-YANG.pptx
IOT System Management with NETCONF-YANG.pptx
 
Technology Behind IoT (JNTUK - Unit - 1)
Technology Behind IoT (JNTUK - Unit - 1)Technology Behind IoT (JNTUK - Unit - 1)
Technology Behind IoT (JNTUK - Unit - 1)
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocol
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
IoT Communication Protocols
IoT Communication ProtocolsIoT Communication Protocols
IoT Communication Protocols
 
Domain specific IoT
Domain specific IoTDomain specific IoT
Domain specific IoT
 
Ppt 11 - netopeer
Ppt   11 - netopeerPpt   11 - netopeer
Ppt 11 - netopeer
 

Similar to web connectivity in IoT

Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with ODataMahek Merchant
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Nidhitransport
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)Gurjot Singh
 
RESTful web
RESTful webRESTful web
RESTful webAlvin Qi
 
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.pptKGSCSEPSGCT
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API RecommendationsJeelani Shaik
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Lori Head
 
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiTiago Knoch
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesSam Bowne
 
REST APIs for the Internet of Things
REST APIs for the Internet of ThingsREST APIs for the Internet of Things
REST APIs for the Internet of ThingsMichael Koster
 
REST APIs for an Internet of Things
REST APIs for an Internet of ThingsREST APIs for an Internet of Things
REST APIs for an Internet of ThingsMichael Koster
 

Similar to web connectivity in IoT (20)

Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
 
Rest WebAPI with OData
Rest WebAPI with ODataRest WebAPI with OData
Rest WebAPI with OData
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
What's New in Rails 5
What's New in Rails 5What's New in Rails 5
What's New in Rails 5
 
Overview of java web services
Overview of java web servicesOverview of java web services
Overview of java web services
 
RESTful web
RESTful webRESTful web
RESTful web
 
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.ppt
 
Design patternsforiot
Design patternsforiotDesign patternsforiot
Design patternsforiot
 
RESTful APIs
RESTful APIsRESTful APIs
RESTful APIs
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API Recommendations
 
Rest APIs Training
Rest APIs TrainingRest APIs Training
Rest APIs Training
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
 
Rest
RestRest
Rest
 
ASP.NET Mvc 4 web api
ASP.NET Mvc 4 web apiASP.NET Mvc 4 web api
ASP.NET Mvc 4 web api
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
 
Http protocol
Http protocolHttp protocol
Http protocol
 
REST APIs for the Internet of Things
REST APIs for the Internet of ThingsREST APIs for the Internet of Things
REST APIs for the Internet of Things
 
REST APIs for an Internet of Things
REST APIs for an Internet of ThingsREST APIs for an Internet of Things
REST APIs for an Internet of Things
 

More from FabMinds

Python Programming | JNTUA | UNIT 3 | Lists |
Python Programming | JNTUA | UNIT 3 | Lists | Python Programming | JNTUA | UNIT 3 | Lists |
Python Programming | JNTUA | UNIT 3 | Lists | FabMinds
 
Python Programming | JNTUA | UNIT 3 | Strings |
Python Programming | JNTUA | UNIT 3 | Strings | Python Programming | JNTUA | UNIT 3 | Strings |
Python Programming | JNTUA | UNIT 3 | Strings | FabMinds
 
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration | Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration | FabMinds
 
Python Programming | JNTUA | UNIT 2 | Case Study |
Python Programming | JNTUA | UNIT 2 | Case Study | Python Programming | JNTUA | UNIT 2 | Case Study |
Python Programming | JNTUA | UNIT 2 | Case Study | FabMinds
 
Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
Python Programming | JNTUA | UNIT 2 | Fruitful Functions | Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
Python Programming | JNTUA | UNIT 2 | Fruitful Functions | FabMinds
 
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion | Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion | FabMinds
 
Introduction for internet connectivity (IoT)
 Introduction for internet connectivity (IoT) Introduction for internet connectivity (IoT)
Introduction for internet connectivity (IoT)FabMinds
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)FabMinds
 
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsPython Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsFabMinds
 
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsPython Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsFabMinds
 
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...FabMinds
 
Python Programming | JNTUK | UNIT 1 | Lecture 5
Python Programming | JNTUK | UNIT 1 | Lecture 5Python Programming | JNTUK | UNIT 1 | Lecture 5
Python Programming | JNTUK | UNIT 1 | Lecture 5FabMinds
 
Python Programming | JNTUK | UNIT 1 | Lecture 4
Python Programming | JNTUK | UNIT 1 | Lecture 4Python Programming | JNTUK | UNIT 1 | Lecture 4
Python Programming | JNTUK | UNIT 1 | Lecture 4FabMinds
 
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2FabMinds
 
Python Programming | JNTUK | UNIT 1 | Lecture 3
Python Programming | JNTUK | UNIT 1 | Lecture 3Python Programming | JNTUK | UNIT 1 | Lecture 3
Python Programming | JNTUK | UNIT 1 | Lecture 3FabMinds
 
Python variable assignments | JNTUA | R19 | UNIT 1
Python variable assignments | JNTUA | R19 | UNIT 1 Python variable assignments | JNTUA | R19 | UNIT 1
Python variable assignments | JNTUA | R19 | UNIT 1 FabMinds
 
Python Introduction | JNTUA | R19 | UNIT 1
Python Introduction | JNTUA | R19 | UNIT 1 Python Introduction | JNTUA | R19 | UNIT 1
Python Introduction | JNTUA | R19 | UNIT 1 FabMinds
 

More from FabMinds (17)

Python Programming | JNTUA | UNIT 3 | Lists |
Python Programming | JNTUA | UNIT 3 | Lists | Python Programming | JNTUA | UNIT 3 | Lists |
Python Programming | JNTUA | UNIT 3 | Lists |
 
Python Programming | JNTUA | UNIT 3 | Strings |
Python Programming | JNTUA | UNIT 3 | Strings | Python Programming | JNTUA | UNIT 3 | Strings |
Python Programming | JNTUA | UNIT 3 | Strings |
 
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration | Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
Python Programming | JNTUA | UNIT 3 | Updating Variables & Iteration |
 
Python Programming | JNTUA | UNIT 2 | Case Study |
Python Programming | JNTUA | UNIT 2 | Case Study | Python Programming | JNTUA | UNIT 2 | Case Study |
Python Programming | JNTUA | UNIT 2 | Case Study |
 
Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
Python Programming | JNTUA | UNIT 2 | Fruitful Functions | Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
Python Programming | JNTUA | UNIT 2 | Fruitful Functions |
 
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion | Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
Python Programming | JNTUA | UNIT 2 | Conditionals and Recursion |
 
Introduction for internet connectivity (IoT)
 Introduction for internet connectivity (IoT) Introduction for internet connectivity (IoT)
Introduction for internet connectivity (IoT)
 
introduction for web connectivity (IoT)
introduction for web connectivity (IoT)introduction for web connectivity (IoT)
introduction for web connectivity (IoT)
 
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsPython Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
 
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | FunctionsPython Introduction | JNTUA | R19 | UNIT 1 | Functions
Python Introduction | JNTUA | R19 | UNIT 1 | Functions
 
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
Python Programming | JNTUK | UNIT 2 | Lecture 6 & 7 | Conditional & Control S...
 
Python Programming | JNTUK | UNIT 1 | Lecture 5
Python Programming | JNTUK | UNIT 1 | Lecture 5Python Programming | JNTUK | UNIT 1 | Lecture 5
Python Programming | JNTUK | UNIT 1 | Lecture 5
 
Python Programming | JNTUK | UNIT 1 | Lecture 4
Python Programming | JNTUK | UNIT 1 | Lecture 4Python Programming | JNTUK | UNIT 1 | Lecture 4
Python Programming | JNTUK | UNIT 1 | Lecture 4
 
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2
Python Programming | JNTUK | UNIT 1 | Lecture 1 & 2
 
Python Programming | JNTUK | UNIT 1 | Lecture 3
Python Programming | JNTUK | UNIT 1 | Lecture 3Python Programming | JNTUK | UNIT 1 | Lecture 3
Python Programming | JNTUK | UNIT 1 | Lecture 3
 
Python variable assignments | JNTUA | R19 | UNIT 1
Python variable assignments | JNTUA | R19 | UNIT 1 Python variable assignments | JNTUA | R19 | UNIT 1
Python variable assignments | JNTUA | R19 | UNIT 1
 
Python Introduction | JNTUA | R19 | UNIT 1
Python Introduction | JNTUA | R19 | UNIT 1 Python Introduction | JNTUA | R19 | UNIT 1
Python Introduction | JNTUA | R19 | UNIT 1
 

Recently uploaded

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativePeter Windle
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismDeeptiGupta154
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxDenish Jangid
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345beazzy04
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdfCarlosHernanMontoyab2
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleCeline George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...Jisc
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

web connectivity in IoT

  • 1.
  • 2. Design Principles for the Web Connectivity Web Communication protocols Introduction for web Connectivity Web Connectivity Message Communication protocols
  • 3. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 4. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 5. Web Connectivity • Communication gateway connects two application layers, one at sender and the other at receiver. • Enables use of two different protocols, one at sender and the other at receiver ends. • Communication between web server using the TCP/IP protocol conversion gateway and IoT devices. • Communication between the devices using CoAP client and server using
  • 6. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 7. Web Connectivity • An application uses a protocol. • The protocols for Internet are HTTP, FTP, SMTP, POP3, TELNET and several other protocols. • HTTP is most widely used application layer protocol for communication over TCP/IP. • An HTTP client connects to an HTTP server using TCP and then the client sends a resource after establishing an HTTP connection.
  • 8. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 9. Web Connectivity • An HTTP transfer is stateless (data transfer is an independent request). • Therefore, header overhead information and meta-data of previous state need to be present with each HTTP request. • Metadata is data which describes the data for interpretation in future. Ways of transferring both ways at the same instant are: • Multiple TCP connection • HTTP requests at short, regular intervals so that responses are nearly in real time • Polling at successive intervals • HTTP long polling means API sends a request to the server, which keeps the request open for a set period
  • 10. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 11. Web Connectivity • Simple Object Access (SOAP) is a W3C approved open-source protocol. • SOAP is a protocol for exchange of objects between applications using XML. • It is also a protocol for access to a web service. SOAP specifies the formats and way of communicating the messages. • SOAP functions connect the GUI applications to web servers using the standards of the Internet—HTTP and XML. • Microsoft’s .NET architecture supports SOAP for Internet application development. • SOAP uses a body element after the specifications in an envelope. • The body element contains the SOAP message intended for ultimate endpoint of the message.
  • 12. Web Connectivity • A SOAP request could be an HTTP POST, or an HTTP GET request. • The HTTP POST request specifies at least two HTTP headers: content type and content length. • A SOAP method uses HTTP request/response after the HTTP binding with the SOAP. • The request and response complies with the SOAP encoding rules.
  • 13. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 14. Web Connectivity • W3C Technical Architecture Group (TAG) developed the Representational State Transfer (REST) architectural style. • REST is a simpler alternative for SOAP and Web Services Description Language (WSDL). • REST style web resources and Resource- Oriented Architecture (ROA) have increasingly replacing SOAP. • The architectural properties of REST are realized by applying specific interaction constraints to data elements, components, connectors and objects. • REST software architecture style provisions for the use of specific practices, such as client-server mode of communication and layered system architectural approach
  • 15. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 16. Web Connectivity • When all interactions used in the applications conform fully to the REST constraints then these are called RESTful. • RESTful APIs comply with these constraints and thus conform to the REST architectural style. • Web services with RESTful APIs adhere to the REST architectural constraints. • REST architectural style can be used for HTTP access by GET, POST, PUT and DELETE methods for resources and building web services.
  • 17. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 18. Web Connectivity Standard HTTP methods are GET, PUT, POST and DELETE. HTTP based RESTful APIs use the following: • URIs/URLs, • REST-based web objects communicate typically, but not always, over the HTTP. • RESTful HTTP system feature is that communication is over the HTTP and use verbs (commands) same as in HTTP, namely GET, POST, PUT and DELETE.
  • 19. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 20. Web Connectivity REST interfaces usually involve resource repositories with identifiers. For example, / Device Network/device or /Temperature App, which can be operated upon using standard verbs as follows: • GET command is to get a list of the URIs for resource repository of the resources. • POST command creates a new entry in the resource repository for the resources. • PUT command which replaces the entire resource repository with another resource repository or replaces the resource item of the repository. • DELETE command from client retrieves web objects and sends data to remote servers
  • 21. Web Connectivity 1. Communication Gateway 2. HTTP Request and Response Method • Data Exchanges Between HTTP Web- Objects 3. SOAP 4. REST and RESTful HTTP Web Applications • RESTful • RESTful HTTP APIs • RESTful HTTP Verbs 5. WebSocket
  • 22. Web Connectivity • Instant messaging and many applications need bidirectional data exchanges over the same connection. WebSocket enables bidirectional communication over a single TCP connection. • WSAPI attributes are URL, protocol, ready state, buffered amount and are extendable. • The API functions are send (frame) and close (socket). • The Web Sockets enable easier usage of existing infrastructure, authentication, filtering and proxies. • Number of popular browsers support the protocol.
  • 24. Web Connectivity Features of WebSocket are: • Small header size • No new connection which will need a new header and thus no new latency period • WSAPIs, because of very low connection latencies, facilitate live content and the creation of real-time games. • Protocol is an independent TCP-based protocol. • Protocol uses default port 80 for regular • Protocol is intended to be compatible with HTTP-based server-side software and intermediaries, so that a single port can be used by both HTTP clients talking to that server and WebSocket clients talking to that server. • Protocol specifies six frame types and leaves ten reserved for future use. • Clients and servers exchange the ‘messages’ after a successful handshake.
  • 25. Web Communication protocols Introduction for web Connectivity Web Connectivity Message Communication protocols