SlideShare a Scribd company logo
1 of 15
Download to read offline
XMPP, HTTP and UPnP
AUTHOR : ITVOYAGERS
WEBSITE : ITVOYAGERS.IN
Content
XMPP
 Stack
 XMPP Network
 Stanzas
 Jabber Identification (JID)
HTTP
 URL Division
 HTTP Methods
UPnP
 Features
 Demerits
2ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
XMPP(Extensible Messaging and Presence
Protocol)
XMPP was first published in 1999 and 2000 in RFC 3920.
In 2002 XMPP working group was formed by IETF (Internet Engineering Task Force) to formalize
the core protocols.
XMPP is communication protocol
XMPP is based on XML.
There was a need for protocol which can transmit data between different platforms and
applications here is when XMPP comes in picture.
XMPP helps us to transmit data between different platforms and applications.
XMPP is great for IOT devices.
3ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
XMPP Stack
4
XMPP Protocol
Libraries for platform
User Application
XMPP has libraries for most of the platforms out there, this feature of XMPP makes it great
transmission protocol for IOT devices.
Even though there are different application which will no interact with each other, but with
XMPP data transmission between those application is possible.
ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
5
Server1.com
Server2.com Server3.com
User-Z@Server.com/Mobile
User-B@Server1.com/PC1
User-B@Server1.com/Mobile1
User-C@Server2.com/PC1
User-C@Server2.com/Mobile1
User-D@Server3.com/PC1
User-A@Server3.com/Tablet1
User-A@Server1.com/PC1
Username Domain Resource
XMPP JID
XMPP Network
ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
Jabber Identification (JID)
Each XMPP entity has unique ID also for its separate devices, which is known as JID (Jabber
Identification).
JID is divided in 3 parts.
 Username : username of entity.
 Domain : Server name.
 Resource : Devices name.
Resource helps to identify devices is uniquely even though they are used by same entity.
6ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
XMPP Stanzas
The <message> Stanzas is use to transmit information between XMPP devices.
Following are the types of stanzas.
Message
 When we want to send message, we use <message> stanza.
Presence
 Each time XMPP device change its status, <presence> stanzas are broadcasted.
 It controls the subscription status between devices.
Information/Query (IQ)
 The <iq> stanza is used to request or modify data, it acts like HTML’s GET and POST methods.
7ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
HTTP (Hyper Text Transfer Protocol)
HTTP is an application layer protocol.
HTTP is foundation for WWW.
In 1989, Tim Berners-Lee at CERN initiated the Development of HTTP.
HTTP uses TCP for communication.
HTTP is request/response protocol based on client/server model.
Client generates a request from application (most of the time application is web browser) and
server (system hosting website or other resources).
Client requests for the resources like HTML pages, multimedia files, etc.
Server generates dynamic response according to client’s request.
8ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
HTTP
Path for resources is known as URL (Uniform Resource Locator).
Credits : Wikipedia
URL is divided in above parts.
By default port number for HTTP on server is port 80.
There is no need for a server to store information, state or time duration of request so HTTP
works as a stateless protocol.
9ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
HTTP Methods
HTTP provides methods which help client to perform certain actions on data in server.
Following are the methods HTTP provides.
HTTP/1.0 Specification
 GET
 POST
 HEAD
HTTP/1.1 Specification
 PUT
 DELETE
 TRACE
 OPTIONS
 CONNECT
 PATCH
10ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
HTTP
Some websites needs to store information regarding sessions hence they use server side
sessions over HTTP cookies.
HTTP sends message in plain text format which is not secured, to over come this disadvantage
HTTPS was developed.
HTTPS uses port 443 for communication.
HTTPS runs over TLS or SSL.
HTTPS encrypts the messages before sending.
11ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
UPnP (Universal Plug and Play)
UPnP was develop to set network among systems like personal computer, TV, printer, mobile
devices, internet gateway, etc. to share data.
UPnP uses HTTP and runs over IP to provide connection.
UPnP is managed by OCF (Open Connectivity Foundation).
Device search requests are carried out using HTTP on top of UDP using multicast(HTTPMU),
response is send using UPD but using unicast(HTTPU)
As the name suggest once devices are plug in to a network they will establish communication
with other devices by themselves, there is no need for configuration.
Group vendors involve in creation of UPnP, hence almost out there supports UPnP.
12ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
UPnP Features
Media independence
 UPnP runs on media which supports IP, e.g. Ethernet, FireWire, IR, RF, etc.
User Interface Control
 UPnP allows you to present devices using web browser.
OS and Programming Language independence
 UPnP is dependent on any OS or programming language, any OS and programming can be use to
