Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018

This session was provided at DotNet Conference 2018 and you can see the recording on Channel9.
In this session I've talked about Internet of Things, IoT Architecturing Model, Azure Sphere, Azure Services for IoT solution's, Microsoft Azure Cognitive services and LUIS (Language Understanding Intelligent Service).

  • Inicia sesión para ver los comentarios

  • Sé el primero en recomendar esto

Internet of everything: let's talk about IoT and Azure - DotNet Conf 2018

  1. 1. Let’s start: IoT
  2. 2. What IoT means?
  3. 3. IoT scenarios
  4. 4. Windows 10 IoT Core
  5. 5. .NET Core on Linux .NET Core 3
  6. 6. Azure Sphere
  7. 7. IoT Solution Architecture on Azure
  8. 8. IoT Solution Architecture
  9. 9. IoT Solution Architecture
  10. 10. Connect devices
  11. 11. Device Identity, Provisioning and Store
  12. 12. Data processing and analytics
  13. 13. Storage
  14. 14. UX e App Backend
  15. 15. UX e App Backend
  16. 16. Business Integration
  17. 17. IoT + Azure = ❤
  18. 18. Azure IoT Suite Securely connect millions of devices Over a secure Internet connection To Microsoft Azure – build with security from the ground up Device Security Connection Security Connection SecurityCloud Security X.509/TSL-Based Handshake and Encryption Device provisioning And Authorization Azure Active Directory Key Vault Policy-Based Access Control
  19. 19. Checklist
  20. 20. GPIO Scheme on Raspberry Pi
  21. 21. Connection scheme on Raspberry Pi
  22. 22. Azure Cognitive Services
  23. 23. Azure LUIS
  24. 24. Visual Studio: new UWP solution
  25. 25. MainPage.xaml.cs private void InitGPIO() { var gpio = GpioController.GetDefault(); pinGreen = gpio.OpenPin(LED_GREEN_PIN); pinYellow = gpio.OpenPin(LED_YELLOW_PIN); pinGreen.SetDriveMode(GpioPinDriveMode.Output); pinYellow.SetDriveMode(GpioPinDriveMode.Output); }
  26. 26. MainPage.xaml.cs private GpioPin[] SelectedPin(Entity entity) { var result = new List<GpioPin>(); switch (entity) { case Entity.Green: LightAccess(result, entity, pinGreen); break; case Entity.Yellow: LightAccess(result, entity, pinYellow); break; case Entity.AllLights: LightAccess(result, Entity.Green, pinGreen); LightAccess(result, Entity.Yellow, pinYellow); break; default: break; }
  27. 27. Analyzer.cs public class Analyzer { public Intent Intent { get; set; } public Entity Entity { get; set; } } public enum Entity { Green, Yellow, AllLights } public enum Intent { LightOn, LightOff, None }
  28. 28. WebClinetLuis.cs ... switch (entityLight) { case "AllLight": result.Entity = Entity.AllLights; break; case "Green": result.Entity = Entity.Green; break; case "Yellow": result.Entity = Entity.Yellow; break; default: break; } JsonObject obj = JsonObject.Parse(resultJson); ... switch (intent) { case "LightOn": result.Intent = Intent.LightOn; break; case "LightOff": result.Intent = Intent.LightOff; break; default: break; } private const string LuisUrl = " YOUR_KEY " https://<region>.api.cognitive.microsoft.com/luis/v2.0/apps/<appID> ?subscription-key=<YOUR-KEY>&q=<user-utterance>
  29. 29. Setup LUIS
  30. 30. Setup LUIS: new app
  31. 31. Setup LUIS: new app
  32. 32. Setup LUIS: new intent
  33. 33. Setup LUIS: new intent
  34. 34. Setup LUIS: new intent
  35. 35. Setup LUIS: new entity
  36. 36. Setup LUIS: new entity
  37. 37. Setup LUIS: new entity
  38. 38. Setup LUIS: let’s train and test the model
  39. 39. Setup LUIS: let’s train and test the model
  40. 40. Setup LUIS: final steps
  41. 41. LUIS: JSON response structure { "query": "switch off all lights", "topScoringIntent": { "intent": "HomeAutomation.TurnOff", "score": 0.97520715 }, "intents": [ { "intent": "HomeAutomation.TurnOff", "score": 0.97520715 }, { "intent": "HomeAutomation.TurnOn", "score": 0.04457553 }, { "intent": "None", "score": 0.00627107872 } ], "entities": [ { "entity": "all", "type": "AllLights", "startIndex": 11, "endIndex": 13, "score": 0.6425568 }, { "entity": "lights", "type": "AllLights", "startIndex": 15, "endIndex": 20, "score": 0.7956683 }, { "entity": "off", "type": "HomeAutomation.Operation", "startIndex": 7, "endIndex": 9, "score": 0.613482 } ], "compositeEntities": [ { "parentType": "AllLights", "value": "all", "children": [] }, { "parentType": "AllLights", "value": "lights", "children": [] } ] }
  42. 42. Contact details & recap
  43. 43. Resources & Links https://developer.microsoft.com/en-us/windows/iot https://azure.microsoft.com/en-us/overview/iot/ https://www.microsoft.com/en-us/azure-sphere/ https://azure.microsoft.com/en-us/services/cognitive-services/ https://www.luis.ai/ https://docs.microsoft.com/en-us/windows/iot-core/manage-your-device/deviceportal
  44. 44. Resources & Links http://aka.ms/iotrefarchpdf https://channel9.msdn.com/Events/Build/2016/B815 https://channel9.msdn.com/Events/Build/2016/B844 https://myignite.microsoft.com/videos/2905 http://aka.ms/iotSuiteDoc https://www.azureiotsuite.com
  45. 45. Resources & Links http://angelusgi.azurewebsites.net/2018/09/14/dotnet- conf-2018-internet-of-everything-lets-talk-about-iot- and-azure/ https://channel9.msdn.com/Events/dotnetConf/2018/S 308
  46. 46. That’s all! Q&A

×