SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Smtp
SmtpSmtp
Smtp
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
 
Packet sniffing
Packet sniffingPacket sniffing
Packet sniffing
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
ICMP
ICMPICMP
ICMP
 
Dhcp
DhcpDhcp
Dhcp
 
Key Management and Distribution
Key Management and DistributionKey Management and Distribution
Key Management and Distribution
 
Ip spoofing ppt
Ip spoofing pptIp spoofing ppt
Ip spoofing ppt
 
Web Security
Web SecurityWeb Security
Web Security
 
TCP/IP 3-way Handshake
TCP/IP 3-way Handshake TCP/IP 3-way Handshake
TCP/IP 3-way Handshake
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Point to-point protocol (ppp)
Point to-point protocol (ppp)Point to-point protocol (ppp)
Point to-point protocol (ppp)
 
Firewall presentation m. emin özgünsür
Firewall presentation   m. emin özgünsürFirewall presentation   m. emin özgünsür
Firewall presentation m. emin özgünsür
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
Tcp and udp
Tcp and udpTcp and udp
Tcp and udp
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Arp and rarp
Arp and rarpArp and rarp
Arp and rarp
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Kürzlich hochgeladen (20)

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
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
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

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