CN109672903A - 一种多路加密视频流共享多个解密设备管理方法 - Google Patents
一种多路加密视频流共享多个解密设备管理方法 Download PDFInfo
- Publication number
- CN109672903A CN109672903A CN201811303647.6A CN201811303647A CN109672903A CN 109672903 A CN109672903 A CN 109672903A CN 201811303647 A CN201811303647 A CN 201811303647A CN 109672903 A CN109672903 A CN 109672903A
- Authority
- CN
- China
- Prior art keywords
- video
- decryption
- module
- data
- decryption device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 32
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4405—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2347—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/26606—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明公开了一种多路加密视频流共享多个解密设备管理方法,包括以下步骤:S1:通过视频流管理模块处理加密视频流数据;S2:将原始视频数据通过加密格式拆分模块分解得到裸加密视频数据;S3:通过视频编码拆包模块得到可进行解密的视频数据包;S4:通过视频解密模块按照视频数据的加密算法对应的解密算法,将视频数据进行解密;S5:通过脱密视频回调模块将数据返回到应用层。本发明可以自动根据每个解密设备的最大解密数完成对解密视频路数的最大应用,并且可以不同厂家的加密视频的进行解密解码,提高了单台电脑的最大解密解码视频数,使视频解码播放更加流畅。
Description
一种多路加密视频流共享多个解密设备管理方法,其特征在于:包括以下步骤:
S1:通过视频流管理模块处理加密视频流数据;
S2:将原始视频数据通过加密格式拆分模块分解得到裸加密视频数据;
S3:通过视频编码拆包模块得到可进行解密的视频数据包;
S4:通过视频解密模块按照视频数据的加密算法对应的解密算法,将视频数据进行解密;
S5:通过脱密视频回调模块将数据返回到应用层。
根据权利要求1所述的一种多路加密视频流共享多个解密设备管理方法,其特征在于:所述步骤S5包括以下子步骤:
S501:调用解密设备管理模块,根据解密性能选择可用的解密设备;
S502:通过密管通信模块和密管服务器建立连接,获取解密流程中所需的各类密钥。
一种多路加密视频流共享多个解密设备管理方法。
技术领域
本发明涉及C、C++工程技术领域,特别是涉及一种多路加密视频流共享多个解密设备管理方法。
背景技术
在一个加密视频系统中,可能会在一台主机上查看多路不同厂家的加密视频。当查看加密视频数增大到一定程度后,加密硬件设备会因为加密性能影响视频的解密导致视频播放不流畅,存在解密瓶颈,解密设备性能决定视频解密最大数。
发明内容
本发明的目的在于克服现有技术的不足,提供一种多路加密视频流共享多个解密设备管理方法,可以自动根据每个解密设备的最大解密数完成对解密视频路数的最大应用,并且可以不同厂家的加密视频的进行解密解码,提高了单台电脑的最大解密解码视频数,使视频解码播放更加流畅。
本发明的目的是通过以下技术方案来实现的:一种多路加密视频流共享多个解密设备管理方法,包括以下步骤:
S1:通过视频流管理模块处理加密视频流数据;
S2:将原始视频数据通过加密格式拆分模块分解得到裸加密视频数据;
S3:通过视频编码拆包模块得到可进行解密的视频数据包;
S4:通过视频解密模块按照视频数据的加密算法对应的解密算法,将视频数据进行解密;
S5:通过脱密视频回调模块将数据返回到应用层。
所述步骤S5包括以下子步骤:
S501:调用解密设备管理模块,根据解密性能选择可用的解密设备;
S502:通过密管通信模块和密管服务器建立连接,获取解密流程中所需的各类密钥。
本发明的有益效果是:
1)本发明可以自动根据每个解密设备的最大解密数完成对解密视频路数的最大应用,并且可以不同厂家的加密视频的进行解密解码,提高了单台电脑的最大解密解码视频数,使视频解码播放更加流畅。
2)通过视频流管理模块实现多路视频流数据的并发管理。
3)每一路加密视频流对应一个解密设备单独解密句柄,便于管理。
4)不同厂家的加密设备对应用层软件透明化,各个模块做到统一接口化管理,增加加密视频解密性能,提高了利用率。
附图说明
图1为本发明整体工体流程图;
图2为本发明视频流管理模块、加密格式拆分模块的工作流程图;
图3为本发明视频编码拆包模块、视频解密模块的工作流程图;
图4为解密设备管理模块、密管通信模块、脱密视频回调模块的工作流程图。
具体实施方式
下面将结合实施例,对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有付出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
参阅图1-4,本发明提供一种技术方案:一种多路加密视频流共享多个解密设备管理方法,如图1所示,包括以下步骤:
S1:通过视频流管理模块处理加密视频流数据;
S2:将原始视频数据通过加密格式拆分模块分解得到裸加密视频数据;
所述视频流管理模块、加密格式拆分模块具体工作流程如图2所示,视频流管理模块同时接入多路加密视频流,给每一个视频流建立一个实体流处理对象,产生一个唯一流句柄用于此后一系列流应用。初始化好实体流对象后,视频流数据进入加密格式拆分模块。按照视频流原始加密格式,将原始裸加密数据对应拆分出加密的视频流数据。
S3:通过视频编码拆包模块得到可进行解密的视频数据包;
S4:通过视频解密模块按照视频数据的加密算法对应的解密算法,将视频数据进行解密;
所述视频编码拆包模块、视频解密模块具体工作流程如图3所示,裸加密视频流数据接入视频编码拆包模块,根据每个视频流数据对应不同厂家的视频流封包格式将视频数据还原成有顺序的视频包数据,这些视频包数据就可以等待进行解密。
S5:通过脱密视频回调模块将数据返回到应用层。
所述步骤S5包括以下子步骤:
S501:调用解密设备管理模块,根据解密性能选择可用的解密设备;
S502:通过密管通信模块和密管服务器建立连接,获取解密流程中所需的各类密钥。
所述解密设备管理模块、密管通信模块、脱密视频回调模块具体工作流程如图4所示,视频包数据接入解密设备管理模块,解密模块会对每一个视频包建立一个解密实体对象,保证每一路视频的解密数据独立。解密管理模块会根据目前可用的解密通道、解密设备按照最优策略选择一个解密通道实体对应其一路视频包,保证解密设备使用效率、性能最大化。当解密设备出现故障时,解密管理模块会将失效的解密通道实体销毁,新建可用的解密通道实体,保证视频流数据稳定运行。在解密同时,密管通信模块将和密管服务器建立连接,用于获取解密流程中所需的各类密钥。至此经过解密模块就得到脱密的视频流数据,最后经过脱密视频回调模块将视频流数据通过回调的方式返回到调用此组件的应用层或应用程序。
本发明通过多路加密视频流共享多个解密设备管理技术,可以同时解密多路视频流数据,根据解密设备共享解密性提高解密性能,并支持板卡、usb加密模块进行解密,可以支持不同厂家加密视频根据约定加密格式拆分数据。
以上所述仅是本发明的优选实施方式,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。
Claims (2)
1.一种多路加密视频流共享多个解密设备管理方法,其特征在于:包括以下步骤:
S1:通过视频流管理模块处理加密视频流数据;
S2:将原始视频数据通过加密格式拆分模块分解得到裸加密视频数据;
S3:通过视频编码拆包模块得到可进行解密的视频数据包;
S4:通过视频解密模块按照视频数据的加密算法对应的解密算法,将视频数据进行解密;
S5:通过脱密视频回调模块将数据返回到应用层。
2.根据权利要求1所述的一种多路加密视频流共享多个解密设备管理方法,其特征在于:所述步骤S5包括以下子步骤:
S501:调用解密设备管理模块,根据解密性能选择可用的解密设备;
S502:通过密管通信模块和密管服务器建立连接,获取解密流程中所需的各类密钥。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811303647.6A CN109672903A (zh) | 2018-11-02 | 2018-11-02 | 一种多路加密视频流共享多个解密设备管理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811303647.6A CN109672903A (zh) | 2018-11-02 | 2018-11-02 | 一种多路加密视频流共享多个解密设备管理方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109672903A true CN109672903A (zh) | 2019-04-23 |
Family
ID=66141725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811303647.6A Pending CN109672903A (zh) | 2018-11-02 | 2018-11-02 | 一种多路加密视频流共享多个解密设备管理方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672903A (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070250536A1 (en) * | 2004-08-26 | 2007-10-25 | Akihiro Tanaka | Content Start Control Device |
CN102035829A (zh) * | 2006-05-16 | 2011-04-27 | Kddi株式会社 | 加密装置、解密装置、许可证发布装置和内容数据生成方法 |
CN105530520A (zh) * | 2015-07-30 | 2016-04-27 | 艾米江苏数字电影文化发展有限公司 | 一种局域网视频点播系统 |
CN106878736A (zh) * | 2017-03-17 | 2017-06-20 | 郑州云海信息技术有限公司 | 一种视频编解码的方法与装置 |
-
2018
- 2018-11-02 CN CN201811303647.6A patent/CN109672903A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070250536A1 (en) * | 2004-08-26 | 2007-10-25 | Akihiro Tanaka | Content Start Control Device |
CN102035829A (zh) * | 2006-05-16 | 2011-04-27 | Kddi株式会社 | 加密装置、解密装置、许可证发布装置和内容数据生成方法 |
CN105530520A (zh) * | 2015-07-30 | 2016-04-27 | 艾米江苏数字电影文化发展有限公司 | 一种局域网视频点播系统 |
CN106878736A (zh) * | 2017-03-17 | 2017-06-20 | 郑州云海信息技术有限公司 | 一种视频编解码的方法与装置 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9401893B2 (en) | System and method for providing data security in a hosted service system | |
US8700897B2 (en) | Method and terminal equipment for applying digital rights management | |
WO2018223777A1 (zh) | 数据交换系统、方法和装置 | |
CA2623089A1 (en) | Method and apparatus for providing a digital rights management engine | |
WO2020073712A1 (zh) | 一种移动终端中共享安全应用的方法及移动终端 | |
CN108881801B (zh) | 视频会议的码流传输方法、系统、电子设备、存储介质 | |
WO2016045533A1 (zh) | 基于可信执行环境的安全性信息交互设备 | |
CN107995160A (zh) | 一种基于云端管控的json数据包加密解密方法 | |
CN109474616A (zh) | 多平台数据共享方法和装置及计算机可读存储介质 | |
CN108768920A (zh) | 一种录播数据处理方法及装置 | |
KR101839048B1 (ko) | 사물 인터넷 환경의 종단간 보안 플랫폼 | |
CN107222473B (zh) | 在传输层对api服务数据进行加解密的方法及系统 | |
CN102970134B (zh) | 将硬件密码设备的算法用于pkcs#7数据封装的方法及系统 | |
CN109672903A (zh) | 一种多路加密视频流共享多个解密设备管理方法 | |
KR101812311B1 (ko) | 사용자 단말 및 속성 재암호 기반의 사용자 단말 데이터 공유 방법 | |
CN111131270B (zh) | 数据加密和解密方法、装置、电子设备及存储介质 | |
CN202353600U (zh) | 一种自适应传输协议栈及处理系统 | |
CN102752301A (zh) | 应用于虚拟化环境的数据传输系统及方法 | |
WO2017114156A1 (zh) | 一种数据加密传输方法、基站及pdt终端 | |
Liu et al. | A VoLTE Encryption Experiment for Android Smartphones | |
CN106657042A (zh) | 一种用于获取iOS系统智能移动设备音视频的方法和系统 | |
CN112187796A (zh) | 一种加密通信方法及电子设备 | |
CN117170907A (zh) | 用于混合开发的安卓和Web双向交互实现方法及系统 | |
US20190205551A1 (en) | Distributed computing system | |
CN118042462A (zh) | 蓝牙加密通信方法、系统、电子设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20211221 |
|
AD01 | Patent right deemed abandoned |