SlideShare a Scribd company logo
1 of 34
Download to read offline
Towards an Interplanetary
Alert Network
Clean up your CAP
Art Botterell, Dominic Konig, and Nuwan Waidyanatha
nuwan [at] sahanafoundation [dot] org
Filtered Alert Hub Workshop, Hong Kong Observatory, 2018
www.sahanafoundation.org Slide
WMO Registered Authorities
2
Zapier
webhook
polling tool
tells us when
there’s a new
change in the
WMO
Register of
Alerting
Authorities
database
www.sahanafoundation.org Slide
Data for each country
3
www.sahanafoundation.org Slide
GRAB - the Sahana Aggregator
4
Globally Relayed Alerts and Bulletins (GRAB)@ cap.sahana.io
www.sahanafoundation.org Slide
Zoom in to view spatial distribution of alerts
5
www.sahanafoundation.org Slide
Click on icon to view summary of the alert
6
www.sahanafoundation.org Slide
Individual human readable alerts and XML views
7
www.sahanafoundation.org Slide
Filter and export options
8
Filter options to
create your own
CAP dataset
Export the dataset
as JASON, CSV,
RSS, PDF, or CAP
(XML)
www.sahanafoundation.org Slide
Characteristics of Public Alert Systems
9
Relatively deep problem-clusters for public alerting generally:
1. Identity and reputation/credibility
2. Authenticated replication and reliable accessibility
3. Elimination of single points of failure
WMO Filtered Alert Hub and Register of Alerting Authorities are
addressing these in a very limited scope with limited actors.
How can we “include” others, minus the exclusivity/bureaucracy?
www.sahanafoundation.org Slide
Thinking futuristic and IOTs
10
What happens when IOTs become a forewarning mechanisms?
The problems:
1) IoT is facing a systemic issue of scaling but without sufficient device IDENTITY,
SECURITY, or INTEROPERABILITY in mind;
2) a world of device data being collected from billions of devices raises information
security and privacy concerns for individuals/corporations/governments;
3) the world is turning towards open-data initiatives but there is a lack of a
uniform approach;
4) blockchain technology and IoT offers a new world of promise, but no-one is
100% clear on how it will offer benefits.
- Credits: https://www.chainofthings.com/
www.sahanafoundation.org Slide
❏ “Authentication without Aggregation” - Inspiration largely by Wade Witmer Deputy
Director, IPAWS, FEMA
❏ “Intuition was blockchain technology might be a way to implement” - Art Botterell
❏ Primary tasks of an alerting system are:
❏ Reliable attribution of messages
❏ Attributing them to their authors
❏ Reliable message integrity
❏ All of which appear to come in the blockchain concept
❏ Also allows us to transcend our current mass-media paradigms of
❏ few-to-many alerting; to also begin to address many-to-few and many-to-many
applications
❏ Most of these are now the domain of emergency telephone number systems in much of
the world.
Why did we look towards Blockchains?
11
www.sahanafoundation.org Slide
The mesh of blockchains
12
Node
01
Node
02
Node
04
Node
03
USER
(e.g. CAP Author
Dept. of Met / Hydro)
Ledger Ledger
LedgerLedger
Publishing
Interface
USER
(e.g. HL7 patient
care device - IOT)
Publishing
InterfaceUse APIs to
talk with Node
Nodes talk
to establish
consensus
e.g. WMO
Filtered AlertHub
Media
(e.g Private Tweets,
BBC tweet)
USER
(e.g Health
Regulator)
Surveillance
Interface
Writes the confirmed
transaction as a new block
and updates other nodes
www.sahanafoundation.org Slide
➔ Business Blockchain Network
◆ anyone participating in the network publishing and consuming (incl. relaying/sharing) alerts
◆ Example: what we might call the AleN (or the Alert business Network)
➔ Decentralized network
◆ Peer-to-Peer network of computers publishing and consuming alerts
◆ Example: WMO Filtered AlertHub (CAP), Social Media streams, Community-based Alerting
➔ Asset
◆ Alert messages (or risk information)
◆ Example: each CAP message (payload) is an asset (i.e. trading messages)
➔ Participants
◆ Publishers and Subscribers (incl. relay/render entities)
◆ Example: Met / Hydro (publisher), Google Public Alerts (relay), Gov Officials (subscribers)
➔ Transactions
◆ Publisher - create, update, or delete and Subscriber - read or acknowledge messages
◆ Example: Met / Hydro update a CAP message and Gov Official acknowledges receipt
Blockchain concepts with Alerting in mind
13
www.sahanafoundation.org Slide
➔ Distributed ledger
◆ Immutable collection of message transactions
◆ Example: WMO Filtered Alerhub maintain who issued what warning when, why. and where
➔ Catalog the current State
◆ What is the current state of the messages and participants
◆ Example: message has expired (cap.info.expire < today)
➔ Chain code
◆ Business rules; i.e. encapsulated logic and policies
◆ Example: Subscriber type X can read asset Message type Y
➔ Consensus
◆ Mechanism for validating the messages; must be defined and implemented
◆ Example: use a voting method (thumbs up/down); check against WMO Register of Authorities
➔ Non-permissioned-networks (Non-governmental)
◆ Anonymous or un-official publishers
◆ Example: citizen tweeting a forest fire
Blockchain concepts w.r.t Alerting
14
www.sahanafoundation.org Slide
Unique signatureUnique signature Unique signature
ID:554.4.1, Event: Forest
Fire, Type: Alert
ID: 554.1.1, Event:
Volcanic eruption,
Type: Update
ID: 554.4.2, Event: Forest
Fire, Type: Update
ID: 608.0.1, Event: Flash
Flood, Type: Alert
ID: 608.0.2, Event:
tropical cyclone,
Type: Update
Chaining the alert blocks and immutability
15
ID:840.3.1, Event: air
quality, Type: Alert
Block 01
2eca
2eca
Block 02
2c81
Block 03
2c81 oa7c
www.sahanafoundation.org Slide
Unique signatureUnique signature Unique signature
ID:554.4.1, Event: Forest
Fire, Type: Alert
ID: 554.1.1, Event:
Volcanic eruption,
Type: Update
ID: 554.4.2, Event: Forest
Fire, Type: Update
ID: 608.0.1, Event: Flash
Flood, Type: Alert
ID: 608.0.2, Event:
tropical cyclone,
Type: Update
Violating immutability
16
ID:840.3.1, Event: air
quality, Type: Update
Block 01
b491
2eca
Block 02
2c81
Block 03
2c81 oa7c
www.sahanafoundation.org Slide
ID:840.3.2, Event: air
quality, Type: Update,
Ref: 840.3.1
Unique signatureUnique signature
ID:554.4.1, Event: Forest
Fire, Type: Alert
ID: 554.1.1, Event:
Volcanic eruption,
Type: Update
ID: 554.4.2, Event: Forest
Fire, Type: Update,
Ref: 554.4.2
The recommended way, with messaging
17
ID:840.3.1, Event: air
quality, Type: Alert
Block 01
2eca
2c81
Block 03
oa7c
Unique signature
oa7c
Block 04
doc9
Block 02
www.sahanafoundation.org Slide
1. Can blockchain-based alerting “front end” take the place of our current generation
of alert aggregators?
a. Full nodes on the mesh to serve as read-only sources to drive traditional mass
dissemination systems
b. From a local view they’d seem just like current-gen aggregators
c. Create a globally accessible yet independent identity regime might lower barriers to
other inherently-transnational dissemination systems
d. Encourage adoption of modern alerting practice in less technically affluent parts of the
world
2. Would the propagation of alert message transactions over the major blockchain
platforms be speedy?
a. identified as a priority for further development (e.g. scaling horizontally with ‘Kafka’)
b. might stipulate having a “fast enough” blockchain in the near future
Questions to ask are
18
www.sahanafoundation.org Slide
Hyperledger Fabric & Composer
19
Participant
`Publisher` `Subscriber`
Asset
`Message`
Transaction
`Author` `Publish`
`Acknowledge`
Event
`Alert` `Update` `Error`
`Cancel` `Ack` `Relay`
www.sahanafoundation.org Slide 20
www.sahanafoundation.org Slide
Thoughts after the Hyperledger exercise
First: “Can Blockchain technology foster a decentralized, immutable, and
authenticated alert network?”
- Yes - but it may seem overly complex for simple messaging; although it provides the
indexing and parsing mechanisms.
- NO - because the standard Composer constructs don’t match our paradigm well; e.g.
creating a new Asset (message) for alert, update, error, cancel, doesn’t sound right?
Second attempt: “Can hash trees and cryptography, alone, foster a decentralized,
immutable, and authenticated alert network?”
- Yes/No - we stumbled upon IPFS;
- It can address the decentralized and immutable aspected
- but not the authentication; i.e. need to build a consensus layer (smart contracts)
- Moreover, we require a mechanism to index and parse for presentation
21
www.sahanafoundation.org Slide
Interplanetary File System (IPFS)
22
http://localhost:5001/ipfs/QmQLXHs7K98JNQd
WrBB2cQLJahPhmupbDjRuH1b9ibmwVa/
www.sahanafoundation.org Slide
CAP V1.1 vs V1.2
23
❏ There’s only minor difference
between CAP 1.1 and CAP 1.2
❏ XML structure and elements
are the same
❏ Difference is in a few index
values; e.g. ResponseType
❏ Safest remedy was to create
another XSLT specific to CAP 1.1
but COSTLY
❏ What happens when the next
version comes along?
More the 50% of the feeds
are from Meteoalarm
www.sahanafoundation.org Slide
Atom link type = CAP+XML
Section 2.3.1.2 specifically mentions the need to label type = application/cap+xml; in
this doc:
http://docs.oasis-open.org/emergency-adopt/cap-feeds/v1.0/cap-feeds-v1.0.html
24
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>http://www.pagasa.dost.gov.ph/</id>
<title>PAGASA CAP FEED</title>
<updated>2018-11-01T05:08:40+08:00</updated>
<entry>
<id>c0762af0-c672-47f8-ac4c-2888425f9355</id>
<title>GFA #8 (Final) - Region 3 (Central Luzon)</title>
<updated>2018-11-01T05:08:40+08:00</updated>
<author><name>PAGASA DOST</name></author>
<link type="application/cap+xml"
href="https://publicalert.pagasa.dost.gov.ph/output/gfa/c0762af0-c672-47f
8-ac4c-2888425f9355.cap"/>
</entry>
Like this
www.sahanafoundation.org Slide
Validation Errors
identifier: Cannot be empty and Must not include spaces,
commas, or restricted characters (< and &).
Every value has a end of line (n) character at the
beginning and end
<identifier>
NOAA-NWS-ALERTS-MN125AAAFF1B50.FlashFloodWatch.125AAB0BE4
C0MN.FSDFFAFSD.832f4e02ae3ea20c1e028509da48aa62
</identifier>
<sender>
w-nws.webmaster@noaa.gov
</sender>
<sent>
2018-06-26T03:41:04+00:00
</sent>
Source: NOAA Weather Services
https://alerts.weather.gov/cap/wwacapget.php?x=MN125AAAFF1B50.FlashFloodWatch.125AAB0BE4C0MN.F
SDFFAFSD.832f4e02ae3ea20c1e028509da48aa62
25
Google CAP Validator
www.sahanafoundation.org Slide
Message expiration
Shouldn’t the recipient determine expiration; i.e.
expire < now()
Example:
https://alerts.weather.gov/cap/wwacapget.php?x=NC12
5ABC38281C.FlashFloodWatch.125ABC7375C0NC.G
SPFFAGSP.47559968ec3a2d08871c02fb9650cb7e
<note>This alert has expired</note>
<effective> </effective>
<expires> </expires>
26
www.sahanafoundation.org Slide
Language codes
● zh-tw should be zh-TW
○ IANA Subtag Registry
(http://www.iana.org/assignments/language-
subtag-registry/language-subtag-registry )
○ Type: region: TW; Tag: zh-Han-TW;
Description: Taiwan Chinese in traditional
● ES-419 Spanish appropriate for the Latin
America and Caribbean region
○ Has ITU-D document mis quoted the ISO
639-2 as the language, where the standard
represents the 2 letter code for the region
(not language) ?
Source: https://www.itu.int/dms_pub/itu-d/opb/stg/D-STG-SG02.22-2010-PDF-E.pdf
27
https://alerts.ncdr.nat.gov.tw/Capstorag
e/WRA/2018/Flood/WRA_FloodWarn_2
01806221350.cap
<alert
xmlns="urn:oasis:names:tc:emergency:
cap:1.2">
<identifier>WRA_FloodWarn_201806
221350</identifier>
<info>
<language>zh-tw</language>
<category>Met</category>
<event>淹水</event>
www.sahanafoundation.org Slide
http://alert-as.inmet.gov.br/cv/emer
gencia/cap/8320?lang=en
<alert
xmlns="urn:oasis:names:tc:emergency:cap:1.2"
><identifier>urn:oid:2.49.0.0.76.0.2018.7134.1
</identifier>
<sender>info.aviso@inmet.gov.br</sender>
<info>
<language>pt-BR</language>
Using an internal
lookup translator and
not <info> blocks for
English & Spanish
Language translation
28
www.sahanafoundation.org Slide
Chrome translation works a lot better
29
Its an indication that machine
translation might work with
presenting the data in English to
assist with the required
classification we desire.
www.sahanafoundation.org Slide
Web URL
<alert xmlns="urn:oasis:names:tc:emergency:cap:1.2">
<identifier>2.49.0.0.528.0.NL.181031224826.2_FX_HVH</identifier>
<info>
<language>ne-NL</language>
<event>Moderate Wind warning</event>
<web>http://meteoalarm.eu/ne_NL/0/0/NL802-Hoek van Holland.html</web>
CORRECT: http://meteoalarm.eu/ne_NL/0/0/NL802-Hoek%20van%20Holland.html
30
www.sahanafoundation.org Slide
403 Forbidden: Access is denied
http://capcp2.naad-adna.pelmorex.com/2018-06-24/201
8_06_24T15_05_26_00_00Iurn_oid_2.49.0.1.124.31601
45913.2018.xml
2018-06-24 23:24:23 S3LOG ERROR: HTTP 403: <!DOCTYPE
html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<title>403 - Forbidden: Access is denied.</title>
31
Visible in browser
www.sahanafoundation.org Slide
Abbreviated SenderName
32
<language>id</language>
<category>Geo</category>
<event>Gempabumi</event>
<urgency>Past</urgency>
<severity>Unknown</severity>
<certainty>Observed</certainty>
<onset>2018-05-12T12:57:56+07:00</onset>
<expires>2018-05-19T22:57:56+07:00</expires>
<senderName>BMKG</senderName>
SenderName
should be human
readable and
comprehensible
www.sahanafoundation.org Slide
❏ Very descriptive event and short headline http://feeds.enviroflash.info/cap/aggregate.xml
<cap:sender>http://www.airnow.gov</cap:sender>
<cap:event>Ozone is forecast to reach 114 AQI - Unhealthy for Sensitive Groups on Sat
10/27/2018. </cap:event>
<cap:headline>Air Quality Alert for C San Bernardino M</cap:headline>
Event vs Headline
33
❏ Headline and Eventare the same
https://publicalert.pagasa.dost.gov.ph/output/gfa/282861ba-f01c-4253-b3a1-a8c5c7367a57.cap
<sender>PAGASA-DOST</sender>
<event>General Flood Advisory (Final)</event>
<headline>General Flood Advisory (Final)</headline>
Event element was intended to describe the “hazard event”?
www.sahanafoundation.org Slide
Conclusions
1) The CAP standard offers a basis for evaluating the cleanliness of Interplanetary
Alert Network (AleN) messages for a reliable indexing
2) There’s a need to study non-governmental alert originators (CBO scientific or
other) for a richer AleN
3) WMO Filtered Alert Hub is a good start towards fostering a futuristic Alert Network
for authentication without aggregation
a) The WMO Filtered Alert Hub might consider a consensus mechanism to vote
in/out or comment on currently syndicated alerts
b) That may help Clean up the CAP?
c) Cleaner filtering of messages; e.g. towards a global Event Type list
34

