liuxiaolong
2019-07-25 70684c4158c04083b49e905cf32021a45ccdadf7
add db person change
2个文件已修改
64 ■■■■■ 已修改文件
protomsg.proto 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
videoperson.proto 57 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
protomsg.proto
@@ -264,3 +264,10 @@
    string url = 1;
    bool enable = 2;
}
message EsPersonCacheChange {
    string table_id = 1;//底库id
    string person_id = 2;//人员id
    bytes feature = 3;//特征值
    DbAction action = 4;
}
videoperson.proto
@@ -0,0 +1,57 @@
syntax = "proto3";
package protomsg;
message Videopersons {
    string id                    =1;
    string cameraId             =2;
    string cameraAddr           =3;
    string picDate              =4;
    string picMaxUrl            =5;
    string taskId               =6;
    string taskName             =7;
    string sdkName              =8;
    string content                =9;
    string likeDate             =10;
    string detectScore          =11;
    string sex                  =12;
    int32  age                  =13;
    string ageDescription       =14;
    string race                 =15;
    string smileLevel           =16;
    string beautyLevel          =17;
    string picSmUrl             =18;
    string videoUrl             =19;
    string analyServerId        =20;
    string analyServerName      =21;
    string analyServerIp        =22;
    string clusterId            =23;
    string isAlarm              =24;
    string isAckAlarm            =25;
    int32 isCollect             =26;
    int32 isDelete              =27;
    AlarmRules alarmRules       =28;
    BaseInfo baseInfo           =29;
}
message AlarmRules {
    string groupId                =1;
    string alarmLevel           =2;
    string ruleText             =3;
    bool defenceState           =4;
}
message BaseInfo {
    string tableId              =1;
    string tableName            =2;
    float compareScore          =3;
    string personId             =4;
    string personName           =5;
    string personPicUrl         =6;
    string phoneNum             =7;
    string sex                  =8;
    string idCard               =9;
    string monitorLevel         =10;
    string content              =11;
    }