SlideShare a Scribd company logo
Common Alerting Protocol

1st Annual Sahana Conference 2009
Disaster/Emergency management best practices

2009 March 25
Colombo, Sri Lanka




                                                            www.lirneasia.net
Nuwan Waidyanatha
LIRNEasia
Email: nuwan@lirneasia.net
Web: http://www.lirneasia.net/profiles/nuwan-waidyanatha/
Mobile: +8613888446352 (cn)
        +94773710394 (lk)
eXtensible Markup Language (XML)
Header

Target Name Space
(Association)
Opening tag


Closing tag




                                                                           www.lirneasia.net
   What is XML?
      Markup language like HTML
      Designed to carry and store data
      Self descriptive
      W3C recommendation – (http://www.w3schools.com/w3c/w3c_xml.asp)

   Why Use XML?
      Interoperable: xml data can be shared between incompatible systems
      Well Formed: adheres to correct syntax
      Validation: structure: Document Type Definition or XML Schemas
      Accessibility: Document Object Model defines the text & attributes
Common Alerting Protocol Overview
 All you want to know in “CAP Cookbook”
 XML Schema and Document Object Model
 Interoperable Emergency Communication Standard
 Specifically geared for Communicating Complete
 Alerts
 Capability for Digital encryption and signature X.509




                                                         www.lirneasia.net
 Developed by OASIS for “all-hazards”
 communication
 Adopted by ITU-T for Recommendations X.1303
 Incubated by W3C Emergency Information
 Interoperability Framework
 Used by USA, USGS, WMO, Gov of CA
 Can be used as a guide to generate alerts
CAP Document Object Model                                Alert
                                                         identifier
                                                         sender
Bold elements are                                        Sent
mandatory                                                Status
                                                         msgType
Bold elements in                                         Source
<Alert> segment are                                      Scope
qualifiers                                               Restriction
                                   *                     Address
                         Info
Others elements are                                      Code (handling code)
                         Language
optional                                                 Note
                         Category
                                                         References (Ref ID)
                         Event*
Profile may specify                                      Incidents (Incident ID)
                         responseType
other mandatory          Urgency
elements from optional   Severity
list                                                     Resource
                         Certainty




                                                                                   www.lirneasia.net
                                                         resourceDesc
                         Audience
Single <Alert>                                           mimeType
                                                     *
                         eventCode*
segment                                                  Size
                         Effective (datetime)
                                                         URI
                         Onset (datetime)
Multiple <Info>                                          derefURI
                         Expires (datetime)
segments inside                                          digest
                         senderName
<Alert> segment          Headline
                         Description
Multiple <Area> and                                      Area
                         Instruction
                                                     *
<Resource> segments                                      areaDesc
                         Web (InformationURL)
inside a <info>                                          Polygon*
                         Contact (contact details)
segment                                                  Circle*
                         Parameter*
                                                         Geocode*
(*) indicates multiple                                   Altitude
instances are                                            Ceiling
permitted
Predefined values
CAP Element      Predefined Values
<Status>         Actual, Exercise, System, Test, Draft
<msgType>        Alert, Update, Cancel, Ack, Error
<Scope>          Public, Restricted, Private
<Language>       en, fr, si, tm, …| codes ISO 639-1
<Category>       Geo, Met, Safety, Security, Rescue, Fire,
                 Health, Env, Transport, Infra, CNRNE, Other




                                                                 www.lirneasia.net
<responseType> Shelter, Evacuate, Prepare, Execute, Monitor,
               Assess, None
<Urgency>        Immediate, Expected, Future, Past, unknown

<Severity>       Extreme, Sever, Moderate, Minor, Unknown
<Certainty>      Observed, Likely, Possible, Unlikely, Unknown

<Area>           b-WGS 84
Prioritizing Messages in CAP
Priority   <urgency>    <severity>   <certainty>
Urgent      Immediate     Extreme      Observed
High         Expected      Severe      Observed
Low          Expected     Unknown       Likely




                                                   www.lirneasia.net
Steps for setting up a CAP Profile
1.   Audience <Scope>
        Alert First Responders only (i.e. closed user group)
            Example: police, health workers, civil society, public servants
        Alert Public (entire population)
        Combination of First Responders and Public
            step 1: alert First-Responders to give them time to prepare
            Step 2: warn public

2.   Geographical Descriptions <Area>
        Country wide                                               Audience
        Province or State
        District




                                                                               www.lirneasia.net
                                                                  Geography
        Other – Geocodes or GPS polygons

3.   National <Languages>                                          Language
        English only or Chinese only or Malay only
        English, Hindi, Chinese, and Malay
                                                                  Technology
4.   Communication Technology?
        Mobile phones – SMS, CB, Email, Applet
        TV – Text, Audio, Visual
        AM/FM Radio - Text, Audio
        VHF/UHF Radio - Audio
        Internet – HTTP, Email, Webservices
CAP Profile for Sri Lanka
                                                           3 info segments to
        alert
                                                           accommodate the
        <incidents>
        <identifier>
                                                           3 local languages:
        <sender>
                                                           English, Sinhala,
        <sent>
        <status>                                           and Tamil.
        <msgtype>
        <scope>




                                                                                www.lirneasia.net
info                   info              info
<language> ‘ta’        <language> ‘si’   <language> ‘en’
<category>             <category>        <category>
<event>                <event>           <event>
<urgency>              <urgency>         <urgency>
<severity>             <severity>        <severity>
<certainty>            <certainty>       <certainty>
                                                             resource
<description>          <description>     <description>
                                                             <resourceDesc>


                                                             area
                                                             <areaDesc>
Cyclone Bulletin used in HazInfo Exercises

Last-Mile HazInfo Simulation. No Repeat No Real Event is Effect

TROPICAL CYCLONE ADVICE NUMBER 001
Issued at 09:55 am on Monday, December 11, 2006
BY Sri Lanka Met Department

A SEVERE CATEGORY 4 CYCLONE is now current for AMPARA and MATARA District
coastal areas. At 06:00 am local time SEVERE TROPICAL CYCLONE MONTY was estimated to be
80 kilometres northeast of Ampara District and moving southwest at 10 kilometres per hour.
Severe Tropical Cyclone Monty is expected to cross the coast in the vicinity of Ampara and Matara




                                                                                                          www.lirneasia.net
Districts during Monday. Gales with gusts to 180 kilometres per hour are likely in coastal communities in
Ampara and Matara District during the day.

This is to alert the residents of Ampara and Matara District about the potential of a very dangerous
storm tide as the cyclone centre approaches the coast. Tides are likely to rise significantly above the
normal high tide mark with very dangerous flooding, damaging waves and strong currents.

Widespread heavy rain and further flooding are likely in southern parts of the Ampara and Matara
Districts over the next few days.

Last-Mile HazInfo Simulation. No Repeat No Real Event is Effect.
Cyclone CAP Message used in HazInfo Exercises




                                                www.lirneasia.net
CAP for Disease Notification




                               www.lirneasia.net
CAP Canada Profile

                                             <Area> definition
  Alert                  Alert
                                             Standard
                                             Geographical
                                             Classification
                                             (Mngd: Stats CA)
       Info               Area
 (Language Specific)

                                             Debate on
                        Resource
                                             <eventCodes>
                           (General)




                                                                 www.lirneasia.net
      Area                   Info            Number of <Info>
                        (Area Description)
                                             blocks
                         Info
   Resource              Resource
   Resource
                                             Message
                       (Language Specific)

                                             Management
Automated Standard Message

“A <event> alert has been issued for
<areaDesc> by <senderName>. Persons
in this area are encouraged to
<responseType>, and <instruction> (if
fields . This event is rated as <severity>,




                                              www.lirneasia.net
and is <certainty>. Responsive action
should be taken <urgency> . For more
information about this event, visit
<URI> or call <contact>.”
Examaple of Automated Standard Message

“A Flood alert has been issued for North
Western Province by Department of
Irrigation and Water Resources. Persons
in this area are encouraged to prepare,
and stay away from demarcated flood
zones. This event is rated as moderate,




                                           www.lirneasia.net
and is likely. Responsive action should
be taken future. For more information
about this event, visit
http://www.dmc.gov.lk/ or call 2395521
.”
Sahana CAP Templates/Messages – Page 1




                                         www.lirneasia.net
            http://www.sahana.lk/
Last Mile Hazard Warning System (HazInfo Project)




                                                                          www.lirneasia.net
  Sarvodaya Community Disaster   Communications
                                                  Sarvodaya Communities
  Management Center (SCDMC)        Providers
Dialog DEWN Terminal Devices


            HIH Monitor issued CAP     Receiver Device   ICT Guardian received
Interface   Message                    and {Medium}      Message elements
DEWN        <info> sub element with    MP                “Warning” <info> <Language>en
Internet    <Language>en               {Text}            <Description> A SEVERE
Browse      <Description> … {no size                     CATEGORY 4 CYCLONE…
            restriction}                                 <Language>si
            <Language>si                                 <Description> …{sinhala}
                                       RAD
            <Description> … {no size                     <Language>tm
                                       {Text}
            restriction}                                 <Description> … {tamil}
            <Language>tm                                 {restricted by 140 characters}




                                                                                      www.lirneasia.net
            <Description> … {no size
            restriction}
WorldSpace Satellite Radio
                                            Receiver
              HIH Monitor issued CAP        Device and   ICT Guardian received
Interface     Message                       {Medium}     Message elements
ANNY          All sub elements in <Alert>   AREA – B     <msgType>Alert
Internet      element and message in        {Text}       <Scope>restricted
Browser       <Language>en only.                         <Sender>hih
application                                              <Status>exercise
(AREA)                                                   <Category>met
                                                         <Urgency>expected
                                                         <Severity> sever
                                                         <Certainty>observed
                                                         <Event>A SEVERE CATEGORY 4




                                                                                  www.lirneasia.net
                                                         CYCLONE … {restricted 250
                                                         characters}
              <Description> with            AREA – B     <Description> A SEVERE
              <Language>all… {no size       {Audio}      CATEGORY 4 CYCLONE …{no size
              restriction}                               restriction}
Public Internet Alert System

                                          Receiver
                HIH Monitor issued CAP    Device and   ICT Guardian received
Interface       Message                   {Medium}     Message elements
IPAS Internet   <Description> with        Personal     <Description> A SEVERE
Browser         <Language>en only … {no   Computer     CATEGORY 4 CYCLONE … {no size
                size restriction}         {Text}       restriction}




                                                                                 www.lirneasia.net
CDMA Voice Alerts

            HIH Monitor issued          Receiver Device   ICT Guardian received
Interface   CAP Message                 and {Medium}      Message elements
CDMA 2000   <Description> … {no size    CDMA2000          <Description> A SEVERE
1x_RTT      and language restriction}   1x_RTT            CATEGORY 4 CYCLONE …{no size
                                        Telephones        restriction}
                                        {Audio}




                                                                                    www.lirneasia.net
Evaluating Terminal Devices for CAP Completeness
                                                           Value   Fuzzy rule for Language
 Value   Fuzzy rules for completing Profile
                                                                   Diversity (Table 2)
              requirements (Table 1)
                                                           1.00    Sinhala + Tamil + English
 1.00    All sub elements that are contained in the
               <Alert> segment, which includes all the     0.99    Sinhala + Tamil
               qualifier elements and <info> element as
                                                           0.95    Sinhala + English
               well as the <resource> and <area> sub
               elements                                    0.80    Sinhala Only
 0.95    Mandatory elements described in the Profile for   0.38    Tamil + English
             Sri Lanka, which are qualifier elements in
                                                           0.28    Tamil Only
             the <alert> segment with at least the
             <urgency>, <severity>, <certainty>, and       0.15    English Only
             <description>
                                                           0       Otherwise




                                                                                                  www.lirneasia.net
 0.85    Qualifier elements of the <alert> segment and
               the <description> only
                                                           Value   Fuzzy Rule for Communication
 0.70    <description> only                                        Medium (Table 3)
 0.50    Elements <category> and <event> only              1.00    Graphic + Audio + Text
 0.25    Mandatory sub elements of the <alert>             0.95    Graphic+ Audio
             segment only
                                                           0.90    Audio + Text
 0       Otherwise
                                                           0.80    Audio
                                                           0.70    Graphic + Text
For a full description of the evaluation method refer      0.60    Graphic
to the “HazInfo Technical Report” -
                                                           0.50    Text only
http://www.lirneasia.net/wp-
content/uploads/2008/05/hazinfo-technical-report.pdf       0       Otherwise
HazInfo Technology ratings
                                                                                                        AREA+   AREA+   AREA+
Measure                                AREA          RAD          MOP            FXP       VSAT          MOP     FXP     RAD

Language                                1.00         0.15         1.00           1.00      0.15          1.00    1.00   1.00

CAP elements                            0.95         0.70         0.70           0.80      0.70          0.95    0.95   0.95

Multimedia                              0.90         0.50         0.50           0.80      0.50          0.90    0.90   0.90

Rating                                  0.86         0.05         0.35           0.64      0.05          0.86    0.86   0.86

                              Effectiveness of Terminal Devices for Cliques of Parameters




                                                                                                                                www.lirneasia.net
                   AREA+FXP

                   AREA+RAD

                   AREA+MOP
Terminal Devices




                       VSAT

                        FXP

                        RAD

                       MOP

                       AREA

                                                         Effectiveness Measure

                        CAP Complete       Two-Way      Adoptability      Minaturization     Alerting
Interoperability Testing

    June 2007 between WorldSpace-Sankya and Dialog-Microimage



                                      GSM         GSM
                                      SMS         SMS

                FTP: XML
                pull




                                                                   www.lirneasia.net
                     SOAP: XML
    HTTP: XML                       UDP/IP                UDP/IP
                     push
    Post                            MP3                   MP3
Elements of the Sahana CAP Broker




                                    www.lirneasia.net
Conclusions
  CAP is a consistent, complete, multi lingual, and
  interoperable global emergency communication protocol
  CAP offers standard guidelines for developing an inventory
  of emergency information templates and messages
  CAP should be adopted by states and organizations for
  their public and closed-user-group exchange of emergency
  information
  States or organization must first develop a CAP Profile in




                                                               www.lirneasia.net
  consultation with all involved stakeholders
  Profile should consider the target – audience (<scope>),
  jurisdictions <area>, <Language>, and Technologies
  Alerting agencies should adopt a “CAP Broker” for
  constructing and issuing CAP messages via “tested”
  technologies
  Recommendation to Disaster Communications Technology
  Manufacturers – Make your equipment CAP compliant
<End> Do you have any questions? </End>




                                      www.lirneasia.net

More Related Content

Similar to Common Alerting Protocol

Web Services Discovery for Devices
Web Services Discovery for DevicesWeb Services Discovery for Devices
Web Services Discovery for Devices
Jorgen Thelin
 
Tc 2008 11 19
Tc 2008 11 19Tc 2008 11 19
Tc 2008 11 19
jeffiel
 
Gtb Product Technical Present
Gtb Product Technical PresentGtb Product Technical Present
Gtb Product Technical Present
gtbsalesindia
 

Similar to Common Alerting Protocol (20)

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) ...
 
P2P Multilanguage CAP Broker
P2P Multilanguage CAP BrokerP2P Multilanguage CAP Broker
P2P Multilanguage CAP Broker
 
Triples And Access
Triples And AccessTriples And Access
Triples And Access
 
DDS ISO C++ PSM
DDS ISO C++ PSMDDS ISO C++ PSM
DDS ISO C++ PSM
 
Tetradyn Law Enforce Introduction11nov08
Tetradyn Law Enforce Introduction11nov08Tetradyn Law Enforce Introduction11nov08
Tetradyn Law Enforce Introduction11nov08
 
Firewall
FirewallFirewall
Firewall
 
Platform for the Research and Analysis of Cybernetic Threats
Platform for the Research and Analysis of Cybernetic ThreatsPlatform for the Research and Analysis of Cybernetic Threats
Platform for the Research and Analysis of Cybernetic Threats
 
A brief introduction to RTIR
A brief introduction to RTIRA brief introduction to RTIR
A brief introduction to RTIR
 
Govcert2011 - Context-enhanced Authorization
Govcert2011 - Context-enhanced AuthorizationGovcert2011 - Context-enhanced Authorization
Govcert2011 - Context-enhanced Authorization
 
Web Services Discovery for Devices
Web Services Discovery for DevicesWeb Services Discovery for Devices
Web Services Discovery for Devices
 
Twilio Web Service API for building Voice Applications
Twilio Web Service API for building Voice ApplicationsTwilio Web Service API for building Voice Applications
Twilio Web Service API for building Voice Applications
 
Tc 2008 11 19
Tc 2008 11 19Tc 2008 11 19
Tc 2008 11 19
 
IRJET- Security Analysis and Improvements to IoT Communication Protocols ...
IRJET-  	  Security Analysis and Improvements to IoT Communication Protocols ...IRJET-  	  Security Analysis and Improvements to IoT Communication Protocols ...
IRJET- Security Analysis and Improvements to IoT Communication Protocols ...
 
Gtb Product Technical Present
Gtb Product Technical PresentGtb Product Technical Present
Gtb Product Technical Present
 
Inside .NET Smart Card Operating System - 44CON 2012
Inside .NET Smart Card Operating System - 44CON 2012Inside .NET Smart Card Operating System - 44CON 2012
Inside .NET Smart Card Operating System - 44CON 2012
 
The DDS Tutorial - Part I
The DDS Tutorial - Part IThe DDS Tutorial - Part I
The DDS Tutorial - Part I
 
High Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for SupercomputingHigh Availability HPC ~ Microservice Architectures for Supercomputing
High Availability HPC ~ Microservice Architectures for Supercomputing
 
GTB DLP - Content Aware Security Suite
GTB DLP - Content Aware Security SuiteGTB DLP - Content Aware Security Suite
GTB DLP - Content Aware Security Suite
 
Introduction To NIDS
Introduction To NIDSIntroduction To NIDS
Introduction To NIDS
 
CCNxCon2012: Session 3: NDN Applicability to V2V and V2R Networks
CCNxCon2012: Session 3: NDN Applicability to V2V and V2R NetworksCCNxCon2012: Session 3: NDN Applicability to V2V and V2R Networks
CCNxCon2012: Session 3: NDN Applicability to V2V and V2R Networks
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 

Common Alerting Protocol

  • 1. Common Alerting Protocol 1st Annual Sahana Conference 2009 Disaster/Emergency management best practices 2009 March 25 Colombo, Sri Lanka www.lirneasia.net Nuwan Waidyanatha LIRNEasia Email: nuwan@lirneasia.net Web: http://www.lirneasia.net/profiles/nuwan-waidyanatha/ Mobile: +8613888446352 (cn) +94773710394 (lk)
  • 2. eXtensible Markup Language (XML) Header Target Name Space (Association) Opening tag Closing tag www.lirneasia.net What is XML? Markup language like HTML Designed to carry and store data Self descriptive W3C recommendation – (http://www.w3schools.com/w3c/w3c_xml.asp) Why Use XML? Interoperable: xml data can be shared between incompatible systems Well Formed: adheres to correct syntax Validation: structure: Document Type Definition or XML Schemas Accessibility: Document Object Model defines the text & attributes
  • 3. Common Alerting Protocol Overview All you want to know in “CAP Cookbook” XML Schema and Document Object Model Interoperable Emergency Communication Standard Specifically geared for Communicating Complete Alerts Capability for Digital encryption and signature X.509 www.lirneasia.net Developed by OASIS for “all-hazards” communication Adopted by ITU-T for Recommendations X.1303 Incubated by W3C Emergency Information Interoperability Framework Used by USA, USGS, WMO, Gov of CA Can be used as a guide to generate alerts
  • 4. CAP Document Object Model Alert identifier sender Bold elements are Sent mandatory Status msgType Bold elements in Source <Alert> segment are Scope qualifiers Restriction * Address Info Others elements are Code (handling code) Language optional Note Category References (Ref ID) Event* Profile may specify Incidents (Incident ID) responseType other mandatory Urgency elements from optional Severity list Resource Certainty www.lirneasia.net resourceDesc Audience Single <Alert> mimeType * eventCode* segment Size Effective (datetime) URI Onset (datetime) Multiple <Info> derefURI Expires (datetime) segments inside digest senderName <Alert> segment Headline Description Multiple <Area> and Area Instruction * <Resource> segments areaDesc Web (InformationURL) inside a <info> Polygon* Contact (contact details) segment Circle* Parameter* Geocode* (*) indicates multiple Altitude instances are Ceiling permitted
  • 5. Predefined values CAP Element Predefined Values <Status> Actual, Exercise, System, Test, Draft <msgType> Alert, Update, Cancel, Ack, Error <Scope> Public, Restricted, Private <Language> en, fr, si, tm, …| codes ISO 639-1 <Category> Geo, Met, Safety, Security, Rescue, Fire, Health, Env, Transport, Infra, CNRNE, Other www.lirneasia.net <responseType> Shelter, Evacuate, Prepare, Execute, Monitor, Assess, None <Urgency> Immediate, Expected, Future, Past, unknown <Severity> Extreme, Sever, Moderate, Minor, Unknown <Certainty> Observed, Likely, Possible, Unlikely, Unknown <Area> b-WGS 84
  • 6. Prioritizing Messages in CAP Priority <urgency> <severity> <certainty> Urgent Immediate Extreme Observed High Expected Severe Observed Low Expected Unknown Likely www.lirneasia.net
  • 7. Steps for setting up a CAP Profile 1. Audience <Scope> Alert First Responders only (i.e. closed user group) Example: police, health workers, civil society, public servants Alert Public (entire population) Combination of First Responders and Public step 1: alert First-Responders to give them time to prepare Step 2: warn public 2. Geographical Descriptions <Area> Country wide Audience Province or State District www.lirneasia.net Geography Other – Geocodes or GPS polygons 3. National <Languages> Language English only or Chinese only or Malay only English, Hindi, Chinese, and Malay Technology 4. Communication Technology? Mobile phones – SMS, CB, Email, Applet TV – Text, Audio, Visual AM/FM Radio - Text, Audio VHF/UHF Radio - Audio Internet – HTTP, Email, Webservices
  • 8. CAP Profile for Sri Lanka 3 info segments to alert accommodate the <incidents> <identifier> 3 local languages: <sender> English, Sinhala, <sent> <status> and Tamil. <msgtype> <scope> www.lirneasia.net info info info <language> ‘ta’ <language> ‘si’ <language> ‘en’ <category> <category> <category> <event> <event> <event> <urgency> <urgency> <urgency> <severity> <severity> <severity> <certainty> <certainty> <certainty> resource <description> <description> <description> <resourceDesc> area <areaDesc>
  • 9. Cyclone Bulletin used in HazInfo Exercises Last-Mile HazInfo Simulation. No Repeat No Real Event is Effect TROPICAL CYCLONE ADVICE NUMBER 001 Issued at 09:55 am on Monday, December 11, 2006 BY Sri Lanka Met Department A SEVERE CATEGORY 4 CYCLONE is now current for AMPARA and MATARA District coastal areas. At 06:00 am local time SEVERE TROPICAL CYCLONE MONTY was estimated to be 80 kilometres northeast of Ampara District and moving southwest at 10 kilometres per hour. Severe Tropical Cyclone Monty is expected to cross the coast in the vicinity of Ampara and Matara www.lirneasia.net Districts during Monday. Gales with gusts to 180 kilometres per hour are likely in coastal communities in Ampara and Matara District during the day. This is to alert the residents of Ampara and Matara District about the potential of a very dangerous storm tide as the cyclone centre approaches the coast. Tides are likely to rise significantly above the normal high tide mark with very dangerous flooding, damaging waves and strong currents. Widespread heavy rain and further flooding are likely in southern parts of the Ampara and Matara Districts over the next few days. Last-Mile HazInfo Simulation. No Repeat No Real Event is Effect.
  • 10. Cyclone CAP Message used in HazInfo Exercises www.lirneasia.net
  • 11. CAP for Disease Notification www.lirneasia.net
  • 12. CAP Canada Profile <Area> definition Alert Alert Standard Geographical Classification (Mngd: Stats CA) Info Area (Language Specific) Debate on Resource <eventCodes> (General) www.lirneasia.net Area Info Number of <Info> (Area Description) blocks Info Resource Resource Resource Message (Language Specific) Management
  • 13. Automated Standard Message “A <event> alert has been issued for <areaDesc> by <senderName>. Persons in this area are encouraged to <responseType>, and <instruction> (if fields . This event is rated as <severity>, www.lirneasia.net and is <certainty>. Responsive action should be taken <urgency> . For more information about this event, visit <URI> or call <contact>.”
  • 14. Examaple of Automated Standard Message “A Flood alert has been issued for North Western Province by Department of Irrigation and Water Resources. Persons in this area are encouraged to prepare, and stay away from demarcated flood zones. This event is rated as moderate, www.lirneasia.net and is likely. Responsive action should be taken future. For more information about this event, visit http://www.dmc.gov.lk/ or call 2395521 .”
  • 15. Sahana CAP Templates/Messages – Page 1 www.lirneasia.net http://www.sahana.lk/
  • 16. Last Mile Hazard Warning System (HazInfo Project) www.lirneasia.net Sarvodaya Community Disaster Communications Sarvodaya Communities Management Center (SCDMC) Providers
  • 17. Dialog DEWN Terminal Devices HIH Monitor issued CAP Receiver Device ICT Guardian received Interface Message and {Medium} Message elements DEWN <info> sub element with MP “Warning” <info> <Language>en Internet <Language>en {Text} <Description> A SEVERE Browse <Description> … {no size CATEGORY 4 CYCLONE… restriction} <Language>si <Language>si <Description> …{sinhala} RAD <Description> … {no size <Language>tm {Text} restriction} <Description> … {tamil} <Language>tm {restricted by 140 characters} www.lirneasia.net <Description> … {no size restriction}
  • 18. WorldSpace Satellite Radio Receiver HIH Monitor issued CAP Device and ICT Guardian received Interface Message {Medium} Message elements ANNY All sub elements in <Alert> AREA – B <msgType>Alert Internet element and message in {Text} <Scope>restricted Browser <Language>en only. <Sender>hih application <Status>exercise (AREA) <Category>met <Urgency>expected <Severity> sever <Certainty>observed <Event>A SEVERE CATEGORY 4 www.lirneasia.net CYCLONE … {restricted 250 characters} <Description> with AREA – B <Description> A SEVERE <Language>all… {no size {Audio} CATEGORY 4 CYCLONE …{no size restriction} restriction}
  • 19. Public Internet Alert System Receiver HIH Monitor issued CAP Device and ICT Guardian received Interface Message {Medium} Message elements IPAS Internet <Description> with Personal <Description> A SEVERE Browser <Language>en only … {no Computer CATEGORY 4 CYCLONE … {no size size restriction} {Text} restriction} www.lirneasia.net
  • 20. CDMA Voice Alerts HIH Monitor issued Receiver Device ICT Guardian received Interface CAP Message and {Medium} Message elements CDMA 2000 <Description> … {no size CDMA2000 <Description> A SEVERE 1x_RTT and language restriction} 1x_RTT CATEGORY 4 CYCLONE …{no size Telephones restriction} {Audio} www.lirneasia.net
  • 21. Evaluating Terminal Devices for CAP Completeness Value Fuzzy rule for Language Value Fuzzy rules for completing Profile Diversity (Table 2) requirements (Table 1) 1.00 Sinhala + Tamil + English 1.00 All sub elements that are contained in the <Alert> segment, which includes all the 0.99 Sinhala + Tamil qualifier elements and <info> element as 0.95 Sinhala + English well as the <resource> and <area> sub elements 0.80 Sinhala Only 0.95 Mandatory elements described in the Profile for 0.38 Tamil + English Sri Lanka, which are qualifier elements in 0.28 Tamil Only the <alert> segment with at least the <urgency>, <severity>, <certainty>, and 0.15 English Only <description> 0 Otherwise www.lirneasia.net 0.85 Qualifier elements of the <alert> segment and the <description> only Value Fuzzy Rule for Communication 0.70 <description> only Medium (Table 3) 0.50 Elements <category> and <event> only 1.00 Graphic + Audio + Text 0.25 Mandatory sub elements of the <alert> 0.95 Graphic+ Audio segment only 0.90 Audio + Text 0 Otherwise 0.80 Audio 0.70 Graphic + Text For a full description of the evaluation method refer 0.60 Graphic to the “HazInfo Technical Report” - 0.50 Text only http://www.lirneasia.net/wp- content/uploads/2008/05/hazinfo-technical-report.pdf 0 Otherwise
  • 22. HazInfo Technology ratings AREA+ AREA+ AREA+ Measure AREA RAD MOP FXP VSAT MOP FXP RAD Language 1.00 0.15 1.00 1.00 0.15 1.00 1.00 1.00 CAP elements 0.95 0.70 0.70 0.80 0.70 0.95 0.95 0.95 Multimedia 0.90 0.50 0.50 0.80 0.50 0.90 0.90 0.90 Rating 0.86 0.05 0.35 0.64 0.05 0.86 0.86 0.86 Effectiveness of Terminal Devices for Cliques of Parameters www.lirneasia.net AREA+FXP AREA+RAD AREA+MOP Terminal Devices VSAT FXP RAD MOP AREA Effectiveness Measure CAP Complete Two-Way Adoptability Minaturization Alerting
  • 23. Interoperability Testing June 2007 between WorldSpace-Sankya and Dialog-Microimage GSM GSM SMS SMS FTP: XML pull www.lirneasia.net SOAP: XML HTTP: XML UDP/IP UDP/IP push Post MP3 MP3
  • 24. Elements of the Sahana CAP Broker www.lirneasia.net
  • 25. Conclusions CAP is a consistent, complete, multi lingual, and interoperable global emergency communication protocol CAP offers standard guidelines for developing an inventory of emergency information templates and messages CAP should be adopted by states and organizations for their public and closed-user-group exchange of emergency information States or organization must first develop a CAP Profile in www.lirneasia.net consultation with all involved stakeholders Profile should consider the target – audience (<scope>), jurisdictions <area>, <Language>, and Technologies Alerting agencies should adopt a “CAP Broker” for constructing and issuing CAP messages via “tested” technologies Recommendation to Disaster Communications Technology Manufacturers – Make your equipment CAP compliant
  • 26. <End> Do you have any questions? </End> www.lirneasia.net