More Related Content

Similar to Waidyanathat sahana cap-alert_hub-workshop2018

20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料
20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料
20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料オラクルエンジニア通信
 
"Does blockchain hold the key to a new age of supply chain transparency and t...
"Does blockchain hold the key to a new age of supply chain transparency and t..."Does blockchain hold the key to a new age of supply chain transparency and t...
"Does blockchain hold the key to a new age of supply chain transparency and t...eraser Juan José Calderón
 
NEAR Protocol at the Decentralized Summit 2019
NEAR Protocol at the Decentralized Summit 2019NEAR Protocol at the Decentralized Summit 2019
NEAR Protocol at the Decentralized Summit 2019Erik Trautman
 
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...MehulShah218
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDuncan Johnston-Watt
 
Blockchain readiness block512
Blockchain readiness block512Blockchain readiness block512
Blockchain readiness block512JoAnna Cheshire
 
Smart City Lecture 4 - Harmonizing the Internet of Things
Smart City Lecture 4 - Harmonizing the Internet of ThingsSmart City Lecture 4 - Harmonizing the Internet of Things
Smart City Lecture 4 - Harmonizing the Internet of ThingsPeter Waher
 
WSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product OverviewWSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product OverviewWSO2
 
Blockchain Case studies.pdf
Blockchain Case studies.pdfBlockchain Case studies.pdf
Blockchain Case studies.pdfSushminSaha1
 
