Commit 0be8d791 authored by Brigitte Lonc's avatar Brigitte Lonc
Browse files

Replace EtsiTs103759AsrDenm.asn

parent 6e9cdbad
Loading
Loading
Loading
Loading
Loading
+194 −78
Original line number Diff line number Diff line
@@ -19,6 +19,9 @@ minor-version-1 (1)} WITH SUCCESSORS
obs-Beacon-IntervalTooSmall,
obs-Static-Change,
obs-DirectionNotUpstream,
obs-DirectionNotDownstream,
obs-DistanceBetweenPositionInDenmAndLdmTooLarge,
obs-DistanceBetweenPositionInDenmAndCamTooLarge,
obs-Security-MessageIdIncWithHeaderInfo,
obs-Security-HeaderIncWithSecurityProfile,
obs-Security-HeaderPsidIncWithCertificate,
@@ -27,17 +30,20 @@ minor-version-1 (1)} WITH SUCCESSORS
obs-Security-MessageLocationOutsideCertificateValidity,
obs-Security-HeaderLocationOutsideCertificateValidity,
obs-RoadTypeIncWithSuddenSpeedDrop,
obs-ValidityDurationIncWithSuddenSpeedDrop,
obs-AwarenessDistanceIncWithSuddenSpeedDrop,
obs-RoadTypeIncWithLocalSlowDown,
obs-PathChangeInMultipleRepetitions,
obs-ValidityDurationIncWithLocalSlowDown,
obs-AwarenessDistanceIncWithLocalSlowDown,
  obs-EeblMissingLocationInformation,
  obs-EeblIncWithOtherVehiclesSpeed
obs-CamSpeedIncWithLocalSlowDown,
obs-EeblMissingLocationInformation,obs-EeblIncWithOtherVehiclesSpeed
FROM EtsiTs103759CommonObservations {itu-t(0) identified-organization(4) 
etsi(0) itsDomain(5) wg5(5) ts(103759) general(1) common-observations(2)
major-version-1(1) minor-version-2(2)}
WITH SUCCESSORS
 
