Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP...

11
doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, Huawei Slide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 N am e C om pany A ddress Phone em ail Ping FANG H uaw eiTechnologies Bldg.7, V ision Softw are Park, Road G aoxin South 9, N anshan, Shenzhen, G uangdong,China, 518057 +86755 36839346 ping.fang@ Huawei.com Ji CHEN H uaw eiTechnologies [email protected] Authors:

Transcript of Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP...

Page 1: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

March 2014

Ping FANG, HuaweiSlide 1

Two options for UPnP Printer Discovery

Date: 2014-03-03

Name Company Address Phone email

Ping FANG Huawei Technologies Bldg. 7, Vision Software Park, Road Gaoxin South 9, Nanshan, Shenzhen, Guangdong, China, 518057

+86755 36839346 [email protected]

J i CHEN Huawei Technologies [email protected]

Authors:

Page 2: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

March 2014

Ping FANG, HuaweiSlide 2

Abstract

According to LA meeting discussion, we would like to know exactly how UPnP services can be discovered in 11aq.

After further study, two possible approaches, transparent mode and opaque mode, for UPnP services discovery in 11aq are described.

Page 3: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

March 2014

Ping FANG, HuaweiSlide 3

BackgroundIn 13/501r0, a architecture with service registration and service discovery is registered. Per the meeting discussion, the registration can be done in MAC layer or upper layer after association.

In 13/796r0, the procedure on how a STA discovers necessary service information before association is described with a high level 2-step service discovery procedure proposed.

In 13/796r1, more details on service indication are further discussed.

In 13/893r0, different service hash values proposed to be carried in service discovery request and response with public action frame for privacy and security.

In 13/1403r0, Service indication from AP, network discovery and detailed service information query are described.

In 14/0067r0, describes how a UPnP Printer can be discovered in11aq.

Page 4: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

UPnP Device Architecture

March 2014

Ping FANG, HuaweiSlide 4

Devices Controllers

NOTIFY messages (presence announcements)

M-SEARCH messages (device/service search)

GET device & service description

XML

UPnP ActionsSOAP

SSDP

SSDP

Event subscriptions

Event notifications

Dis

cove

ryD

isco

very

Des

crip

tion

Des

crip

tion

Con

trol

Con

trol

Even

tsEv

ents GENA

GENA

Service Discovery:Simple Service Discovery Protocol (SSDP)

Page 5: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

Detailed Query in SSDP

Service Query syntax Description

ssdp:all Searches for all UPnP devices and services

upnp:rootdevice Searches for all UPnP root devices

uuid:device-uuid Searches for a particular device

urn:schemas-upnp-org:device:deviceType:ver Searches for devices of the given type

urn:domain-name:device:deviceType:ver Searches for devices with a vendor-specific type

urn:schemas-upnp-org:service:serviceType:ver Searches for devices containing a service of the given type

urn:domain-name:service:serviceType:ver Searches for devices containing a vendor-specific service

March 2014

Ping FANG, HuaweiSlide 5

UPnP Printer: urn:schemas-upnp-org:service:PrintBasic:1

Page 6: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

Transparent mode for PrintBasic Service Discovery

March 2014

Ping FANG, HuaweiSlide 6

STA/CP APService / Network or

associated devices

GAS Req [IP(UDP(UPnP(M-SEARCH: urn:schemas-upnp-org:service:PrintBasic:1)))]

UPnP(GET: XML for service description)UPnP(XML Service Description)

GAS Resp [IP(UDP(UPnP: URL to service description))]

UPnP(NOTIFY with SSDP:alive)

GAS Req [IP(UDP(UPnP: GET: XML for service description))]

GAS Res[IP(UDP( UPnP:XML for service description))]

UPnP(M-SEARCH: urn:schemas-upnp-org:service:PrintBasic:1)

UPnP(URL to service description)

Broadcast [IP(UDP(UPnP(NOTIFY with SSDP:alive)))]

service query with higher layer syntax

For post-Association

Proxy

Encapsulation

Decapsulation

Encapsulation

Decapsulation

Encapsulation

Page 7: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

Transparent Mode for PAD

• STA need to generate UPnP service query before IP link setup

• STA need to be configured with a temp IP address

• STA transmit service discovery with UPnP syntax in MAC message

• Proxy encapsulates message from PAD STAs

• Proxy decapsulates message from service provider

• Proxy needs to maintain a table for STA MAC & temp IP map

March 2014

Ping FANG, HuaweiSlide 7

Page 8: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

Opaque mode for UPnP PrintBasic Service Discovery

March 2014

Ping FANG, HuaweiSlide 8

STA/CP APService / Network or

associated devices

UPnP (GET: XML for service description)

UPnP (XML Service Description)

GAS Resp [UPnP: URL to service description]

UPnP( NOTIFY with SSDP:alive)

GAS Req [UPnP: GET: XML for service description]

GAS Res [UPnP:XML for service description]

UPnP (M-SEARCH: urn:schemas-upnp-org:service:PrintBasic:1)

UPnP (URL to service description)

Broadcast [Service Indication]

For post-Association

Proxy

Get Service info

Generate UPnP Message

Translate into GAS

GAS Req [UPnP: PrintBasic]

Service Name or Service hash ID exchange

Generate UPnP Message

Translate into GAS

Page 9: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

Opaque Mode for PAD

• STA uses general service name or service hash in service query

• STA don’t need to handle UPnP syntax for PAD service query

• Proxy may caches service information and broadcast service indication

• Proxy generates UPnP message to Service provider

• Proxy needs to translate UPnP message into GAS for STA

March 2014

Ping FANG, HuaweiSlide 9

Page 10: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

March 2014

Ping FANG, HuaweiSlide 10

Two Possible Approaches for 11aq

1. Both transparent approach and opaque approach works for 11aq

2. Transparent approacha) Less requirement on Proxy

b) Proxy encapsulates and decapsulates message between STA and service provider

c) STA need to generate service query with higher layer syntax before association

3. Opaque approacha) More requirement on Proxy

b) Proxy needs to parse the message between service provider and supplicant, generate higher layer service query message from STA’s query, and generate MAC message for STA from higher layer service response

c) STA user general service name/hash in PAD service query & response

d) Proxy may caches Service information, and indicate supported services to STAs

e) STA may get response much faster

Page 11: Doc.: IEEE 802.11-14/0374r0 Submission March 2014 Ping FANG, HuaweiSlide 1 Two options for UPnP Printer Discovery Date: 2014-03-03 Authors:

doc.: IEEE 802.11-14/0374r0

Submission

References

1. IEEE Std 802.11™-2012

2. UPnP Device Architecture 1.0 - UPnP Forum

3. Printer:1 Device Template Version 1.01. For UPnP™ Version 1.0

4. PrintBasic:1 Service Template Version 1.01. For UPnP™ Version 1.0

March 2014

Ping FANG, HuaweiSlide 11