当前位置:网站首页>视频融合云平台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具备很强的视频监控直播、录像、云存储、检索与回看、级联等能力,在很多实际场景中均有落地项目应用,如智慧工地、智慧校园、智慧社区、智慧楼宇等。平台可拓展性强、开放度高、部署轻快,支持与第三方集成,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- Use QT to traverse JSON documents and search sub objects
- @Extension, @spi annotation principle
- The easycvr platform reports an error "ID cannot be empty" through the interface editing channel. What is the reason?
- What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?
- Simple query cost estimation
- Login and connect CDB and PDB
- Multithreading (I) processes and threads
- Copy the linked list with random pointer in the "Li Kou brush question plan"
- 中文版Postman?功能真心强大!
- Nacos distributed transactions Seata * * install JDK on Linux, mysql5.7 start Nacos configure ideal call interface coordination (nanny level detail tutorial)
猜你喜欢
Idea configuring NPM startup
鱼和熊掌可以兼得!天翼云弹性裸金属一招鲜!
Solutions contents have differences only in line separators
Introduction to the development function of Hanlin Youshang system of Hansheng Youpin app
MYSQL中 find_in_set() 函数用法详解
LeetCode 6109. Number of people who know the secret
ViewPager + RecyclerView的内存泄漏
@Extension, @spi annotation principle
FCN: Fully Convolutional Networks for Semantic Segmentation
Oracle日期格式转换 to_date,to_char,to_timetamp 相互转换
随机推荐
Powerful tool for collection processing
Lombok @builder annotation
c期末复习
Share: ZTE Yuanhang 30 Pro root unlock BL magick ZTE 7532n 8040n 9041n brush mask original brush package root method Download
ROS安装报错 sudo: rosdep:找不到命令
max31865模块RTD测温注意事项
企业数字化转型之路,从这里开始
常见时间复杂度
Summary of six points of MySQL optimization
Thoroughly understand why network i/o is blocked?
@Extension, @spi annotation principle
7-1 linked list is also simple fina
7-1 链表也简单fina
Overview of video self supervised learning
lombok @Builder注解
About Estimation with Cross-Validation
Rse2020/ cloud detection: accurate cloud detection of high-resolution remote sensing images based on weak supervision and deep learning
Logical words in Articles
Exemple Quelle est la relation entre le taux d'échantillonnage, l'échantillon et la durée?
What is the reason why the video cannot be played normally after the easycvr access device turns on the audio?