SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
Transport for London
Using data to keep London moving
Sriskandarajah Suhothayan
Associate Director / Architect
WSO2
OVERVIEW
• Based on the presentation presented at
– Strata Data Conference, London, 2017.
• Co-presented with :
– Roland Major
Enterprise Architect
Formerly Transport of London
2
• Introduction of Transport for London
• Surface Intelligent Transport System
• Conceptual Architecture
• Introduction to WSO2 technologies
• Data in Motion - Hack Week
• ‘Live Journey Planner’ prototype
• How It’s Done?
• Data Driven Operational Applications
• Game Changing Visualizations
• Learning Outcomes
• What's next in WSO2 Analytics
AGENDA
• 30 million journeys daily
• In addition to all road and rail
transport, they look after rivers,
assisted travel, taxi and private hire
regulation
• They also do much more from
education to running the world’s
largest out of home advertising estate
of its type
• They are 150 years old and a chock full
of heritage and design assets
BREADTH OF TRANSPORT FOR LONDON
Sponsorship
Own the improvement strategy for the Transport for London Road Network
Engage with a wide range of customers and external stakeholders
Deliver user benefits that are clearly defined and measured
Outcome Delivery
Highways design and engineering
Traffic modelling capability
Intelligent control of traffic signals
Monitor, analyse and optimise road network performance
Operations
24/7 Operation to keep London moving
Real-time incident management through LSTCC
Assess and coordinate works and schemes to minimise disruption on TfL’s roads
ROAD SPACE MANAGEMENT
SITS will
• provide the capability to unlock significant additional effective capacity on
the road network for the future
• enable and support delivery of a multi-modal approach to transport
management by using and allocating existing and new capacity
• enable and support delivery of a Balanced Scorecard approach to transport
management by using and allocating existing and new capacity based on
local modal demands
SURFACE INTELLIGENT TRANSPORT SYSTEM
Key Characteristics
Bringing information and insight
closer to decisions
Locale, map based UI
Timely, event driven not batch
Trusted, consistent and accurate
Public cloud hosted
Reusable commodity platforms
Open Standards
Middleware Platform - WSO2
CONCEPTUAL
ARCHITECTURE
Integration
Data Hub
Collaboration
and Innovation
Analytics and
Visualisation
Data Driven
Operational
Applications
Secure Enclave
• Enabler for Digital Transformation
• 100% Open Source Middleware Platform
• Offices in : Mountain View, New York, London, Sao Paolo, Colombo
• 350+ Customers
• 450 People, 300 Engineers
WSO2
OPEN TECHNOLOGY FOR AGILE DIGITAL BUSINESS
100% open source
September 26-29, 2016
Objective :
Managing the Capacity of London’s Transport
Network
• Maximizing capacity on the public transport
network
• Maximizing capacity on the roads network
• Improving air quality
Datasets
• TfL APIs (Realtime and Historical)
• SCOOT sensor reading (Realtime)
• Passenger flow (Historical)
• Air quality (from KCL) (Historical)
Solution
• ‘Live Journey Planner’ Prototype
DATA IN MOTION - HACK WEEK
TfL has about 14,000 sensors measuring roads approaching junctions
This data is currently used by the Real Time control to manage optimization
Requirements to process
780 Million events per day
Latency to data center circa 1 Second
At data capturing resolution of 250ms scans
TRAFFIC CONTROL SENSORS
Junction
SCOOT Sensor
CHANCE OF GET A SEAT IN THE TRAIN?
Summarized Oyster Card Data
REALTIME TRAFFIC
HighTraffic
LowTraffic
Collect SCOOT Data
Learning traffic patterns using R
Building Random Forest Classification (it’s 88% accurate for this usecase) !
Exported the model as PMML
Use the model to predict traffic in realtime with WSO2 DAS
LOOKING INTO THE FUTURE
INCIDENT !
Via Local and Waze
WALKING AND CYCLING
Via Local and Waze
ARCHITECTURE
• Realtime data processing pipeline
HOW IT’S DONE ?
Detect	
  
Headway	
  and	
  
Vehicle	
  Length
Traffic	
  and	
  
Flow	
  
Calculation	
  
Integrating	
  
Historic	
  
Summarization
Predicting	
  
Traffic	
  
Potential	
  
Incident	
  
Analysis
On raw SCOOT data stream
Sample stream: 1111100000111111100000
define stream ScootStream (scootId string, time long, reading int, seqId long);
from every e1=ScootStream[reading==1], e2=ScootStream[reading==0]+,
e3=ScootStream[reading==1]+, e4=ScootStream[reading==0]
select e3[0].seqId - e2[0].seqId as headway,
e4.seqId - e3[0].seqId as vehicleLength, ...
insert into DetectorStream;
DETECT HEADWAY AND VEHICLE LENGTH
Detect	
  Headway	
  
and	
  Vehicle	
  Length
Traffic	
  and	
  Flow	
  
Calculation	
  
Integrating	
  Historic	
  
Summarization
Predicting	
  Traffic	
  
Potential	
  Incident	
  
Analysis
Pattern Matching
On all SCOOT Detectors in London region.
from DetectorStream[str:split(scootId, "-", 0) == ‘London’]#window.time(’1 min’)
select count(*)/60 as flow,
avg(vehicleLength)/60 as traffic,
1/avg(headway) as density, ...
group by scootId
insert into TrafficStream;
The results are mapped to links and presented via APIs for visual representation
TRAFFIC AND FLOW CALCULATION
Detect	
  Headway	
  
and	
  Vehicle	
  Length
Traffic	
  and	
  Flow	
  
Calculation	
  
Integrating	
  Historic	
  
Summarization
Predicting	
  Traffic	
  
Potential	
  Incident	
  
Analysis
Filtering
SlidingTimeWindow
Group By
Aggregations
Historic data analysis with Apache Spark
Joining With Summarized Data
@from(table=‘rdbms’, url=‘...’, ...)
define table TrafficSummery (scootId string, week int, day string, traffic
long);
from TrafficStream as ts join TrafficSummery as tt
on ts.week == tt.week and ts.day == tt.day
select ts.traffic as currentTraffic, tt.traffic as usualTraffic, ...
insert into SummeryTrafficStream;
INTEGRATING WITH HISTORIC SUMMARIZATION
Detect	
  Headway	
  
and	
  Vehicle	
  Length
Traffic	
  and	
  Flow	
  
Calculation	
  
Integrating	
  Historic	
  
Summarization
Predicting	
  Traffic	
  
Potential	
  Incident	
  
Analysis
Join
Predicting traffic in next 15 minutes
from SummeryTrafficStream
#pmml:predict(’wso2das-3.1.0/marbel_model.pmml')
select *
insert into PredictedTrafficStream;
PREDICTIONS
Detect	
  Headway	
  
and	
  Vehicle	
  Length
Traffic	
  and	
  Flow	
  
Calculation	
  
Integrating	
  Historic	
  
Summarization
Predicting	
  Traffic	
  
Potential	
  Incident	
  
Analysis
Predict Function
Increasing trend in traffic hikes
from PredictedTrafficStream
select currentTraffic - historicTraffic as currentHike,
predictedTraffic – currentTraffic as predictedHike, ...
having currentTrafficHike > 0 and predictedTrafficHike > 0
insert into TrafficHikeStream;
from every e1=TrafficHikeStream ->
e2=TrafficHikeStream[ (e2.currentHick – e1.currentHike)*100.0 / e1.currentHike > 20 and
(e2.predictedHike – e1.predictedHike)*100.0 / e1.predictedHike > 20]
with in 15 min
insert into PotentialIncidentStream;
POTENTIAL INCIDENT ANALYSIS
Detect	
  Headway	
  
and	
  Vehicle	
  Length
Traffic	
  and	
  Flow	
  
Calculation	
  
Integrating	
  Historic	
  
Summarization
Predicting	
  Traffic	
  
Potential	
  Incident	
  
