스마트폰을 활용하는 데 있어 가장 유용한 서비스 중의 하나는 새로운 정보가 도착하거나 친구나 지인의 변화된 상태 등을 실시간에 알려주는 푸쉬(Push)이다. 이러한 실시간 푸쉬 서비스는 기존 정보의 소비 방식을 찾아가는 서비스에서 찾아오는 서비스로 바꿔 준다.
특히, 모바일 서비스의 경우 사용자가 휴대하고 있는 스마트폰에 새로운 정보와 소식을 푸쉬해 줌으로써 사용자가 일일히 해당 사이트나 어플리케이션을 구동하지 않아도 해당 정보나 상태를 조회할 수 있는 효과를 제공한다. 실제, 이러한 푸쉬 서비스는 SMS, 트윗이나 페이스북 같은 SNS 등 모든 모바일 응용 서비스에 적용되어 유용한 서비스를 제공하고 있다.
현재 안드로이드와 애플 아이폰은 각기 C2DM(Cloud2 Device Messaging) 과 APNS(Apple Push Notification Service)이라는 푸쉬 서비스를 SDK를 통해 제공함으로써 많은 모바일 어플이케이션 개발시 푸쉬 기술을 활용할 수 있도록 해 주고 있다. 본 발표에서는 이러한 푸쉬 기술의 현재와 이에 기반한 모바일 응용 프로그램 개발시 고려해야 할 여러 기술적인 사항들 그리고 푸쉬 기술에 기반한 다양한 응용 서비스들에 대해 살펴본다.
2. -Real Time Mobile Cloud -Key Technologies for Mobile Cloud -Understanding push technology -Use Case : Samsung SocialHub TM Service Contents
3. Cloud http://csrc.nist.gov/groups/SNS/cloud-computing/ A model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.
4. Mobile Cloud Mobile Devices with Cloud Services ; The limited processing and memory capabilities of mobile devices have always required some use of the "cloud" for delivery of mobile applications and services. However, the challenges inherent in application development as well as the desire to enhance applications with location, presence, and other value-added services are driving greater use of the cloud for creating advanced mobile applications.(ABIresearch) Mobile Cloud Computing Functional Processing Power Data UI GPS, Gyroscope, ...
5. Real Time Web A paradigm based on pushing information to users as soon as it's available - instead of requiring that they or their software check a source periodically for updates. It's being implemented in social networking, search, news and elsewhere - making those experiences more like Instant Messaging and facilitating unpredictable innovations. http://www.readwriteweb.com/archives/explaining_the_real-time_web_in_100_words_or_less.php Source : readwriteweb.com 허드슨 강 비행기 추락사고 Jains Krums 가 iPhone 을 통해 사진 생성 Information Content Creation Real-Time Web Platform User Device with Immediacy 트위터로 전송 개인화 디바이스를 통해 즉시 확인
18. General Push Architecture 0. Subscribe Content Server Push Gateway(Server) 1. Provide content 2. Push delivery 3. Deliver Push Trigger 4. Request Content 5. Fetch Content
19. Mandatory features 1. Push 기술 정의 Offline Messaging Registration & Relay Content Servers 1. Registration 2. Message 3. Relay Closed App Push Client Message 1. Wake-up Running App 2. Relay Push Server Push Server Content Servers Running App Push Client * App 이 실행 상태가 아니여도 메시지를 relay 하는 기능 * 3 rd party app 이 등록하면 , push 를 통해 메시지를 relay 받는 기능 Running App Running App
20.
21. Push 기술 구성 요소 I. Push 기술 소개 Registration/Relay 3 rd -party app 사용 가능 Offline messaging App 실행 여부와 상관없이 메시징 수신 Delivery 메시지 전달 신뢰성 Security 안전한 개인 정보 Message 자유로운 메시지 형식
22.
23.
24.
25.
26. Case study : Samsung SocialHub TM Socialhub.samsungmobile.com
Essential Characteristics 1. On-demand self-service A consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with each service’s provider. 2. Broad network access Capabilities are available over the network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs). 3.Resource pooling The provider’s computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to consumer demand. There is a sense of location independence in that the customer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter). Examples of resources include storage, processing, memory, network bandwidth, and virtual machines. 4. Rapid elasticity Capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time. 5. Measured Service Cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
- BB 의 경우 , 8k 이상의 컨텐츠는 일부만 Push 를 하고 , 나머지 부분은 Device Application 에서 직접 Pull 을 통해 가져감 - 만일 8K 의 제한을 두지 않을 경우 Push 서버에 부하가 몰리기 때문에 , 안정적인 Push 서버 운영이 힘들어짐
-Registration/relay - Any application can register and get push message relayed -Offline messaging - Wake-up application which is not running and relay message -Delivery - Stored and Forward : save message on server, until it’s forwarded Data Reliability : if the data sent from the server can reach the device or not Data Ordering and Prioritizing : manipulate message order by prioritizing Delay Delivery : intentionally delay message for certain time Multicast : send same message to multiple recipient Collapse : To send one message to the client for duplicated message have same content Cancellation : cancel message in server Checking the Query Status : check if message is delivered Security - Tamperproof : ex) HTTPS, SSL Protect Denial of Service Message - Max Size : ex) 8k, 256 bytes Format : ex) JSON