当前位置:网站首页>Video fusion cloud platform easycvr adds multi-level grouping, which can flexibly manage access devices
Video fusion cloud platform easycvr adds multi-level grouping, which can flexibly manage access devices
2022-07-05 18:45:00 【Tsingsee green rhino video】
EasyCVR Support multiple types 、 Multi protocol access , It can uniformly manage the front-end access equipment , It can also support the use of device trees to group devices 、 Hierarchical management 、 Equipment condition monitoring 、 Cloud operation and maintenance, etc , Realize centralized control and permission allocation of massive access resources .
Some users put forward requirements in the project , hope EasyCVR One level grouping and unrestricted subset grouping can be established , And each level of grouping can add attached device channels . Through the evaluation of this demand , We will add multi-level grouping function to the platform , To meet the personalized needs of users .
Functional design logic : Collect the packet information transmitted by the front end , Then create the corresponding group , When adding subset grouping , Add group parent id, Finally, when querying the grouping list at the front end , Send it back to the front end together . The reference codes are as follows :
roleIdstr := params["roleid"]
roleLabellist := make([]*cvrdo.RoleLabel, 0)
if roleIdstr != "" {
roleId, err := strconv.Atoi(roleIdstr)
if err == nil {
var roleLabel = dbclient.Model(cvrdo.RoleLabel{})
roleLabel = roleLabel.Where(fmt.Sprintf(`%s.role_id = ?`, cvrdo.RoleLabel{}.TableName()), roleId)
roleLabel.Find(&roleLabellist)
} else {
return
}
}
After successful addition , On the front page, the grouping structure is shown as follows :
The multi-level grouping function is conducive to users' flexible management of access devices , Perform relevant permission allocation and other operations on the device , Achieve refined management .
EasyCVR It has strong live video surveillance 、 videotape 、 Cloud storage 、 Retrieval and review 、 Cascade and other capabilities , In many practical scenarios, there are landing project applications , Such as smart construction site 、 Smart campus 、 Smart community 、 Intelligent buildings, etc . The platform has strong expansibility 、 High openness 、 Deployment is light , Support integration with third parties , Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
猜你喜欢
About statistical power
爬虫01-爬虫基本原理讲解
LeetCode 6111. Spiral matrix IV
RedHat7.4配置yum软件仓库(RHEL7.4)
2022年阿里Android高级面试题分享,2022阿里手淘Android面试题目
Vulnhub's darkhole_ two
How to automatically install pythn third-party libraries
The 2022 China Xinchuang Ecological Market Research and model selection evaluation report released that Huayun data was selected as the mainstream manufacturer of Xinchuang IT infrastructure!
Pytorch yolov5 training custom data
Powerful tool for collection processing
随机推荐
Various pits of vs2017 QT
进程间通信(IPC):共享内存
AI金榜题名时,MLPerf榜单的份量究竟有多重?
@Extension, @spi annotation principle
紧固件行业供应商绩效考核繁琐?选对工具才能轻松逆袭!
【Autosar 十四 启动流程详解】
About statistical power
How to write good code defensive programming
XML基础知识概念
Vulnhub's darkhole_ two
ICML2022 | 长尾识别中分布外检测的部分和非对称对比学习
About Estimation with Cross-Validation
在通达信上做基金定投安全吗?
2022 latest intermediate and advanced Android interview questions, [principle + practice + Video + source code]
瞅一瞅JUC提供的限流工具Semaphore
快速生成ipa包
Insufficient picture data? I made a free image enhancement software
输油管的布置数学建模matlab,输油管布置的数学模型
[HCIA cloud] [1] definition of cloud computing, what is cloud computing, architecture and technical description of cloud computing, Huawei cloud computing products, and description of Huawei memory DD
企业数字化转型之路,从这里开始