Serverless London 2019 FaaS composition using Kafka and CloudEvents
Serverless London 2019   FaaS composition using Kafka and CloudEventsServerless London 2019   FaaS composition using Kafka and CloudEvents
Serverless London 2019 FaaS composition using Kafka and CloudEventsNeil Avery
 
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...Quantopian
 
Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventAraf Karsh Hamid
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricAraf Karsh Hamid
 

Similar to Waidyanathat sahana cap-alert_hub-workshop2018 (20)

20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料
20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料
20210525_BlockchainGIG#9 Linux Foundation様 ご講演資料
 
"Does blockchain hold the key to a new age of supply chain transparency and t...
"Does blockchain hold the key to a new age of supply chain transparency and t..."Does blockchain hold the key to a new age of supply chain transparency and t...
"Does blockchain hold the key to a new age of supply chain transparency and t...
 
NEAR Protocol at the Decentralized Summit 2019
NEAR Protocol at the Decentralized Summit 2019NEAR Protocol at the Decentralized Summit 2019
NEAR Protocol at the Decentralized Summit 2019
 
Company presentation
Company presentationCompany presentation
Company presentation
 
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...
Cold supply chain logistics using sensors, apache ni fi and the hyperledger f...
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain Network
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
Blockchain readiness block512
Blockchain readiness block512Blockchain readiness block512
Blockchain readiness block512
 
