iot+blockchain & decentralized apps
TRANSCRIPT
![Page 1: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/1.jpg)
IoT + Blockchain
Decentralized Apps
Rong Chen @elastos.org
11/30/2016
![Page 2: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/2.jpg)
ElastosConnect the virtual & physical world
VM
VM
VM
VM
VM
VM
VM
VMVM
Instant app without intermediaries
A Peer-to-Peer User Scenario
BlockchainNodes
Mobile & IoTDevices
pay
![Page 3: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/3.jpg)
What is an Instant (Universal) Application
Same app for all smart terminals;
Cloud storage for all apps;
IoT devices as peripherals (no Internet);
Apps access IoT devices via Web services;
Languages inter-operate automatically;
No OS runtime fragmentations.
Personal Cloud
![Page 4: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/4.jpg)
What is a Decentralized (Server-less) Application
Distributed Computing Duplicated Computing
Decentralized Personal Clouds Decentralized Blockchains
![Page 5: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/5.jpg)
Elastos P2P Network Platform
App
Elastos RT
VM1
......
Blockchain Noden
......
Blockchain as a ServiceP2P Networks/Services
The Network is the Computer
Virtual Machines
Physical Computers/Nodes
Personal Cloud Disk
App
Elastos RT
VM2
App
Elastos RT
VM3
Service
Elastos RT
VMn
Service
Elastos RT
VM4
Personal Cloud Disk
Blockchain Node2
Unified Blockchain & IoT Network Platform
Personal Cloud Disk
Blockchain Node1
Personal Cloud Disk
![Page 6: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/6.jpg)
Unified OS Runtime Sandbox
Elastos P2P Network Platform
VMVM
VM
VMVM
VM
VMVMVM
Elastos Browser (JS VM)
App App...
Elastos OS (C++VM)
IoT IoT...
Ethereum EVM
DApp
DApp
...
Elastos Runtime Elastos Runtime Elastos Runtime
![Page 7: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/7.jpg)
IoT
De
vic
es
Ap
pli
cati
on
sT
he
Pla
tfo
rm
IoT GatewaysSmart Terminals IoT Devices IoT Sensors
Personal Clouds/Portals Apps/Services
Elastos P2P Network Elastos BlockchainElastos OS Runtime
Social Groups/Consortiums
Three Open Source Projects of Elastos
![Page 8: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/8.jpg)
Building a New Decentralized Internet
Blockstack.org
![Page 9: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/9.jpg)
Demo.eco
var eventHandler = {OnEvent:function(i) {
var s = 'call OnEvent, i: ' + i; elastos.log(s);
}};
var module = elastos.require('Demo.eco');var demoObj = module.createObject('CDemo');demoObj.addEventHandler(eventHandler);demoObj.doTask();
Module {
interface IEventListener {OnEvent(
[in] Int32 id);}
interface IDemo {AddEventHandler(
[in] IEventListener* listener);
DoTask();}
class CDemo {interface IDemo;
}}
...
ECode CDemo::AddEventHandler(/* [in] */ IEventListener* listener)
{mListener = listener;return NOERROR;
}
ECode CDemo::DoTask(){
mListener->OnEvent(9);return NOERROR;
}
...
JavaScript Demo.car CDemo.cpp
Elastos Code Snippets
![Page 10: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/10.jpg)
Launcher Settings Calculator DialerPinyin IME Browser
Calendar Contacts Messages MusicFiles
Android Like Programming in JS, Java & C/C++
![Page 11: IoT+Blockchain & Decentralized Apps](https://reader031.vdocuments.net/reader031/viewer/2022022412/58f17da81a28ab405e8b45c7/html5/thumbnails/11.jpg)
Elastos Value Propositions
PPT模板下载:www.1ppt.com/moban/ 行业PPT模板:www.1ppt.com/hangye/
节日PPT模板:www.1ppt.com/jieri/ PPT素材下载:www.1ppt.com/sucai/
PPT背景图片:www.1ppt.com/beijing/ PPT图表下载:www.1ppt.com/tubiao/ 优秀PPT下载:www.1ppt.com/xiazai/ PPT教程: www.1ppt.com/powerpoint/
Word教程: www.1ppt.com/word/ Excel教程:www.1ppt.com/excel/ 资料下载:www.1ppt.com/ziliao/ PPT课件下载:www.1ppt.com/kejian/
范文下载:www.1ppt.com/fanwen/ 试卷下载:www.1ppt.com/shiti/
教案下载:www.1ppt.com/jiaoan/ PPT论坛:www.1ppt.cn
Secure
Elastos Runtime
provides end-to-
end solutions.
1Trusted
Blockchain makes
faking identities
impossible.
2Open
Peer-to-Peer
Platform is open
source.
3ElaCoin
Eco System needs
its own electric
currency.
4