Stream-based monitoring is a runtime verification approach where a monitor aggregates streams of input data from sensors and other sources to give real-time statistics and assessments of a system's health. One of the central challenges in designing reliable stream-based monitors is to deal with the asynchronous nature of data streams: in concrete applications, the different sensors being monitored produce values at different speeds, and it is the monitor's responsibility to correctly react to the asynchronous arrival of different streams of values. To ease this process, modern frameworks for stream-based monitoring such as RTLola enable users to finely specify data synchronization policies via a system of pacing annotations. While this feature simplifies the design of monitors, it can also lead users to write inconsistent policies, where synchronization between two streams is explicitly requested via annotations, but cannot always be achieved. To mitigate this issue, this paper presents pacing types, a novel type system implemented in RTLola to ensure that monitors for asynchronous streams are free of timing inconsistencies. We give a formal semantics to pacing annotations for a core fragment of RTLola, and present a soundness proof of the pacing type system. For an additional level of guarantees, we machine-checked the soundness proof using the Rocq proof assistant.


翻译:基于流的监控是一种运行时验证方法,其中监控器聚合来自传感器及其他来源的输入数据流,以实时提供系统运行状态的统计与评估。在设计可靠的流式监控器时,核心挑战之一在于应对数据流的异步特性:具体应用中,不同被监控传感器的数据生成速率各异,监控器需正确应对不同数值流的异步到达。为简化此过程,RTLola等现代流式监控框架允许用户通过分步标注系统精细指定数据同步策略。尽管该特性简化了监控器设计,但也可能导致用户编写不一致的策略——即通过标注显式请求两数据流同步,却无法始终实现。为解决此问题,本文提出分步类型(pacing types),一种在RTLola中实现的新型类型系统,确保异步流监控器不存在时序不一致性。我们为RTLola核心片段的分步标注给出了形式化语义,并证明了分步类型系统的正确性。为提供更高层次保障,我们使用Rocq证明助手对正确性证明进行了机器验证。

0
下载
关闭预览

相关内容

【博士论文】迈向可扩展、灵活的点云场景流
专知会员服务
14+阅读 · 2025年3月21日
【博士论文】异构协同模型推理
专知会员服务
34+阅读 · 2024年11月19日
《基于高斯混合流和入包的异常检测》2023最新57页论文
专知会员服务
29+阅读 · 2023年5月15日
监控视频的异常检测与建模综述
专知会员服务
50+阅读 · 2021年12月27日
基于流线的流场可视化绘制方法综述
专知会员服务
27+阅读 · 2021年12月9日
【博士论文】集群系统中的网络流调度
专知会员服务
47+阅读 · 2021年12月7日
多模态预训练模型简述
专知会员服务
115+阅读 · 2021年4月27日
异质信息网络分析与应用综述,软件学报-北京邮电大学
【实用书】流数据处理,Streaming Data,219页pdf
专知会员服务
78+阅读 · 2020年4月24日
【AAAI2021】对比聚类,Contrastive Clustering
专知
26+阅读 · 2021年1月30日
浅谈主动学习(Active Learning)
凡人机器学习
32+阅读 · 2020年6月18日
目标跟踪算法分类
算法与数据结构
20+阅读 · 2018年9月28日
边缘计算应用:传感数据异常实时检测算法
计算机研究与发展
11+阅读 · 2018年4月10日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
7+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
Arxiv
0+阅读 · 6月11日
Arxiv
0+阅读 · 5月10日
VIP会员
最新内容
分层反无人机系统发展新趋势
专知会员服务
8+阅读 · 9月3日
何为协作武器?
专知会员服务
10+阅读 · 9月1日
《理解认知战:超越信息》
专知会员服务
14+阅读 · 9月1日
美国战争部在GenAI.mil上推出OpenAI的ChatGPT Mil
专知会员服务
10+阅读 · 8月31日
人工智能赋能军事维护:重新定义国防战备
专知会员服务
5+阅读 · 8月31日
《美陆军野战手册(2026年):特种部队》
专知会员服务
9+阅读 · 8月31日
相关VIP内容
【博士论文】迈向可扩展、灵活的点云场景流
专知会员服务
14+阅读 · 2025年3月21日
【博士论文】异构协同模型推理
专知会员服务
34+阅读 · 2024年11月19日
《基于高斯混合流和入包的异常检测》2023最新57页论文
专知会员服务
29+阅读 · 2023年5月15日
监控视频的异常检测与建模综述
专知会员服务
50+阅读 · 2021年12月27日
基于流线的流场可视化绘制方法综述
专知会员服务
27+阅读 · 2021年12月9日
【博士论文】集群系统中的网络流调度
专知会员服务
47+阅读 · 2021年12月7日
多模态预训练模型简述
专知会员服务
115+阅读 · 2021年4月27日
异质信息网络分析与应用综述,软件学报-北京邮电大学
【实用书】流数据处理,Streaming Data,219页pdf
专知会员服务
78+阅读 · 2020年4月24日
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
7+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员