Smart Meeting Room Availability Dashboard

Size: px
Start display at page:

Download "Smart Meeting Room Availability Dashboard"

Transcription

1 SharePoint konferenz Smart Meeting Room Availability Dashboard Stephan Bisser SOLVION Partner: Veranstalter:

2 Stephan Technical (O365 & Azure) Microsoft AI MVP for Azure AI (Cognitive Services & Bots) AskCloudgy Graz, Austria

3 Agenda 1 Business Problem 2 Azure Solution Architecture 4 Demo

4 What is the actual problem?

5 What is the actual problem? Meeting rooms are booked but not used Opening 5+ room calendars in Outlook can be a pain Many meeting rooms on one floor manual try and error not acceptable Ad hoc meetings get more important

6 What is the actual problem?

7 How to solve that problem?

8 Let s build a smart assistant (Bot)

9 1990s: Internet Search User visits websites The future: Conversations Natural language between people and technology Conversational canvas Bots and agents The evolution of computers and IT 1980s: PC Desktop 2000s: Mobile Social User download apps from App Stores

10 The solution s backend design

11

12 Microsoft s Perspective on IoT IoT is a business revolution enabled by a technology revolution IoT enables a digital feedback loop Digital Feedback Loop This digital feedback loop connects Businesses to products to customers, enabling better products and customer insights Businesses to assets, enabling transformational optimization Products & Assets Businesses

13 thysenkrupp Example Knowing if elevators are not operational before customers do Knowing the maintenance needs, saving 50% of servicing Digital Feedback Loop Knowing the right part to bring the first time 4x reduction in the time spent servicing an elevator using HoloLens Products & Assets Businesses

14 Microsoft s Perspective on IoT IoT is a massive opportunity for developers

15 IoT in the Cloud and on the Edge IoT in the Cloud Remote monitoring and management Merging remote data from multiple IoT devices Infinite compute and storage to train machine learning and other advanced AI tools IoT on the Edge Low latency tight control loops require near real-time response Pre-process data on prem E.g. video streams Intelligence at the edge ML, AI, Analytics Offline operations (short and long term) Protocol translation & data normalization Privacy of data and protection of IP Consistency

16 A Simple View of an IoT Solution Things Insights Actions

17 A More Realistic View Enterprise integration Device recovery Solution scale Cloud-to-device commands Data storage Cold path analytics Deployment Operations monitoring Business process integration Cost management Internationalization High availability Updating devices Device lifecycle Transport protocols Warm path analytics Provisioning devices Drivers Things Disaster recovery Insights Hot path analytics Actions Device updates Data ownership < ---- End-to-End Security ---- > On device analytics Data visualization Industry and government compliance HW certification Manufacturing scale Device commercialization Securing data and why IoT needs simplifying

18 Azure IoT Hub Bi-directional communication Enterprise scale & integration End-to-end security Millions of Devices Multi-language, open source SDKs HTTPS/AMQPS/MQTTS Send Telemetry Receive Commands Device Management Device Twins Queries & Jobs Billions of messages Scale up and down Declarative Message Routes File Upload WebSockets & Multiplexing Azure Monitor Azure Resource Health Configuration Management Per Device Certificates Per Device Enable/Disable TLS Security X.509 Support IP Whitelisting/Blacklisting Shared Access Polices Firmware/Software Updates

19 Azure IoT Hub Device Management Power plant Used to orchestrate software/firmware/configuration changes Enables customers to build custom support for any OS Device twin* Device twin Elevators Desired Desired Reported Reported Smart meters Tags Medical devices Methods Query Jobs Azure IoT Hub Methods Buildings Query across millions of device twins, schedule jobs to update them * JSON documents that store device state information including metadata, configurations, and conditions. Azure IoT Hub maintains a device twin for each device that you connect to IoT Hub.

20 Azure Iot Hub

21 The evolution of application platforms On-Premises IaaS PaaS Serverless

22 What is serverless? $

23 Serverless application platform components

24 Combine IoT + AI + Serverless IoT is a lot about processing events IoT is also about producing and computing events locally Cognitive Services IoT Machine Learning is a lot about preparing data Intelligence can be added to your app using several services easily IoT Hub Stream Analytics Event Grid

25 Azure Function Apps Event driven execution off of HTTP, Queues, Databases, Timer/Chron No brainer for simple jobs and workers Serverless never create or manage VMs or clusters, auto-scale Pay only for resources used during execution (CPU and Memory)

26 Applications Every 15 minutes Find and clean invalid data Clean table

27 Applications CSV File added to Blob Storage Transform CSV to data rows Power BI Chart graphic

28 Applications Millions of devices feed into Stream Analytics Transform to structured data Store data in SQL Online

29 Applications?... Message sent to Chatbot Cortana Analytics answers questions Chatbot sends response

30 Azure Functions

31 Azure Functions Development Lifecycle 1) Trigger 2) Input Binding 3) Develop 4) Execute 5) Output Binding Web Hooks Azure Services Azure Services App Services Hosting Plans Azure Services 7) Develop Locally 6) Monitor and Improve

32 Azure Functions App

33 Azure Storage Managed, Scalable and secure data storage Blobs object and file storage via an HTTPS URL Tables nosql key/value data Queues messages and work items Files mountable file shares Automatically replicated and backed up Optional geo-replication x-archive, cold storage, soft delete, snapshot and restore

34 Azure Storage Table

35 The solution s frontend design

36

37 Bots 101 a computer program designed to have a conversation with a human being, especially over the internet * *

38 Bots 101 It s one thing: it s an app that performs an automated task It solves the user s needs in the quickest/easiest way compared to any other option... like an app, or a website What makes a bot great: It is not how much AI it has It is not how much natural language it offers It is not whether it uses voice or not

39 Bots 101 { Your Code } REST Endpoint

40 Microsoft Bot Framework

41 Azure Bot Service 1 intents.matches('getroom',function(session, args){ 2 var statusentity = builder.entityrecognizer.findentity(args.entities, 'Status'); 3 var locationentity = builder.entityrecognizer.findentity(args.entities, 'Location'); 4 session.sendtyping(); 5 session.send("please wait, I'm geeting the room availability..."); 6 var tableservice = azure.createtableservice( <ConnectionString>"); 7 var query = new azure.tablequery().top(10); 8 tableservice.queryentities('meetingroomstatus', query, null, function(error, result, response) { 9 if (!error) { 10 var objnumber = Object.keys(result.entries).length; 11 var numberindicator = 0; 12 var outstringrooms = ""; 13 var status = statusentity['entity']; 14 if(objnumber > 1){ 15 result.entries.foreach(function(room) { 16 var roomname = room.name["_"]; 17 var roomstatus = capitalize(status); 18 if (room.status["_"] == roomstatus){ 19 outstringrooms += '\n\n'; 20 outstringrooms += roomname; 21 numberindicator = 2; 22 } 23 }); 24 sendstatusoutput(session, outstringrooms, numberindicator); 25 }); 26 });

42

43 Language Understanding Show me all free rooms in 1st floor [ $Operation ] [ $Status ] [ $ObjectType ] [ $Location ] Intent = GetRoom

44 LUIS

45

46 DEMO

47 Backend

48 Frontend

49 SharePoint konferenz Ich freue mich auf Ihr AskCloudgy Partner: Veranstalter:

50 SharePoint konferenz Vielen Dank! Partner: Veranstalter: