The document discusses SIPifying OSGi to enable consumer networking convergence. It proposes an OSGi SIP service that would allow secure wide area communication of diverse devices using SIP. This would provide OSGi frameworks with the ability to interact with SIP devices and enable device/service mobility and inter-gateway bridging. The service aims to make underlying SIP device control issues transparent to application developers while providing APIs for exporting/importing OSGi devices to a SIP-based framework.
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
SIPifying OSGi - M Ma
1. SIPifying OSGi
Panasonic Information and Networking Technologies Laboratory
Panasonic Technologies
Princeton, New Jersey USA
Dennis Bushmitch
Alex Gelman
Alan Kaplan
Matthew Ma
mma@research.panasonic.com
3. Consumer Networking Convergence
The Basis For a Value Proposition
Consumer applications must serve at least one of the following
areas
Domestic productivity
Economics
Education/profession/business
Entertainment
Family/community/social life
Healthcare/welfare
Safety
Consumer Networking Convergence can be only supported by
application-specific networked devices that are part of personal
lifestyle
Consumer Networking Convergence can be only supported by
application-specific networked devices that are part of personal
lifestyle
4. Consumer Networking Convergence Paradigm
The Networking Scenario
Appliance
Control
Network
Home
Computing
Network
O
O
Home
Entertainment
Network
Home Server
InternetInternet
STB + BGW
Public Area
Hot Spots
ASP
5. Consumer Networking Convergence
Applications Paradigm Shift
Information
Access and
Processing
Entertainment
Communications
Disjointed ComputingDisjointed Computing
Entertainment
Convergent
Computing
Communications
Convergent ComputingConvergent Computing
Information
Access and
Processing
Information
Access and
Processing
Autonomic
self-aware, self-configuring, self-
maintaining
Cognitive
environmentally perceptive and reactive
Transparent
operate and adapt with minimal impact on
consumer
Pervasive
anytime, anywhere, anybody
AutonomicAutonomic
self-aware, self-configuring, self-
maintaining
CognitiveCognitive
environmentally perceptive and reactive
TransparentTransparent
operate and adapt with minimal impact on
consumer
PervasivePervasive
anytime, anywhere, anybody
6. • DTV Channel Monitoring & Control
• Recording/Play-Back Control
InternetInternet
Wireless
Carrier
RGW Home Server
Remote Parental Control
Panasonic
An Example of CNC
In and Out of Home Device Control
8. Consumer Networking Convergence
Basic Architectural Approach
Middleware & Protocols are the
key in a convergent computing
world
Hide the complexities and
heterogeneity in a convergent
world
Different hardware, OS,
protocols, networks
Enable the creation of novel
services and applications
Internet Protocols
Platform: OS & HW
Convergent Computing Protocols
Convergent Computing Middleware
DTV AppliancesMobile HomeNet
Comp&Ent
TransparentTransparent
PervasivePervasive
AutonomicAutonomic
CognitiveCognitive
9. OSGi and SIP
Create a specification for an OSGi service, which defines APIs
that enable:
Secure wide area support of device registration, communication,
control, and event handling utilizing SIP (e.g., 4G Mobile)
OSGi Device mobility (application layer) using SIP
Inter-working and inter-gateway bridging of heterogeneous local
area device communication protocols (e.g., UPnP, Jini) across
wide area network
10. Use Case 1: Secure WAN Communication of
Diverse Devices
UPnP Service
SIP UA
InternetInternet
Home
Content Server
Wireless
Carrier
Mobile
Device
UPnP Ctrl.Pt.
Jini
G/W
SIP Stack
Proposed
OSGi SIP
Service
OSGi UPnP
Service
OSGi Jini
Service
• SIP protocol enables secure
access from wide area to local
devices connected to the
gateway
• An OSGi SIP service will bring
OSGi Framework support to
mobile SIP devices
11. Use Case 2: Device / Service Mobility using SIP
UPnP device (camcorder)
moves from GW1 to GW2
SIP Proxy
UPnP device in GW1 is registered with SIP proxy as SIP device.
Upon relocation to GW2, it re-registers with SIP proxy, given it a new
location
OSGi GW1
UPnP SIP
OSGi GW2
UPnP SIP
Camcorder
Service
Bundle
Implications: Home gateway devices can roam to foreign gateways
without service interruptions
12. Use Case 3: Inter-gateway Bridging
Use SIP to import/export OSGi devices from/to service registries
OSGi GW 1
UPnP SIP
OSGi GW 2
UPnPSIP
OSGI service registry OSGI service registry
Implications: Home devices/services accessible as local
devices/services on the car gateway and vice-versa
13. Additional motivations behind the proposed
service
Many vendors investigating SIP for device to device control in
various home networking scenarios
OSGi is an ideal unifying framework, which can bridge multiple
device control frameworks (UPnP, Jini, now SIP)
Proposed service will provide OSGi framework with ability to
interact with new types of devices
14. Intro to SIP
SIP - Session Initiation Protocol (RFC2543)
Originally thought as a signaling protocol for multimedia session
establishment
Client - Server Protocol
Basic request - response protocol
SIP User Agents (UAS and UAC are communicating with each
other)
Supports event notification
Critical function for the device control
Can be extended with new METHODS and HEADERS via
standardization in IETF
Example use of SIP for instant messaging
15. Main Aspects of SIP
“Application” layer protocol, which supports MIME type
attachments as payloads
Can be used as a “mobile transport” protocol as application-
specific chunks of data can be transported within MIME
Supports service and device mobility
Logical naming for device in a form of URLs creates an abstraction
for a physical device: service tied to devices capability and not a
physical device
SIP proxies route the messages to a recipient based on registration
information
Sender of SIP message doesn’t need to know the location of the
receiver
These combined make SIP a very powerful protocol for device /
service discovery and device control
16. Background: SIP and Device Control
SIP protocol provides all the needed capabilities for
device/service/control point mobility, discovery, registration,
eventing, control, presentation
Existing SIP methods accommodate functionality
REGISTER, MESSAGE, SUBSCRIBE
Additional information can be carried inside new MIME type
The related proposed SIP extensions in IETF:
Device control (Telcordia) – http://www.argreenhouse.com/iapp
Device/service capability negotiation, CC/PP over SIP (Fujitsu)
Instant messaging and presence (SIMPLE) –
http://www.ietf.org/html.charters/simple-charter.html
17. Defining Characteristics
Proposed service is different from a vanilla SIP protocol bundle
Provides “high end” SIP device control service to other bundles /
end user
Underlying SIP device control issues need to be transparent to
application developers
Proposed service is different from API specification to SIP
protocol’s general functionality
Examples of similar level OSGi services: Jini, UPnP
Example level of abstraction in the proposed API
SIP device reference via SIPDevice
SIP device registration via SIPServer
SIP device communication interface SIPUserAgent
18. Proposed Service Requirements
OSGi APIs have to be provided for:
Export of OSGi devices into mobile SIP-based device
communication framework
Import of SIP device functionality into OSGi framework
Use OSGi device access driver model
SIP Device Service Driver must register SIP devices with OSGi
Framework
SIP devices need to be devices in the context of the OSGi
framework’s device manager
19. More Service Requirements
Bundles need to discover registered SIP devices
Bundles must be able to listen to SIP-devices’ events
Bundles must be able to control SIP devices and be controlled
by SIP devices
Provide SIP globally unique URIs to devices
Use of SIP logical naming for OSGi devices
Provide communication between device driver and a device
using SIP
20. Summary
An OSGi SIP Service for device communication enables
capabilities currently not in the OSGi specification
Secure, wide-area access to the OSGi gateway
Mobility/roaming of devices and services
Inter-gateway bridging of devices and services
SIPifying OSGi provides the foundation for Consumer
Networking Convergence!