Blockchain Based Approach for Preserving Car Maintenance History - - PowerPoint PPT Presentation

blockchain based approach for preserving car maintenance
SMART_READER_LITE
LIVE PREVIEW

Blockchain Based Approach for Preserving Car Maintenance History - - PowerPoint PPT Presentation

Blockchain Based Approach for Preserving Car Maintenance History Master Project Decentralized and Distributed Systems Lab Iva Najdenova Professor: Bryan Ford Supervisor: Linus Gasser External Supervisor: Alexandru Rusu Overview DEMO


slide-1
SLIDE 1

Blockchain Based Approach for Preserving Car Maintenance History

Iva Najdenova Master Project Supervisor: Linus Gasser External Supervisor: Alexandru Rusu Professor: Bryan Ford Decentralized and Distributed Systems Lab

slide-2
SLIDE 2

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 2

slide-3
SLIDE 3

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 3

slide-4
SLIDE 4

Motivation

  • Fighting frauds in the automotive industry

§ low quality repairs § tampering odometers (mileage) § hiding accidents

4

slide-5
SLIDE 5

Goal

  • Establish trust between:

§ Car buyers § Car owners § Car dealers § Insurance companies § …

5

slide-6
SLIDE 6

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 6

slide-7
SLIDE 7

Blockchain Data Structure

7

Source: NAKAMOTO, S. Bitcoin: A Peer-to-Peer Electronic Cash System, 2008

slide-8
SLIDE 8

Submitting a Transaction to a Blockchain

8

  • 1. Create

Transaction

  • 2. Broadcast
  • 3. Transaction

Verification

  • 4. Block Creation
  • 5. Broadcast
  • 7. Consensus
  • 8. Transaction

Confirmation

slide-9
SLIDE 9

ByzCoin

9

Source: https://raw.githubusercontent.com/dedis/cothority/master/byzcoin/ByzCoin.png

slide-10
SLIDE 10

ByzCoinX Consensus Protocol

10

Source: https://raw.githubusercontent.com/dedis/cothority/master/byzcoin/ByzCoin.png

  • Collective Signing
  • Absolute Finality
  • Open Membership
  • Tree Structure for Communication

Sharding Authenticate Batch Order Consensus

ByzCoin

Node Node Node

Cothority

slide-11
SLIDE 11

ByzCoin

11

Source: https://raw.githubusercontent.com/dedis/cothority/master/byzcoin/ByzCoin.png

slide-12
SLIDE 12

Instructions

12

  • Spawn
  • Invoke
  • Delete
slide-13
SLIDE 13

ByzCoin

13

Source: https://raw.githubusercontent.com/dedis/cothority/master/byzcoin/ByzCoin.png

slide-14
SLIDE 14

Distributed Access Right Controls

14

Source: https://raw.githubusercontent.com/dedis/cothority/master/byzcoin/ByzCoin.png

  • Set of rules
  • Rule – “action” : ”expression with allowed identities”
  • Evolution of Rules
  • Delegating the permissions to another DARC
slide-15
SLIDE 15

Calypso

15

Private Data over a Blockchain

slide-16
SLIDE 16

Calypso

16

Source: CALYPSO: Auditable Sharing of Private Data over Blockchains, 2018

slide-17
SLIDE 17

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 17

slide-18
SLIDE 18

Implementation

18

3" + 2 " - faulty nodes

Insurance Companies

slide-19
SLIDE 19

Business Case

19

  • AutoSense IoT Devices
  • Profit – customers of dongle devices
  • AMAG – increased value of cars
  • Insurance Companies – accidents detection in real time
slide-20
SLIDE 20

Use Case Diagram

20

slide-21
SLIDE 21

DARCs

21

Access Control in the System

slide-22
SLIDE 22

DARCs

22

Genesis DARC Admin DARC

spawn:darc

  • “_sign” : ”PublicKeyAdmin”
  • “invoke:evolve” : ” PublicKeyAdmin”
  • “spawn:darc” : ” PublicKeyAdmin”
slide-23
SLIDE 23

DARCs

23

Admin DARC User DARC

spawn:darc

Car Owner DARC Car Garage DARC Car Reader DARC Car DARC

spawn:darc spawn:darc spawn:darc spawn:darc

slide-24
SLIDE 24

DARCs

24

Car DARC

  • “spawn:car” : ”adminDARC”
  • “invoke:car.addReport” : ” carGarageDARC”
  • “spawn:calypsoWrite” : “carGarageDARC”
  • “spawn:calypsoRead” : “carReaderDARC”
slide-25
SLIDE 25

Car Contract

25

  • Instructions:

§ spawn : car § invoke : car.addReport

  • Data Structures:

SecretData string Mileage boolean Warranty string RepairNote string Score Report string Date string GarageID []byte WriteInstanceID Car string VIN []Report Reports

slide-26
SLIDE 26

Client Application

26

User-Friendly Way of Interaction

slide-27
SLIDE 27

Client Application

27

slide-28
SLIDE 28

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 28

slide-29
SLIDE 29

29

DEMO

  • Logs of Conodes
  • User Interface (Desktop Application)
slide-30
SLIDE 30

30

DEMO

slide-31
SLIDE 31

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 31

slide-32
SLIDE 32

Experiments

32

  • Larger Networks and Concurrent Transactions
  • IC Cluster with Mininet Platform:

§ Each Server: 24 cores, 256GB of RAM, 2.5GHz processor

  • Measure:

§ Wall Time § System Cost

slide-33
SLIDE 33

Experiments

33

Constant Number of Nodes Variable Number of Concurrent Car Enrollments

slide-34
SLIDE 34

Experiments

34

  • Wall Time

§ 5 Nodes, 2 servers § Bandwidth = 100Mbps § Delay = 100ms § Block Interval = 5s

Number of concurrent enrollments / reports

slide-35
SLIDE 35

Experiments

35

  • System Cost

§ 5 Nodes, 2 servers § Bandwidth = 100Mbps § Delay = 100ms § Block Interval = 5s

Number of concurrent enrollments / reports

slide-36
SLIDE 36

Experiments

36

Constant Number of Concurrent Car Enrollments Variable Number of Nodes

slide-37
SLIDE 37

Experiments

37

  • Wall Time

§ 2 servers § Bandwidth = 100Mbps § Delay = 30ms § Block Interval = 5s

slide-38
SLIDE 38

Experiments

38

  • System Cost

§ 2 servers § Bandwidth = 100Mbps § Delay = 30ms § Block Interval = 5s

slide-39
SLIDE 39

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 39

slide-40
SLIDE 40

Conclusion

  • Proof of Concept
  • Implementation

§ Car Contract § Access Control § Calypso Interaction § Java Desktop Application

  • Experiments
  • Future Work

40

slide-41
SLIDE 41

Thank You for Your Attention!

41

slide-42
SLIDE 42

Overview

CONCLUSION EXPERIMENTS DEMO IMPLEMENTATION BYZCOIN INTRODUCTION 42