Professional Documents
Culture Documents
Outline of an architecture to joint embedded systems with cloud computing Discussion on business viewpoint
Contents:
Why embedded systems cloud computing Review of cloud computing Internet of things A touch on implementation Cloud strategy
vsupacha@engr.tu.ac.th
Google Health was a personal health information (PHR) centralization service: similar to Microsoft HealthVault
vsupacha@engr.tu.ac.th
vsupacha@engr.tu.ac.th
A highly integrated, wearable wireless development system that comes in a sports watch.
Population ageing is a shift in the distribution of a country's population towards older ages. Patient-centered medical homes, new care delivery
vsupacha@engr.tu.ac.th
vsupacha@engr.tu.ac.th
http://mastersinhealthcare.org/2010/25-creativehealthcare-gadgets-that-are-changing-the-world/
how to sell product to individuals how to sell product pack to businesses impact of products to daily life privacy, social networking, cost to use, ...
vsupacha@engr.tu.ac.th
vsupacha@engr.tu.ac.th
tracking presence and activities within center monitored/analyzed by fitness assistants customer data is the business resource but how about server and IT staffs ? tracking self-paced activities viewed as health indicator collected data is private, but may be shared into social networks but how to develop software to run on their PCs ?
[NIST] Model for enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal effort/interaction
http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
On-demand self-service. Broad network access. Resource pooling. Rapid elasticity. Measured service.
vsupacha@engr.tu.ac.th
10
vsupacha@engr.tu.ac.th
11
http://www.ibm.com/cloud-computing/us/en/
Develop web services with Java/Python Pricing instance hours, bandwidth, storage
Select VM image, deploy middleware and apps Pricing machine type, usage hours, bandwidth, storage TSAM request, deploy, monitor, manage clouds Workload deployer = OS+server+WebSphere images
vsupacha@engr.tu.ac.th
13
vsupacha@engr.tu.ac.th
16
Business viewpoint
decision on business roadmap marketing strategy plan on essential & value-added features time-to-market/budget launch of demo/beta/official services
selection on IaaS (flexibility on system/software components) or PaaS (ready-to-develop) design and implementation of web APIs implementation of APIs for gateways and devices
vsupacha@engr.tu.ac.th
17
vsupacha@engr.tu.ac.th
19
On-demand self-service.
business owner, fitness assistants, end users can customize features access to records anywhere, anytime, any device
Owner can view usage trends of each center Health status of current users can be monitored Fitness assistants can view fitness/usage trends of their clients Fitness assistant can monitor status of clients
Resource pooling.
fitness centers/end users access to same service small instance first, increasing w.r.t customers usage can be checked and charged
Rapid elasticity.
Measured service.
vsupacha@engr.tu.ac.th
20
vsupacha@engr.tu.ac.th
21
Internet of things = uniquely identifiable objects and their virtual representations in an Internet-like structure
PC (desktop, notebook) speed, full UI, LAN Tablet, smartphone portability, touch UI, networks Embedded systems heterogeneous, autonomous
Multitier connectivity requires different skill sets for each tier MCU / PC / embLinux / smartphone / server
vsupacha@engr.tu.ac.th
22
vsupacha@engr.tu.ac.th
23
Communication in Internet of things is about data flow through each tier protocol conversion
Low-power RF technology
low data rate, periodic, real-time communication mainly C programming for I/O access
ISM band, less than 1 mW, short distance, small payload, low latency, low data rate
large data payload, asynchronous communication mainly web programming via HTTP/URL/XML/REST
vsupacha@engr.tu.ac.th
24
vsupacha@engr.tu.ac.th
26
Multitasking OS with device drivers, full network stack, large base of middleware, community-support development toolchain
Either REST (public) or SOAP (enterprise) Use XML or JSON as data container Use Ajax + JavaScript framework for dynamic web-based UI No my own format, please
vsupacha@engr.tu.ac.th
27
vsupacha@engr.tu.ac.th
28
Web service is software system designed to support interoperable M2M interaction over a network
PaaS solution that enables businesses to build and host web apps on Google infrastructure
REST architecture relies on HTTP verb messages, resource URI, and XML/JSON
Access to features (account, BigTable, CDN) used by Google services Schema-less object database with pre-indexing
class health_record(db.Model): customer = db.UserProperty() timestamp = db.DateTimeProperty(auto_now_add=True) class MainPage(webapp2.RequestHandler): @login_required def get(self): self.response.out.write('<html>...</html>') def post(self): payload = self.request.get('data') # extract payload, store records, generate XML self.response.out.write(xml_resp)
GET = query for data POST = add new data PUT = update existing record DELETE = remove record
vsupacha@engr.tu.ac.th
29
vsupacha@engr.tu.ac.th
30
Even free quota (storage, bandwidth) is enough for serving thousand of end users
Storage
Bandwidth
Web services
vsupacha@engr.tu.ac.th
31
vsupacha@engr.tu.ac.th
32
enabling technology for Internet of Things to compensate limitations of existing PC-based end-user interaction
multitier network architecture web APIs protocol conversion business opportunities developer skills
vsupacha@engr.tu.ac.th
33
vsupacha@engr.tu.ac.th
34
setup()
request
authenticate authorize
deploy
deliver
security: customer privacy, regulation vendor login: control of data, app portability Authorization Authentication Accounting Confidentiality Integrity Availability
security policy of cloud providers Cloud Security Alliance's guideline
profile
loop()
repository response
repository remove
teardown() request
authenticate selection
vsupacha@engr.tu.ac.th
35
vsupacha@engr.tu.ac.th
36
social network: Facebook, Twitter, Others: Google Maps, Flickr, Dropbox, ... temporary expansion (1d,1w,1m) for fitness global events
Cloud + embedded is just a solution, other solutions exist with their own advantages
network of smart fitness machines + local server fitness machines with iPhone/Android attachable
vsupacha@engr.tu.ac.th
37
vsupacha@engr.tu.ac.th
38
Asst.Prof.Supachai Vorapojpisut
Dept. of Electrical and Computer Engineering Thammasat University
Courses:
embedded software, RTOS, mobile apps
Awards:
SIA 2011 (silver) Android in Logistics
Contact:
vsupacha@engr.tu.ac.th
vsupacha@engr.tu.ac.th
39