Helion


Szczegóły ebooka

Hands-On Azure Digital Twins

Hands-On Azure Digital Twins


In today's world, clients are using more and more IoT sensors to monitor their business processes and assets. Think about collecting information such as pressure in an engine, the temperature, or a light switch being turned on or off in a room. The data collected can be used to create smart solutions for predicting future trends, creating simulations, and drawing insights using visualizations. This makes it beneficial for organizations to make digital twins, which are digital replicas of the real environment, to support these smart solutions.

This book will help you understand the concept of digital twins and how it can be implemented using an Azure service called Azure Digital Twins. Starting with the requirements and installation of the Azure Digital Twins service, the book will explain the definition language used for modeling digital twins. From there, you'll go through each step of building digital twins using Azure Digital Twins and learn about the different SDKs and APIs and how to use them with several Azure services. Finally, you'll learn how digital twins can be used in practice with the help of several real-world scenarios.

By the end of this book, you'll be confident in building and designing digital twins and integrating them with various Azure services.

  • Hands-On Azure Digital Twins
  • Contributors
  • About the author
  • About the reviewer
  • Preface
    • Who this book is for
    • What this book covers
    • To get the most out of this book
    • Download the color images
    • Download the example code files
    • Conventions used
    • Get in touch
    • Share Your Thoughts
  • Section 1: Azure Digital Twin Essentials
  • Chapter 1: About Digital Twins
    • Understanding the concept of a Digital Twin
      • Digital replica
      • Entities
      • Relationships
      • Realities
    • Exploring the Digital Twin environment
    • Looking at real-world applications
      • Smart building
      • Education
      • Simulation
      • Historical data
      • Insight and control
    • Azure Digital Twins
      • The Azure Digital Twins service
      • Important terminology
      • Open modeling language
      • Tools
      • Costs
    • Understanding the components of Azure Digital Twins architecture
      • Managing Azure Digital Twins
      • Azure Functions
      • Azure IoT Hub
      • Azure IoT Hub Device Provisioning Service
      • Azure Logic Apps
      • Azure Storage
      • Azure Analytics
      • Azure Service Bus
    • Exploring the Azure Digital Twins REST API
    • Summary
  • Chapter 2: Requirements and Installation
    • Technical requirements
    • Azure Digital Twins service
      • Azure account
      • Resource group
      • Azure Digital Twins service
      • Configuring access control
    • Microsoft Visual Studio
    • The Windows Azure CLI with Windows PowerShell
    • Node.js
    • Azure Digital Twins Explorer
      • Download
      • Installation
      • Compile and run
    • Creating your first Digital Twin
      • Uploading models
    • Summary
  • Section 2: Getting Started with Azure Digital Twins
  • Chapter 3: Digital Twin Definition Model
    • Technical requirements
    • Digital Twins Definition Language
      • JSON-LD
      • Versioning
    • Digital Twin interface
    • Interface content
      • Properties
      • Telemetry
      • Relationships
      • Component
    • Schemas
    • Primitive schemas
    • Complex schemas
      • Field
      • Object
      • Map
      • Array
      • Enum
    • Geospatial schemas
    • Semantic types
    • Validating a model
    • Summary
    • Questions
    • Further reading
  • Chapter 4: Understanding Models
    • Technical requirements
    • Designing models
      • Modeling a smart building
      • Designing models
      • Modeling recommendations
    • Creating an application
    • Managing models
      • Creating a model
      • Creating multiple models
      • Inheriting from a model
      • Deleting a model
      • Getting a model
      • Getting models
    • Managing Digital Twins
      • Creating a Digital Twin
      • Updating a Digital Twin
      • Deleting a Digital Twin
      • Getting a Digital Twin
    • Summary
    • Questions
    • Further reading
  • Chapter 5: Model Elements
    • Technical requirements
    • Primitive properties
    • Complex properties
    • Telemetry
    • Components
    • Summary
    • Questions
  • Chapter 6: Creating Relationships between Azure Digital Twin Models
    • Technical requirements
    • Understanding relationships
    • Creating relationships
    • Getting relationships
      • Getting a single relationship
      • Getting a list of relationships
    • Deleting relationships
    • Relationship properties
    • Updating relationship properties
    • Summary
    • Questions
    • Further reading
  • Chapter 7: Querying Digital Twins
    • Technical requirements
    • Setting up a demo graph
    • Basic querying
    • Querying by model
    • Querying relationships
    • Filtering results
    • Querying using code
    • Querying asynchronous calls using code
    • Summary
    • Questions
    • Further reading
  • Chapter 8: Building Models Using Ontologies
    • Technical requirements
    • Understanding ontologies
    • Modeling strategy
    • Using industry-standard ontologies
    • Uploading ontology models
    • Summary
    • Questions
    • Further reading
  • Section 3: Digital Twins Advanced Techniques
  • Chapter 9: APIs and SDKs
    • Technical requirements
    • Understanding the developer landscape
    • Understanding the REST API
      • Control plane
      • Data plane
      • SDKs
    • Monitoring API metrics
    • Using the Azure CLI to manage Azure Digital Twins
    • Understanding service limits
    • Summary
    • Questions
    • Further reading
  • Chapter 10: Building a Digital Twin Pipeline
    • Technical requirements
    • Understanding application architecture
    • Setting up a demo sensor using Azure IoT Central
    • Getting sensor messages on Azure Service Bus
    • Summary
    • Questions
    • Further reading
  • Chapter 11: Updating the Model
    • Technical requirements
    • Updating the digital twin
      • Updating the sensor model
      • Creating a storage account
    • Creating an Azure function
      • Setting the connection string
      • Creating an Azure function placeholder
      • Granting the Azure function permissions
      • Publishing the Azure function
      • Setting the connection string
    • Creating a digital twin for the sensor
    • Viewing the result
    • Summary
    • Questions
    • Further reading
  • Chapter 12: Event Routing
    • Technical requirements
    • Data ingress and egress
    • Event notifications
    • Understanding event routes
    • Creating an event grid topic
    • Creating an endpoint
    • Creating an event route
    • Subscribing to event messages
    • Monitoring event route messages
    • Summary
    • Questions
    • Further reading
  • Chapter 13: Setting up Azure Maps
    • Technical requirements
    • Understanding Azure Maps
    • Creating an Azure Maps account
    • Creating a Creator resource
    • Building a map
    • Uploading a map
    • Converting a map
    • Creating and validating a dataset
    • Creating and validating a tileset
    • Creating and validating a feature stateset
    • Summary
    • Questions
    • Further reading
  • Chapter 14: Integrating Azure Maps
    • Technical requirements
    • Updating a feature stateset
    • Setting up an update Azure Function
    • Publishing the Azure Function
    • Configuring application settings
    • Subscribing to Event Grid
    • Monitoring updates
    • Visualizing the model
    • Summary
    • Questions
    • Further reading
  • Chapter 15: Monitoring and Troubleshooting
    • Technical requirements
    • Setting up a log analytics workspace
    • Setting up diagnostic settings
    • Viewing logs
    • Viewing metrics
    • Using alerts
    • Summary
    • Questions
    • Further reading
  • Section 4: Digital Twin Implementations in Real-world Scenarios
  • Chapter 16: Facility of the Future
    • Understanding the scenario
    • Designing the digital twin solution
    • The solution architecture
    • Summary
    • Questions
  • Chapter 17: Creating Digital Twins for Smart Building
    • Understanding the smart building ecosystem
      • Sensors
      • Analytics
      • User interfaces
      • Automation
    • A smart building solution design
    • The smart building architecture
    • Summary
    • Questions
  • Chapter 18: Simulations Using a Digital Twin
    • Understanding simulation
    • Solution design and architecture
      • Work preparation
      • Training
      • Testing
    • Summary
    • Questions
  • Assessments
    • Chapter 3 Digital Twin Definition Model
    • Chapter 4 Understanding Models
    • Chapter 5 Model Elements
    • Chapter 6 Creating Relationships between Azure Digital Twin Models
    • Chapter 7 Querying Digital Twins
    • Chapter 8 Building Models Using Ontologies
    • Chapter 9 APIs and SDKs
    • Chapter 10 Building a Digital Twin Pipeline
    • Chapter 11 Updating the model
    • Chapter 12 Event Routing
    • Chapter 13 Setting up Azure Maps
    • Chapter 14 Integrating Azure Maps
    • Chapter 15 Monitoring and Troubleshooting
    • Chapter 16 Facility of the Future
    • Chapter 17 Creating Digital Twins for Smart Building
    • Chapter 18 Simulations Using a Digital Twin
    • Why subscribe?
  • Other Books You May Enjoy
    • Packt is searching for authors like you
    • Share Your Thoughts