arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2607.07730cs.DBcs.DM
收藏

RetractorDB:基于有理Beatty序列和Fraenkel划分的确定性边缘信号处理引擎

RetractorDB: A Deterministic Edge Signal Processing Engine Based on Rational Beatty Sequences and Fraenkel's Partition

Michal Widera

AI总结:

研究针对常规时间序列的边缘信号处理,提出RetractorDB引擎,基于覆盖系统数论,通过声明性语言预处理过滤信号,利用有理Beatty序列等实现代数运算及重采样,能传输精确结果,还描述了其端到端实现并验证语义。

摘要:

我们提出了RetractorDB,这是一个用于常规时间序列的开源边缘信号处理引擎(ESPE),其查询语义基于覆盖系统的数论。RetractorDB旨在支持而非取代时间序列数据库(TSDB)和数据流管理系统(DSMS):它部署在信号源附近,通过声明性信号处理查询语言对边缘设备上的高频测量进行预处理和过滤,在可检查工件中维护过去和预定未来事件的部分可校正记录,并向上游传输精确、确定性的结果,以便只有经过简化、已处理的流到达中央架构。数据模型是差分的(流是具有恒定有理到达间隔的对$(s_n, \Delta)$),核心速率转换运算符交织和去交织被证明是满足Fraenkel划分定理条件的有理Beatty序列。这产生了一种代数,其中重采样是一个精确、确定性的一等运算符:去交织仅使用有理算术逐位反转交织,代数重写规则允许在不改变结果的情况下进行查询计划优化。我们描述了在工作引擎中这种代数的端到端实现:声明性查询语言(RQL)、编译为具有有理间隔分辨率的依赖DAG、基于插槽的运行时调度以及具有模式和空值/间隙元数据的可检查工件格式。我们在从引擎集成测试中抽取的确定性查询示例上验证语义,包括完全在代数内表示的针对MIT-BIH ECG数据的完整Pan-Tompkins QRS检测管道。实时操作环境下的性能评估正在进行中,推迟到后续版本。

英文摘要:

We present RetractorDB, an open-source edge signal processing engine (ESPE) for regular time series whose query semantics is grounded in the number theory of covering systems. RetractorDB is designed to support, not replace, time-series databases (TSDB) and data stream management systems (DSMS): deployed close to the signal source, it pre-processes and filters high-frequency measurements on the edge device through a declarative signal-processing query language, maintains a partial, correctable record of past and scheduled future events in inspectable artifacts, and transmits exact, deterministic results upstream, so that only reduced, already-processed streams reach the central architecture. The data model is differential (a stream is a pair $(s_n, Δ)$ with a constant rational inter-arrival interval), and the core rate-conversion operators, interleave and de-interleave, are proved to be rational Beatty sequences satisfying the conditions of Fraenkel's partition theorem. This yields an algebra in which resampling is an exact, deterministic, first-class operator: de-interleaving inverts interleaving bit-for-bit using rational arithmetic alone, and algebraic rewrite rules license query-plan optimization without changing results. We describe the end-to-end realization of this algebra in a working engine: declarative query language (RQL), compilation to a dependency DAG with rational interval resolution, slot-based runtime scheduling, and an inspectable artifact format with schema and null/gap metadata. We validate the semantics on deterministic query examples drawn from the engine's integration tests, including a complete Pan-Tompkins QRS-detection pipeline over MIT-BIH ECG data expressed entirely within the algebra. A performance evaluation under a real-time operating environment is in progress and deferred to a subsequent version.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