Opaque,
Uint8
FROM Ieee1609Dot2BaseTypes {iso(1) identified-organization(3) ieee(111) 
  standards-association-numbered-series-standards(2) wave-stds(1609) dot2(2)
@@ -48,7 +54,7 @@ WITH SUCCESSORS
 /* This data type is for reporting DENM issues. */
AsrDenm ::= TemplateAsr {{SetMbObsTgtsDenm}, {SetMbEvDenm}}

 /* Identify target classes for DENM */
 /* This data type is for identifying target classes for DENM */
IdDenmTgt ::= Uint8

c-DenmTgt-BeaconCommon    IdDenmTgt ::= 0
@@ -58,23 +64,103 @@ c-DenmTgt-SecurityCommon IdDenmTgt ::= 3
c-DenmTgt-TrafficCondition-SuddenSpeedDrop IdDenmTgt ::= 4
c-DenmTgt-TrafficCondition-LocalSlowDown     IdDenmTgt ::= 5
c-DenmTgt-DangerousSituation-Eebl  IdDenmTgt ::= 6
c-DenmTgt-IncDistanceBetweenEventAndReportingStationPositions IdDenmTgt ::= 7

/**
* This module specifies a set of observations for a subset of DENM Use Cases listed in TS 103 759 Annex D.2 (see table D.3). The data types used for specifying the set observations per target class
* and the data types used for detailing other evidences which may need to be included in the report are given.
*/

/**
* This is a set of observations for the target class c-DenmTgt-BeaconCommon,
* where the trigger conditions for different observations are as follows.
*
*   - @param Beacon-IntervalTooSmall: The difference between the generation time of two consecutive DENMs related to the 
* same traffic event (same actionId and detectionTime) transmitted by the same ITS station (same stationId) is 
* less than 80% of the minimum threshold value of the DENM repetition interval. This minimum threshold is set to 100 ms,
* considering the list of Day1 uses cases referenced in TS 103 759 table D.3 specified in C2C-CC Basic System Profile [i.11]
* and C-Roads specifications [i.12]. The difference is calculated as the difference between the referenceTime in the second DENM and the
* referenceTime in the first DENM. 
* 
*/

SetMbObsDenmBeacon C-ASR-SINGLE-OBS ::= {
  obs-Beacon-IntervalTooSmall,
  ...
}

/**
* This is a set of observations for the target class c-DenmTgt-StaticCommon,
* where the trigger conditions for different observations are as follows.
*
*   - @param Static-Change: Any change in the values of one or more of the following fields which happens during the repetition of the same traffic event (same actionId and detectionTime)
* transmitted by the same ITS station (stationId): stationType and eventPosition in the Management Container, eventType and informationQuality in the Situation Container.
*
*     - `Semantics of the BIT STRING`: stationType(0), eventPosition(1), eventType(2), informationQuality(3).
*
*/

SetMbObsDenmStatic C-ASR-SINGLE-OBS ::= {
  obs-Static-Change,
  ...
}
/**
* This is a set of observations for the target class c-DenmTgt-IncDistanceAndTrafficDirection,
* where the trigger conditions for different observations are as follows.
*
*  - @param DirectionNotUpstream: The trafficDirection is inconsistent with the traffic direction specified as upstream direction in the use case (i.e. event type). 
* This includes the following use cases: Traffic condition — Sudden speed drop and Traffic condition — Local slow down.
*  
*  - @param DirectionNotDownstream: The trafficDirection is inconsistent with the traffic direction specified as upstream direction in the use case (i.e. event type).
*
*/

SetMbObsDenmIncDistanceAndTrafficDirection C-ASR-SINGLE-OBS ::= {
  obs-DirectionNotUpstream,
  obs-DirectionNotUpstream |
  obs-DirectionNotDownstream,
  ...
}
/**
* This is a set of observations for the target class c-DenmTgt-IncDistanceBetweenEventAndReportingStationPositions,
* where the trigger conditions for different observations are as follows.
*
*  - @param DistanceBetweenPositionInDenmAndLdmTooLarge : The distance between the eventPosition of the DENM transmitted by the ITS-S via a local, short-range communication 
*    and the referencePosition received in the last CAM received from that ITS-S (i.e. same stationId) stored in the LDM as defined in ETSI TS 103 938 [i.13] is larger than a maximum distance 
*    of 1000 meters. This distance may be calculated as the euclidean distance between the two points or preferrably as the distance of the two points using their (longitude, latitude)
*    in radians on a sphere of radius r = 6 378 137 metres (ref [Kells, Lyman M.; Kern, Willis F.; Bland, James R. (1940). Plane And Spherical Trigonometry. McGraw Hill Book Company, Inc. pp. 323-326])  
*   
*    This detector shall only apply if the generationDeltaTime in the CAM Payload verifies one of the following conditions:  
*         - The generationDeltaTime is higher than the (referenceTime – 1000) mod 65,536 and the value of (generationDeltatTime – (referenceTime -1000) mod 65,536) 
*           is lower than 1000 (unit in millisecond). 
*         - The generationDeltaTime is lower than the (referenceTime – 1000) mod 65,536 and the value of (generationDeltatTime - (referenceTime – 1000)  mod 65,536 + 65,536) 
*           is lower than 1000 (unit in millisecond).
*
*  - @param DistanceBetweenPositionInDenmAndCamTooLarge:  The cause code choice in the DENM is either trafficCondition1 or dangerousEndOfQueue27 and
*    the distance between the eventPosition of the DENM transmitted by the ITS-S via a local, short-range communication and the 
*    referencePosition received in the next CAM received from that ITS-S (i.e. same stationId) is larger than a maximum distance of 600 meters.
*    This distance may be calculated as the euclidean distance between the two points or preferrably as the distance of the two points using their (longitude, latitude)
*    in radians on a sphere of radius r = 6 378 137 metres (ref [Kells, Lyman M.; Kern, Willis F.; Bland, James R. (1940). Plane And Spherical Trigonometry. McGraw Hill Book Company, Inc. pp. 323-326])  
*   
*    This detector shall only apply if the generationDeltaTime in the CAM Payload verifies one of the following conditions: 
*       -	The generationDeltaTime is higher than the (referenceTime mod 65,536) and the (generationDeltatTime - referenceTime mod 65,536) is lower than
*         1000 (unit in millisecond).
*       -	The generationDeltaTime is lower than the (referenceTime mod 65,536) and the value of (generationDeltatTime - referenceTime mod 65,536 + 65,536)
*         is lower than 1000 (unit in millisecond).
*
*/

SetMbObsDenmIncDistanceBetweenEventAndReportingStationPositions C-ASR-SINGLE-OBS ::= {
  obs-DistanceBetweenPositionInDenmAndLdmTooLarge |
  obs-DistanceBetweenPositionInDenmAndCamTooLarge,
  ...
}

/**
* This is a set of observations for the target class c-DenmTgt-SecurityCommon,
* where the trigger conditions for different observations are as follows.
* The same specification applies as for the set of observations of SetMbObsCamSecurity defined in the EtsiTs103759AsrCam module.
*
*/ 
SetMbObsDenmSecurity C-ASR-SINGLE-OBS ::= {
  obs-Security-MessageIdIncWithHeaderInfo |
  obs-Security-HeaderIncWithSecurityProfile |
@@ -86,73 +172,84 @@ SetMbObsDenmSecurity C-ASR-SINGLE-OBS ::= {
  ...
}

/**
* This is a set of observations for the target class c-DenmTgt-TrafficCondition-SuddenSpeedDrop,
* where the trigger conditions for different observations are as follows.
* 
*   - @param RoadTypeIncWithSuddenSpeedDrop: The roadType of the Location Container is not equal to 'non-urban' road type (i.e. is not set to value 
*     nonUrban-NoStructuralSeparationToOppositeLanes (2) or nonUrban-WithStructuralSeparationToOppositeLanes (3)).
*
*   - @param ValidityDurationIncWithSuddenSpeedDrop: The validity duration in the Management container of the DENM is not equal to 20s.
*
 *   - @param DistanceIncWithSuddenSpeedDrop:  The awarenessDistance is not present or its value is not set to lessThan1000m (4).
*
*/

SetMbObsDenmTrafficCondition-SuddenSpeedDrop C-ASR-SINGLE-OBS ::= {
  obs-RoadTypeIncWithSuddenSpeedDrop,
  obs-RoadTypeIncWithSuddenSpeedDrop |
  obs-ValidityDurationIncWithSuddenSpeedDrop |
  obs-AwarenessDistanceIncWithSuddenSpeedDrop,
  ...
}

/**
* This is a set of observations for the target class c-DenmTgt-TrafficCondition-LocalSlowDown,
* where the trigger conditions for different observations are as follows.
* 
*   - @param RoadTypeIncWithLocalSlowDown: The roadType of the Location Container is not equal to 'non-urban' road type (i.e. is not set to value 
*     nonUrban-NoStructuralSeparationToOppositeLanes (2) or nonUrban-WithStructuralSeparationToOppositeLanes (3)).
*
*   - @param PathChangeInMultipleEventRepetitions: The pathPositions contained in the first Traces entry of multiple repeated TrafficJamAhead events
*     with the same reporting ITS-S, same actionId and same detectionTime are not identical.
*
*   - @param ValidityDurationIncWithLocalSlowDown: The validity duration in the Management container of the DENM is not equal to 60s.
*
*   - @param DistanceIncWithLocalSlowDown:  The awarenessDistance is not present or its value is not set to lessThan1000m (4).
*  
*   - @param CamSpeedIncWithLocalSlowDown : The following trigger conditions shall be verified: the component 'termination' in the management container 
*     of the suspected DENM shall not be equal to isCancellation(0) or isNegation(1) and the speed value in the next CAM transmitted 
*     by the DENM-originating ITS-S (i.e. same stationId), in the time interval comprised between referenceTime and referenceTime + 1 second, 
*     has a speed higher than the eventSpeed contained in that DENM.
*     The CAM timestamp (generationDeltaTime) shall verify one of the following conditions: 
*       -	The generationDeltaTime is higher than the (referenceTime mod 65,536) and the (generationDeltatTime - referenceTime mod 65,536) is lower than
*         1000 (unit in millisecond).
*       -	The generationDeltaTime is lower than the (referenceTime mod 65,536) and the value of (generationDeltatTime - referenceTime mod 65,536 + 65,536)
*         is lower than 1000 (unit in millisecond).
*
*/

SetMbObsDenmTrafficCondition-LocalSlowDown C-ASR-SINGLE-OBS ::= {
  obs-RoadTypeIncWithLocalSlowDown |
  obs-PathChangeInMultipleRepetitions |
  obs-ValidityDurationIncWithLocalSlowDown |
  obs-AwarenessDistanceIncWithLocalSlowDown,
  ...
}

SetMbObsDenmDangerousSituation-Eebl C-ASR-SINGLE-OBS ::= {
  obs-EeblMissingLocationInformation |
  obs-EeblIncWithOtherVehiclesSpeed,
  obs-AwarenessDistanceIncWithLocalSlowDown |
  obs-CamSpeedIncWithLocalSlowDown,
  ...
}

/*
* This is a (sub)set of observations for DENM Use Cases specified in TS 103 759 Annex D.2 (see table D.3). Application-specific
* trigger conditions and other relevant information are specified below.
*
* - _SetMbObsDenmBeacon_:
*   - `Beacon-IntervalTooSmall`: The difference between the generation time of two consecutive DENMs related to the 
* same traffic event (same actionId and detectionTime) transmitted by the same ITS station (same stationId) is 
* less than 80% of the minimum threshold value of the DENM repetition interval. This minimum threshold is set to 100 ms,
* considering the list of Day1 uses cases referenced in TS 103 759 table D.3 specified in C2C-CC Basic System Profile [i.11]
* and C-Roads specifications [i.12]. The difference is calculated as the difference between the referenceTime in the second DENM and the
* referenceTime in the first DENM. 
*  
* - _SetMbObsDenmStatic_:
*   - `Static-Change`: Any change in the values of one or more of the following fields which happens
* during the repetition of the same traffic event (same actionId and detectionTime)
* transmitted by the same ITS station (stationId): stationType and eventPosition in the Management Container, eventType and informationQuality in the Situation Container.
*     - `Semantics of the BIT STRING`: stationType(0), eventPosition(1), eventType(2), informationQuality(3).
*
* - _SetMbObsDenmIncDistanceAndTrafficDirection_:
*  - 'obs-DirectionNotUpstream': The trafficDirection is inconsistent with the traffic direction specified as upstream direction in the use case (event type). 
* This includes the following use cases: traffic jam — dangerous end of queue and traffic jam — traffic jam ahead.
/**
* This is a set of observations for the target class c-DenmTgt-DangerousSituation-Eebl,
* where the trigger conditions for different observations are as follows.
* 
* - _SetMbObsDenmSecurity_
* The same specification applies as for the set of observations of SetMbObsCamSecurity defined in
* the EtsiTs103759AsrCam module.
*
* - _SetMbObs_DenmTrafficCondition-LocalSlowDown_:
*   - `obs-RoadTypeIncWithLocalSlowDown`: The roadType of the Location Container is not equal to 'non-urban' road type (i.e. is not set to value 
* nonUrban-NoStructuralSeparationToOppositeLanes   (2),
* nonUrban-WithStructuralSeparationToOppositeLanes (3)).
*
*   - `obs-PathChangeInMultipleEventRepetitions`: The pathPositions contained in the first Traces entry of multiple repeated TrafficJamAhead events
* with the same reporting ITS-S, same actionId and same detectionTime are not identical.
*
*   - 'obs-ValidityDurationIncWithLocalSlowDown': The validity duration in the Management container of the DENM is not equal to 60s.
*
*   - 'obs-DistanceIncWithLocalSlowDown':  The awarenessDistance is not present or its value is not set to lessThan1000m (4).
*
* - _SetMbObs_DenmDangerousSituation-Eebl_:
* - `obs-EeblMissingLocationInformation`: one of the following location information of the detected event is missing: eventSpeed, eventPositionHeading,

*   - @param EeblMissingLocationInformation: one of the following location information of the detected event is missing: eventSpeed, eventPositionHeading,
*     detectionZonesToEventPosition of type Traces.
* 
* - `obs-EeblIncWithOtherVehiclesSpeed`: the speed values of all CAMs sent by ITS-S stations of stationType =passengerCar(5) in the circular area with center point
*   - @param EeblIncWithOtherVehiclesSpeed: the speed values of all CAMs sent by ITS-S stations of stationType =passengerCar(5) in the circular area with center point
*     equal to eventPosition and radius equal to 200 m (urban road) or equal to 100m (non-urban or unkwown)
*     are all higher than the eventSpeed in the DENM.
*
*/

SetMbObsDenmDangerousSituation-Eebl C-ASR-SINGLE-OBS ::= {
  obs-EeblMissingLocationInformation |
  obs-EeblIncWithOtherVehiclesSpeed,
  ...
}

/**
 * This is a complete set of observations for DENM. 
 */
SetMbObsTgtsDenm C-ASR-OBS-BY-TGT ::= {
  {MbSingleObservation{{SetMbObsDenmBeacon}}   BY 
    c-DenmTgt-BeaconCommon} |
@@ -167,16 +264,35 @@ SetMbObsTgtsDenm C-ASR-OBS-BY-TGT ::= {
  {MbSingleObservation{{SetMbObsDenmTrafficCondition-LocalSlowDown}}    BY 
    c-DenmTgt-TrafficCondition-LocalSlowDown} |
  {MbSingleObservation{{SetMbObsDenmDangerousSituation-Eebl}} BY 
    c-DenmTgt-DangerousSituation-Eebl} 
    c-DenmTgt-DangerousSituation-Eebl} |
  {MbSingleObservation{{SetMbObsDenmIncDistanceBetweenEventAndReportingStationPositions}} BY 
    c-DenmTgt-IncDistanceBetweenEventAndReportingStationPositions}
  ,
  ... 
}

/*
 * This data type defines the IOS for DENM Evidence.
 * This data type defines the IOS for DENM evidences.

 */
SetMbEvDenm C-ASR-EV ::= {
  {MbEvDenmLdmCam BY
    c-MbEvDenm-LdmCam} ,
    ...
  }

/**
 * MbEvDenmLdmCam shall contain an ASN1 UPER encoded - ETSI CAM PDU 
 * according to ETSI TS 103 900 [8], stored in the LDM of the DENM originating ITS-S 
 */
 MbEvDenmLdmCam ::= Opaque
 
 /**
 * This data type contains the identifiers of the evidence types inserted in the NonV2xPduEvidence. 
 *
 * @param c-MbEvDenm-LdmCam: is the identifier for an LDM entry containing a received CAM PDU.
 */
IdMbDenmEvidence ::= Uint8
c-MbEvDenm-LdmCam           IdMbDenmEvidence ::= 1

END