Analysis
Pattern Matching
London Works 2
• Central Register – a pan London system enabling visibility and management of works and
related activities in London
• Traffic Management Act Notifications (TMAN) - A dedicated interface between London
boroughs and TfL enabling the balanced delivery of major schemes and works on the TLRN
and SRN
• Forward Planning Tool - An advance planning tool that allows promoters to provide early
visibility of road and street works
Data Driven Operational Applications
GAME CHANGING VISUALIZATIONS
Situational Awareness
Situational Awareness
• Realtime analytics on data provides edge
• Keep focus on usability
• Use the right tool for the right task
• Skills are the biggest hurdle
• Bringing information sets together encourages new thinking
• Using Agile approaches has transformed outcomes
• Removing system fragmentation has a big impact on organization
• Flattening delivery structures & small staged initiatives
• Platform approach
• Early indications of making data easily shared and integrated is improving
decisions
LEARNING POINTS
Available by end of
year 2017
34
WHATS NEXT IN WSO2 ANALYTICS
• Support for Machine Learning model execution
• Online machine learning, PMML, and Java models
• Support to consume and publish data to and from various transports and
in multiple data formats
• HTTP, Kafka, Thrift, TCP, JMS, MQTT, RabbitMQ, Email
• XML, JSON, Text, CSV, Binary
• Support for connecting to various data stores
• RDBMs, MongoDB, Cassandra, HBase, Solr
• Incremental long running data aggregation
• Without a need of spark cluster
35
SUPPORTED FUNCTIONALITY
• Rich developer tool
• With auto completion, simulation and debugging support
• System monitoring support
• Business user friendly configurations
• Realtime dashboard
• With gadget generation support
36
TOOLING SUPPORT
37
DEVELOPER STUDIO
38
BUSINESS RULES
39
DASHBOARD
• Scalable deployment with Apache Kafka
• Exactly once data processing
• Zero data loss
• Minimum high available deployment with 2 nodes
• Multi data center support
• Zero downtime
40
SCALABILITY AND HIGH AVAILABILITY
• Strata Talk on “Transport for London: Using data to keep London moving”
https://conferences.oreilly.com/strata/strata-eu-
2017/public/schedule/detail/57582
• WSO2 Analytics https://wso2.com/analytics
• WSO2 Data Analytics Server https://wso2.com/analytics/features
• WSO2 Stream Processor (Will be released on end of 2017)
https://github.com/wso2/product-sp/releases
• WSO2 Siddhi https://wso2.github.io/siddhi/
• WSO2 Support https://wso2.com/support/
41
USEFUL LINKS
THANK YOU
wso2.com

Contenu connexe

Tendances

Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
confluent
 
WSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile ClubWSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile Club
WSO2
 
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
confluent
 

Tendances (20)

Cloud Expo Europe 2019 - Solace Presentation
Cloud Expo Europe 2019 - Solace PresentationCloud Expo Europe 2019 - Solace Presentation
Cloud Expo Europe 2019 - Solace Presentation
 
Using a Hybrid IoT Event Mesh to Power a Global, Large-Scale IoT Platform
Using a Hybrid IoT Event Mesh to Power a Global, Large-Scale IoT PlatformUsing a Hybrid IoT Event Mesh to Power a Global, Large-Scale IoT Platform
Using a Hybrid IoT Event Mesh to Power a Global, Large-Scale IoT Platform
 
Event Mesh: the Architecture Layer That Will Make Your Business Event-Driven
Event Mesh: the Architecture Layer That Will Make Your Business Event-DrivenEvent Mesh: the Architecture Layer That Will Make Your Business Event-Driven
Event Mesh: the Architecture Layer That Will Make Your Business Event-Driven
 
Blueprint for omnichannel integration architecture
Blueprint for omnichannel integration architectureBlueprint for omnichannel integration architecture
Blueprint for omnichannel integration architecture
 
Event-driven Business: How Leading Companies Are Adopting Streaming Strategies
Event-driven Business: How Leading Companies Are Adopting Streaming StrategiesEvent-driven Business: How Leading Companies Are Adopting Streaming Strategies
Event-driven Business: How Leading Companies Are Adopting Streaming Strategies
 
Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
Driving Business Transformation with Real-Time Analytics Using Apache Kafka a...
 
WSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile ClubWSO2 & AAA Ohio Automobile Club
WSO2 & AAA Ohio Automobile Club
 
Event-Streaming verstehen in unter 10 Min
Event-Streaming verstehen in unter 10 MinEvent-Streaming verstehen in unter 10 Min
Event-Streaming verstehen in unter 10 Min
 
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
Using Kafka in Your Organization with Real-Time User Insights for a Customer ...
 
