s04 hybrid app_and_gae_management_v1.0
DESCRIPTION
GAE Service and XMPP Service, etcTRANSCRIPT
Smart TV
http://www.softwareinlife.com
Hybrid Appand
GAE Management
대표이사 장선진@jangsunjin
- Mobile Phone: (+82) 010-4585-1770- E-Mail: [email protected]
Google App Engine Architecture
Google Server Cluster
Google File System
BigTable
Google App Engine DataStore
Blobstore Capabilities
Images Mail
Multitenancy OAuth
Channel
Memcache
Task Queues
URL Fetch
Users
XMPP
Google App Engine Runtime (Python, Java, GO)
Your GAE ApplicationPython / Java Frame-
work
AdminConsole
GAE SDKIDE
GAE Service API• Blobstore (Experimental)• Capabilities• Channel• Images• Mail• Memcache• Multitenancy• OAuth• Task Queues• URL Fetch• Users• XMPP
http://code.google.com/appengine/docs/quotas.html
XMPP(eXtensible Messaging and Presence Protocol)
• XMPP 는 RFC3920, RFC3921 등 IETF 에서 제정한 IM(Instant Messenger) 를 위한 국제 표준 프로토콜
– Jabber Inc. 에 의해 1998 년부터 Jabber 라는 이름으로 확장 가능한 XML 베이스의 메세징 프로토콜이 연구되었으며 , 2004 년 1 월 IETF 에 의해 표준안으로서 인정
– GTalk(google), iChat(Apple), Gaim, Pidgin 등이 지원하며 현재 XMPP 는 두 지점간의 통신 규격에 관한 것으로 이 두 지점은 이메일 주소와 같은 방식으로 표현되며 두 지점간의 메시지 (message), 프레즌스 (presence) 를 실시간으로 전달해 주는 규격
XMPP 의 특징
• login, presence, subscribe, messaging, chat, multichat, file trans-fer 등 메시징 서비스를 위한 기본적인 프로토콜 규약 정의
• NAT, STUN, firewall, SSL 등 두 지점간의 연결을 위한 기술 및 보안 등에 대한 정의 및 구현
• 지점간의 Audio, Video 통신 , multimedia streaming service 및 Phone 과의 VoIP 를 위한 확장 정의
• 서버간의 호환 , 분산서버 , 타 메신저와의 호환
XMPP 구조
• JID(Jabber ID): [ node "@" ] domain [ "/" resource ]– [email protected]/googleappengine
– 사용자는 여러 XMPP 서버에 로그인할 수 있으며 Resource 를 통하여 구분할 수 있다 .
XMPPServer
XMPPServer
Client
Client
Client
Client
Client
Client
XMPPXMPP XMPP
Direct Client-Client Communication
XMPP 프로토콜
• XMPP 는 Stream 기반으로 동작• XMPP 의 Message Type
- one-to-one chat, group-chat, error, headline and normal
Client 1
Client 2 (GAE)
Client 1
Client 2 (GAE)
http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol
GAE XMPP Service
• GAE XMPP 서비스는 3 가지 inbound services 를 지원함 .
– xmpp_message GAE 에서 chat message 를 교환할 수 있음 .
– xmpp_subscribe 사용자와 GAE 간에 chat message, presence in-formation, status message 와 같은 데이터를 교환할 수 있음 .
– xmpp_presence GAE 에서 사용자의 chat presence 를 감지할 수 있음 .
• GAE 기반의 어플리케이션은 기본 JID 가 부여됨 .- [email protected]
• 사용자가 JID 추가 정의 가능함 .- [email protected]
GAE XMPP Service 의 장점
• 즉시 활용 가능한 XMPP 서버를 구축할 수 있음 .• Gtalk 와 같은 XMPP 서버와 원활한 통신이 보장됨 .• 추가적인 JID 구성을 통하여 다양한 XMPP 관련 서비스를
구축할 수 있음 .
VS
Demo• JID: [email protected]
GAE XMPP Service 활용
N-Screen(One-Source Multi-Use)
Smart TV
Smart Phone
Smart PAD
Google App Engine XMPP Service
Real Time Hybrid App
Service
Smack API
XMPP 활용 용량
Version of GAE
Billing of GAE
Rapid Development and Deploy
Android with Google APIs
Google App Engine with Google APIs
Google is Open Platform
Open Source Open API Open InfrastructureOpen Service
Open Dev Tools
Software in Life SNA Platform
Socia
l Netw
ork
Ap
plic
atio
n P
latfo
rm
Iden
tity S
erv
ice
Ad
min
istra
tion
Serv
ice
Develo
pm
en
t Facilitie
s
Serv
ice R
eg
istry
Orc
hestra
tion
Serv
ice
REST
Open SocialService
DatabaseWeb ConsoleOpen API Dev Tool
MetadataEducation
Serv
ice
Man
ag
em
en
t & M
on
itorin
g
Clo
ud
base
d D
ata
man
ag
em
en
t
Con
fig
ura
ble
Serv
ice O
rchestra
tion
(Mash
-up
)
RES
Tfu
l Web
Serv
ice
Op
en
Socia
l Netw
orkin
g
Sta
nd
ard
of D
evelo
pm
en
t
Sta
nd
ard
of
An
aly
sis & M
od
elin
g
Socia
l
Netw
ork
Serv
ice
Ap
plic
atio
ns
Social
Network
Game
연동
App
연동
App
Other
Social Network
Service
Application Social Network Services
Social Network Game Application 의 경쟁력을 제공하는 Service Enabler
Google App Engine
Soft Power
SoftPower(Software)
High Logic( 이성 )
HighTouch( 감성 )
High Tech
( 기술 )
http://en.wikipedia.org/wiki/Soft_powerhttp://en.wikipedia.org/wiki/Joseph_Nye
Joseph Nye pioneered the theory of soft power.
감사합니다 .