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

Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP PresentationHarish Chand
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolUjjayanta Bhaumik
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link controlVishal kakade
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLVidhu Arora
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
 
Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp) Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp) RochakSrivastava3
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And ProtocolsSteven Cahill
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...rahul kundu
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPMukesh Chinta
 
Congestion control
Congestion controlCongestion control
Congestion controlAman Jaiswal
 
Multiplexing in mobile computing
Multiplexing in mobile computingMultiplexing in mobile computing
Multiplexing in mobile computingZituSahu
 
ELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLShashank Rustagi
 

What's hot (20)

Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Tcp ip-ppt
Tcp ip-pptTcp ip-ppt
Tcp ip-ppt
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp) Simple mail transfer protocol (smtp)
Simple mail transfer protocol (smtp)
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
Reference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IPReference models in Networks: OSI & TCP/IP
Reference models in Networks: OSI & TCP/IP
 
Token ring
Token ringToken ring
Token ring
 
E mail protocols
E mail protocolsE mail protocols
E mail protocols
 
Web services
Web servicesWeb services
Web services
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Multiplexing in mobile computing
Multiplexing in mobile computingMultiplexing in mobile computing
Multiplexing in mobile computing
 
ELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOL
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 

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

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

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