Digital Transformation in Market Data and Trading Platforms
Digital Transformation in Market Data and Trading PlatformsDigital Transformation in Market Data and Trading Platforms
Digital Transformation in Market Data and Trading Platforms
 
Seamless Guest Experience with Kafka Streams
Seamless Guest Experience with Kafka StreamsSeamless Guest Experience with Kafka Streams
Seamless Guest Experience with Kafka Streams
 
Hybrid & Global Kafka Architecture
Hybrid & Global Kafka ArchitectureHybrid & Global Kafka Architecture
Hybrid & Global Kafka Architecture
 
Confluent & MongoDB APAC Lunch & Learn
Confluent & MongoDB APAC Lunch & LearnConfluent & MongoDB APAC Lunch & Learn
Confluent & MongoDB APAC Lunch & Learn
 
Introduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft AzureIntroduction to Time Series Analytics with Microsoft Azure
Introduction to Time Series Analytics with Microsoft Azure
 
Awesome Banking API's
Awesome Banking API'sAwesome Banking API's
Awesome Banking API's
 
Real-time Big Data Analytics in the IBM SoftLayer Cloud with VoltDB
Real-time Big Data Analytics in the IBM SoftLayer Cloud with VoltDBReal-time Big Data Analytics in the IBM SoftLayer Cloud with VoltDB
Real-time Big Data Analytics in the IBM SoftLayer Cloud with VoltDB
 
SAP HANA IoT Platform
SAP HANA IoT PlatformSAP HANA IoT Platform
SAP HANA IoT Platform
 
X-Road – Open Source Data Exchange Layer
X-Road – Open Source Data Exchange LayerX-Road – Open Source Data Exchange Layer
X-Road – Open Source Data Exchange Layer
 
Solace Strategic Update: October 2018
Solace Strategic Update: October 2018Solace Strategic Update: October 2018
Solace Strategic Update: October 2018
 
Microservices In Practice
Microservices In PracticeMicroservices In Practice
Microservices In Practice
 

Similaire à Transport for London - Using Data to Keep London Moving

inLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EUinLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EU
inLabFIB
 
StreamAnalytix - Multi-Engine Streaming Analytics Platform
StreamAnalytix - Multi-Engine Streaming Analytics PlatformStreamAnalytix - Multi-Engine Streaming Analytics Platform
StreamAnalytix - Multi-Engine Streaming Analytics Platform
Atul Sharma
 
Confluent Cloud inside the Digital Transformation of Autostrade per l’Italia
Confluent Cloud inside the Digital Transformation of Autostrade per l’ItaliaConfluent Cloud inside the Digital Transformation of Autostrade per l’Italia
Confluent Cloud inside the Digital Transformation of Autostrade per l’Italia
confluent
 
Asset information and data management for Smart Rail June 26th
Asset information and data management for Smart Rail June 26thAsset information and data management for Smart Rail June 26th
Asset information and data management for Smart Rail June 26th
James Nesbitt
 
Why and how to leverage the simplicity and power of SQL on Flink
Why and how to leverage the simplicity and power of SQL on FlinkWhy and how to leverage the simplicity and power of SQL on Flink
Why and how to leverage the simplicity and power of SQL on Flink
DataWorks Summit
 
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
Miguel García González
 

Similaire à Transport for London - Using Data to Keep London Moving (20)

A Platform Approach to Digital Transformation
A Platform Approach to Digital TransformationA Platform Approach to Digital Transformation
A Platform Approach to Digital Transformation
 
A Full End-to-End Platform as a Service for Smart City Applications
A Full End-to-End Platform as a Service for SmartCity ApplicationsA Full End-to-End Platform as a Service for SmartCity Applications
A Full End-to-End Platform as a Service for Smart City Applications
 
Smart Mobility
Smart MobilitySmart Mobility
Smart Mobility
 
Asset information and data management smart rail
Asset information and data management smart railAsset information and data management smart rail
Asset information and data management smart rail
 
User-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart DrivingUser-Driven Cloud Transportation System for Smart Driving
User-Driven Cloud Transportation System for Smart Driving
 
Real time path planning based on hybrid vanet enhanced transportation system
Real time path planning based on hybrid vanet enhanced transportation systemReal time path planning based on hybrid vanet enhanced transportation system
Real time path planning based on hybrid vanet enhanced transportation system
 
