Skip to main content

Crate aios_daemon

Crate aios_daemon 

Source
Expand description

§dipecsd — DiPECS 系统守护进程

部署路径: /system/bin/dipecsd 启动方式: dipecsd [--no-daemon] [--verbose]

§运行模式

  • daemon 模式 (默认): fork 到后台, 持续采集系统事件
  • –no-daemon: 前台运行, 用于调试和开发

§数据流 (v0.2 — 2-task 管道)

Task 1 (采集):  BinderProbe + ProcReader + SysCollector → bus.raw_events_tx
Task 2 (处理):  bus.raw_events_rx → PrivacyAirGap → WindowAggregator
                   → DecisionRouter → PolicyEngine → ActionExecutor

§当前实现状态 (2026-05-05)

  • ProcReader: 可用 (Linux/Android 均可)
  • SystemStateCollector: 可用 (Linux/Android 均可, 电池/网络 fallback)
  • BinderProbe: 接口完成, eBPF attach 待真机验证
  • 决策路由: DecisionRouter with RuleBasedBackend (rule-based intent generation)
  • Action 执行: 骨架 (tracing 记录)

Modules§

pipeline
上下文窗口处理管线。

Functions§

run