OpenCryptoTrust vision deck
OpenCryptoTrust vision deckOpenCryptoTrust vision deck
OpenCryptoTrust vision deck
 
Smart City Lecture 4 - Harmonizing the Internet of Things
Smart City Lecture 4 - Harmonizing the Internet of ThingsSmart City Lecture 4 - Harmonizing the Internet of Things
Smart City Lecture 4 - Harmonizing the Internet of Things
 
WSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product OverviewWSO2 Complex Event Processor - Product Overview
WSO2 Complex Event Processor - Product Overview
 
federal reserve.
federal reserve.federal reserve.
federal reserve.
 
Blockchain Case studies.pdf
Blockchain Case studies.pdfBlockchain Case studies.pdf
Blockchain Case studies.pdf
 
Serverless London 2019 FaaS composition using Kafka and CloudEvents
Serverless London 2019   FaaS composition using Kafka and CloudEventsServerless London 2019   FaaS composition using Kafka and CloudEvents
Serverless London 2019 FaaS composition using Kafka and CloudEvents
 
BlockchainLAB Hackathon
BlockchainLAB HackathonBlockchainLAB Hackathon
BlockchainLAB Hackathon
 
What Web 2.pdf
What Web 2.pdfWhat Web 2.pdf
What Web 2.pdf
 
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
 
Blockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - ClaventBlockchain HyperLedger Fabric Internals - Clavent
Blockchain HyperLedger Fabric Internals - Clavent
 
Blockchain hyerledger-fabric
Blockchain hyerledger-fabricBlockchain hyerledger-fabric
Blockchain hyerledger-fabric
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 

More from Nuwan Waidyanatha

Voice and Pictographs for Disaster Communication
Voice and Pictographs for Disaster CommunicationVoice and Pictographs for Disaster Communication
Voice and Pictographs for Disaster CommunicationNuwan Waidyanatha
 
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]Nuwan Waidyanatha
 
Philippines cap 2016 2 final
Philippines cap 2016 2 finalPhilippines cap 2016 2 final
Philippines cap 2016 2 finalNuwan Waidyanatha
 