Masterslides Trafiklabmeetup 6 dec
Masterslides Trafiklabmeetup 6 decMasterslides Trafiklabmeetup 6 dec
Masterslides Trafiklabmeetup 6 dec
 
Requirements for Geospatial Agent Simulation to Strengthen the 'Property-Powe...
Requirements for Geospatial Agent Simulation to Strengthen the 'Property-Powe...Requirements for Geospatial Agent Simulation to Strengthen the 'Property-Powe...
Requirements for Geospatial Agent Simulation to Strengthen the 'Property-Powe...
 
Discover How Volvo Cars Uses a Time Series Database to Become Data-Driven
Discover How Volvo Cars Uses a Time Series Database to Become Data-DrivenDiscover How Volvo Cars Uses a Time Series Database to Become Data-Driven
Discover How Volvo Cars Uses a Time Series Database to Become Data-Driven
 
inLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EUinLab FIB Presentation at ICT2013EU
inLab FIB Presentation at ICT2013EU
 
StreamAnalytix - Multi-Engine Streaming Analytics Platform
StreamAnalytix - Multi-Engine Streaming Analytics PlatformStreamAnalytix - Multi-Engine Streaming Analytics Platform
StreamAnalytix - Multi-Engine Streaming Analytics Platform
 
The role of open data in driving sustainable mobility in nine smart cities
The role of open data in driving sustainable mobility in nine smart citiesThe role of open data in driving sustainable mobility in nine smart cities
The role of open data in driving sustainable mobility in nine smart cities
 
Confluent Cloud inside the Digital Transformation of Autostrade per l’Italia
Confluent Cloud inside the Digital Transformation of Autostrade per l’ItaliaConfluent Cloud inside the Digital Transformation of Autostrade per l’Italia
Confluent Cloud inside the Digital Transformation of Autostrade per l’Italia
 
Transport for London - London's Operations Digital Twin
Transport for London - London's Operations Digital TwinTransport for London - London's Operations Digital Twin
Transport for London - London's Operations Digital Twin
 
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
 
Asset information and data management for Smart Rail June 26th
Asset information and data management for Smart Rail June 26thAsset information and data management for Smart Rail June 26th
Asset information and data management for Smart Rail June 26th
 
Asset information and data management for smart rail systems conference Londo...
Asset information and data management for smart rail systems conference Londo...Asset information and data management for smart rail systems conference Londo...
Asset information and data management for smart rail systems conference Londo...
 
Why and how to leverage the simplicity and power of SQL on Flink
Why and how to leverage the simplicity and power of SQL on FlinkWhy and how to leverage the simplicity and power of SQL on Flink
Why and how to leverage the simplicity and power of SQL on Flink
 
Integrated System of Support for Mobility
Integrated System of Support for MobilityIntegrated System of Support for Mobility
Integrated System of Support for Mobility
 
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
#FIWAREPamplona - Training day - Open and agile smart cities. A technical int...
 

Plus de WSO2

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
WSO2
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
WSO2
 

