cheliequan
2023-02-07 f5ec65382e6f0729cc6f530018063d72f87514aa
add FilterResult protobuf struct between dataprocess and ruleserver
1个文件已添加
43 ■■■■■ 已修改文件
dataprocess.proto 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
dataprocess.proto
New file
@@ -0,0 +1,43 @@
syntax = "proto3";
option go_package="./;protomsg";
import "rule.proto";
import "protomsg.proto";
message TaskBasicInfo {
    string CamId = 1;
    string CamName = 2;
    string TaskID = 3;
    string TaskName = 4;
    string HandleTime = 5;
    int64 ImageId = 6;
    string ImageTime = 7;
    bool IsEndRecord = 8;
    string  FileId = 9;      // 数据栈中的文件id
}
message SoTarget {
    Target SrcTarget = 1;
    string AreaId    = 2;
    string AreaName  = 3;
    string BelongsTargetID = 4;
    repeated RuleBaseCompareInfo CompDbInfo = 5;
    int64 ImageId   = 6;
}
message EventCache {
    map<uint64, SoTarget> Targets = 1;
    map<string, GroupRule> RuleGroups = 2;
    map<int64, Image> Images = 3;
}
message TargetCache  {
    repeated SoTarget Target = 1;
    map<string, GroupRule> RuleGroups = 2;
    Image Image = 3;
}
message FilterResult {
    TaskBasicInfo BaseInfo = 1;
    map<string, EventCache> Events = 2;
    map<string, TargetCache> Targets = 3;
}