Philippines evaluation results
Philippines evaluation resultsPhilippines evaluation results
Philippines evaluation resultsNuwan Waidyanatha
 
Myanmar Evaluation Results and Next Steps
Myanmar Evaluation Results and Next StepsMyanmar Evaluation Results and Next Steps
Myanmar Evaluation Results and Next StepsNuwan Waidyanatha
 
INET-Kathmandu, Study on NP Em. Comms.
INET-Kathmandu, Study on NP Em. Comms.INET-Kathmandu, Study on NP Em. Comms.
INET-Kathmandu, Study on NP Em. Comms.Nuwan Waidyanatha
 
Analysis and Discussion (PAGASA Kickoff Workshop)
Analysis and Discussion (PAGASA Kickoff Workshop)Analysis and Discussion (PAGASA Kickoff Workshop)
Analysis and Discussion (PAGASA Kickoff Workshop)Nuwan Waidyanatha
 
Common Alerting Protocol and Procedures
Common Alerting Protocol and ProceduresCommon Alerting Protocol and Procedures
Common Alerting Protocol and ProceduresNuwan Waidyanatha
 
Multi-agency Situational-awarenss Platform Overview
Multi-agency Situational-awarenss Platform OverviewMulti-agency Situational-awarenss Platform Overview
Multi-agency Situational-awarenss Platform OverviewNuwan Waidyanatha
 
Risk assessment for CAP area templates
Risk assessment for CAP area templatesRisk assessment for CAP area templates
Risk assessment for CAP area templatesNuwan Waidyanatha
 
Sahana Overview (CAP on a Map - PAGASA)
Sahana Overview (CAP on a Map - PAGASA)Sahana Overview (CAP on a Map - PAGASA)
Sahana Overview (CAP on a Map - PAGASA)Nuwan Waidyanatha
 
Common Alerting Protocol Overview
Common Alerting Protocol OverviewCommon Alerting Protocol Overview
Common Alerting Protocol OverviewNuwan Waidyanatha
 
Overview em comm_nuwan_day_one
Overview em comm_nuwan_day_oneOverview em comm_nuwan_day_one
Overview em comm_nuwan_day_oneNuwan Waidyanatha
 
07 cap standards-n-procedures
07 cap standards-n-procedures07 cap standards-n-procedures
07 cap standards-n-proceduresNuwan Waidyanatha
 
03 risk asses_4_cap_alert_area
03 risk asses_4_cap_alert_area03 risk asses_4_cap_alert_area
03 risk asses_4_cap_alert_areaNuwan Waidyanatha
 
Real-Time Biosurveillance Program Pilot - India & Sri Lanka
Real-Time Biosurveillance Program Pilot - India & Sri LankaReal-Time Biosurveillance Program Pilot - India & Sri Lanka
Real-Time Biosurveillance Program Pilot - India & Sri LankaNuwan Waidyanatha
 
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...Nuwan Waidyanatha
 

More from Nuwan Waidyanatha (20)

Voice and Pictographs for Disaster Communication
Voice and Pictographs for Disaster CommunicationVoice and Pictographs for Disaster Communication
Voice and Pictographs for Disaster Communication
 
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]
Common alerting protocol overview for pagasa 2016 [autosaved] [autosaved]
 
Philippines cap 2016 2 final
Philippines cap 2016 2 finalPhilippines cap 2016 2 final
Philippines cap 2016 2 final
 
Philippines evaluation results
Philippines evaluation resultsPhilippines evaluation results
Philippines evaluation results
 
Myanmar Evaluation Results and Next Steps
Myanmar Evaluation Results and Next StepsMyanmar Evaluation Results and Next Steps
Myanmar Evaluation Results and Next Steps
 
INET-Kathmandu, Study on NP Em. Comms.
INET-Kathmandu, Study on NP Em. Comms.INET-Kathmandu, Study on NP Em. Comms.
INET-Kathmandu, Study on NP Em. Comms.
 
Analysis and Discussion (PAGASA Kickoff Workshop)
Analysis and Discussion (PAGASA Kickoff Workshop)Analysis and Discussion (PAGASA Kickoff Workshop)
Analysis and Discussion (PAGASA Kickoff Workshop)
 
Common Alerting Protocol and Procedures
Common Alerting Protocol and ProceduresCommon Alerting Protocol and Procedures
Common Alerting Protocol and Procedures
 
Multi-agency Situational-awarenss Platform Overview
Multi-agency Situational-awarenss Platform OverviewMulti-agency Situational-awarenss Platform Overview
Multi-agency Situational-awarenss Platform Overview
 
Risk assessment for CAP area templates
Risk assessment for CAP area templatesRisk assessment for CAP area templates
Risk assessment for CAP area templates
 
Sahana Overview (CAP on a Map - PAGASA)
Sahana Overview (CAP on a Map - PAGASA)Sahana Overview (CAP on a Map - PAGASA)
Sahana Overview (CAP on a Map - PAGASA)
 
Common Alerting Protocol Overview
Common Alerting Protocol OverviewCommon Alerting Protocol Overview
Common Alerting Protocol Overview
 
Overview em comm_nuwan_day_one
Overview em comm_nuwan_day_oneOverview em comm_nuwan_day_one
Overview em comm_nuwan_day_one
 
Analysis and Discussion
Analysis and DiscussionAnalysis and Discussion
Analysis and Discussion
 