Plus de WSO2 (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in Choreo
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on Azure
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdf
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos Identity
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformation
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking Experiences
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready Bank
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Transport for London - Using Data to Keep London Moving

  • 1. Transport for London Using data to keep London moving Sriskandarajah Suhothayan Associate Director / Architect WSO2
  • 2. OVERVIEW • Based on the presentation presented at – Strata Data Conference, London, 2017. • Co-presented with : – Roland Major Enterprise Architect Formerly Transport of London 2
  • 3. • Introduction of Transport for London • Surface Intelligent Transport System • Conceptual Architecture • Introduction to WSO2 technologies • Data in Motion - Hack Week • ‘Live Journey Planner’ prototype • How It’s Done? • Data Driven Operational Applications • Game Changing Visualizations • Learning Outcomes • What's next in WSO2 Analytics AGENDA
  • 4. • 30 million journeys daily • In addition to all road and rail transport, they look after rivers, assisted travel, taxi and private hire regulation • They also do much more from education to running the world’s largest out of home advertising estate of its type • They are 150 years old and a chock full of heritage and design assets BREADTH OF TRANSPORT FOR LONDON
  • 5. Sponsorship Own the improvement strategy for the Transport for London Road Network Engage with a wide range of customers and external stakeholders Deliver user benefits that are clearly defined and measured Outcome Delivery Highways design and engineering Traffic modelling capability Intelligent control of traffic signals Monitor, analyse and optimise road network performance Operations 24/7 Operation to keep London moving Real-time incident management through LSTCC Assess and coordinate works and schemes to minimise disruption on TfL’s roads ROAD SPACE MANAGEMENT
  • 6. SITS will • provide the capability to unlock significant additional effective capacity on the road network for the future • enable and support delivery of a multi-modal approach to transport management by using and allocating existing and new capacity • enable and support delivery of a Balanced Scorecard approach to transport management by using and allocating existing and new capacity based on local modal demands SURFACE INTELLIGENT TRANSPORT SYSTEM
  • 7. Key Characteristics Bringing information and insight closer to decisions Locale, map based UI Timely, event driven not batch Trusted, consistent and accurate Public cloud hosted Reusable commodity platforms Open Standards Middleware Platform - WSO2 CONCEPTUAL ARCHITECTURE Integration Data Hub Collaboration and Innovation Analytics and Visualisation Data Driven Operational Applications Secure Enclave
  • 8. • Enabler for Digital Transformation • 100% Open Source Middleware Platform • Offices in : Mountain View, New York, London, Sao Paolo, Colombo • 350+ Customers • 450 People, 300 Engineers WSO2
  • 9. OPEN TECHNOLOGY FOR AGILE DIGITAL BUSINESS 100% open source
  • 10. September 26-29, 2016 Objective : Managing the Capacity of London’s Transport Network • Maximizing capacity on the public transport network • Maximizing capacity on the roads network • Improving air quality Datasets • TfL APIs (Realtime and Historical) • SCOOT sensor reading (Realtime) • Passenger flow (Historical) • Air quality (from KCL) (Historical) Solution • ‘Live Journey Planner’ Prototype DATA IN MOTION - HACK WEEK
  • 11. TfL has about 14,000 sensors measuring roads approaching junctions This data is currently used by the Real Time control to manage optimization Requirements to process 780 Million events per day Latency to data center circa 1 Second At data capturing resolution of 250ms scans TRAFFIC CONTROL SENSORS Junction SCOOT Sensor
  • 12.
  • 13. CHANCE OF GET A SEAT IN THE TRAIN? Summarized Oyster Card Data
  • 15.
  • 16. Collect SCOOT Data Learning traffic patterns using R Building Random Forest Classification (it’s 88% accurate for this usecase) ! Exported the model as PMML Use the model to predict traffic in realtime with WSO2 DAS LOOKING INTO THE FUTURE
  • 21. • Realtime data processing pipeline HOW IT’S DONE ? Detect   Headway  and   Vehicle  Length Traffic  and   Flow   Calculation   Integrating   Historic   Summarization Predicting   Traffic   Potential   Incident   Analysis
  • 22. On raw SCOOT data stream Sample stream: 1111100000111111100000 define stream ScootStream (scootId string, time long, reading int, seqId long); from every e1=ScootStream[reading==1], e2=ScootStream[reading==0]+, e3=ScootStream[reading==1]+, e4=ScootStream[reading==0] select e3[0].seqId - e2[0].seqId as headway, e4.seqId - e3[0].seqId as vehicleLength, ... insert into DetectorStream; DETECT HEADWAY AND VEHICLE LENGTH Detect  Headway   and  Vehicle  Length Traffic  and  Flow   Calculation   Integrating  Historic   Summarization Predicting  Traffic   Potential  Incident   Analysis Pattern Matching
  • 23. On all SCOOT Detectors in London region. from DetectorStream[str:split(scootId, "-", 0) == ‘London’]#window.time(’1 min’) select count(*)/60 as flow, avg(vehicleLength)/60 as traffic, 1/avg(headway) as density, ... group by scootId insert into TrafficStream; The results are mapped to links and presented via APIs for visual representation TRAFFIC AND FLOW CALCULATION Detect  Headway   and  Vehicle  Length Traffic  and  Flow   Calculation   Integrating  Historic   Summarization Predicting  Traffic   Potential  Incident   Analysis Filtering SlidingTimeWindow Group By Aggregations
  • 24. Historic data analysis with Apache Spark Joining With Summarized Data @from(table=‘rdbms’, url=‘...’, ...) define table TrafficSummery (scootId string, week int, day string, traffic long); from TrafficStream as ts join TrafficSummery as tt on ts.week == tt.week and ts.day == tt.day select ts.traffic as currentTraffic, tt.traffic as usualTraffic, ... insert into SummeryTrafficStream; INTEGRATING WITH HISTORIC SUMMARIZATION Detect  Headway   and  Vehicle  Length Traffic  and  Flow   Calculation   Integrating  Historic   Summarization Predicting  Traffic   Potential  Incident   Analysis Join
  • 25. Predicting traffic in next 15 minutes from SummeryTrafficStream #pmml:predict(’wso2das-3.1.0/marbel_model.pmml') select * insert into PredictedTrafficStream; PREDICTIONS Detect  Headway   and  Vehicle  Length Traffic  and  Flow   Calculation   Integrating  Historic   Summarization Predicting  Traffic   Potential  Incident   Analysis Predict Function
  • 26. Increasing trend in traffic hikes from PredictedTrafficStream select currentTraffic - historicTraffic as currentHike, predictedTraffic – currentTraffic as predictedHike, ... having currentTrafficHike > 0 and predictedTrafficHike > 0 insert into TrafficHikeStream; from every e1=TrafficHikeStream -> e2=TrafficHikeStream[ (e2.currentHick – e1.currentHike)*100.0 / e1.currentHike > 20 and (e2.predictedHike – e1.predictedHike)*100.0 / e1.predictedHike > 20] with in 15 min insert into PotentialIncidentStream; POTENTIAL INCIDENT ANALYSIS Detect  Headway   and  Vehicle  Length Traffic  and  Flow   Calculation   Integrating  Historic   Summarization Predicting  Traffic   Potential  Incident   Analysis Pattern Matching
  • 27. London Works 2 • Central Register – a pan London system enabling visibility and management of works and related activities in London • Traffic Management Act Notifications (TMAN) - A dedicated interface between London boroughs and TfL enabling the balanced delivery of major schemes and works on the TLRN and SRN • Forward Planning Tool - An advance planning tool that allows promoters to provide early visibility of road and street works Data Driven Operational Applications
  • 29.
  • 30.
  • 33. • Realtime analytics on data provides edge • Keep focus on usability • Use the right tool for the right task • Skills are the biggest hurdle • Bringing information sets together encourages new thinking • Using Agile approaches has transformed outcomes • Removing system fragmentation has a big impact on organization • Flattening delivery structures & small staged initiatives • Platform approach • Early indications of making data easily shared and integrated is improving decisions LEARNING POINTS
  • 34. Available by end of year 2017 34 WHATS NEXT IN WSO2 ANALYTICS
  • 35. • Support for Machine Learning model execution • Online machine learning, PMML, and Java models • Support to consume and publish data to and from various transports and in multiple data formats • HTTP, Kafka, Thrift, TCP, JMS, MQTT, RabbitMQ, Email • XML, JSON, Text, CSV, Binary • Support for connecting to various data stores • RDBMs, MongoDB, Cassandra, HBase, Solr • Incremental long running data aggregation • Without a need of spark cluster 35 SUPPORTED FUNCTIONALITY
  • 36. • Rich developer tool • With auto completion, simulation and debugging support • System monitoring support • Business user friendly configurations • Realtime dashboard • With gadget generation support 36 TOOLING SUPPORT
  • 40. • Scalable deployment with Apache Kafka • Exactly once data processing • Zero data loss • Minimum high available deployment with 2 nodes • Multi data center support • Zero downtime 40 SCALABILITY AND HIGH AVAILABILITY
  • 41. • Strata Talk on “Transport for London: Using data to keep London moving” https://conferences.oreilly.com/strata/strata-eu- 2017/public/schedule/detail/57582 • WSO2 Analytics https://wso2.com/analytics • WSO2 Data Analytics Server https://wso2.com/analytics/features • WSO2 Stream Processor (Will be released on end of 2017) https://github.com/wso2/product-sp/releases • WSO2 Siddhi https://wso2.github.io/siddhi/ • WSO2 Support https://wso2.com/support/ 41 USEFUL LINKS