¶
VP5716N系統設計文件
Version 1.000
VP5716N系統設計文件
VP5716N系統設計文件
Version 1.000
Version 1.000
Text is not SVG - cannot display
8051
8051
HWDC
HWDC
MCP
MCP
GUI
GUI
8051 sub system
8051 sub system
Text
Text
¶
圖示說明
圖示說明
Data Collection
Daemon
(HWDC)
Data Collection Daemon (HWDC)
DVR Core Manager
Daemon (MCP)
DVR Core Manager Daemon (MCP)
DVR GUI
DVR GUI
EventMaker
EventMaker
Event Management Daemon
(EventMaker)
Event Management Daemon...
ComCapture
ComCapture
MQTT Client
MQTT Client
System Log Daemon
System Log Dae...
VDMS
VDMS
External Device Data
Collection and
Analysis
Support
(ComCapture)
External Device Data Collection and...
Text
Text
MQTT Client Sub system
MQTT Client Sub system
System Log system
System Log system
Cloud
Cloud
摘要說明
摘要說明
Page 2
Page 2
Text is not SVG - cannot display
ACC ON
ACC ON
8051
8051
Boot Loader
Boot Loader
Linux Kernal
Linux Kernal
ACC Off
ACC Off
8051
8051
HWDC
HWDC
MCP
MCP
GUI
GUI
LiveView
LiveView
Write Data(VPFS)
Write Data(VPFS)
Stop Recording
Umount HDD
Close All Daemon
Stop Recording...
8051
8051
PowerOFF
PowerOFF
簡易開關機流程摘要說明:
由ACC ON , 8051 啟動系統,
系統啟動後, 子系統依序執行.
Gps_test , 接收 IR, GPIO. GPS. GSENSOR ... data
MCP 子系統 cpature 鏡頭影像. 顯示影像輸出
GUI 子系統 顯示UI, 及MOUNT HDD,
MOUNT HDD 準備好後, 開始錄影
ACC OFF, ==>8051 ==>Gps_test,
停止錄影. 關機
簡易開關機流程摘要說明:...
Mount HDD
Mount HDD
Start Record
Start Record
sw_watchdog
sw_watchdog
Check All Daemon if is alive
Check All Daemon if i...
VP5716
開關機流程
VP5716開關機流程
Page 3
Page 3
Text is not SVG - cannot display
QT
QT
MOUSE
MOUSE
GUI
GUI
HWDC
HWDC
MCP
MCP
D_BUS
D_BUS
VDMS
VDMS
GUI子系統摘要說明:
本模組 負責處理使用者介面
使用 QT5.12 系統包括,
MDVR 系統設定
支援 Mouse / IR
支援AHD 720P 輸出
影音回放
影音搜尋與備份
畫面分割顯示
系統資訊顯示
GUI子系統摘要說明:...
Network
Network
System & GUI
System & GUI
Page 4
Page 4
USB
USB
Linux Kernal
Linux Kernal
MQTT
MQTT
System Log Daemon
System Log Dae...
8051
8051
EventMaker
EventMaker
ComCapture
ComCapture
Record
Record
Playback
Playback
Write Data(VPFS)
Write Data(VPFS)
Search
Search
Camera
Setup
Camera...
ACC Off
ACC Off
Carmera
Carmera
System configure UI
System configure UI
playbak control UI
playbak control UI
Camera setup UI
Sharpness, Brigtness
Contrast, Saturation
Horizontal Mirror
Virtcal Mirror
Camera setup UI...
Screensplit control
Full ch, 4CH, 9CH, 12CH, 16CH
Screensplit control...
Search Control
Search Control
PowerOFF
PowerOFF
Text is not SVG - cannot display
D_BUS
D_BUS
LIBNTKD
Support Enode Record Playback .... Control interfacr
LIBNTKD...
NTK SDK(HDAL)
HW A/V Encode、Decode。Control
NTK SDK(HDAL)...
¶
MCP Sub System
MCP Sub System
MCP
Support DVR Function Interface
Support Dual Stream
MCP...
VPFS
Hard Disk、SD Card Manage
VPFS...
MCP Status Query
MCP Status Query
Sensor Data subscription
MCP Function Control
Event Notify / subscription
Sensor Data subscription...
Video Sub Stream
Audio Stream
Video Sub Stream...
VDMS
Client
VDMS...
MCP 子系統摘要說明:
本模組 透過 LIBNTKD 介面,
控制 DVR SOC 完成 錄影,
回撥,即時影像等 功能
及攝影機輸入參數的設定,
並提供 影像串流
給VDMS Clinet 模組。
MCP 子系統摘要說明:...
Page 5
Page 5
Text is not SVG - cannot display
D-BUS
D-BUS
¶
Data Collection Daemon (HWDC)
Data Collection Daemon (HWDC)
GUI
GUI
DVR Core Manager
Daemon (MCP)
DVR Core Manager...
Data Collection Daemon
子系統摘要說明:
本模組 接收GPS, GSENSOR, GPIO, IR,
系統電壓, 硬碟溫度, ACC 狀態.
透過 D_BUS 傳給
GUI, MCP , CAS 作為 資料儲存, 事件觸發,
及上傳雲端
Data Collection Daemon...
Page 6
Page 6
Data Collection
Daemon
(HWDC)
Data Collection...
System Voltage
System Voltage
GPIO
GPIO
HDD Temp.
HDD Temp.
IR
IR
GPS
GPS
GSENSOR
GSENSOR
Text is not SVG - cannot display
¶
Event Management Daemon(EventMaker)
Event Management Daemon(EventMaker)
Page 7
Page 7
D-BUS
D-BUS
GUI
GUI
DVR Core Manager
Daemon (MCP)
DVR Core Manager...
Event Management Daemon
子系統摘要說明:
本模組 接收 雲端透過Cgi, 及其他子系統
透過D_BUS, 傳來的事件觸發.
安排及管理 由MCP 子系統將VPFS自有檔案
格式將video data(主瑪流), 或是live 子碼流
存檔為AVI, 並處理 AVI 上傳至 雲端, FTP,
USB.
Event Management Daemon...
EventMaker
EventMaker
VDMS
VDMS
CGI
CGI
USB
USB
FTP
FTP
CLOUD
CLOUD
Text is not SVG - cannot display
Page 8
Page 8
D-BUS
D-BUS
GUI
GUI
DVR Core Manager
Daemon (MCP)
DVR Core Manager...
Event collection and data Analysis
子系統摘要說明:
本模組主要透過RS232介面,
連接外接裝置接收data.
解析資料, 儲存資料, 上傳資料,
發送事件, 透過D-BUs傳給相關子系統
Event collection and data Analysis...
EventMaker
EventMaker
VDMS
VDMS
External Device Data Collection And Analysis Support(ComCapture)
External Device Data Collection And Analysis Support(ComCaptur...
External Device Data
Collection and Analysis
Support
(ComCapture)
External Device Data...
UA
UA
UART
UART
ADAS
ADAS
BSM
BSM
DMS
DMS
Temp. Probe
Temp. Probe
CAN
CAN
MQTT Client
MQTT Client
Text is not SVG - cannot display
Page 9
Page 9
D-BUS
D-BUS
MQTT Client
子系統摘要說明:
本模組主要透過D_BUS 接收各子系統傳來data
將資料上傳至 Cloud(VDMS) MQTT Broker
MQTT Client...
MQTT Client sub system (cas)
MQTT Client sub system (cas)
StartUP
StartUP
MQTT Client
(cas)
MQTT Client...
VCC/ACC
VCC/ACC
GPI
GPI
CAN
CAN
ADAS
ADAS
BSD
BSD
DMS
DMS
Video Loss
Video Loss
Temp.Probe
Temp.Probe
DB Error
DB Error
GPS Error
GPS Error
HDD Error
HDD Error
Cloud MQTT Broker
Cloud MQTT...
Text is not SVG - cannot display
8051 子系統摘要說明:
控制硬體
LED, Buzzer,
System Power, ACC ON/OFF
EOROM Read/Write
8051 子系統摘要說明:...
8051 sub system
8051 sub system
LED
LED
Buzzer
Buzzer
EROM
EROM
System Power
System Power
MAC P-Code, C-Code
Product Config Data Storage
MAC P-Code, C-Code...
Control / Manage
System Voltage 、ACC
Control / Manage...
Query
Control
Interface
Query...
8051
8051
UART
UART
HWDC
HWDC
Page 10
Page 10
Text is not SVG - cannot display
System Log Daemon
System Log Daemon
Page 11
Page 11
LOG 規範
L
og
目錄
無硬碟 /
var/log :
此時
log
記錄在記憶體中,使用
busybox
的
syslogd
規範一定大小的使用空間。
有硬碟
/mnt/sd/log
:使用 r
syslogd
,依據
system log
用規範。
當應用程式
log
量太大時,不建議用
syslog
可自行開發
log
模組,將
log
放在
/var/log/%ProgramName
下自行管理,l
og
格式以
syslog
格式為參考。
Syslog rotate
使用
logrotate
處理
LOG 規範...
Text is not SVG - cannot display