文件名称:
Hands-On IoT Solutions with Blockchain
开发工具:
文件大小: 11mb
下载次数: 0
上传时间: 2019-03-02
详细说明:Blockchain and the Internet of Things (IoT) have proved to be the most in-demand technologies right now, and are just at the beginning of their adoption curve. The consolidation of blockchain and the IoT is on the priority list of several big companies and a few have already started using its implementations, solutions, and initiatives in several projects.
This book will help you develop a blockchain and IoT solution using best practices.Hands-On lot solutions with blockchain
Copyright o 2019 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form
or by any means without the prior written permission of the publisher, except in the case of brief quotations
embedded in critical articles or reviews
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented
However, the information contained in this book is sold without warranty, either express or implied. Neither the
authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to
have been caused directly or indirectly by this book
Packt Publishing has endeavored to provide trademark information about all of the companies and products
mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy
of this information
Commissioning Editor: Gebin george
Acquisition Editor: Rohit Rajkumar
Content Development Editor: Deepti Thore
Technical Editor: Rudolph almeida
Copy Editor: Safis Editing
Project Coordinator: Jagdish Prabhu
Proofreader: Safis Editing
Indexer: Mariammal Chettiyar
Graphics: Jisha Chirayil
Production Coordinator: Aparna Bhagat
First published: January 2019
Production reference: 1030119
Published by Packt Publishing Ltd
Iver
35 Livery street
Birmingham
B 3 2PB, UK
ISBN978-1-78913-224-3
www.packtpub.com
GET
OFF ANY PACKT
EBOOK AND VIDEO
er
net
Learning
Internet
Robotics
of Things
for Architects I using Python Programming
Gotowww.packtpub.com
and use this code in the checkout.
HBIOT8OOFF
Packt>
Mapt
mapt.lO
Mapt is an online digital library that gives you full access to over 5,000 books and videos, as
well as industry leading tools to help you plan your personal development and advance
your career. For more information, please visit our website
Why subscribe?
Spend less time learning and more time coding with practical ebooks and videos
from over 4, 000 industry professionals
Improve your learning with Skill Plans built especially for you
Get a free ebook or video every month
e Mapt is fully searchable
Copy and paste, print, and bookmark content
Packt. com
Did you know that Packt offers eBook versions of every book published, with PDF and
epubfilesavailableYoucanupgradetotheebookversionatwww.packt.comandasaprint
book customer, you are entitled to a discount on the e Book copy. Get in touch with us at
customercarepacktpub com for more details
Atwww.packt.comyoucanalsoreadacollectionoffreetechnicalarticlessignupfora
range of free newsletters and receive exclusive discounts and offers on packt books and
eBookS
Contributors
About the authors
Maximiliano Santos works as an architect for ibm Cloud garage sao paulo. He has
developed complex software architectures for the banking, real estate, insurance, chemical,
and consumer goods industries. He currently works as a Cloud Garage architect Max has
designed solutions using IBM Watsons cognitive services, an Internet of Things(IoT
platform, as well as machine learning and mobile applications
Enio Moura is an enterprise architect and works as a delivery leader at IBM Cloud Garage
ao Paulo. He has 25 years operational and consulting experience in IT services with a lot
of experience in integration systems, cloud computing, architecture design, and blockchain
and infrastructure solutions, and also has in-depth knowledge of cloud applications and
mobile solutions
About the reviewers
Fabio Cossini is a digital solutions architect at Avanade Inc, working with clients on their
application modernization journeys. He is also a technologist and enterprise architect for
general cross-industry and cross-technology solutions focused on digital transformation
Since 2012, he has dedicated his career and academic research to loT, the cloud, analytics,
cognitive computing, and blockchain, supporting companies to redefine their business
models
I would like to thank Enio Moura and maximiliano Max Santos for the opportunity
to collaborate on this book. Their work will be of great help to those interested in learning
loT and blockchain, and how these technologies will shape the future of business
Sanket Thodge is the founder of Pi r square digital Solutions Pvt Ltd and is a corporate
trainer by profession, based in Pune, India. Sanket is the author of the book Cloud analytics
with google cloud platform, and is writing another, Blockchain with Artificial Intelligence. With
expertise in big data, Sanket has explored the cloud, IoT, machine learning and blockchain
He has applied for a couple of patents in IoT and has worked with numerous start-ups and
MNCS, providing consultancy and corporate training
Xun Brian) Wu has over 17 years extensive hands-on experience of design and
development in blockchain, big data, the cloud, UI, and system infrastructure. A coauthor
of blockchain By Example, Hyperledger Cookbook Blockchain Quick start Guide, and seven
NOSQL Databases in a Week, he has also technically reviewed over 50 technical books for
Packt Publishing. He serves as a board advisor for several blockchain start-ups and owns
several patents on blockchain. He holds a computer science master's degree from NJIT and
lives in New jersey with his two beautiful daughters, Bridget and Charlotte
I would like to thank my parents, wife, and kids for their patience and support throughout
this endeavor
Packt is searching for authors like you
IfyoureinterestedinbecominganauthorforPackt,pleasevisitauthors.packtpub.com
and apply today. We have worked with thousands of developers and tech professionals,
just like you to help them share their insight with the global tech community. You can
make a general application, apply for a specific hot topic that we are recruiting an author
for or submit your own idea
Table of contents
Preface
Chapter 1: Understanding loT and Developing Devices on the IBM
Watson lot Platform
What is loT?
Common business use cases of lot
Connected car
Connected persons
Technical elements in ot
Devices
67888999
Edge computing
Networking
10
Wireless(Wi-Fi)or cabled network
10
Cellular/mobile network
Low-power wide-area network(LPWAN)
12
LoRa or lorawan
14
Network summary
Application protocols
15
MQTT
15
Analytics and Al
16
BM Watson lot Platform features
16
Features
Dashboard
Devices, gateways, and applications
Security
18
Creating your first loT solution
18
Creating a gateway
Creating an application
22
Creating a device
24
Summary
28
Further reading
28
Chapter 2: Creating Your First loT Solution
Technical requirements
29
The first loT solution the gardening solution
30
Requirements overview
30
Solution overview
30
Selecting the equipment
31
Intel edison
33
Arduino breakout board
34
Grove system
34
Table of contents
grove base shield for arduino
34
Grove sensors
34
Grove button
35
Grove relay
35
Wiring the device
35
Coding the device firmware
37
Measuring soil moisture
37
Measuring environmental temperature
39
Turning on the relay
Publishing events
41
Monitoring the events
42
Subscribing to actions
49
Creating the backend application
51
Creating a Cloud Foundry application in the IBM Cloud Platform
52
Uploading the code
53
Summary
56
Further reading
57
Chapter 3: Explaining Blockchain Technology and Working with
Hyperledger
58
What is blockchain?
59
Blockchain and Hyperledger
61
Hyperledger projects
62
Hyperledger Sawtooth framework
62
Hyperledger Iroha framework
62
Hyperledger Composer tool
63
Hyperledger burrow framework
64
Hyperledger Fabric
65
Member or peer
67
Certificate Authority (CA)
67
Ordering Cluster
67
SDK/AP
68
Selecting a good use case
69
Blockchain -food tracking use case
70
Summary
71
Questions
71
Further reading
72
Chapter 4: Creating Your Own Blockchain Network
73
Prerequisites
74
Creating your own blockchain network with Hyperledger Composer 74
Accessing Hyperledger Composer
75
Exploring the structure of a sample blockchain network
78
Installing your own blockchain network using Hyperledger Fabric
and Composer
90
Setting up docker
91
Installing Hyperledger Composer
91
Table of contents
Components
92
Step 1- Setting up CLI Tools
92
Step 2- Setting up Playground
93
Step 3-Hyperledger Fabric
93
Step 4-IDE
94
Installing Hyperledger Fabric 1.3 using Docker
94
Deploying Hyperledger Fabric 1.3 to a Kubernetes environment
95
Summary
95
Further reading
Chapter 5: Addressing Food Safety- Building around the Blockchain 97
Regulations, challenges, and concerns in the modern food chain
97
Challenges regarding food safet
98
Food safety regulations-ISo 22000
98
How blockchain and loT can help in a food chain
99
Food ecosystem
100
Opportunities and challenges in a food ecosystem
101
Farmers
102
Food manufacturers
02
Regulators
104
Transporters(transportation companies
105
Stores and supermarkets
105
Customer
106
Is the food chain a good use case for loT and blockchain technology?
107
Summary
108
Further reading
109
Chapter 6: Designing the Solution Architecture
110
The business of food
110
Challenges of the process
111
The process at the food factory
112
The process at the distribution center
113
The process at supermarkets and stores
115
The technological approach
116
Frontend applications
117
loT-based asset tracking
118
APUSDK
120
Hyperledger Composer-a high-level overview
121
Software components
122
Composer REST server
122
Hdyperledger Composer model
126
The Hyperledger Composer access control language
127
Hyperledger Composer transaction processor functions
128
Summary
129
Questions
130
Further reading
131
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.