+ All Categories
Home > Documents > Blockchain Powered Internet Elastos Runtime

Blockchain Powered Internet Elastos Runtime

Date post: 25-Mar-2022
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
23
Blockchain Powered Internet Elastos Runtime August 12, 2017 &
Transcript

Blockchain Powered Internet

Elastos Runtime

August 12, 2017

&

1. Security and

Safety

2. Embedded and

Real-time

3. Distributed and

Decentralized

4. Main Stream

Programming

5. User Content

Monetization

IoT Challenges

Real-Time Vehicle Bus

Autonomous Driving Box

Mobile Internet Secure IoT Network

3rd Party Apps

Peripherals

Battery Breaks

LiDAR

Transm. Engine

Steering

c

Distributed Real-time Platform for Vehicles

iBox

Manuf. Apps Manuf. Cloud

Public Cloud

Elastos Network Connect the virtual & physical world

Instant app without intermediaries

A Decentralized (Server-less) App Scenario

pay

Blockchain Computers Mobile & IoT Devices Run on Elastos Carriers

End-to-End Solution for a Safer Cyberspace

Definitions of Elastos & Blockchain Computers

Distributed Computing (the computation power

is more than a single node)

Duplicated Computing (the computation power

is less than a single node)

Decentralized Personal Clouds "Decentralized" Blockchains

A blockchain is really a blockchain computer;

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

Apps of a blockchain computer are called smart-contracts or "DApps".

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.

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

Elastos P2P Network Platform

App

Elastos RT

VM1

......

Blockchain Noden

......

Blockchain as a Service P2P Networks/Carriers

The Network is the Computer:

Unified Blockchain & IoT Peer-to-Peer Network

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

Building a Decentralized Internet Platform

Personal

Cloud Disk

Blockchain Node1

Personal Cloud Disk

ELA Blockchain is the TrustZone

Creating Scarcity of Digital Contents

Elastos P2P Network Platform

Elastos Browser (JS VM)

App App ...

Elastos OS (C++VM)

IoT IoT ...

Blockchain (DApp VM)

...

Elastos Runtime Elastos Runtime Elastos Runtime

Blockchain solved the property right authentication problem;

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

DApp DApp

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:

IoT

De

vic

es

Ap

pli

ca

tio

ns

Th

e P

latf

orm

IoT Gateways Smart Terminals IoT Devices IoT Sensors

Personal Clouds/Portals Apps/Services

Elastos P2P Network Elastos Blockchain Elastos Runtime

Social Groups/Consortiums

Three Open Source Projects of Elastos

Elastos Smart-Phone XT1085

Elastos on Raspberry Pi 3

Elastos on Banana Pi Elastos Smart-Router

Elastos 2015

Elastos 2016

Launcher Settings Calculator Dialer Pinyin IME Browser

Calendar Contacts Messages Music Files

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

Goal: Elastos + RT Kernel = RT Android

Self Contained C/C++ Native API Rewrote more than two million lines of Android Java Framework code;

Facilitates Universal Apps C/C++, Java, JS programs call each other without resorting to JNI;

Unifies Local and Web Services Loosely coupled and on-demand loading services across the Internet;

Hides All IPC, Internet and IoT Protocols Network-agnostic model prevents DDoS attacks and privacy leaks.

Windows UWP vs. Elastos Runtime

Key Points Windows UWP Elastos

Programming Runtime API WinRT API based on COM/C++ ElastosRT API based on CAR/C++

Primary Programming Languages C/C++, C#, VB, JavaScript C/C++, Java, JavaScript

Application Framework Unified Native Framework (.NET) Unified Native Framework (Android)

UI Rendering XAML XML

Screen Size Adapting Wide, Middle, Narrow mdpi, hdpi, xhdpi, xxhdpi

IoT Framework AllJoyn AllJoyn

Note: UWP stands for Universal Windows Platform, the Microsoft terminology of universal apps. COM stands for Component Object Model, a Microsoft Component/Service technology. CAR stands for Component Assembly Runtime, an Elastos technology for SaaS programming.

Elastos Programming in C/C++

Based on homebrew CAR (Component Assembly Runtime) technology,

Elastos supports SaaS programming in native code;

Interface oriented and event driven;

Binary file format .eco is .so plus .cls;

Utilizing .cls to cross language and

network barriers:

No more JNI;

No more proxy/stub;

Write once, run everywhere.

Binder Socket

CAR Runtime

Application Process

Binder

CAR Runtime

Application Process

Socket

CAR Runtime

Application Process

Machine A Machine B

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

Elastos Block Diagram

safety restricted

Linux Kernel for Androd

ElastosRT APIs

C++ Apps Distribute CAR Services & IoT

Web Apps Html/css & JS

Java Apps

Security

Distribute Framework

Register & Find Manager

Connection Manager

Push Manager

Local Services

Activity Manager Window Manager

Package Manager Resource Manager

Notification Manager Content Manager

Elastos & Android Apps Run Side-by-Side

Binder

Android Java VM

Elastos RT Proxy

Java Framework JNI

Java Framework

Android Java App

Elastos RT Elastos C++ Framework

Elastos C++ App

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.

1 Trusted

Blockchain makes

faking identities

impossible.

2 Open

Peer-to-Peer

Platform is open

source.

3 Rewards

Eco System needs

its own electric

currency.

4

Carrier Agnostic

Why

Elastos?

Protocol Agnostic

Brand Agnostic

Mitigate Network Threats

Privacy Protection

Elastos Runtime is a C++ version of Java VM and Framework combined together. Similar to JVM stands for Java VM, we also refer to Elastos Runtime as CVM.

IoT solutions should meet the following requirements: Summary

Elastos Runtime automatically finds or connects Apps and Services located in different CppVMs across the Internet.

Protocol Agnostic

Elastos platform resides on a P2P-network with its own decentralized DNS and distributed storage services.

Carrier Agnostic

IoT devices are treated as Elastos services, which could be found via Elastos Runtime. They are prohibited to directly access the Internet.

Privacy Protection

Apps & services of Elastos execute inside CppVM, to facilitate different branded hardware hosting the same service. (Write once, run any where.)

Brand Agnostic

All internet traffic of apps and services of Elastos are carried out by the Elastos platform. All CppVMs are registered on an Elastos blockchain.

Mitigate Net Threats

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/


Recommended