develop UPnP device, most of them have UPnP libraries.
Extensibility
 In UPnP any product can have its own service layer on top of basic architecture.
13ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
UPnP Demerits
Authentication
 UPnP doesn’t have any authentication system, it has to depend on other security services.
Access from internet
 Devices in UPnP can be accessed from out side the network, which makes more vulnerable.
IGMP(Internet Group Management Protocol) snooping
 IGMP snooping is enabled on a switch, or more commonly a wireless router/switch, it will interfere with
UPnP devices if incorrectly or incompletely configured, making UPnP appear unreliable
14ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
Follow us on
https://www.facebook.com/itvoyagers/
https://twitter.com/ITVoyagers
https://www.instagram.com/itvoyagers_official/
https://www.linkedin.com/in/itvoyagers-vgitcs-673642172/
https://in.pinterest.com/itvoyagers/https://www.reddit.com/user/ITVoyagers
ITVoyagers OFFICIAL
https://www.slideshare.net/vgitcsofficialedupoi
15ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT

More Related Content

What's hot

Network address translation
Network address translationNetwork address translation
Network address translationVarsha Honde
 
Server load balancer ppt
Server load balancer pptServer load balancer ppt
Server load balancer pptShilpi Tandon
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)Ramola Dhande
 
Technical Overview of QUIC
Technical  Overview of QUICTechnical  Overview of QUIC
Technical Overview of QUICshigeki_ohtsu
 
What Is User Datagram Protocol?
What Is User Datagram Protocol?What Is User Datagram Protocol?
What Is User Datagram Protocol?Simplilearn
 
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeHUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeIPMAX s.r.l.
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingPeter R. Egli
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systemsReza Gh
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)Kruti Niranjan
 
Introduction to WebSockets
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSocketsGunnar Hillert
 
Secure IOT Gateway
Secure IOT GatewaySecure IOT Gateway
Secure IOT GatewayLF Events
 
Cluster based routing protocol
Cluster based routing protocolCluster based routing protocol
Cluster based routing protocolSudhansu Dash
 

What's hot (20)

Network address translation
Network address translationNetwork address translation
Network address translation
 
Server load balancer ppt
Server load balancer pptServer load balancer ppt
Server load balancer ppt
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
Technical Overview of QUIC
Technical  Overview of QUICTechnical  Overview of QUIC
Technical Overview of QUIC
 
What Is User Datagram Protocol?
What Is User Datagram Protocol?What Is User Datagram Protocol?
What Is User Datagram Protocol?
 
CoAP - Web Protocol for IoT
CoAP - Web Protocol for IoTCoAP - Web Protocol for IoT
CoAP - Web Protocol for IoT
 
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeHUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
 
Transport layer
Transport layer Transport layer
Transport layer
 
Sdn ppt
Sdn pptSdn ppt
Sdn ppt
 
Chap 12 tcp
Chap 12 tcpChap 12 tcp
Chap 12 tcp
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
 
Amqp Basic
Amqp BasicAmqp Basic
Amqp Basic
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
AODV protocol
AODV protocolAODV protocol
AODV protocol
 
Distributed Coordination-Based Systems
Distributed Coordination-Based SystemsDistributed Coordination-Based Systems
Distributed Coordination-Based Systems
 
Introduction to WebSockets
Introduction to WebSocketsIntroduction to WebSockets
Introduction to WebSockets
 
Secure IOT Gateway
Secure IOT GatewaySecure IOT Gateway
Secure IOT Gateway
 
Cluster based routing protocol
Cluster based routing protocolCluster based routing protocol
Cluster based routing protocol
 

Similar to XMPP, HTTP and UPnP

Computer networks - CBSE New Syllabus (083) Class - XII
Computer networks - CBSE  New Syllabus (083) Class - XIIComputer networks - CBSE  New Syllabus (083) Class - XII
Computer networks - CBSE New Syllabus (083) Class - XIIDeepak Singh
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guideSrihari
 
What is Protocol.docx
What is Protocol.docxWhat is Protocol.docx
What is Protocol.docxkndnewguade
 
WebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonWebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonAlan Quayle
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layerTahmina Shopna
 
Performance Analysis of VoIP by Communicating Two Systems
Performance Analysis of VoIP by Communicating Two Systems Performance Analysis of VoIP by Communicating Two Systems
Performance Analysis of VoIP by Communicating Two Systems IOSR Journals
 
Introduction To Internet
Introduction To InternetIntroduction To Internet
Introduction To InternetMohit Dhankher
 
Presentation 1
Presentation 1Presentation 1
Presentation 1aisadhsa
 
Lesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocolsLesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocolsLexume1
 
Networking protocols
Networking protocolsNetworking protocols
Networking protocolsBalayogi G
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Modelmayday1429
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Modelmayday1429
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Modelguestedf71bf
 
Introduction internet appli
Introduction internet appliIntroduction internet appli
Introduction internet appliTheon Jum
 
Internet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxInternet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxSamyakJain710491
 
network protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinetwork protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinitashach22
 
A Presentation on Servers & Splunk
A Presentation on Servers & SplunkA Presentation on Servers & Splunk
A Presentation on Servers & SplunkAvinash Kumar
 

Similar to XMPP, HTTP and UPnP (20)

Computer networks - CBSE New Syllabus (083) Class - XII
Computer networks - CBSE  New Syllabus (083) Class - XIIComputer networks - CBSE  New Syllabus (083) Class - XII
Computer networks - CBSE New Syllabus (083) Class - XII
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
What is Protocol.docx
What is Protocol.docxWhat is Protocol.docx
What is Protocol.docx
 
Mcse question
Mcse questionMcse question
Mcse question
 
WebRTC Standards from Tim Panton
WebRTC Standards from Tim PantonWebRTC Standards from Tim Panton
WebRTC Standards from Tim Panton
 
Web protocol.pptx
Web protocol.pptxWeb protocol.pptx
Web protocol.pptx
 
Application layer and protocols of application layer
Application layer and protocols of application layerApplication layer and protocols of application layer
Application layer and protocols of application layer
 
Performance Analysis of VoIP by Communicating Two Systems
Performance Analysis of VoIP by Communicating Two Systems Performance Analysis of VoIP by Communicating Two Systems
Performance Analysis of VoIP by Communicating Two Systems
 
Basic to advance protocols
Basic to advance protocolsBasic to advance protocols
Basic to advance protocols
 
Introduction To Internet
Introduction To InternetIntroduction To Internet
Introduction To Internet
 
Presentation 1
Presentation 1Presentation 1
Presentation 1
 
Lesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocolsLesson4.9 d u4l3 hierarchy of open protocols
Lesson4.9 d u4l3 hierarchy of open protocols
 
Networking protocols
Networking protocolsNetworking protocols
Networking protocols
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Model
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Model
 
Osi Seven Layer Model
Osi Seven Layer ModelOsi Seven Layer Model
Osi Seven Layer Model
 
Introduction internet appli
Introduction internet appliIntroduction internet appli
Introduction internet appli
 
Internet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxInternet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptx
 
network protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinetwork protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedi
 
A Presentation on Servers & Splunk
A Presentation on Servers & SplunkA Presentation on Servers & Splunk
A Presentation on Servers & Splunk
 

More from ITVoyagers

Theory building - Chapter 3
Theory building - Chapter 3Theory building - Chapter 3
Theory building - Chapter 3ITVoyagers
 
Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2ITVoyagers
 
The role of business research - Chapter 1
The role of business research - Chapter 1The role of business research - Chapter 1
The role of business research - Chapter 1ITVoyagers
 
Nodejs - ITVoyagers
Nodejs - ITVoyagersNodejs - ITVoyagers
Nodejs - ITVoyagersITVoyagers
 
FPGA, GPU and ALU
FPGA, GPU and ALUFPGA, GPU and ALU
FPGA, GPU and ALUITVoyagers
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersITVoyagers
 
Constructor in Java - ITVoyagers
Constructor in Java - ITVoyagersConstructor in Java - ITVoyagers
Constructor in Java - ITVoyagersITVoyagers
 

More from ITVoyagers (8)

Theory building - Chapter 3
Theory building - Chapter 3Theory building - Chapter 3
Theory building - Chapter 3
 
Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2Information systems and knowledge management - Chapter 2
Information systems and knowledge management - Chapter 2
 
The role of business research - Chapter 1
The role of business research - Chapter 1The role of business research - Chapter 1
The role of business research - Chapter 1
 
Nodejs - ITVoyagers
Nodejs - ITVoyagersNodejs - ITVoyagers
Nodejs - ITVoyagers
 
MQTT and CoAP
MQTT and CoAPMQTT and CoAP
MQTT and CoAP
 
FPGA, GPU and ALU
FPGA, GPU and ALUFPGA, GPU and ALU
FPGA, GPU and ALU
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagers
 
Constructor in Java - ITVoyagers
Constructor in Java - ITVoyagersConstructor in Java - ITVoyagers
Constructor in Java - ITVoyagers
 

Recently uploaded

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

