当前位置:网站首页>Livegbs design document of security camera internet live broadcast scheme
Livegbs design document of security camera internet live broadcast scheme
2022-07-23 07:07:00 【51CTO】
LiveGBS Design document
One 、 Introduce
28181 The full name of the agreement is GB/T28181《 Security video monitoring network system information transmission 、 In exchange for 、 Control technical requirements 》, It was proposed by the science and Technology Information Bureau of the Ministry of public security , By the National Security Alarm System Standardization Technical Committee (SAC/TC100) Centralized , A national standard drafted by the first Institute of the Ministry of public security and other units ( hereinafter referred to as 28181).28181 Agreement in safe cities across the country 、 traffic 、 Widely used in road monitoring , If you want to be a unified big monitoring platform , It supports 28181 Protocol access is essential .
LiveGBS Is based on GB28181, In order to meet the requirements of centralized and unified management and viewing of all cameras 、 Hard disk video recorder and other equipment , Realize the traditional security camera Web No plug-in playback at the end .
Two 、 Function is introduced

- Provide user management and Web Visual page management ;
- Provide equipment status management , It can check whether the device is offline in real time ;
- Real time streaming media processing ,PS(TS) turn ES;
- Real time snapshot 、 Video data acquisition ;
- Equipment condition monitoring ;
- Pan tilt control ;
- Video retrieval 、 The playback ;
- Provide RTMP、HTTP-FLV、HLS And other protocol stream output ;
- Provide external server access status 、 Information , Control, etc. HTTP API Interface ;
3、 ... and 、 System architecture
LiveGBS From the security equipment (IPC、NVR…) To a channel that can be broadcast live on the Internet . Meet the needs of customers while providing standard RESTful API Interface , For user integrated development .
The following is LiveGBS The architecture of the figure :

3.1、 Presentation layer
Web front end
be based on HTML/HTML5/Vue/CSS3 Development web Front page , Compatible with mainstream browsers . The presentation layer and data layer are completely separated , Realize front and rear data communication through cross domain .
Web player
A set of self encapsulated Video.js、Flash、flv.js With one , And optimize some performance problems , Added screenshots 、 Adaptive width and height 、 Fast / Smooth mode switching and other functions , At the same time, provide the corresponding call interface .
Restful Interface
Based on specific business , use Restful Standard interface , Provide data services to the outside world .
3.2 Service layer
The service layer is divided into signaling management services according to functional modules LiveCMS And streaming media management services LiveSMS Two core modules .
LiveCMS
LiveCMS be responsible for IPC、NVR、 While accessing and managing devices such as video platforms , Provide the function of interacting with users , Respond to all user requests . Have user rights management , For the authority management of device side operation .
- LiveCMS And equipment through GB28181 The protocol maintains registration and interaction , Including device registration 、 PTZ control, etc ;
- LiveCMS And users through automatic Web Interface or Restful The interface completes the customer request ;
- LiveCMS from Redis The database retrieves the status of all devices and LiveSMS The state of ;
- LiveCMS adopt SIP Signaling notification LiveSMS Start processing stream data ;

LiveSMS
LiveSMS It is the receiving device end PS Video stream data and convert it into ES flow , And then it's packaged into RTMP、HTTP-FLV、HLS Live streaming for distribution . When one LiveSMS When the server performance is insufficient , May adopt LiveSMS Cluster deployment .
Every LiveSMS From the start, it will go to the same Redis Update your configuration in 、 load 、 And the status information of the stream you are currently processing .LiveCMS When a user request is received, it will be sent from Redis Get all LiveSMS Information about , Choose the right one LiveSMS To process the current request .
- LiveSMS Receiving device PS After flow ,Demux become ES flow
- Use ES Stream can save pictures
- ES Streaming is pushed to its own streaming media distributor , Distribute RTMP、HLS、FLV、RTSP flow , At the same time, it can be pushed to user-defined CDN And other streaming services .
LiveSMS The streaming media distribution service included in the is more compatible with various video streams than the ordinary streaming media live broadcast service 、HTTP-FLV Support for 、 Stream information statistics 、 Cache control, etc . At the same time, for the need RTSP Stream user , Scalable RTSP Forwarding service .
Later expansion
LiveGBS It has met the requirements of GB28181 Device access .
LiveGBS Open all functions API Interface , Scalable access to a unified cloud platform to manage and access all onsite LiveGBS.
For more information
Technical communication QQ Group :947137753
边栏推荐
猜你喜欢

中年危机,不敢离职的职场爸爸,该如何面对生活的苟且

YOLOv7——论文简述

CV目标检测模型小抄(1)

GB28181流媒体服务LiveGBS使用和二次开发中常见问题总结

Electromagnetic field and electromagnetic wave experiment 4. Be familiar with the application of CST Studio Software in the electromagnetic field

Li Kou daily question - day 42 -171. Excel table column serial number

AWS使用EC2降低DeepRacer的训练成本DeepRacer-for-cloud的实践操作

弱网优化(SharePreference)原理+实战剖析

OpenCV-一维频域滤波器

科学计算与仿真-高斯牛顿法的非线性最小二乘问题简单介绍与应用
随机推荐
How to calculate the time-consuming code gracefully? (glory Collection Edition)
弱网优化(SharePreference)原理+实战剖析
Scientific computing and Simulation - a brief introduction and application of the nonlinear least square problem of Gauss Newton method
Iterators and generators in JS (detailed explanation)
小米金融今日(5月11日)正式上线 白送10000元体验金 附官方地址
cpu温度多少正常 cpu长期100度会烧吗
小米活期宝和余额宝哪个好?小米活期宝与阿里余额宝区别详细对比介绍
删除文件时需要system权限怎么办 你需要来自system的权限才能删除的解决办法
电脑提示内存不足怎么办 电脑C盘不够用的解决办法
引擎提示Alias HeroDB跟游戏引擎启动异常怎么解决?
织梦dedecms忘记管理后台密码找回方法
MySQL - sub query - sub query concept, specification, classification
常用正则表达式最强整理速查手册(荣耀典藏版)
锅炉汽包温度控制系统设计(过程控制课程设计matlab/simulink)
CloudWeGo 在飞书管理后台平台化设计实践
电商项目如何解决线上优惠券超发(排错+解决方案)(荣耀典藏)
How about opening an account for Huatai Securities? Is it safe
电脑桌面卡住了怎么办?电脑死机桌面卡死现象的解决办法介绍
【MATLAB项目实战】基于SPI指数的某地区地区干旱时空特征分析
BGP基本配置和路由聚合