当前位置:首页 > 报告详情

事件过滤查询语言.pdf

上传人: 芦苇 编号:185969 2024-11-02 13页 1.62MB

1、OPC Day International 2024Event Filter Query LanguageJulius PfrommerFlorian DwelOPC UA EventsBackgroundJune 25,2024 Fraunhofer IOSBPage 2 Events are emitted by Objects in the information model Events bubble upwards in the information model and are again emitted by each parent Object OPC UA Events ar

2、e“temporary OPC UA Objects”with the properties of the Event(fields)BaseEventType defines standard properties,such as the Events severity Custom subtypes for additional properties Clients access Events via the OPC UA Subscription mechanism MonitoredItem attaches to an Object and listens for the Event

3、s emitted by the Object MonitoredItem defines an EventFilter Which fields to transmit(Select-Clause,required)Which event instances to transmit(Where-Clause,optional)Example EventTypeExample EventFilter Where-ClauseMuch too hard for end-users to defineJune 25,2024 Fraunhofer IOSBPage 3Corresponding C

4、ontentFilter Data TypeLogical Structure of the ContentFilter Users have to supply this“bytecode”Difficult,verbose,error-prone,Not funOPC UA EventFilters are very useful.More people should use them.But the tooling is not-so-great.We have a solution.June 25,2024 Fraunhofer IOSBPage 4OPC UA EventFilter

5、 Query Language Select-ClauseJune 25,2024 Fraunhofer IOSBPage 5 Select-Clause is a comma separated list of SimpleAttributeOperands(SAO)Feature-complete human-readable syntax for expressing SimpleAttributeOperands Default Values for a simplified definition of SAOsDefault TypeDefinitionId is the BaseE

6、ventTypeDefault AttributeId is the Value attributeDefault IndexRange is undefinedTypeDefinitionIdBrowsePathAttributeId IndexRangeSimpleAttributeOperand DefinitionOPC UA EventFilter Query Language Where-Clause(ContentFilter)June 25,2024 Fraunhofer IOSBPage 6 A ContentFilter is a list of filter elemen

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要介绍了OPC UA事件和事件过滤器,以及一种新的事件过滤器查询语言。OPC UA事件是由信息模型中的对象发出,并通过每个父对象向上冒泡。事件过滤器是附加在监控项上的,用于定义要传输的字段和事件实例。然而,现有的工具和技术使得编写事件过滤器变得复杂且容易出错。 为了解决这个问题,文中提出了一种新的事件过滤器查询语言。这种语言具有完整的人类可读性,并提供了表示简单属性操作数(SAO)的语法。它还包括默认的值,以便简化SAO的定义。此外,该语言还包括内容过滤器(Where-Clause),它由一系列过滤元素组成,这些元素由操作符和其操作数(参数)构成。 文章还提供了一个示例,展示了如何使用这种查询语言构建事件过滤器。通过这种语言,可以更方便地创建和管理事件过滤器,使得OPC UA事件的使用变得更加有趣。最后,文中提到了一个HTML5实现,它可以生成JSON格式的EventFilter,并且可以与主要的OPC UA SDK一起使用。
"OPC UA事件过滤器如何工作?" "如何简化OPC UA事件过滤器的编写?" "OPC UA事件过滤器查询语言有哪些优势?"
客服
商务合作
小程序
服务号
折叠