XMPP, HTTP and UPnP

  • 1. XMPP, HTTP and UPnP AUTHOR : ITVOYAGERS WEBSITE : ITVOYAGERS.IN
  • 2. Content XMPP  Stack  XMPP Network  Stanzas  Jabber Identification (JID) HTTP  URL Division  HTTP Methods UPnP  Features  Demerits 2ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 3. XMPP(Extensible Messaging and Presence Protocol) XMPP was first published in 1999 and 2000 in RFC 3920. In 2002 XMPP working group was formed by IETF (Internet Engineering Task Force) to formalize the core protocols. XMPP is communication protocol XMPP is based on XML. There was a need for protocol which can transmit data between different platforms and applications here is when XMPP comes in picture. XMPP helps us to transmit data between different platforms and applications. XMPP is great for IOT devices. 3ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 4. XMPP Stack 4 XMPP Protocol Libraries for platform User Application XMPP has libraries for most of the platforms out there, this feature of XMPP makes it great transmission protocol for IOT devices. Even though there are different application which will no interact with each other, but with XMPP data transmission between those application is possible. ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 6. Jabber Identification (JID) Each XMPP entity has unique ID also for its separate devices, which is known as JID (Jabber Identification). JID is divided in 3 parts.  Username : username of entity.  Domain : Server name.  Resource : Devices name. Resource helps to identify devices is uniquely even though they are used by same entity. 6ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 7. XMPP Stanzas The <message> Stanzas is use to transmit information between XMPP devices. Following are the types of stanzas. Message  When we want to send message, we use <message> stanza. Presence  Each time XMPP device change its status, <presence> stanzas are broadcasted.  It controls the subscription status between devices. Information/Query (IQ)  The <iq> stanza is used to request or modify data, it acts like HTML’s GET and POST methods. 7ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 8. HTTP (Hyper Text Transfer Protocol) HTTP is an application layer protocol. HTTP is foundation for WWW. In 1989, Tim Berners-Lee at CERN initiated the Development of HTTP. HTTP uses TCP for communication. HTTP is request/response protocol based on client/server model. Client generates a request from application (most of the time application is web browser) and server (system hosting website or other resources). Client requests for the resources like HTML pages, multimedia files, etc. Server generates dynamic response according to client’s request. 8ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 9. HTTP Path for resources is known as URL (Uniform Resource Locator). Credits : Wikipedia URL is divided in above parts. By default port number for HTTP on server is port 80. There is no need for a server to store information, state or time duration of request so HTTP works as a stateless protocol. 9ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 10. HTTP Methods HTTP provides methods which help client to perform certain actions on data in server. Following are the methods HTTP provides. HTTP/1.0 Specification  GET  POST  HEAD HTTP/1.1 Specification  PUT  DELETE  TRACE  OPTIONS  CONNECT  PATCH 10ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 11. HTTP Some websites needs to store information regarding sessions hence they use server side sessions over HTTP cookies. HTTP sends message in plain text format which is not secured, to over come this disadvantage HTTPS was developed. HTTPS uses port 443 for communication. HTTPS runs over TLS or SSL. HTTPS encrypts the messages before sending. 11ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 12. UPnP (Universal Plug and Play) UPnP was develop to set network among systems like personal computer, TV, printer, mobile devices, internet gateway, etc. to share data. UPnP uses HTTP and runs over IP to provide connection. UPnP is managed by OCF (Open Connectivity Foundation). Device search requests are carried out using HTTP on top of UDP using multicast(HTTPMU), response is send using UPD but using unicast(HTTPU) As the name suggest once devices are plug in to a network they will establish communication with other devices by themselves, there is no need for configuration. Group vendors involve in creation of UPnP, hence almost out there supports UPnP. 12ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 13. UPnP Features Media independence  UPnP runs on media which supports IP, e.g. Ethernet, FireWire, IR, RF, etc. User Interface Control  UPnP allows you to present devices using web browser. OS and Programming Language independence  UPnP is dependent on any OS or programming language, any OS and programming can be use to develop UPnP device, most of them have UPnP libraries. Extensibility  In UPnP any product can have its own service layer on top of basic architecture. 13ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT
  • 14. UPnP Demerits Authentication  UPnP doesn’t have any authentication system, it has to depend on other security services. Access from internet  Devices in UPnP can be accessed from out side the network, which makes more vulnerable. IGMP(Internet Group Management Protocol) snooping  IGMP snooping is enabled on a switch, or more commonly a wireless router/switch, it will interfere with UPnP devices if incorrectly or incompletely configured, making UPnP appear unreliable 14ITVOYAGERS - ITVOYAGERS.IN : LET'S SAIL ACROSS AN OCEAN OF IT