Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime...

21
Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 &

Transcript of Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime...

Page 1: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Smart-Web Powered by Blockchain

Elastos Runtime

Chen Rong @ elastos.org

October 11, 2017

&

Page 2: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

1. Security and

Safety

2. Embedded and

Real-time

3. Distributed and

Decentralized

4. Main Stream

Programming

5. User Content

Monetization

IoTChallenges

Page 3: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

A Decentralized Internet with Trust Worthy IDs Connect the virtual & physical world

Instant app without intermediaries

A Decentralized (Server-less) App Scenario

pay

Blockchain Computers Mobile & IoT Devices Run on Different Carrier Networks

Page 4: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

DApp DApp

Creating Scarcity of Digital Contents

Amazon does NOT sell eBooks, it sells a life time lease, instead;

Blockchain solves the scarcity problem, but piracy remains a threat;

Authors mandate business model via smart-contracts;

Sharing apps via social networks heralds a new era of possibilities.

✓ Media players used to be intermediaries that control profits;

✓ An unified runtime VM is the key for digital content execution.

Page 5: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Smart Terminals and Smart Peripherals

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.

PersonalCloud Computer

Page 6: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

End-to-End Solution for a Safer Cyberspace

Apps run inside virtual machines;

Metadata driven programming paradigm;

Linux kernel is merely a modern BIOS;

Apps, Services and IoT devices are prohibited

from access the Internet directly;

Drivers, Demons and Sockets are deprecated.

Page 7: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

What is a Blockchain?

A blockchain is really a blockchain computer;

The peer-to-peer network of a blockchain is merely an internal bus;

Apps of a blockchain are called smart-contracts or DApps;

A single computer CAN NOT scale to a network of computers.

Duplicated Computing(the computation power

is less than a single node)

Page 8: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

The TrustZone of a Smart Phone

Fingerprint information are NOT stored on the hard-drive to guard from viruses;

There is a special purpose computer called TrustZone;

The TrustZone has its own kernel, storage and apps;

The app ecosystem are build on top the main CPU.

Page 9: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Smart-Contract as a Service

The Network is the ComputerUnified Blockchain & IoT P2P Network

Virtual MachinesMobile and IoT Devices are Apps

Physical Computers/NodesNet Protocols are hidden from Apps

Building a Decentralized Smart-Web Platform

Elastos P2P Network Platform

App

Elastos RT

VM1

......

......Personal

Cloud Disk

App

Elastos RT

VM2

App

Elastos RT

VM3

Service

Elastos RT

VMn

Personal Cloud Disk

Blockchain Noden

Personal Cloud Disk

Blockchain Node1

Personal Cloud Disk

The Public Blockchain is the TrustZone

Page 10: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

What if I can replace

a file-path wit URL?

C:/Programs/elastos.org/local-app.exe

E:/Programs/tangle-app.exe

X:/Programs/network-app.exe

elastos.org://foo.eco

utube.com://vedio.eco

university.edu://paper.eco

Software Defined Computer Consists of:

➢ Multi-CPU, ➢ Multi-Screen,

➢ Multi-Storage, ➢ Multi-Compute

You Own Your Own Data

Page 11: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

You Own Your Own Data (Blockstack)

Blockstack.org

Voting

Marketplaces

Identity verification

Crowdfunding

Messaging

File sharing

Document signing

Video sharing

Decentralized Reddit

Decentralized Twitter

Decentralized Apps Planned on Blockstack:

Page 12: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

A Van Neumann machine, with cloud mass storage and local HD as cache, is an Elastos computer;

An Elastos carrier consists of a peer-to-peer network of Elastos computers ;

Apps execute inside VMs on an Elastos computer of an Elastos carrier.

Industrial IoT and Smart homes require a P2P Network that facilitates video streaming, text messaging, and P2P file sharing protocols.

Smart-Web of Elastos Computers

Page 13: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

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 Runtime

Social Groups/Consortiums

Three Open Source Projects of Elastos

Page 14: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Elastos Smart-Phone XT1085

Elastos on Raspberry Pi 3

Elastos on Banana Pi Elastos Smart-Router

Elastos 2015

Elastos 2016

Page 15: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

C/C++

(CAR)P

ractica

l, porta

ble

ways

to d

eplo

y com

ponents

and a

pplica

tions

acro

ss diffe

rent

device

s

and

pla

tform

s

Easy-to-program, efficient

ways to create exciting

user experiences for

applications

and services

Pow

erful,

nativ

e tech

nolo

gy

for exp

ert deve

lopers

to e

xtend the p

latform

and c

reate

cu

stom

so

lutio

ns.

Elastos

Scripting

Java

Elastos Hybrid Programming Model

Page 16: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Launcher Settings Calculator DialerPinyin IME Browser

Calendar Contacts Messages MusicFiles

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

Page 17: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

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 18: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Elastos Block Diagram

safety restricted

Linux Kernel for Androd

ElastosRT APIs

C++ AppsDistribute CAR Services & IoT

Web AppsHtml/css & JS

Java Apps

Security

Distribute Framework

Register & Find Manager

Connection Manager

Push Manager

Local Services

Activity Manager Window Manager

Package ManagerResource Manager

Notification Manager Content Manager

Page 19: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

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.

3Rewards

Eco System needs

its own electric

currency.

4

Page 20: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

Vision: Turning Digits into Assets

To build a digital economy for both centralized apps and decentralized apps;

To issue a crypto token, i.e., ELA, for the digital economy ;

To sustain growth of the market value of all digital goods and services.

Page 21: Smart-Web Powered by Blockchain Elastos Runtime...Smart-Web Powered by Blockchain Elastos Runtime Chen Rong @ elastos.org October 11, 2017 & 1. Security and Safety 2. Embedded and

References

1. The internet is broken. Starting from scratch, here's how I'd fix it ▪ https://www.linkedin.com/pulse/internet-broken-starting-from-scratch-heres-how-id-fix-

isaacson

2. The future is a decentralized internet▪ https://techcrunch.com/contributor/olaf-carlson-wee/

3. Funding the New Decentralized Internet▪ https://blockstack.org/blog/funding-the-new-decentralized-internet

4. Elastos Executive Summary▪ https://www.linkedin.com/pulse/elastos-executive-summary-rong-chen

5. Elastos Source Code on GitHub.com and Elastos.org▪ https://www.github.com/elastos/ and http://elastos.org/