当前位置:网站首页>视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备
视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备
2022-07-06 09:38:00 【EasyCVR】
EasyCVR支持多类型、多协议方式接入,可对前端接入设备进行统一管理,并能支持采用设备树对设备进行分组、分级管理、设备状态监测、云端运维等,实现对海量接入资源的集中控制与权限分配。

有用户在项目中提出需求,希望EasyCVR可以建立一级分组和不限制的子集分组,并且每级分组可以添加挂载的设备通道。通过对该需求的评估,我们将在平台中增加多级分组功能,以满足用户的个性化需求。

功能设计逻辑:采集前端传递的分组信息,然后创建对应的分组,在添加子集分组时,添加分组父级id,最后在前端查询分组列表时,一起传回给前端。参考代码如下:

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
}
}
添加成功后,在前端页面分组结构展示如下:

多级分组功能有利于用户灵活管理接入设备,对设备进行相关的权限分配等操作,实现精细化管理。

EasyCVR具备很强的视频监控直播、录像、云存储、检索与回看、级联等能力,在很多实际场景中均有落地项目应用,如智慧工地、智慧校园、智慧社区、智慧楼宇等。平台可拓展性强、开放度高、部署轻快,支持与第三方集成,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- Xin'an Second Edition: Chapter 26 big data security demand analysis and security protection engineering learning notes
- PostgreSQL 14.2, 13.6, 12.10, 11.15 and 10.20 releases
- 【逆向】脱壳后修复IAT并关闭ASLR
- C # nanoframework lighting and key esp32
- 远程代码执行渗透测试——B模块测试
- Uipath browser performs actions in the new tab
- Development and practice of lightweight planning service tools
- 分布式(一致性协议)之领导人选举( DotNext.Net.Cluster 实现Raft 选举 )
- Chrome prompts the solution of "your company management" (the startup page is bound to the company's official website and cannot be modified)
- Connect to LAN MySQL
猜你喜欢

Pyspark operator processing spatial data full parsing (4): let's talk about spatial operations first

07 personal R & D products and promotion - human resources information management system

Flink parsing (III): memory management

Models used in data warehouse modeling and layered introduction

信息与网络安全期末复习(完整版)

集成开发管理平台

网络分层概念及基本知识

Junit单元测试

Wu Jun's trilogy experience (VII) the essence of Commerce

05 personal R & D products and promotion - data synchronization tool
随机推荐
Error: Publish of Process project to Orchestrator failed. The operation has timed out.
C#WinForm中的dataGridView滚动条定位
MySQL advanced (index, view, stored procedure, function, password modification)
MySQL Advanced (index, view, stored procedures, functions, Change password)
mysql高級(索引,視圖,存儲過程,函數,修改密碼)
Run xv6 system
Xin'an Second Edition: Chapter 24 industrial control safety demand analysis and safety protection engineering learning notes
应用服务配置器(定时,数据库备份,文件备份,异地备份)
[rapid environment construction] openharmony 10 minute tutorial (cub pie)
MySQL报错解决
07个人研发的产品及推广-人力资源信息管理系统
The art of Engineering (1): try to package things that do not need to be exposed
06个人研发的产品及推广-代码统计工具
Based on infragistics Document. Excel export table class
C # nanoframework lighting and key esp32
【MMdetection】一文解决安装问题
【MySQL入门】第一话 · 初入“数据库”大陆
学 SQL 必须了解的 10 个高级概念
Kali2021 installation and basic configuration
自动化运维利器-Ansible-Playbook