cheliequan
2023-02-07 f5ec65382e6f0729cc6f530018063d72f87514aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;
}