iot+blockchain & decentralized apps

Download IoT+Blockchain & Decentralized Apps

Post on 15-Apr-2017

75 views

Category:

Technology

2 download

Embed Size (px)

TRANSCRIPT

  • IoT + Blockchain

    Decentralized Apps

    Rong Chen @elastos.org

    11/30/2016

  • 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

  • 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

  • What is a Decentralized (Server-less) Application

    Distributed Computing Duplicated Computing

    Decentralized Personal Clouds Decentralized Blockchains

  • 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

  • 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

  • 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

  • Building a New Decentralized Internet

    Blockstack.org

  • 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

  • Launcher Settings Calculator DialerPinyin IME Browser

    Calendar Contacts Messages MusicFiles

    Android Like Programming in JS, Java & C/C++

  • Elastos Value Propositions

    PPTwww.1ppt.com/moban/ PPTwww.1ppt.com/hangye/

    PPTwww.1ppt.com/jieri/ PPTwww.1ppt.com/sucai/

    PPTwww.1ppt.com/beijing/ PPTwww.1ppt.com/tubiao/ PPTwww.1ppt.com/xiazai/ PPT www.1ppt.com/powerpoint/

    Word www.1ppt.com/word/ Excelwww.1ppt.com/excel/ www.1ppt.com/ziliao/ PPTwww.1ppt.com/kejian/

    www.1ppt.com/fanwen/ www.1ppt.com/shiti/

    www.1ppt.com/jiaoan/ PPTwww.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

Recommended

View more >