Upload
mrp
View
225
Download
0
Embed Size (px)
Citation preview
8/2/2019 Embedded Systems and Cloud Computing
1/9
Vertical integration ofembedded systems and
cloud computing
March 16, 2012 [email protected] 2
Goals:
Outline of an architecture to joint embedded systemswith 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
March 16, 2012 [email protected] 3
Characteristics of embedded product development
How to adopt business model of iPad, Kindle Fire
March 16, 2012 [email protected] 4
Google Health was a personal health information (PHR)centralization service: similar to Microsoft HealthVault
Introduced in 2008, discontinued in 2011.
8/2/2019 Embedded Systems and Cloud Computing
2/9
March 16, 2012 [email protected] 5
Free to use for consumers with possibly advertising."Method and apparatus for serving advertisements in anelectronic medical record system"
Population ageing is a shift in the distribution of acountry's population towards older ages.
Patient-centered medical homes, new care delivery
March 16, 2012 [email protected] 7
A highly integrated, wearable wireless developmentsystem that comes in a sports watch.
Fitness functions with BlueRobin heart rate monitorheart rate / running speed / distance traveled / calories
March 16, 2012 [email protected] 8
http://mastersinhealthcare.org/2010/25-creative-healthcare-gadgets-that-are-changing-the-world/
March 16, 2012 [email protected] 9
Questions to be answered at the starting stage
Motivation of buying a product
how to sell product to individuals
how to sell product pack to businesses
How to make personal and group customers happy
impact of products to daily life privacy, social networking, cost to use, ...
Let see a solution by Nike and iPod
8/2/2019 Embedded Systems and Cloud Computing
3/9
March 16, 2012 [email protected] 10
Market fitness center
tracking presence and activities within center
monitored/analyzed by fitness assistants
customer data is the business resource
but how about server and IT staffs ? Market gadget for runners, sport persons, ...
tracking self-paced activities
viewed as health indicator
collected data is private, but maybe shared into social networks
but how to develop software to run on their PCs ?
March 16, 2012 [email protected] 11
[NIST][NIST][NIST][NIST] Model for enabling convenient, on-demandnetwork access to a shared pool of configurablecomputing resources that can be rapidly provisionedand released with minimal effort/interactionhttp://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
On-demand self-service.
Broad network access.
Resource pooling.
Rapid elasticity.
Measured service.
March 16, 2012 [email protected] 13
http://www.ibm.com/cloud-computing/us/en/
March 16, 2012 [email protected] 16
Public PaaS cloud - Google App Enginehttp://code.google.com/appengine/
Develop web services with Java/Python
Pricing instance hours, bandwidth, storage
Public IaaS cloud - Amazon EC2http://aws.amazon.com/ec2/
Select VM image, deploy middleware and apps
Pricing machine type, usage hours, bandwidth,storage
Private IaaS/PaaS cloud solutions - IBM
TSAM request, deploy, monitor, manage clouds
Workload deployer = OS+server+WebSphere images
8/2/2019 Embedded Systems and Cloud Computing
4/9
8/2/2019 Embedded Systems and Cloud Computing
5/9
March 16, 2012 [email protected] 22
Internet of things = uniquely identifiable objects andtheir virtual representations in an Internet-like structure
PC (desktop, notebook) speed, full UI, LAN
Tablet, smartphone portability, touch UI, networks
Embedded systems heterogeneous, autonomous
March 16, 2012 [email protected] 23
Multitier connectivity requires different skill sets foreach tier MCU / PC / embLinux / smartphone / server
March 16, 2012 [email protected] 24
Communication in Internet of things is about data flowthrough each tier protocol conversion
Lowest-level is between device and PC/smartphone/gateway proprietary/binary protocol
low data rate, periodic, real-time communication
mainly C programming for I/O access
PC/smartphone/gateway to cloud service text-based protocol
large data payload, asynchronous communication
mainly web programming via HTTP/URL/XML/REST
PC/smartphone to user UI programming
March 16, 2012 [email protected] 26
Network of small-scale embedded devices tend to relyon P2P or star topology
Low-power RF technology
ISM band, less than 1 mW,short distance, small payload,low latency, low data rate
Two proprietary protocols: ad hoc style
SimpliciTi = watch RF access point
BlueRobin = watch heart rate sensor
BSP_Init(); // initialize the BSP (HW/radio)
SMPL_Init(0);
SMPL_LinkListen(&linkID1); // Handle Linking
while (1) {
while((SMPL_SUCCESS == SMPL_Receive(linkID1, msg, &len)) {
// do something such as store and forward
}
}
8/2/2019 Embedded Systems and Cloud Computing
6/9
March 16, 2012 [email protected] 27
Multitasking OS with device drivers, fullnetwork stack, large base of middleware,community-support development toolchain
Choice of C or script programming
Increasing performance due to phone/tablet market
import serial
conn = serial.Serial("/dev/ttyACM0",115200,timeout=1)
conn.write("\xFF\x07\x03")conn.write("\xFF\x08\x07\x00\x00\x00\x00")
March 16, 2012 [email protected] 28
Old style is to use socket programming based onTCP/IP connection
cluster topology DHCP is the choice
HTTP+URL offer better compatibility with web sitesscheme://host/path?query_strings
Web services are standardized by best practices
Either REST (public) or SOAP (enterprise)
Use XML or JSON as data container
Use Ajax + JavaScript framework for dynamicweb-based UI
No static IP, please No my own format, please
March 16, 2012 [email protected] 29
Web service is software system designed to supportinteroperable M2M interaction over a network
REST architecture relies on HTTP verb messages,resource URI, and XML/JSON
GET = query for data
POST = add new data
PUT = update existing record
DELETE = remove record
March 16, 2012 [email protected] 30
PaaS solution that enables businesses to build and hostweb apps on Google infrastructure
Access to features (account, BigTable, CDN) used byGoogle services
Schema-less object database with pre-indexingclass 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('...')
def post(self):
payload = self.request.get('data')
# extract payload, store records, generate XML
self.response.out.write(xml_resp)
8/2/2019 Embedded Systems and Cloud Computing
7/9
March 16, 2012 [email protected] 31
Even free quota (storage, bandwidth) is enough forserving thousand of end users
Storage
Bandwidth
Web services
March 16, 2012 [email protected] 32
Addition services will make business owners/end usersmore happy
March 16, 2012 [email protected] 33
March 16, 2012 [email protected] 34
Why embedded systems should be integrated withcloud computing
enabling technology for Internet of Things
to compensate limitations of existing PC-basedend-user interaction
How to integrate heterogeneous devices into cloud
environment
multitier network architecture
web APIs protocol conversion
And what should be development concerns
business opportunities
developer skills
8/2/2019 Embedded Systems and Cloud Computing
8/9
March 16, 2012 [email protected] 35
IT integration with any business is about workflows
setup()
loop()
teardown()
request authenticate authorize deploy deliver
logging repository
profile
request authenticate processing response
logging repository
data
request authenticate selection remove
March 16, 2012 [email protected] 36
Concerns about cloud computing
security: customer privacy, regulation
vendor login: control of data, app portability
Design consideration: multitenancy
Authorization Authentication
Accounting
Fundamentals of information security
Confidentiality
Integrity Availability
security policy of cloud providers
Cloud Security Alliance's guideline
OAuth 2.0 protocolLogin with FacebookAccess rights
March 16, 2012 [email protected] 37
Better when integrated with existing cloud platforms
social network: Facebook, Twitter,
Others: Google Maps, Flickr, Dropbox, ...
Making use of elasticity
temporary expansion (1d,1w,1m) for fitness global
events New business opportunities: think global
March 16, 2012 [email protected] 38
Cloud + embedded is just a solution,
other solutions exist with their own advantages
network of smart fitness machines + local serverfitness machines with iPhone/Android attachable
How to get over these solutions ?
8/2/2019 Embedded Systems and Cloud Computing
9/9
March 16, 2012 [email protected] 39
Asst.Prof.Supachai VorapojpisutDept. of Electrical and Computer EngineeringThammasat University
Key research areas:embedded software development, mobile cloudcomputing, wireless sensor networks
Courses:embedded software, RTOS, mobile apps
Awards:SIA 2011 (silver) Android in Logistics
Contact:[email protected]