人脸服务器如何与门禁系统对接,人脸识别门禁系统终端设备接口说明
1、上傳識別結(jié)果
人臉識別門禁系統(tǒng)設(shè)備識別后把識別結(jié)果上傳到服務(wù)器(單包數(shù)據(jù)數(shù)量小于5條)
(一)?人臉識別門禁系統(tǒng)請求(設(shè)備->服務(wù)器):
1.?人臉識別門禁系統(tǒng)請求命令: 0x19
2.?人臉識別門禁系統(tǒng)請求數(shù)據(jù): 0xDDCC包長0x190x00000x00000x01SN16Byte二進(jìn)制數(shù)據(jù)校驗
3.?人臉識別門禁系統(tǒng)請求數(shù)據(jù)格式:
{
sn:’’
count:2,
logs:{
[sn:’’,?user_id:’’,?recog_time:’’,?recog_type:’iris’],
[sn:’’,?user_id:’’,?recog_time:’’,?recog_type:’iris’]
}
}
人臉識別門禁系統(tǒng)包體數(shù)據(jù)詳細(xì)說明:
序號
屬性
類型
名稱
說明
1
count
int
人臉識別門禁系統(tǒng)識別記錄數(shù)量
2
sn
string
人臉識別門禁系統(tǒng)設(shè)備序列號
3
user_id
string
人臉識別門禁系統(tǒng)用戶ID
用戶唯一ID
4
recog_time
datetime
人臉識別門禁系統(tǒng)識別時間
5
recog_type
string
人臉識別門禁系統(tǒng)識別人臉識別門禁系統(tǒng)類型
默認(rèn):iris
(二)?人臉識別門禁系統(tǒng)上傳結(jié)果返回(服務(wù)器->設(shè)備):
1.?人臉識別門禁系統(tǒng)返回命令:0x19
2.?人臉識別門禁系統(tǒng)返回數(shù)據(jù):0xCCDD包長0x190x00000x00000x01SN16Byte二進(jìn)制數(shù)據(jù)校驗
3.?人臉識別門禁系統(tǒng)返回包體數(shù)據(jù)格式:{"result_code":"", "result_desc":""}
人臉識別門禁系統(tǒng)包體數(shù)據(jù)詳細(xì)說明:
序號
參數(shù)
類型
說明
1
result_code
int
錯誤編碼,請參考
2
result_desc
string
描述
1.1人臉識別門禁系統(tǒng)刪除人員信息
人臉識別門禁系統(tǒng)根據(jù)心跳包返回數(shù)據(jù)到設(shè)備
(一)?返回結(jié)果(服務(wù)器->設(shè)備):
1.?人臉識別門禁系統(tǒng)返回命令:0x14
2.?人臉識別門禁系統(tǒng)返回數(shù)據(jù):0xCCDD包長0x140x00000x00000x01SN16Byte二進(jìn)制數(shù)據(jù)校驗
3.?人臉識別門禁系統(tǒng)返回包體數(shù)據(jù)格式:{"type":"","user_id":"","time":""},type 默認(rèn)為: 0。
包體規(guī)范數(shù)據(jù)詳細(xì)說明:
序號
屬性
類型
名稱
說明
1
type
int
人臉識別門禁系統(tǒng)刪除類型
默認(rèn)值0
2
user_id
string
人臉識別門禁系統(tǒng)用戶工號
3
time
datetime
人臉識別門禁系統(tǒng)時間
默認(rèn)為空
(二)?刪除結(jié)果返回(設(shè)備->服務(wù)器):
1.?返回命令:?0x14
2.?返回數(shù)據(jù):?0xDDCC包長0x140x00000x00000x01SN16Byte加密后的二進(jìn)制數(shù)據(jù)校驗
3.?返回包體數(shù)據(jù)格式:{"result_code":"", "result_desc":""}
包體數(shù)據(jù)詳細(xì)說明:
序號
參數(shù)
類型
說明
1
result_code
int
人臉識別門禁系統(tǒng)錯誤編碼,請參考
2
result_desc
string
人臉識別門禁系統(tǒng)描述
1.2人臉識別門禁系統(tǒng)設(shè)置設(shè)備狀態(tài)
人臉識別門禁系統(tǒng)根據(jù)心跳包返回數(shù)據(jù)到設(shè)備
(一)?人臉識別門禁系統(tǒng)設(shè)置狀態(tài)(服務(wù)器->設(shè)備):
1.?人臉識別門禁系統(tǒng)設(shè)置命令:0x1E
2.?人臉識別門禁系統(tǒng)設(shè)置數(shù)據(jù):0xCCDD包長0x1E0x00000x00000x00SN16Byte二進(jìn)制數(shù)據(jù)校驗
3.?人臉識別門禁系統(tǒng)設(shè)置包體數(shù)據(jù)格式:{"state":""}
包體數(shù)據(jù)詳細(xì)說明:
序號
屬性
說明
1
state
人臉識別門禁系統(tǒng)02-停用狀態(tài),01-可用狀態(tài)
(二)?人臉識別門禁系統(tǒng)結(jié)果返回(設(shè)備->服務(wù)器):
1.?人臉識別門禁系統(tǒng)返回命令:?0x1E
2.?人臉識別門禁系統(tǒng)返回數(shù)據(jù):?0xDDCC包長0x1E0x00000x00000x01SN16Byte加密后的二進(jìn)制數(shù)據(jù)校驗
3.?人臉識別門禁系統(tǒng)返回包體數(shù)據(jù)格式:{"result_code":"", "result_desc":""}
包體數(shù)據(jù)詳細(xì)說明:
序號
參數(shù)
類型
說明
1
result_code
int
人臉識別門禁系統(tǒng)錯誤編碼,請參考
2
result_desc
string
人臉識別門禁系統(tǒng)描述
1.1?其它
1、?人臉識別門禁系統(tǒng)錯誤編碼說明
序號
編碼值
說明
1
0000
人臉識別門禁系統(tǒng)成功
2
9999
人臉識別門禁系統(tǒng)失敗(無效的數(shù)據(jù))
3
9998
人臉識別門禁系統(tǒng)未知錯誤,請和開發(fā)人員聯(lián)系
4
9001
人臉識別門禁系統(tǒng)數(shù)據(jù)格式錯誤[json 解析失敗]
5
9021
人臉識別門禁系統(tǒng)設(shè)置時間失敗
TAG:天波融合通信解決方案, 天波監(jiān)獄智能可視會見系統(tǒng),遠(yuǎn)程探視系統(tǒng)企業(yè),語音系統(tǒng),天波智能電話機天波軟交換,天波智慧對講,天波程控交換機,IPPBX?,電話交換機,智能電話機,語音網(wǎng)關(guān),智慧對講,人臉識別系統(tǒng),人臉識別,人臉識別門禁,人臉識別解決方案,面部識別終端,人臉識別終端,人臉識別考勤機,智能人臉識別,人臉識別考勤機,人臉識別門禁機,人臉識別支付,人臉識別供應(yīng)商,人臉識別閘機,工地人臉識別,室外人臉識別,人臉識別設(shè)備,人臉識別硬件,人臉識別門禁,工地人臉識別,人臉識別門禁一體機,人臉識別系統(tǒng)供應(yīng)商
總結(jié)
以上是生活随笔為你收集整理的人脸服务器如何与门禁系统对接,人脸识别门禁系统终端设备接口说明的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 彭字开头的成语有哪些?
- 下一篇: 网页如何与mysql服务器建立连接不上,