SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
G3-6 p.p.60-61
SNSベースの遊休資産貸借
管理システムの構築
基盤ソフトウェア学講座
0312016302
佐藤碧生
研究背景(1)
遊休資産とは,企業が事業目的で取得した資産
のうち,稼働していない資産
→いわゆる「タンスの肥やし」
研究背景(2)
シェアリングエコノミーとは,個人が所有している
遊休資産の貸借を仲介するサービス[1]
Airbnb[2]→個人が所有する住居の貸し出し
Uber[3]→個人が所有する車両と運転手の貸し出し
[1]総務省 平成27年度情報通信白書,
http://www.soumu.go.jp/johotsusintokei/whitepaper/ja/h27/html/nc242110.html
[2]Airbub, https://www.airbnb.jp/ [3]Uber, https://www.uber.com/ja-JP/
研究背景(3)
シェアリングエコノミーの現状として
個人間のやり取りであるが、大多数のサービスで
は仲介業者が存在する
→取引の安全性担保のために存在する
研究背景(4)
シェアリングエコノミーの広がりに合わせて,個
人間で完結する環境が求められるようになった
SNSの気軽さに,取引履歴を確実に保持する機
能を付加できないだろうか
研究目的
個人間のみでシェアリングエコノミーを実現でき
るシステムの開発
 ブロックチェーンを用いることで,改ざんを困難にす
る
 SNSベースにすることで,参加の障壁を下げたシステ
ムを目指す
関連研究
偽造商品の流通防止にブロックチェーンを活用し
た管理システム[4]
スマートコントラクトなど,ブロックチェーン側の
実装やコストなどは考慮しているが具体的な運
用については考慮していない
[4] 豊田 健太郎,P. Takis Mathiopoulos,笹瀬 巌,大槻 知明,
“偽物商品流通防止に向けたブロックチェーンを利用した商品所有権管理システム”,
コンピュータセキュリティシンポジウム, pp.696-703, 2016.
ブロックチェーン
BitCoinの根幹となる技術として、’09に提唱された分散型台帳
システム[4]
主な特徴として
1. P2Pベースのノード間でトランザクションを共有する
2. 複数のトランザクションを1ブロックにまとめてチェーンに追
加する
3. 各ブロックは追加のみ可能で、部分的な変更は困難
4. ブロック追加にはノードによる承認が必要
[4] Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System
https://bitcoin.org/bitcoin.pdf
ブロック生成の手順
Genesis ブロック
直前ブロックの
ハッシュ値
約10分間の
取引記録
NEW
ブロック
直前ブロックの
ハッシュ値
Proof of Work
N個の取引記録
新規ブロックの
承認にはPoW
が必要
ブロックチェーンのメリット
「データが記録されているだけで、データ内容、
記録日時、記録者が」保障される
データをさかのぼって変更するのは、(理論的、
実用時間的に)極めて困難である
提案手法の概要
1. 貸し出したい物品を撮影
2. SNSへアップロード
3. アップロードされると画像の情報(ハッシュ値や
SNSでの投稿ID)がブロックチェーンに記録
4. 投稿された画像をもとにSNS上で取引を行う
ブロック図
SNS
運営
サーバ
ブロックチェーン
画像のハッ
シュ値をブ
ロックに追加
画像
DB
画像のHashでア
クセスすると画像
が表示される
画像送信
閲覧
ブロック
チェーン
ほげほげ
@hoge
ふがふ
が
@fuga
貸したいです!
借りたいです!
実装イメージ
提案手法の実装
投稿画面 : PHPを用いたWebプログラム
Mastodon : REST APIを用いて投稿を行う[7]
Ethereum : JSON-RPCでブロックチェーンへデータ
を追加する[8]
PostgreSQL : データベースとして用いる
[7] TheCodingCompany/MastodonOAuthPHP - Github,
https://github.com/TheCodingCompany/MastodonOAuthPHP
[8] ethereum/web3.js – Github, https://github.com/ethereum/web3.js/
提案手法の実装(2)
ブロックチェーン(+SQL)には,アップロードされた
画像を識別するためのデータを格納
→ファイルのMD5ハッシュ,Mastodonで割り振ら
れるID,投稿への固定URLを記録
構成図
投稿画面
Ethereum PostgreSQL
Mastodon
pg_sql
REST API
json
動作画面
Toot欄にコメントを書き込
み,画像をファイルを選択
する
送信後,write_blockchain
を押してブロックチェーン
へデータを書き込む
運用試験
仮のシステムを組み上げ,実際に利用してもら
い,主にパフォーマンスの状況を調べる
今回はMastodonのみ別サーバーにし,その他の
部分は同一のサーバーで運用する
仮運用のため,ノードの参加は不可とした
試験結果
20人前後が参加している状態で試験を行った
ブロックチェーンのマイニングは20件の平均で1
分43秒で行われた
サーバー側に目立った負荷は発生していなかっ
た
ブロックチェーンのマイニング時間
0:02:54
0:00:56
0:01:43
0:00:52
0:01:09
0:01:26
0:01:44
0:02:01
0:02:18
0:02:36
0:02:53
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
マイニング時間 平均
利用者アンケート
やや悪い
0%
普通
0%
やや良い
0%
良い
100%
全体的な使用感
悪い
0%
やや悪い
0%
普通
0%
やや良い
67%
良い
33%
パフォーマンス
当学部の学生5名で調査
利用者アンケート(2)
いいえ
0%
どちらかと
いえばい
いえ
0% どちらでも
ない
33%
どちらかと
いえばは
い
0%
はい
67%
操作は簡潔か
ない
0%ややない
0%
どちらでも
ない
33%
ややある
0%
ある
67%
利用のハードルは
当学部の学生5名で調査
利用者アンケート(3)
自由記述
後ろで何かが動いてるという感じが全くしない
シンプルで良い
当学部の学生5名で調査
SNSサーバーの負荷
Load average(1CPUにおける単位時間あたりの実行待ちと,
ディスクIO待ちのプロセス数)
ブロックチェーンサーバーの負荷
Load average(1CPUにおける単位時間あたりの実行待ちと,
ディスクIO待ちのプロセス数)
まとめ
「SNSベースの遊休資産貸借管理システム」を提
案し,ブロックチェーンとSNSが連携したシステム
の有用性について検証できた
ブロックチェーンによる証拠保全機能を付与して
も,既存SNSに影響が出ない程度の負荷となって
いた
今後の予定
投稿画面と閲覧画面の統合など,UI/UXがより使
いやすいような改良を今後していきたい

Mais conteúdo relacionado

Destaque

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Destaque (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

SNSベースの遊休資産貸借管理システムの構築