The invention relates to the field of data transmission technology. The invention solves the security problem of data transmission in the prior art and the problem of complex encryption calculation in the process of terminal confirmation, which is not conducive to the realization of small systems. The method of authorized playback of streaming media data and terminal confirmation of the present invention mainly includes interactive key between the player and the terminal, terminal legitimacy authentication through encryption operation and comparison of keys, shared key generated after authentication, and terminal identity information encryption and decryption with the shared key. The playback sends streaming media data and open services to terminals with legitimate identity. The invention has the advantages that the system has high security, the encryption method is theoretically difficult to crack, the calculation is simpler and the implementation is simpler. The invention further reduces the scale of the system, is very suitable for chip-level encryption and decryption, is conducive to reducing costs, in particular, the terminal system has been greatly simplified, and is conducive to reducing user costs.
【技术实现步骤摘要】
流媒体数据授权播放及终端确认方法
本专利技术涉及数据传输技术,特别涉及数据的授权传输及接收端(或称为终端)合法性判断技术,具体而言,涉及流媒体数据授权播放及终端确认方法。
技术介绍
随着通信技术的日益发展,特别是光纤通信技术的发展,数字电视得到迅速推广,使用数字电视的用户也逐渐增多。其中,机顶盒(数字视频变换盒)是使用数字电视所需的设备之一。然而,机顶盒的接入身份盗用现象屡见不鲜,为维护消费者及服务提供方的权益,现有技术提供了一些确认机顶盒是否合法的方案。现在主要使用的确认机顶盒合法性的方案为摘要确认方案。摘要确认(Digestauthentication)用来提供比基础确认更高级别的安全。在RFC2617中有关于它的描述,摘要确认是一种基于挑战-应答模式的确认模型。摘要确认与基础确认的工作原理很相似,用户先发出一个没有确认证书的请求,Web服务器回复一个带有WWW-Authenticate头的响应,指明访问所请求的资源需要证书。但是和基础确认发送以Base64编码的用户名和密码不同,在摘要确认中服务器让客户选一个随机数(称作“nonce”),然后浏览器使用一个单向的加密函数生成一个消息摘要(messagedigest),该摘要是关于用户名、密码、给定的nonce值、HTTP方法,以及所请求的URL。消息摘要函数也被称为散列算法,是一种在一个方向上很容易计算,反方向却不可行的加密算法。与基础确认对比,解码基础确认中的Base64是很容易办到的。在服务器口令中,可以指定任意的散列算法。在RFC2617中,描述了以MD5散列函数作为默认算法。在实现上述确认过程 ...
【技术保护点】
1.流媒体数据授权播放及终端确认方法,其特征在于,包括以下步骤:S1、播放端将其公钥传送给终端,终端将其公钥传送给播放端;S2、播放端计算VA:
【技术特征摘要】
1.流媒体数据授权播放及终端确认方法,其特征在于,包括以下步骤:S1、播放端将其公钥传送给终端,终端将其公钥传送给播放端;S2、播放端计算VA:终端计算VB:S3、终端将VB传送给播放端,播放端收到VB后,以VA、VB作为判断依据,若VA=VB则终端合法,继续后续步骤;否则认为终端非法,终止后续步骤;S4、终端以VB为加密密钥对其身份信息进行加密,并将加密身份信息传送给播放端;S5、播放端以VA为解密密钥对接收的加密身份信息进行解密得到终端的身份信息;S6、播放端向具有该身份信息的终端传送流媒体数据和/或开放相关服务;其中,c为相关系数;r为还原系数;m为模量;c、r、m均为正整数;为偏转向量;为播放端的公钥;为播放端的私钥;为终端的公钥,为终端的私钥;以及均为n维向量,n为≥2的整数;为的转置向量;为的转置向量;为的转置向量。2.根据权利要求1所述的流媒体数据授权播放及终端确认方法,其特征在于,所述n≥20。3.根据权利要求1所述的流媒体数据授权播放及终端确认方法,其特征在于,步骤S2中,播放端收到终端公钥后,先判断其是否合法,是则继续后续步骤,否则终止后续步骤。4.根据权利要求1所述的流媒体数据授权播放及终端确认方法,其特征在于,和具有线性相关性,和具有线性相关性。5.根据权...
【专利技术属性】
技术研发人员:潘芳,谭肖平,
申请(专利权)人:深圳市汇星数字技术有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。