当前位置:网站首页>视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备
视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备
2022-07-05 18:34:00 【TSINGSEE青犀视频】
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具备很强的视频监控直播、录像、云存储、检索与回看、级联等能力,在很多实际场景中均有落地项目应用,如智慧工地、智慧校园、智慧社区、智慧楼宇等。平台可拓展性强、开放度高、部署轻快,支持与第三方集成,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- About Estimation with Cross-Validation
- buuctf-pwn write-ups (9)
- ROS installation error sudo: rosdep: command not found
- Interprocess communication (IPC): shared memory
- Powerful tool for collection processing
- Let more young people from Hong Kong and Macao know about Nansha's characteristic cultural and creative products! "Nansha kylin" officially appeared
- Is it safe for golden sun to open an account? Can I open an account free of 5 in case?
- 输油管的布置数学建模matlab,输油管布置的数学模型
- 开户注册股票炒股安全吗?有没有风险的?靠谱吗?
- Icml2022 | partial and asymmetric comparative learning of out of distribution detection in long tail recognition
猜你喜欢

蚂蚁集团开源可信隐私计算框架「隐语」:开放、通用

U-Net: Convolutional Networks for Biomedical Images Segmentation

案例分享|金融业数据运营运维一体化建设

@Extension、@SPI注解原理

Oracle日期格式转换 to_date,to_char,to_timetamp 相互转换

vs2017 qt的各种坑

解决 contents have differences only in line separators

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!

Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)

MYSQL中 find_in_set() 函数用法详解
随机推荐
Let more young people from Hong Kong and Macao know about Nansha's characteristic cultural and creative products! "Nansha kylin" officially appeared
[QNX Hypervisor 2.2用户手册]6.3.2 配置VM
sample_ What is the relationship between rate, sample and duration
【pm2详解】
Deep copy and shallow copy [interview question 3]
How to obtain the coordinates of the aircraft passing through both ends of the radar
让更多港澳青年了解南沙特色文创产品!“南沙麒麟”正式亮相
Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)
什么是文本挖掘 ?「建议收藏」
LeetCode 6111. 螺旋矩阵 IV
Exemple Quelle est la relation entre le taux d'échantillonnage, l'échantillon et la durée?
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!
SAP 特征 特性 说明
Use JMeter to record scripts and debug
How to choose the most formal and safe external futures platform?
What is text mining? "Suggested collection"
Is it safe to open an account and register stocks for stock speculation? Is there any risk? Is it reliable?
彻底理解为什么网络 I/O 会被阻塞?
Login and connect CDB and PDB
《ClickHouse原理解析与应用实践》读书笔记(5)