Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents


Column



General information about filtering messages and events

The The ONVIF-Server module supports filtering of messages and events transmitted in the metadata stream according to the ONVIF standard: Topic Filter and Message Content Filter. The ONVIF profiles S and T are used to transmit events.

You can configure the correspondence of messages for Topic Filter and the Axxon PSIM events. These are the ONVIF-Server events that start with tns and tmk in the examples below on this page. Axxon PSIM transmits only those events for which the correspondence is configured. The remaining events and messages are sent automatically according to the specification (for example, when changing the settings of the server, profile, or MotionAlarm settings, etc.)., and so on).

ONVIF standard events

Profile S and Profile T are implemented for event transmission. These profiles include standard events described in the ONVIF documentation. You can get a full list of supported events by a corresponding request to the server or using the Onvif Device Test Tool utility.

tns1:VideoSource/MotionAlarm (MD_START/MD_STOP in Axxon PSIM terms)

tns1:RecordingConfig/JobState (RECORDER_ON/RECORDER_OFF in Axxon PSIM terms)

tt:VideoAnalyticsStream (only BoundingBox for the tracker is transmitted inside the events, this is MD_INFO in Axxon PSIM terms)

tns1:Device/Trigger/Relay

tns1:Device/Trigger/DigitalInput

tns1:Configuration/Profile

tns1:Media/ProfileChanged

Configuring the correspondence of messages for Topic Filter and the Axxon PSIM events

