From 70684c4158c04083b49e905cf32021a45ccdadf7 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 25 七月 2019 20:14:39 +0800 Subject: [PATCH] add db person change --- videoperson.proto | 57 ++++++++++++++++++++++++++++ protomsg.proto | 7 +++ 2 files changed, 64 insertions(+), 0 deletions(-) diff --git a/protomsg.proto b/protomsg.proto index 56e39e8..71d93be 100644 --- a/protomsg.proto +++ b/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; +} diff --git a/videoperson.proto b/videoperson.proto index e69de29..91ec2d1 100644 --- a/videoperson.proto +++ b/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; + } + -- Gitblit v1.8.0