07 cap standards-n-procedures
07 cap standards-n-procedures07 cap standards-n-procedures
07 cap standards-n-procedures
 
06 masa reg_alert_auth
06 masa reg_alert_auth06 masa reg_alert_auth
06 masa reg_alert_auth
 
02 sahana overview
02 sahana overview02 sahana overview
02 sahana overview
 
03 risk asses_4_cap_alert_area
03 risk asses_4_cap_alert_area03 risk asses_4_cap_alert_area
03 risk asses_4_cap_alert_area
 
Real-Time Biosurveillance Program Pilot - India & Sri Lanka
Real-Time Biosurveillance Program Pilot - India & Sri LankaReal-Time Biosurveillance Program Pilot - India & Sri Lanka
Real-Time Biosurveillance Program Pilot - India & Sri Lanka
 
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...
Introduction to Operationalizing the Common Alerting Protocol (ITU-T X.1303) ...
 

Recently uploaded

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Waidyanathat sahana cap-alert_hub-workshop2018

  • 1. Towards an Interplanetary Alert Network Clean up your CAP Art Botterell, Dominic Konig, and Nuwan Waidyanatha nuwan [at] sahanafoundation [dot] org Filtered Alert Hub Workshop, Hong Kong Observatory, 2018
  • 2. www.sahanafoundation.org Slide WMO Registered Authorities 2 Zapier webhook polling tool tells us when there’s a new change in the WMO Register of Alerting Authorities database
  • 4. www.sahanafoundation.org Slide GRAB - the Sahana Aggregator 4 Globally Relayed Alerts and Bulletins (GRAB)@ cap.sahana.io
  • 5. www.sahanafoundation.org Slide Zoom in to view spatial distribution of alerts 5
  • 6. www.sahanafoundation.org Slide Click on icon to view summary of the alert 6
  • 7. www.sahanafoundation.org Slide Individual human readable alerts and XML views 7
  • 8. www.sahanafoundation.org Slide Filter and export options 8 Filter options to create your own CAP dataset Export the dataset as JASON, CSV, RSS, PDF, or CAP (XML)
  • 9. www.sahanafoundation.org Slide Characteristics of Public Alert Systems 9 Relatively deep problem-clusters for public alerting generally: 1. Identity and reputation/credibility 2. Authenticated replication and reliable accessibility 3. Elimination of single points of failure WMO Filtered Alert Hub and Register of Alerting Authorities are addressing these in a very limited scope with limited actors. How can we “include” others, minus the exclusivity/bureaucracy?
  • 10. www.sahanafoundation.org Slide Thinking futuristic and IOTs 10 What happens when IOTs become a forewarning mechanisms? The problems: 1) IoT is facing a systemic issue of scaling but without sufficient device IDENTITY, SECURITY, or INTEROPERABILITY in mind; 2) a world of device data being collected from billions of devices raises information security and privacy concerns for individuals/corporations/governments; 3) the world is turning towards open-data initiatives but there is a lack of a uniform approach; 4) blockchain technology and IoT offers a new world of promise, but no-one is 100% clear on how it will offer benefits. - Credits: https://www.chainofthings.com/
  • 11. www.sahanafoundation.org Slide ❏ “Authentication without Aggregation” - Inspiration largely by Wade Witmer Deputy Director, IPAWS, FEMA ❏ “Intuition was blockchain technology might be a way to implement” - Art Botterell ❏ Primary tasks of an alerting system are: ❏ Reliable attribution of messages ❏ Attributing them to their authors ❏ Reliable message integrity ❏ All of which appear to come in the blockchain concept ❏ Also allows us to transcend our current mass-media paradigms of ❏ few-to-many alerting; to also begin to address many-to-few and many-to-many applications ❏ Most of these are now the domain of emergency telephone number systems in much of the world. Why did we look towards Blockchains? 11
  • 12. www.sahanafoundation.org Slide The mesh of blockchains 12 Node 01 Node 02 Node 04 Node 03 USER (e.g. CAP Author Dept. of Met / Hydro) Ledger Ledger LedgerLedger Publishing Interface USER (e.g. HL7 patient care device - IOT) Publishing InterfaceUse APIs to talk with Node Nodes talk to establish consensus e.g. WMO Filtered AlertHub Media (e.g Private Tweets, BBC tweet) USER (e.g Health Regulator) Surveillance Interface Writes the confirmed transaction as a new block and updates other nodes
  • 13. www.sahanafoundation.org Slide ➔ Business Blockchain Network ◆ anyone participating in the network publishing and consuming (incl. relaying/sharing) alerts ◆ Example: what we might call the AleN (or the Alert business Network) ➔ Decentralized network ◆ Peer-to-Peer network of computers publishing and consuming alerts ◆ Example: WMO Filtered AlertHub (CAP), Social Media streams, Community-based Alerting ➔ Asset ◆ Alert messages (or risk information) ◆ Example: each CAP message (payload) is an asset (i.e. trading messages) ➔ Participants ◆ Publishers and Subscribers (incl. relay/render entities) ◆ Example: Met / Hydro (publisher), Google Public Alerts (relay), Gov Officials (subscribers) ➔ Transactions ◆ Publisher - create, update, or delete and Subscriber - read or acknowledge messages ◆ Example: Met / Hydro update a CAP message and Gov Official acknowledges receipt Blockchain concepts with Alerting in mind 13
  • 14. www.sahanafoundation.org Slide ➔ Distributed ledger ◆ Immutable collection of message transactions ◆ Example: WMO Filtered Alerhub maintain who issued what warning when, why. and where ➔ Catalog the current State ◆ What is the current state of the messages and participants ◆ Example: message has expired (cap.info.expire < today) ➔ Chain code ◆ Business rules; i.e. encapsulated logic and policies ◆ Example: Subscriber type X can read asset Message type Y ➔ Consensus ◆ Mechanism for validating the messages; must be defined and implemented ◆ Example: use a voting method (thumbs up/down); check against WMO Register of Authorities ➔ Non-permissioned-networks (Non-governmental) ◆ Anonymous or un-official publishers ◆ Example: citizen tweeting a forest fire Blockchain concepts w.r.t Alerting 14
  • 15. www.sahanafoundation.org Slide Unique signatureUnique signature Unique signature ID:554.4.1, Event: Forest Fire, Type: Alert ID: 554.1.1, Event: Volcanic eruption, Type: Update ID: 554.4.2, Event: Forest Fire, Type: Update ID: 608.0.1, Event: Flash Flood, Type: Alert ID: 608.0.2, Event: tropical cyclone, Type: Update Chaining the alert blocks and immutability 15 ID:840.3.1, Event: air quality, Type: Alert Block 01 2eca 2eca Block 02 2c81 Block 03 2c81 oa7c
  • 16. www.sahanafoundation.org Slide Unique signatureUnique signature Unique signature ID:554.4.1, Event: Forest Fire, Type: Alert ID: 554.1.1, Event: Volcanic eruption, Type: Update ID: 554.4.2, Event: Forest Fire, Type: Update ID: 608.0.1, Event: Flash Flood, Type: Alert ID: 608.0.2, Event: tropical cyclone, Type: Update Violating immutability 16 ID:840.3.1, Event: air quality, Type: Update Block 01 b491 2eca Block 02 2c81 Block 03 2c81 oa7c
  • 17. www.sahanafoundation.org Slide ID:840.3.2, Event: air quality, Type: Update, Ref: 840.3.1 Unique signatureUnique signature ID:554.4.1, Event: Forest Fire, Type: Alert ID: 554.1.1, Event: Volcanic eruption, Type: Update ID: 554.4.2, Event: Forest Fire, Type: Update, Ref: 554.4.2 The recommended way, with messaging 17 ID:840.3.1, Event: air quality, Type: Alert Block 01 2eca 2c81 Block 03 oa7c Unique signature oa7c Block 04 doc9 Block 02
  • 18. www.sahanafoundation.org Slide 1. Can blockchain-based alerting “front end” take the place of our current generation of alert aggregators? a. Full nodes on the mesh to serve as read-only sources to drive traditional mass dissemination systems b. From a local view they’d seem just like current-gen aggregators c. Create a globally accessible yet independent identity regime might lower barriers to other inherently-transnational dissemination systems d. Encourage adoption of modern alerting practice in less technically affluent parts of the world 2. Would the propagation of alert message transactions over the major blockchain platforms be speedy? a. identified as a priority for further development (e.g. scaling horizontally with ‘Kafka’) b. might stipulate having a “fast enough” blockchain in the near future Questions to ask are 18
  • 19. www.sahanafoundation.org Slide Hyperledger Fabric & Composer 19 Participant `Publisher` `Subscriber` Asset `Message` Transaction `Author` `Publish` `Acknowledge` Event `Alert` `Update` `Error` `Cancel` `Ack` `Relay`
  • 21. www.sahanafoundation.org Slide Thoughts after the Hyperledger exercise First: “Can Blockchain technology foster a decentralized, immutable, and authenticated alert network?” - Yes - but it may seem overly complex for simple messaging; although it provides the indexing and parsing mechanisms. - NO - because the standard Composer constructs don’t match our paradigm well; e.g. creating a new Asset (message) for alert, update, error, cancel, doesn’t sound right? Second attempt: “Can hash trees and cryptography, alone, foster a decentralized, immutable, and authenticated alert network?” - Yes/No - we stumbled upon IPFS; - It can address the decentralized and immutable aspected - but not the authentication; i.e. need to build a consensus layer (smart contracts) - Moreover, we require a mechanism to index and parse for presentation 21
  • 22. www.sahanafoundation.org Slide Interplanetary File System (IPFS) 22 http://localhost:5001/ipfs/QmQLXHs7K98JNQd WrBB2cQLJahPhmupbDjRuH1b9ibmwVa/
  • 23. www.sahanafoundation.org Slide CAP V1.1 vs V1.2 23 ❏ There’s only minor difference between CAP 1.1 and CAP 1.2 ❏ XML structure and elements are the same ❏ Difference is in a few index values; e.g. ResponseType ❏ Safest remedy was to create another XSLT specific to CAP 1.1 but COSTLY ❏ What happens when the next version comes along? More the 50% of the feeds are from Meteoalarm
  • 24. www.sahanafoundation.org Slide Atom link type = CAP+XML Section 2.3.1.2 specifically mentions the need to label type = application/cap+xml; in this doc: http://docs.oasis-open.org/emergency-adopt/cap-feeds/v1.0/cap-feeds-v1.0.html 24 <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>http://www.pagasa.dost.gov.ph/</id> <title>PAGASA CAP FEED</title> <updated>2018-11-01T05:08:40+08:00</updated> <entry> <id>c0762af0-c672-47f8-ac4c-2888425f9355</id> <title>GFA #8 (Final) - Region 3 (Central Luzon)</title> <updated>2018-11-01T05:08:40+08:00</updated> <author><name>PAGASA DOST</name></author> <link type="application/cap+xml" href="https://publicalert.pagasa.dost.gov.ph/output/gfa/c0762af0-c672-47f 8-ac4c-2888425f9355.cap"/> </entry> Like this
  • 25. www.sahanafoundation.org Slide Validation Errors identifier: Cannot be empty and Must not include spaces, commas, or restricted characters (< and &). Every value has a end of line (n) character at the beginning and end <identifier> NOAA-NWS-ALERTS-MN125AAAFF1B50.FlashFloodWatch.125AAB0BE4 C0MN.FSDFFAFSD.832f4e02ae3ea20c1e028509da48aa62 </identifier> <sender> w-nws.webmaster@noaa.gov </sender> <sent> 2018-06-26T03:41:04+00:00 </sent> Source: NOAA Weather Services https://alerts.weather.gov/cap/wwacapget.php?x=MN125AAAFF1B50.FlashFloodWatch.125AAB0BE4C0MN.F SDFFAFSD.832f4e02ae3ea20c1e028509da48aa62 25 Google CAP Validator
  • 26. www.sahanafoundation.org Slide Message expiration Shouldn’t the recipient determine expiration; i.e. expire < now() Example: https://alerts.weather.gov/cap/wwacapget.php?x=NC12 5ABC38281C.FlashFloodWatch.125ABC7375C0NC.G SPFFAGSP.47559968ec3a2d08871c02fb9650cb7e <note>This alert has expired</note> <effective> </effective> <expires> </expires> 26
  • 27. www.sahanafoundation.org Slide Language codes ● zh-tw should be zh-TW ○ IANA Subtag Registry (http://www.iana.org/assignments/language- subtag-registry/language-subtag-registry ) ○ Type: region: TW; Tag: zh-Han-TW; Description: Taiwan Chinese in traditional ● ES-419 Spanish appropriate for the Latin America and Caribbean region ○ Has ITU-D document mis quoted the ISO 639-2 as the language, where the standard represents the 2 letter code for the region (not language) ? Source: https://www.itu.int/dms_pub/itu-d/opb/stg/D-STG-SG02.22-2010-PDF-E.pdf 27 https://alerts.ncdr.nat.gov.tw/Capstorag e/WRA/2018/Flood/WRA_FloodWarn_2 01806221350.cap <alert xmlns="urn:oasis:names:tc:emergency: cap:1.2"> <identifier>WRA_FloodWarn_201806 221350</identifier> <info> <language>zh-tw</language> <category>Met</category> <event>淹水</event>
  • 29. www.sahanafoundation.org Slide Chrome translation works a lot better 29 Its an indication that machine translation might work with presenting the data in English to assist with the required classification we desire.
  • 30. www.sahanafoundation.org Slide Web URL <alert xmlns="urn:oasis:names:tc:emergency:cap:1.2"> <identifier>2.49.0.0.528.0.NL.181031224826.2_FX_HVH</identifier> <info> <language>ne-NL</language> <event>Moderate Wind warning</event> <web>http://meteoalarm.eu/ne_NL/0/0/NL802-Hoek van Holland.html</web> CORRECT: http://meteoalarm.eu/ne_NL/0/0/NL802-Hoek%20van%20Holland.html 30
  • 31. www.sahanafoundation.org Slide 403 Forbidden: Access is denied http://capcp2.naad-adna.pelmorex.com/2018-06-24/201 8_06_24T15_05_26_00_00Iurn_oid_2.49.0.1.124.31601 45913.2018.xml 2018-06-24 23:24:23 S3LOG ERROR: HTTP 403: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>403 - Forbidden: Access is denied.</title> 31 Visible in browser
  • 33. www.sahanafoundation.org Slide ❏ Very descriptive event and short headline http://feeds.enviroflash.info/cap/aggregate.xml <cap:sender>http://www.airnow.gov</cap:sender> <cap:event>Ozone is forecast to reach 114 AQI - Unhealthy for Sensitive Groups on Sat 10/27/2018. </cap:event> <cap:headline>Air Quality Alert for C San Bernardino M</cap:headline> Event vs Headline 33 ❏ Headline and Eventare the same https://publicalert.pagasa.dost.gov.ph/output/gfa/282861ba-f01c-4253-b3a1-a8c5c7367a57.cap <sender>PAGASA-DOST</sender> <event>General Flood Advisory (Final)</event> <headline>General Flood Advisory (Final)</headline> Event element was intended to describe the “hazard event”?
  • 34. www.sahanafoundation.org Slide Conclusions 1) The CAP standard offers a basis for evaluating the cleanliness of Interplanetary Alert Network (AleN) messages for a reliable indexing 2) There’s a need to study non-governmental alert originators (CBO scientific or other) for a richer AleN 3) WMO Filtered Alert Hub is a good start towards fostering a futuristic Alert Network for authentication without aggregation a) The WMO Filtered Alert Hub might consider a consensus mechanism to vote in/out or comment on currently syndicated alerts b) That may help Clean up the CAP? c) Cleaner filtering of messages; e.g. towards a global Event Type list 34