The correspondence of messages for Topic Filter and the Axxon PSIM events is configured in the following order:

  1. Go to the Event settings tab on the settings panel of the ONVIF-Server object.
    Image Modified
  2. From the drop-down list of the in the ONVIF-server event column (1), select the ONVIF -Server server event (1). See the events event description in the table at the bottom of the page.

    Info
    titleNote

    To add a row to the table, press the "down" button on the keyboard; to delete a row, use the Ctrl+Del keyboard shortcut key combination.

  3. In the Computer, Type, and Number columns columns (2), specify the parameters of the required object , from which the corresponding event comes (2). The Name field will be is filled in automatically when you left-click it. If any column parameter is empty, it means that the message will be is sent for any value of the corresponding parameter.
  4. From the Event drop-down list (3), select an event which that comes from the selected object and corresponds to the specified ONVIF -Server server message (3).
  5. If the specification requires that the event should contain certain parameters (see the table at the bottom of the page), it is necessary to specify their values or the correspondence to the Axxon PSIM event parameters in the Transfer parameters table:
    1. The ONVIF-event parameter name column (4) contains the required parameters of the ONVIF -Server server event (4). They are set according to the specification.
    2. In the Event parameter name column (5), it is necessary to specify the parameter value or the parameter names of the Axxon PSIM event parameter names (5). Event parameters can be found in the Debug window, and some of them are described in the Description of system object reactions section (see Programming Guidein Description of events and reactions of system objects (see Guide for creating scripts (programming)).

  6. Repeat steps 2-5 for all required events.
  7. Click the Apply button (6).

...

To do this, go to the Events or Metadata page, depending on what messages you want to see, set the filtering conditions (1) that will be are displayed in the list (2), and then click Apply (3). As a result, only the events that match the filter should must be displayed.

Image Modified

 Image Modified

Examples of filters used in the ONVIF Device Manager utility:

  1. Topic Filter
    1. tns1:VideoSurveillanceSystem//.
      Events where the topic starts with tns1:VideoSurveillanceSystem/
    2. tns1:VideoSource/MotionDetectorTrigger
      MotionDetectorTrigger events only
    3. tns1:VideoSurveillanceSystem//.|tns1:FireAlarm/Alarm
      Events where the topic starts with tns1:VideoSurveillanceSystem/, as well as FireAlarm/Alarm events
    4. tns1:VideoSource/
      All events of the video system with a comment containing an Axxon PSIM event in its original form.
  2. Message Content Filter
    1. //tt:SimpleItem[@Name="Source" and @Value="{DFC2A44E-7CE4-E711-8A5F-54E6FC817BD7}{CAM.1}"]
      Events only from the source with the identifier {DFC2A44E-7CE4-E711-8A5F-54E6FC817BD7}{CAM.1} identifier 
Info
titleNote

When you restart the ONVIF -Server restartsserver, the filters are reset, and they need to be set again.

Before changing the filter in the Events section, it is necessary to click the Refresh button for the camera in ODM.

All events from the filter of the tns1:Device type are configurable and created for a specific integration. You can configure and use them with the restriction that the list of parameters and the format of the event are fixed.

EventEvent descriptionParameters
Is configuration
Configuration required
tns1:Device/AccessControl/AccidentAccess Control System incident

Name

Comment

Place

Yes
tns1:Device/AccessControl/FaultAccess Control System failure
tns1:Device/FireAlarm/AlarmFire Alarm System alarm

Category

Zone

Comment

Yes
tns1:Device/FireAlarm/FireFire message from Fire Alarm System
tns1:Device/FireAlarm/FaultFire Alarm System failure
tns1:Device/GasAnalysis/ConcentrationExceededIncreased concentration of hazardous gases

Place

ConcentrationLimit

GasType

Concentration

Comment

Yes
tns1:Device/Introscopy/LimitExceeded

Detection of metal objects and organic matter

Account

Picture

Result

Yes
tns1:Device/NeutronProbing/DetectDetection of explosives

Place

ExplosiveType

Location

Comment

Yes
tns1:Device/RadiationMonitoring/Detect

Increased radiation

Picture

Category

Measures

Account

Yes
tns1:Device/SteamDetector/Detect

Detection of vapors and trace amounts of explosives

which

that exceed the established threshold values

Measures

Picture

Account

Yes
tns1:Device/MetalDetector/Detect

Detection of metal objects

which

that exceed the specified values.

Picture

Account

Yes
tns1:Device/VideoSurveillanceSystem/ChannelDisconnectVideo channel disconnection

Category

Comment

Priority

Yes
tns1:Device/VideoSurveillanceSystem/ChannelConnectVideo channel connection
tns1:Device/VideoSurveillanceSystem/RecordTurnOffRecording turned off
tns1:Device/VideoSurveillanceSystem/RecordTurnOnRecording turned on
tns1:Device/VideoSurveillanceSystem/MotionDetectorTriggerMotion detector triggering
tns1:Device/VideoSurveillanceSystem/ReadRecordRequestRequest for the record reading
tns1:Device/VideoSurveillanceSystem/DeleteRecordRequestRequest for the record deletion
tns1:Device/VideoSurveillanceSystem/EditDbRecordRequest

Request for the event database editing

tns1:Device/VideoSurveillanceSystem/CopyDbRecordRequestRequest for the event database copying
tns1:Device/VideoSurveillanceSystem/AuthorizationSystem user authorization
tns1:Device/VideoSurveillanceSystem/ServerPowerOnServer switched on
tns1:Device/VideoSurveillanceSystem/ServerPowerOffServer switched off
axn:HDDrive/axn:FaultHard disk error (hard disk missing)-No
axn:HDDrive/axn:RecordingFaultHard disk failure-No
axn:HDDrive/axn:DriveFullHard disk full (if overwriting on a loop is not enabled)-No
axn:VideoSurveillanceSystem/axn:ChannelDisconnectVideo camera disconnection-No
axn:VideoSurveillanceSystem/axn:ChannelConnectVideo camera connection-No
axn:VideoSurveillanceSystem/axn:ServerPowerOn
Any in
Connection of any Axxon PSIM
Servers switching on
servers in a distributed architecture-No
axn:VideoSurveillanceSystem/ServerPowerOff
Any in
Disconnection of any Axxon PSIM
Servers switching off
servers in a distributed architecture-No
tns1:VideoSource

All events of the video system with a comment containing an Axxon PSIM event in its original form (for examples, see The Debug window)

-No