Changes between Version 1 and Version 2 of BluePrint/CAPBroker/GUIDesign


Ignore:
Timestamp:
05/25/15 07:59:53 (7 years ago)
Author:
Biplov Bhandari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/CAPBroker/GUIDesign

    v1 v2  
    22[[TOC]]
    33
     4== Alert Segment Qualifier Element Requirements ==
     5
     6=== identifier ===
     7
     8 - Typical format is "prefix" + "dateTime" + "timezone" + "msg-sequence-no" + "postfix"
     9''Example - 2.49.0.1.524.2-20150525T12:23:00+8:00-005-scdmc. The prefix = "2.49.0.1.524.2-", postfix="-scdmc", and sequence="005" (we may issue more than one alert in one day; hence would require multiple message sequence numbers)''.
     10
     11 - One recommendation for the '''postfix''' is to use the WMO recommended alert Object [http://www.wmo.int/pages/prog/amp/pwsp/documents/AIR_PWS-20.pdf] Identifiers that helps identifies the alerting authority. However, it is not mandatory and the implementers are free to introduce another.
     12
     13=== msgType ===
     14
     15This is essentially a state machine, whereby an alert message can transition from msgType to another. Here are the possible sequences:
     16
     17||=No: =||=       Transition   ||=         Remarks      =||
     18||1)  || Alert ---> [[BR]]Update ...[[BR]] Update --->[[BR]] Cancel || '''Cancel''' means the event was disregarded and it was a false alarm [[BR]] example - ''heavy rains cause a rain gauge to automatically trigger flash-flood alert, then the alert is incidentally updated by mistake, until finally the authorities realize it was a malfunction and issue a cancelled'' ||
     19||2)  || Alert --->[[BR]] Cancel || is the same as 1) above but excluding any intermediary update alert messages ||
     20||3)  || Alert --->[[BR]] Update ...[[BR]] Update --->[[BR]] All Clear || '''All Clear''' is not in the CAP 1.2 but will be in 2.0; this means the event is over; it's different from "Cancel" [[BR]] example - ''a tsunamigenic earth, off the coast of Indonesia, triggers an alert, which is updated several times every 5 minutes, then finally when their is nor threat, an All Clear message is issued to inform that the threat is over'' ||
     21||4)  || Alert --->[[BR]] All Clear || '''Error''' means the previous message had false values, thus, the msg with errors should be followed by an error-less message [[BR]] example - ''similar to example in 3) above, instead the the message "priority" was mistakenly set to "urgent" during an update, then a follow up message is issued to correct the "priority" to "high", in which case the msgType is set to "Error". Thereafter, the transitions can be as any of the above terminating with an "All Clear" message'' ||
     22||5)  || Alert ---> [[BR]] Update ...[[BR]] Update --->[[BR]] Error --->[[BR]] Update ...[[BR]] Update --->[[BR]] All Clear || Error means the previous message had false values, thus, the msg with errors should be followed by an error-less message [[BR]] example - ''similar to example in 3) above, instead the the message "priority" was mistakenly set to "urgent" during an update, then a follow up message is issued to correct the "priority" to "high", in which case the msgType is set to "Error". Thereafter, the transitions can be as any of the above terminating with an "All Clear" message'' ||
     23||6)  || Alert ---> [[BR]] Error ---> [[BR]] All Clear || same as 5) above but excluding any of the updates ||
     24||7)  || Alert ---> [[BR]] Update ... [[BR]] Update ---> [[BR]] Error ---> [[BR]] Update ... [[BR]] Update ---> [[BR]] Cancel || is similar to 5) above instead, the message was false and a mistaken. Hence, instead of ending it with an "All Clear" we "Cancel" the message. ||
     25||8)  || Alert ---> [[BR]] Error ---> [[BR]] Cancel || same as 7) above but excluding any of the updates ||
     26[[BR]]
     27'''"Ack"''' - Acknowledgement may not apply when we are publishing. Ack is used when a system or person receives an alert message and wants to acknowledge the receipt of that message. They would typically set the to Ack and return the message to the sender. This is a feedback for the issuing system to account for that the message was actually received by the intended recipient.
     28
     29example, ''we may issue SMS alerts to [n] people and expect them to Ack. If and Ack is not received then we may recast the message to those who did not receive the message. Don't worry about this part, it's a project of it's own.''
     30
     31=== scope ===
     32
     33We need to build in the logic for each of the values: Public, Private, and Restricted.
     34
     35||=Value =||=       Implication   =||
     36||Public  || ---> text-box control "Restriction" and "Recipients" are disabled ||
     37||Restricted || ---> text-box control "Restriction" = enabled and text-box control "Recipients" = disabled ||
     38||Private || ---> text-box control "Restriction" = disabled and text-box control "Recipients" = enabled ||
     39
     40=== reference ===
     41
     42if "Reference" is empty (NULL), then "Reference" = "Identifier" values (which is mandatory) if "Reference" is NOT empty (NOT NULL), then leave as it, possibly populated from the template
     43
     44=== incident ===
     45
     46 - We should relate to the same incidents list in the IRS module. Example: a mass movement that causes an accident, then incidents would be ="rock slide", "train derailment".
     47 - "rock slide" and "train derailment" may be '''archetypes''' of "mass movement" and "accident" respectively.
     48
     49== Info Segment Qualifier Element Requirements ==
     50
     51=== info ===
     52
     53The basic needs for multiple info segments
     54
     551) Multiple languages - an info segment for each language defined in the profile
     56
     572) Multiple msgType - when the msgType is changed to send an Update, Cancel, Error, or All Clear, the an additional info segment for each language must be added to that particular event specific message
     58
     59Example: ''The Met depart may detect a cyclone developing in the Bay of Bengal. The Tamil Nadu DMC would issue an alert in English, French, Hindi, and Tamil, that's 4 segments. Then every six hours they would issue an update of the same alert but with the new position, wind-speed, trajectory, etc. These updates would need to be issued in the 4 languages. Assuming there are 5 updates before it hits land, then that particular message would have 20 segments''