CN101444096B - Encrypting device, decrypting device, license issuing device and content data generating method - Google Patents
Encrypting device, decrypting device, license issuing device and content data generating method Download PDFInfo
- Publication number
- CN101444096B CN101444096B CN2007800174980A CN200780017498A CN101444096B CN 101444096 B CN101444096 B CN 101444096B CN 2007800174980 A CN2007800174980 A CN 2007800174980A CN 200780017498 A CN200780017498 A CN 200780017498A CN 101444096 B CN101444096 B CN 101444096B
- Authority
- CN
- China
- Prior art keywords
- unit
- data
- encryption
- packet
- content
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域 technical field
本发明涉及加密装置、解密装置、许可证发布装置和内容数据生成方法。The present invention relates to an encryption device, a decryption device, a license issuing device and a content data generation method.
本申请主张2006年5月16日提出的特愿2006-137002号和2006年5月16日提出的特愿2006-137004号的优先权,在这里引用其内容。This application claims the priority of Japanese Patent Application No. 2006-137002 filed on May 16, 2006 and Japanese Patent Application No. 2006-137004 filed on May 16, 2006, and uses the contents thereof here.
背景技术 Background technique
以往,例如在专利文献1中记载了利用广播波和通信线路的服务提供系统。在专利文献1中记载的以往技术中,通过广播波发送内容,并且,通过通信线路发送使在接收侧终端内置的广播解码器有效地发挥作用的广播解码器有效化信号,由此,在接收侧,根据通过通信线路接收的广播解码器有效化信号,广播解码器变为有效,接收(视听)基于广播波的内容。Conventionally, for example,
可是,在上述的以往技术中,即使在用广播波提供由多个资源(影像、语音、数据等)构成的内容时,也只用一个广播解码器有效化信号使接收侧的广播解码器成为有效,所以无法提供多样的服务方式。However, in the above-mentioned prior art, even when content composed of a plurality of resources (video, audio, data, etc.) Effective, so can not provide a variety of service methods.
而作为关于便携式终端的以往技术,近年,面向便携式终端的数字广播实用化。作为面向便携式终端的数字广播时的节目数据的加密方式,如果考虑便携式终端的处理能力,就认为与在因特网等的内容分发中一般使用的数据块加密方式相比,处理负荷轻的数据流加密方式是理想的。在数据流加密方式中,加密装置和解密装置的双方的数据流加密算法的状态一致,对正常的解密是不可缺少。In recent years, digital broadcasting for mobile terminals has been put into practical use as a conventional technology related to mobile terminals. As an encryption method for program data in digital broadcasting for mobile terminals, considering the processing capability of mobile terminals, it is considered that data stream encryption with a light processing load is easier than the block encryption method generally used for content distribution such as the Internet. way is ideal. In the data stream encryption method, the states of the data stream encryption algorithms of both the encryption device and the decryption device are consistent, which is indispensable for normal decryption.
可是,在数字广播中,由于广播数据的传送错误等,如果发生了保存数据流加密数据的传输包的损失,加密装置和解密装置的双方的数据流加密算法的状态就变成不一致,发生解密错误。However, in digital broadcasting, due to a transmission error of the broadcast data, etc., if the transmission packet storing the stream encrypted data is lost, the states of the stream encryption algorithms of the encryption device and the decryption device become inconsistent, and decryption occurs. mistake.
专利文献1:日本特开2005-159457号公报Patent Document 1: Japanese Patent Laid-Open No. 2005-159457
专利文献2:日本专利第3030341号公报Patent Document 2: Japanese Patent No. 3030341
专利文献3:日本专利第3455748号公报Patent Document 3: Japanese Patent No. 3455748
发明内容 Contents of the invention
本发明是考虑上述的情况而完成的,其目的在于,提供用广播波提供由多个资源构成的内容时,能对用户提供多样的服务方式的加密装置、解密装置、许可证发布装置。The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide an encryption device, a decryption device, and a license issuing device that can provide users with various service methods when content composed of a plurality of resources is provided by broadcast waves.
本发明的目的还在于,提供能强化针对传送错误引起的传送数据的损失的耐性的数据流加密方式的加密装置和解密装置、内容数据生成方法。Another object of the present invention is to provide an encryption device, a decryption device, and a content data generation method of a data stream encryption method capable of strengthening resistance against loss of transmission data due to transmission errors.
为了解决所述的课题,本发明例如具有以下的各方面。In order to solve the above-mentioned problems, the present invention has, for example, the following aspects.
本发明之1涉及的加密装置,优选,是用广播波提供由多个资源构成的内容的加密装置,包括:加密单元,用各个加密密钥把加密对象的所述各资源加密;数据包生成单元,生成分别保存所述各资源的加密数据或非加密数据的数据包;发送单元,发送所述数据包。The encryption device according to
本发明之2涉及的许可证发布装置,优选是如下的许可证发布装置:对于由多个资源构成的内容,在用各个加密密钥对加密对象的所述各资源进行了加密的状态下,通过通信线路提供用于对利用广播波提供时的加密资源进行解密的许可证,包括:存储单元,存储所述许可证;发送单元,发送所述存储单元内的许可证;所述许可证由许可证标识符和解密密钥的组合构成;所述许可证标识符表示该许可证成为有效的广播范围;所述解密密钥与加密对象资源的每个对应而被设置。The license issuing device according to
本发明之3涉及的解密装置,优选是如下的解密装置:对于由多个资源构成的内容,在由各个加密密钥对加密对象的所述各资源进行了加密的状态下,利用广播波提供,包括:广播接收单元,用广播波接收数据包;数据包分配单元,其根据所述已接收的数据包,把具有加密数据的数据包按加密对象的资源不同进行分配;许可证接收单元,通过通信线路接收许可证;解密单元,用所述已接收的许可证中各个解密密钥对按加密对象的资源不同而分配的数据包中的加密数据进行解密。The decryption device according to
本发明之4涉及的解密装置,是所述解密装置,优选还具有存储许可证的许可证保持单元。The decryption device according to
本发明之5涉及的解密装置,是所述解密装置,优选还具有解密控制单元,且该解密控制单元根据许可证中的许可证标识符,控制该许可证成为有效的广播范围的解密。The decryption device according to
本发明之6涉及的解密装置,是所述解密装置,优选还具有积累单元,且该积累单元积累用广播波接收的内容。The decryption device according to claim 6 of the present invention is the above decryption device, and preferably further includes an accumulation unit that accumulates contents received by broadcast waves.
本发明之7涉及的解密装置,是所述解密装置,优选还具有许可证取得单元,且该许可证取得单元通过通信线路取得对接收中的广播范围有效的许可证。The decryption device according to claim 7 of the present invention is the above-mentioned decryption device, and preferably further includes a license obtaining unit that obtains a license valid for a broadcast range being received through a communication line.
本发明之8涉及的解密装置,是所述解密装置,优选还具有:显示单元,在显示画面上明示利用广播波正在接收或预定接收的内容;指定单元,指定在所述显示画面上明示的内容;许可证取得单元,通过通信线路取得与基于所述指定单元的指定的内容对应的许可证。The decryption device according to
本发明之9涉及的解密装置,是所述解密装置,优选还具有:显示单元,在显示画面上明示利用广播波正在接收或预定接收的内容或所述积累单元中积累的内容;指定单元,指定在所述显示画面上明示的内容;许可证取得单元,通过通信线路取得与基于所述指定单元的指定的内容对应的许可证。The decryption device according to claim 9 of the present invention is the decryption device, preferably further comprising: a display unit for expressly displaying on a display screen the content being received or scheduled to be received by broadcast waves or the content accumulated in the accumulation unit; and a specifying unit, The content clearly displayed on the display screen is specified; and the license obtaining means acquires a license corresponding to the content specified by the specifying means through a communication line.
本发明之10涉及的解密装置,是所述解密装置,优选,所述显示单元在显示画面上明示与所述显示画面上明示的内容对应的许可证的有无。In the decryption device according to claim 10 of the present invention, it is preferable that the display unit clearly indicates on a display screen the presence or absence of a license corresponding to the content clearly indicated on the display screen.
根据本发明的上述各个方面,在利用广播波提供由多个资源构成的内容时,能对用户提供多样的服务形态。According to the above aspects of the present invention, various service forms can be provided to users when content composed of a plurality of resources is provided using broadcast waves.
此外,为了解决上述的课题,本发明例如还具有以下的各方面。Moreover, in order to solve the above-mentioned subject, this invention has the following aspects, for example.
本发明之11涉及的加密装置,优选包括:初始化数据包生成单元,以数据流加密算法的初始化间隔,生成保存在数据流加密算法的初始化中使用的初始值的初始化数据包;加密单元,使用所述初始化数据包中保存的初始值,对数据流加密算法进行初始化,进行数据流加密;加密数据包生成单元,生成保存该数据流加密数据的加密数据包;发送单元,发送所述初始化数据包和所述加密数据包。The encryption device according to the eleventh aspect of the present invention preferably includes: an initialization data packet generation unit, which generates an initialization data packet storing an initial value used in the initialization of the data stream encryption algorithm at an initialization interval of the data stream encryption algorithm; the encryption unit uses The initial value stored in the initialization data packet initializes the data stream encryption algorithm and encrypts the data stream; the encrypted data packet generation unit generates an encrypted data packet storing the encrypted data of the data stream; the sending unit sends the initialization data package and the encrypted data package.
本发明之12涉及的加密装置,是所述加密装置,优选,所述初始化数据包生成单元使用与被加密的数据的媒体种类对应的初始化间隔。In the encryption device according to
本发明之13涉及的加密装置,是所述加密装置,优选,设置多个所述加密单元;所述初始化数据包生成单元把所述加密单元的各初始值保存在初始化数据包中。The encryption device according to
本发明之14涉及的加密装置,是所述加密装置,优选,所述初始化数据包和所述加密数据包都是传输包,其种类不同。The encryption device according to claim 14 of the present invention is the encryption device, and it is preferable that the initialization data packet and the encryption data packet are both transmission packets, and their types are different.
本发明之15涉及的解密装置,优选包括:接收单元,接收初始化数据包和加密数据包;解密单元,使用所述初始化数据包中保存的初始值,对数据流加密算法进行初始化,对所述加密数据包中保存的数据流加密数据进行解密。The decryption device according to claim 15 of the present invention preferably includes: a receiving unit that receives an initialization data packet and an encrypted data packet; a decryption unit that uses the initial value stored in the initialization data packet to initialize the data stream encryption algorithm, and The stream encrypted data saved in the encrypted data packet is decrypted.
本发明之16涉及的解密装置,是所述解密装置,优选设置多个所述解密单元;所述解密单元使用指定的所述初始值,对指定的所述数据流加密数据进行解密。The decryption device according to
本发明之17涉及的解密装置,是所述解密装置,优选还具有对所述加密数据包的损失个数进行计数的计数单元;所述解密单元进行与所述损失个数对应的所述解密的空转。The decryption device according to claim 17 of the present invention is the decryption device, and preferably further includes a counting unit for counting the number of lost encrypted data packets; the decryption unit performs the decryption corresponding to the lost number idling.
本发明之18涉及的解密装置,是所述解密装置,优选还与所述各解密单元对应,设置对所述加密数据包的损失个数进行计数的计数单元;所述解密单元进行与所述损失个数对应的所述解密的空转。The decryption device according to claim 18 of the present invention is the decryption device, preferably further corresponding to each of the decryption units, a counting unit for counting the number of losses of the encrypted data packets is provided; The number of losses corresponds to the decrypted idling.
本发明之19涉及的解密装置,是所述解密装置,优选,所述解密单元在超过所述计数单元的计数范围的情况下,制止所述解密的空转。In the decryption device according to claim 19 of the present invention, it is preferable that the decryption unit prevents idling of the decryption when the count range of the count unit is exceeded.
本发明之20涉及的解密装置,是所述解密装置,优选,所述初始化数据包和所述加密数据包都是传输包,其种类不同。The decryption device according to claim 20 of the present invention is the decryption device, preferably, the initialization data packet and the encrypted data packet are both transmission packets, and their types are different.
本发明之21涉及的加密装置,包括:初始化数据包插入单元,在保存数据流内容数据的数据包串中,按每个数据流内容数据的处理单位,插入保存了在数据流加密算法的初始化中使用的初始值的初始化数据包;加密单元,使用所述初始化数据包中保存的初始值,对数据流加密算法进行初始化,进行所述数据流内容数据的数据流加密;发送单元,发送保存该被加密的数据流内容数据的加密数据包和所述初始化数据包。The encryption device related to the 21st aspect of the present invention includes: an initialization data packet inserting unit, in the data packet string storing the content data of the data stream, according to the processing unit of each data stream content data, inserting and storing the initialization of the encryption algorithm in the data stream The initialization data packet of the initial value used in the initialization data packet; the encryption unit uses the initial value stored in the initialization data packet to initialize the data flow encryption algorithm, and performs the data flow encryption of the data flow content data; the sending unit sends and saves The encrypted data packet of the encrypted data stream content data and the initialization data packet.
本发明之22涉及的加密装置,是所述加密装置,优选所述初始化数据包插入单元在紧邻保存基准图像帧的数据包之前插入所述初始化数据包。In the encryption device according to
本发明之23涉及的加密装置,是所述加密装置,优选所述基准图像帧是I图像或IDR图像。In the encryption device according to claim 23 of the present invention, it is preferable that the reference picture frame is an I picture or an IDR picture.
本发明之24涉及的加密装置,是所述加密装置,优选所述初始化数据包插入单元在紧邻保存语音帧的数据包之前插入所述初始化数据包。The encryption device according to
本发明之25涉及的加密装置,是所述加密装置,优选,所述初始化数据包插入单元,在紧邻保存ADTS头的数据包之前插入所述初始化数据包。In the encryption device according to claim 25 of the present invention, it is preferable that the initialization packet inserting unit inserts the initialization packet immediately before the packet storing the ADTS header.
本发明之26涉及的加密装置,是所述加密装置,优选所述初始化数据包插入单元,在保存数据广播内容数据的数据包串中,按每个重复广播的数据单位,插入所述初始化数据包。The encryption device according to claim 26 of the present invention is the encryption device, preferably, the initialization data packet inserting unit inserts the initialization data for each data unit of repeated broadcasting into a data packet string storing data broadcast content data. Bag.
本发明之27涉及的内容数据生成方法,优选是如下的内容数据生成方法:使用初始化数据包中保存的初始值,对数据流加密算法初始化,将数据流内容数据进行数据流加密,在保存数据流内容数据的数据包串中,按每个数据流内容数据的处理单位,插入保存了在数据流加密算法的初始化中使用的初始值的初始化数据包。The content data generating method according to claim 27 of the present invention is preferably the following content data generating method: use the initial value stored in the initialization data packet to initialize the data stream encryption algorithm, perform data stream encryption on the data stream content data, and store the data In the packet sequence of the stream content data, an initialization packet storing an initial value used for initializing the stream encryption algorithm is inserted for each processing unit of the stream content data.
本发明之28涉及的内容数据生成方法,是所述内容数据生成方法,优选,在紧邻保存了基准图像帧的数据包之前插入所述初始化数据包。In the content data generation method according to claim 28 of the present invention, in the content data generation method, it is preferable that the initialization packet is inserted immediately before a packet storing a reference image frame.
本发明之29涉及的内容数据生成方法,是所述内容数据生成方法,优选,所述基准图像帧是I图像或IDR图像。The content data generation method according to claim 29 of the present invention is the content data generation method, and preferably, the reference image frame is an I picture or an IDR picture.
本发明之30涉及的内容数据生成方法,是所述内容数据生成方法,优选,在紧邻保存了语音帧的数据包之前插入所述初始化数据包。In the content data generation method according to
本发明之31涉及的内容数据生成方法,是所述内容数据生成方法,优选,在紧邻保存了ADTS头的数据包之前插入所述初始化数据包。In the content data generation method according to
本发明之32涉及的内容数据生成方法,是所述内容数据生成方法,优选,在保存了数据广播内容数据的数据包串中,按每个重复广播的数据单位,插入所述初始化数据包。The content data generation method according to
根据本发明的上述各方面,可以对数据流加密方式,强化针对传送错误等引起的传送数据的损失的耐性。According to the above-mentioned aspects of the present invention, the data stream encryption method can be strengthened against loss of transmission data due to transmission errors or the like.
此外,为了解决上述的课题,本发明例如还具有以下的各方面。Moreover, in order to solve the above-mentioned subject, this invention has the following aspects, for example.
本发明之33涉及的加密装置,是所述加密装置,优选,所述加密单元,对于由多个资源构成的内容,用各个加密密钥对加密对象的所述各资源进行加密;所述加密数据包生成单元,生成分别保存所述各资源的加密数据或非加密数据的数据包;所述发送单元发送所述加密数据包生成单元生成的所述数据包。The encryption device according to claim 33 of the present invention is the encryption device. Preferably, the encryption unit encrypts each of the resources to be encrypted with each encryption key for the content composed of a plurality of resources; the encryption a data packet generating unit, generating a data packet respectively storing encrypted data or non-encrypted data of each resource; the sending unit sends the data packet generated by the encrypted data packet generating unit.
本发明之34涉及的加密装置,是所述加密装置,优选还具有初始化数据包生成单元,且该初始化数据包生成单元以数据流加密算法的初始化间隔生成保存数据流加密算法的初始化中使用的初始值的初始化数据包;所述加密单元使用所述初始化数据包中保存的初始值,对数据流加密算法进行初始化,进行数据流加密。The encryption device according to claim 34 of the present invention is the encryption device, and preferably further includes an initialization packet generation unit, and the initialization packet generation unit generates and saves the data used in the initialization of the data stream encryption algorithm at the initialization interval of the data stream encryption algorithm. An initialization data packet of an initial value; the encryption unit uses the initial value stored in the initialization data packet to initialize a data stream encryption algorithm and perform data stream encryption.
本发明之35涉及的加密装置,是所述加密装置,优选,所述初始化数据包生成单元使用与被加密的数据的媒体种类对应的初始化间隔。In the encryption device according to claim 35 of the present invention, it is preferable that the initialization packet generating unit uses an initialization interval corresponding to a media type of encrypted data.
本发明之36涉及的加密装置,是所述加密装置,优选,设置多个所述加密单元;所述初始化数据包生成单元把所述加密单元的各初始值保存到初始化数据包中。The encryption device according to claim 36 of the present invention is the encryption device. Preferably, a plurality of the encryption units are provided; and the initialization data packet generation unit stores the initial values of the encryption units in the initialization data packet.
本发明之37涉及的加密装置,是所述加密装置,优选,所述初始化数据包和所述加密包都是传输包,其种类不同。The encryption device according to claim 37 of the present invention is the encryption device, preferably, the initialization data packet and the encryption packet are both transmission packets, and their types are different.
本发明之38是一种广播系统,其利用广播波提供内容,优选,包括:加密部,用各个加密密钥对由多个资源构成的各内容进行加密,生成分别保存所述各资源的加密数据或非加密数据的数据包,并发送;许可证发布部,把用于对所述加密数据进行解密的许可证通过通信线路发送;解密部,接收所述数据包,把具有所述加密数据的数据包按加密对象的资源不同而进行分配,使用通过所述通信线路接收的所述许可证,对所述加密数据进行解密;所述许可证具有表示该许可证成为有效的广播范围的许可证标识符和与加密对象的所述资源的每个对应的解密密钥的组合;所述解密部用接收的所述许可证中的各所述解密密钥对按加密对象的所述资源不同而分配的所述数据包中的所述加密数据进行解密。A thirty-eighth aspect of the present invention is a broadcasting system that provides content using broadcast waves, preferably including: an encryption unit that encrypts each content composed of a plurality of resources with each encryption key, and generates an encrypted file that stores the resources respectively. data or non-encrypted data packets, and send them; the license issuance unit sends the license for decrypting the encrypted data through the communication line; the decryption unit receives the data packets, and sends the license with the encrypted data The data packets are allocated according to the resource of the encrypted object, and the encrypted data is decrypted using the license received through the communication line; the license has a license indicating that the license becomes a valid broadcast range a combination of a certificate identifier and a decryption key corresponding to each of the resources to be encrypted; The encrypted data in the data packet distributed is decrypted.
附图说明 Description of drawings
图1是表示本发明的一实施方式涉及的广播系统的构成的方框图。FIG. 1 is a block diagram showing the configuration of a broadcasting system according to an embodiment of the present invention.
图2是表示图1所示的加密装置100的构成的方框图。FIG. 2 is a block diagram showing the configuration of the
图3是表示本发明的一实施方式涉及的传输包(TS数据包)的构成例的图。FIG. 3 is a diagram showing a configuration example of a transport packet (TS packet) according to an embodiment of the present invention.
图4是表示图1所示的许可证发布装置2提供的许可证200的构成例的图。FIG. 4 is a diagram showing a configuration example of a license 200 provided by the
图5是表示图1所示的解密装置300的构成的方框图。FIG. 5 is a block diagram showing the configuration of the
图6是表示图1所示的终端装置3的显示画面30的构成例的图。FIG. 6 is a diagram showing a configuration example of the
图7是用于说明本发明的一实施方式涉及的加密过程和解密过程的组合的标识符的构成例的广播信号的数据构造图。7 is a data structure diagram of a broadcast signal for explaining a configuration example of an identifier for a combination of an encryption process and a decryption process according to an embodiment of the present invention.
图8是用于说明本发明的一实施方式涉及的加密过程和解密过程的组合的标识符的构成例的描述符例的数据构造图。8 is a data structure diagram of a descriptor example for explaining a configuration example of an identifier of a combination of an encryption process and a decryption process according to an embodiment of the present invention.
图9是表示本发明其他实施方式涉及的解密装置的构成的方框图。FIG. 9 is a block diagram showing the configuration of a decryption device according to another embodiment of the present invention.
图10是表示本发明实施方式2涉及的数据流加密方式的加密装置1100的构成的方框图。FIG. 10 is a block diagram showing the configuration of an
图11是表示同实施方式涉及的初始化数据包(IV数据包)的构成例的图。FIG. 11 is a diagram showing a configuration example of an initialization packet (IV packet) according to the embodiment.
图12是表示本发明实施方式2涉及的数据流加密方式的解密装置1200的构成的方框图。FIG. 12 is a block diagram showing the configuration of a
图13是表示本发明实施方式3涉及的数据流加密方式的解密装置1220的构成的方框图。FIG. 13 is a block diagram showing the configuration of a decryption device 1220 of a data stream encryption scheme according to
图14是表示本发明实施方式4涉及的数据流加密方式的解密装置1240的构成的方框图。FIG. 14 is a block diagram showing the configuration of a
图15是表示本发明实施方式5涉及的数据流加密方式的加密装置1120的构成的方框图。FIG. 15 is a block diagram showing the configuration of an
图16是用于说明本发明实施方式5涉及的IV数据包插入动作的说明图。FIG. 16 is an explanatory diagram for explaining an IV packet insertion operation according to
图17是用于说明本发明实施方式5涉及的IV数据包插入动作的说明图。FIG. 17 is an explanatory diagram for explaining an IV packet insertion operation according to
符号的说明:Explanation of symbols:
1—广播电台;2—许可证发布装置;3—终端装置;4—通信网络;30—显示画面;31—影像画面;32—数据广播画面;100—加密装置;110—加密部;111—加密过程;120—数据包生成部;130—发送部;200—许可证;300—解密装置;310—广播接收部;320—数据包分配部;330—解密部;331—解密过程;340—许可证接收部;350—许可证保持部;360—许可证管理部;370—许可证取得控制部;600—积累部;1100—加密装置;1120—加密装置;1101—头变换部;1102—IV数据包插入部;1103—加密部;1104—发送部;1121—数据分析部;1200—解密装置;1220—解密装置;1240—解密装置;1201—接收部;1202—数据包分配部;1203—IV数据包读入部;1204—解密部;1221—计数校验部;1241—计数校验和解密部;1102a—IV数据包插入部;1130—I图像;1140—IV数据包;1150—ADTS头;1300—再生装置;1301—图像再生部;1302—语音再生部;1303—数据广播显示部。1—broadcast station; 2—license issuing device; 3—terminal device; 4—communication network; 30—display screen; 31—image screen; 32—data broadcast screen; 100—encryption device; 110—encryption department; 111— Encryption process; 120—data packet generation unit; 130—sending unit; 200—license; 300—decryption device; 310—broadcast receiving unit; 320—data packet distribution unit; 330—decryption unit; 331—decryption process; 340— 350—license maintenance department; 360—license management department; 370—license acquisition control department; 600—accumulation department; 1100—encryption device; 1120—encryption device; IV data packet insertion unit; 1103—encryption unit; 1104—transmission unit; 1121—data analysis unit; 1200—decryption device; 1220—decryption device; 1240—decryption device; 1201—reception unit; 1204—decryption portion; 1221—count verification portion; 1241—count verification and decryption portion; 1102a—IV data packet insertion portion; 1130—I image; 1140—IV data packet; 1150— ADTS head; 1300—reproducing device; 1301—image reproducing unit; 1302—voice reproducing unit; 1303—data broadcasting display unit.
具体实施方式 Detailed ways
实施方式1
下面,参照附图,说明本发明的一实施方式。Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
图1是表示本发明的一实施方式涉及的广播系统的构成的方框图。在图1中,广播电台1具有加密装置100。加密装置100把用广播波提供的内容进行加密。许可证发布装置2把用于对从广播电台1以广播波提供的加密内容进行解密的许可证通过通信线路提供。终端装置3具有解密装置300。解密装置300使用从许可证发布装置2提供的许可证对从广播电台1以广播波提供的加密内容进行解密。FIG. 1 is a block diagram showing the configuration of a broadcasting system according to an embodiment of the present invention. In FIG. 1 , a
许可证发布装置2和终端装置3具有通信功能,与因特网等通信网络4连接。终端装置3可以是固定终端,或者也可以是便携式终端。便携式终端的时候,通过移动通信网络与因特网等连接。此外,终端装置3具有广播波的接收功能。The
图2是表示图1所示的加密装置100的构成的方框图。在图2中,内容由多个资源构成。作为资源的种类,例如列举影像、语音、数据等。内容中的资源可以全部是加密对象,或者也可以具有不是加密对象的资源。在图2的例子中,内容由N个资源_#1~#N构成,资源_#1、#2是加密对象,所以被加密,但是资源_#N不是加密对象,所以不加密。如果列举具体例,对于由影像资源、语音资源和数据资源构成的内容,可以考虑对影像资源、语音资源加密,对数据资源不加密。FIG. 2 is a block diagram showing the configuration of the
图2所示的加密装置100具有加密部110、数据包生成部120和发送部130。加密部110可以具有多个加密过程111。各加密过程111用各自的加密密钥分别对加密对象的资源进行加密。在图2的例子中,在各加密过程111中分别用加密密钥_#1、#2对加密对象的资源_#1、#2进行加密。将各资源的加密数据输入到数据包生成部120。另外,将非加密对象的资源_#N(非加密数据)原封不动输入到数据包生成部120。The
数据包生成部120生成分别保存各资源的加密数据或非加密数据的传输包(TS数据包)。在图3中表示TS数据包的构成例。图3的TS数据包依据了ISO/IEC13818-1(MPEG-2系统标准)。在图3中,在data_byte字段中,在是加密对象资源时,保存加密数据,在是非加密对象资源时,保存非加密数据。此外,在头中的transport_scrambling_control字段保存表示加密对象资源或非加密对象资源的值transport_scrambling_control字段的值“01”、“10”和“11”表示是加密对象资源。transport_scrambling_comtrol字段的值“00”表示是非加密对象资源。The
此外,在是加密对象资源的时候,transport_scrambling_control字段的值“01”、“10”和“11”识别把该资源加密的加密过程111。因此,根据transport_scrambling_control字段的值“01”、“10”和“11”,能识别3个加密过程111。这里,加密过程与解密装置侧的解密过程成对,但是利用transport_scrambling_control字段的值“01”、“10”和“11”指定解密装置侧的解密过程。另外,在使用transport_scrambling_control字段的情况下,加密过程和解密过程的组合能有3个,但是后面描述用于与更多数量的组合对应的扩展方法。Also, in the case of an encryption target resource, the values "01", "10" and "11" of the transport_scrambling_control field identify the
发送部130发送从数据包生成部120接收的TS数据包串。The transmitting
图4是表示图1所示的许可证发布装置2提供的许可证200的构成例的图。在图4中,许可证200由许可证标识符(许可证ID)和解密密钥的组合构成。许可证ID表示该许可证成为有效的广播范围。作为广播范围,例如由广播时间、广播频道、内容、资源等规定。如果列举具体例,就把特定的广播时间的特定的广播频道或者特定的广播频道的特定的内容或者特定的内容的1个或多个特定的资源等作为广播范围考虑。FIG. 4 is a diagram showing a configuration example of a license 200 provided by the
在许可证200中,将与许可证ID组合的解密密钥与加密对象资源的每个对应而设置。例如在图2的例子中,加密对象资源_#1、#2分别由解密密钥_#1、#2加密。这时,与加密对象资源_#1、#2的每个对应,而设置解密密钥_#1、#2。In the license 200, a decryption key combined with a license ID is provided corresponding to each encryption target resource. For example, in the example of FIG. 2 , the encryption
许可证发布装置2具有存储许可证200的存储单元。例如把许可证200数据库化而存储。此外,许可证发布装置2具有发送该存储单元内的许可证200的发送单元。该发送单元通过通信网络4对终端装置3发送许可证200。The license-issuing
另外,许可证发布装置2可以由专用的硬件实现,或者由服务器计算机等计算机系统构成,通过执行用于实现许可证发布装置2的各功能的程序,实行其功能。In addition, the
图5是表示图1所示的解密装置300的构成的方框图。在图5中,广播接收部310用广播波接收TS数据包。这时,广播接收部310进行由用户操作指定的广播频道的接收。FIG. 5 is a block diagram showing the configuration of the
数据包分配部320根据该接收的TS数据包把具有加密数据的TS数据包按加密对象的资源不同而进行分配。例如,在是图3的TS数据包的情况下,transport_scrambling_control字段的值为“01”、“10”和“11”的TS数据包保存把加密对象的资源加密的加密数据,但是根据transport_scrambling_control字段的值“01”、“10”和“11”,指定把该加密数据进行解密的解密过程。Based on the received TS packets, the
解密部330可以具有多个解密过程331。对于各解密过程331,设置将其每个区别的标识符。在各解密过程331中,根据该标识符,输入由数据包分配部320分配的加密对象资源的加密数据。各解密过程331用从许可证管理部360提供的各解密密钥分别对加密数据进行解密。将各解密数据在终端装置3上再生。另外,将保存在非加密对象资源的TS数据包中的非加密数据原封不动在终端装置3上再生。The decryption unit 330 may have a plurality of decryption processes 331 . For each
许可证接收部340通过通信网络4从许可证发布装置2接收许可证200。用户用例如因特网上的许可证服务器进行取得在所希望的广播范围中成为有效的许可证200的签约,由此,可以用该终端装置3接收该许可证200。另外,许可证200是有偿、无偿的都可以。The
许可证保持部350存储许可证200。据此,能预先接收多个许可证200,并存储,所以省略每次视听时,取得许可证200的麻烦。The
许可证管理部360根据许可证200,控制解密部330的解密动作。许可证管理部360根据许可证200中的许可证ID,确定该许可证200成为有效的广播范围。例如,通过比对非加密对象的广播信号中包含的识别信息和许可证ID,能判定成为有效的广播范围。The
另外,根据终端装置3的机器形态,对于解密装置300的解密过程331,没必要设置与许可证200对应的全部,可以只具有与可利用的服务对应的解密过程331。In addition, depending on the device form of the
许可证管理部360从许可证保持部350读出对接收中的广播范围有效的许可证200,把该许可证200中的解密密钥分别提供给对应的解密过程331。据此,自动对该广播范围中包含的解密对象资源的加密数据进行解密。The
许可证取得控制部370通过通信网络4取得许可证200。例如许可证取得控制部370访问因特网上的许可证服务器,进行取得许可证200的签约。另外,也可以在许可证发布装置2中设置许可证服务器功能。由许可证接收部340接收可以通过该许可证签约取得的许可证200。关于许可证200的取得,以下列举2个例子(情形1、2),进行说明。The license
(情形1)(case 1)
许可证管理部360在许可证保持部350内没有对于接收中的广播范围有效的许可证200的情况下,对许可证取得控制部370指示取得对该广播范围有效的许可证200。许可证取得控制部370根据该取得指示,尝试取得对于接收中的广播范围有效的许可证200。据此,能自动取得许可证200。The
(情形2)(case 2)
设置在终端装置3的显示画面上明示用广播波正在接收或预定接收的内容的显示单元。例如,在内容具有影像资源和数据资源的情况下,在图6例示的终端装置3的显示画面30中,在影像画面31上显示影像资源,在数据广播画面32上显示数据资源。这时,例如在影像画面31内的下部显示表示用广播波正在接收或预定接收的内容的标记,能明示对应的内容。另外,能根据非加密对象的广播信号中的内容信息,例如在广播波中多路复用的节目关联信息或内容的标识符等知道用广播波正在接收或预定接收的内容。A display unit is provided on the display screen of the
此外,显示单元也可以在显示画面上明示与终端装置3的显示画面上明示的内容对应的许可证200的有无。例如,在图6的影像画面31内的下部显示表示许可证200的有无的标记,由此,能明示对应的许可证200的有无。可以通过搜索许可证保持部350内,判断许可证200的有无。In addition, the display unit may clearly display the presence or absence of the license 200 corresponding to the content clearly displayed on the display screen of the
此外,设置用于指定在终端装置3的显示画面上明示的内容的指定单元。In addition, specifying means for specifying content clearly displayed on the display screen of the
例如,用终端装置3的操作键选择在显示画面上显示的标记,由此能指定对应的内容。For example, by selecting a mark displayed on the display screen with an operation key of the
许可证取得控制部370尝试与该指定的内容对应的许可证200的取得。据此,用户总能在想视听时取得许可证200,视听所希望的内容。The license
如上所述,根据本实施方式,在用广播波提供由多个资源(影像、语音、数据等)构成的内容的情况下,广播电台能以资源为单位设定加密或非加密。据此,能以资源为单位提供可选择的服务,对用户能提供多样的服务方式。As described above, according to this embodiment, when providing content composed of a plurality of resources (video, audio, data, etc.) by broadcast waves, the broadcast station can set encryption or non-encryption in units of resources. Accordingly, selectable services can be provided in units of resources, and various service methods can be provided to users.
此外,能灵活地设定许可证中包含的解密密钥的构成,所以能实现内容的多样的视听形态。例如在由1个影像资源、2个语音资源(例如日语语音和英语语音)构成的电影内容中,设置包含与影像资源和一方的语音资源(例如日语语音)对应的各解密密钥的许可证、和包含与影像资源和另一方的语音资源(例如英语语音)对应的各解密密钥的许可证,从而对于一个内容设置各种模式的许可证,由此,可以对用户提供多样的视听形态。In addition, since the configuration of the decryption key included in the license can be flexibly set, various viewing forms of the content can be realized. For example, in a movie content composed of one video resource and two audio resources (such as Japanese audio and English audio), a license including each decryption key corresponding to the video resource and one audio resource (such as Japanese audio) is set. , and a license including each decryption key corresponding to the video resource and the other audio resource (for example, English audio), so that various types of licenses are set for one content, thereby providing users with various viewing forms .
另外,本实施方式涉及的加密装置100和解密装置300可以由专用的硬件实现,或者由存储器和CPU(中央计算处理装置)等构成,用CPU执行用于实现各装置的功能的程序,从而实现该功能。In addition, the
下面,说明扩展加密过程和解密过程的组合(以下称作“过程组”)的个数的方法。Next, a method of expanding the number of combinations of encryption processes and decryption processes (hereinafter referred to as "process groups") will be described.
在用上述的图3所示的TS数据包的头中的transport_scrambling_control字段的值识别过程组的方法中,能把过程组设置到3个。并且,作为扩展过程组的个数的方法,例如列举利用图7所示的PMT的数据和图8所示的成分(component)描述符的方法。图7和图8的各数据构造由ARIB(Association of Radio Industries andBusiness)的标准规格“STD-B10”规定。In the method of identifying process groups using the value of the transport_scrambling_control field in the header of the TS packet shown in FIG. 3 described above, the process groups can be set to three. Furthermore, as a method of increasing the number of process groups, for example, a method of using the PMT data shown in FIG. 7 and the component descriptor shown in FIG. 8 is mentioned. Each data structure in FIG. 7 and FIG. 8 is defined by the standard specification "STD-B10" of the ARIB (Association of Radio Industries and Business).
在图7所示的PMT的数据中的描述符区域2_500中能保存图8所示的成分描述符。而且,在该成分描述符中的未定义的区域510中保存标识符。该区域510有4位,所以能最大设置16个标识符,如果1个是表示非加密的标识符,用剩下的15个标识符最大能识别15个过程组。The component descriptor shown in FIG. 8 can be stored in the descriptor area 2_500 in the PMT data shown in FIG. 7 . Furthermore, an identifier is stored in an
另外,成分描述符是已经存在的描述符,但是也可以定义新的描述符而使用。这时,能设置任意的个数的标识符,能进一步扩展过程组的个数。In addition, the component descriptor is an existing descriptor, but it is also possible to define a new descriptor and use it. In this case, an arbitrary number of identifiers can be set, and the number of process groups can be further expanded.
以上,参照附图,详细描述本发明的实施方式1,但是具体的构成并不局限于本实施方式,还包含不脱离本发明的宗旨的范围的设计变更等。As above,
例如,也可以在解密装置设置积累用广播波接收的内容的积累单元。图9表示该解密装置的构成例。在图9中,在图5所示的解密装置300中,还设置了积累部600。在图9中,积累部600存储并积累由广播接收部310接收的TS数据包。数据包分配部320从积累部600读出TS数据包,把具有加密数据的TS数据包按加密对象的资源不同而进行分配。据此,在用户无法实时视听广播的内容时,可以积累已接收的内容,在任意的时间进行解密和再生,进行视听。For example, an accumulating means for accumulating contents received by broadcast waves may be provided in the decryption device. FIG. 9 shows a configuration example of the decryption device. In FIG. 9 , in the
此外,在图9的解密装置中,也可以,设置上述的情形2的显示单元和指定单元,取得与用户指定的内容对应的许可证200。这时,显示单元在终端装置3的显示画面上明示用广播波正在接收或预定接收的内容或在积累部600中积累的内容即可。In addition, in the decryption device of FIG. 9 , the display means and designation means of the above-mentioned
另外,本发明能在各种广播系统中应用。例如,能在面向便携式终端的数字广播系统中应用。据此,用数字广播提供由多个资源构成的内容时,能对用户提供与便携式终端的特征对应的多样的服务方式。In addition, the present invention can be applied in various broadcasting systems. For example, it can be applied to a digital broadcasting system for mobile terminals. Accordingly, when content composed of a plurality of resources is provided by digital broadcasting, various service methods corresponding to the characteristics of the mobile terminal can be provided to the user.
此外,作为本实施方式的加密方式,可以是数据流加密方式,或者也可以是数据块加密方式。In addition, as the encryption method in this embodiment, a data stream encryption method may be used, or a data block encryption method may be used.
[实施方式2][Embodiment 2]
图10是表示本发明实施方式2的数据流加密方式的加密装置1100的构成的方框图。FIG. 10 is a block diagram showing the configuration of an
在图10中,头变换部1101进行传输包(TS数据包)的头变换。TS数据包依据ISO/IEC13818-1(MPEG-2系统标准)。头变换部1101改写TS数据包的头中的transport_scrambling_control字段的值。transport_scrambling_control字段的值“01”、“10”和“11”表示进行加密。transport_scrambling_control字段的值“00”表示不进行加密。In FIG. 10, a
IV数据包插入部1102以数据流加密算法的初始化间隔,生成初始化数据包(IV数据包),且该初始化数据包(IV数据包)保存数据流加密算法的初始化中使用的初始值(IV)。此外,IV数据包插入部1102在IV数据包中保存密钥ID。密钥ID有“Current”和“Next”2种。密钥ID“Current”是当前使用中的密钥的标识符。密钥ID“Next”是接着使用的密钥的标识符。IV数据包插入部1102在从头变换部1101输出的TS数据包串中插入已生成的IV数据包。The IV
图11表示本实施方式的IV数据包的构成例。在本实施方式中,作为TS数据包的一种而构成IV数据包。在图11中,在头中的PID字段保存表示是IV数据包的值“0x889(16进制)”。此外,ransport_scrambling_control字段的值是“00”。即不对IV数据包进行加密。此外,在该例子中,adaptation_field_control字段固定在“01”,设adaptation_field为无。FIG. 11 shows a configuration example of an IV packet in this embodiment. In this embodiment, an IV packet is configured as a type of TS packet. In FIG. 11, the PID field in the header holds a value "0x889 (hexadecimal)" indicating that it is an IV packet. Also, the value of the transport_scrambling_control field is "00". That is, the IV packet is not encrypted. Also, in this example, the adaptation_field_control field is fixed at "01", and the adaptation_field is set to None.
此外,在图11中,在data_byte字段保存IV(iv)、密钥ID“Current”(id_current)和“Next”(id_next)。此外,能保存多个IV(iv[n];n是0以上的整数)。在保存多个IV的情况下,形成iv_tsc_flag[n]和iv[n]的组。各iv[n]在各个对应的数据流加密过程中,在数据流加密算法的初始化中使用。Furthermore, in FIG. 11 , IV (iv), key IDs "Current" (id_current), and "Next" (id_next) are stored in the data_byte field. Also, a plurality of IVs can be stored (iv[n]; n is an integer of 0 or greater). When storing multiple IVs, a set of iv_tsc_flag[n] and iv[n] is formed. Each iv[n] is used in the initialization of the data stream encryption algorithm in each corresponding data stream encryption process.
此外,可以对每个iv[n],变更初始化间隔。这时,只把作为初始化时刻的iv[n]保存在IV数据包。与各iv[n]对应的初始化间隔分别与各个对应的数据流加密过程对应。例如,使用与加密的数据的媒体种类对应的初始化间隔。作为媒体种类,例如列举语音、图像、数据等。Also, the initialization interval can be changed for every iv[n]. At this time, only iv[n] which is the initialization time is stored in the IV packet. The initialization interval corresponding to each iv[n] corresponds to each corresponding data stream encryption process. For example, an initialization interval corresponding to the media type of encrypted data is used. Examples of media types include audio, video, data, and the like.
此外,在图11的例子中,用“0xff(16进制)”填充data byte字段中的未使用区域。此外,在data_byte字段中保存错误检测用的“CyclicRedundancy Check:CRC”(CRC_32)。另外,在IV数据包的接收侧,在作为CRC校验的结果,检测到错误时,放弃该IV数据包。In addition, in the example of FIG. 11, the unused area in the data byte field is filled with "0xff (hexadecimal)". In addition, "Cyclic Redundancy Check: CRC" (CRC_32) for error detection is stored in the data_byte field. Also, on the receiving side of the IV packet, when an error is detected as a result of the CRC check, the IV packet is discarded.
加密部1103进行针对IV数据包插入后的TS数据包串的数据流加密。成为该加密对象的是transport_scrambling_control字段的值为“01”、“10”和“11”的TS数据包。另外,关于TS数据包的头,不进行加密。此外,对于IV数据包,transport_scrambling_control字段的值为“00”,所以不进行加密。The
在该数据流加密处理中,加密部1103若在TS数据包串中发现了IV数据包(PID字段值为“0x889(16进制)”),就从该发现的IV数据包读出IV。然后,使用该读出的IV,对数据流加密算法进行初始化。即在TS数据包串中的IV数据包的位置对数据流加密算法进行初始化后,进行针对该IV数据包以后的加密对象的TS数据包的数据流加密。In this stream encryption process, when the
在该数据流加密算法的初始化中,从IV数据包读出密钥ID“Current”(id_current)和“Next”(id_next),准备在数据流加密中使用的密钥。In the initialization of this stream encryption algorithm, key IDs "Current" (id_current) and "Next" (id_next) are read from the IV packet, and keys used for stream encryption are prepared.
此外,加密部1103可以具有多个数据流加密过程[n]。各数据流加密过程[n]分别使用对应的IV(iv[n]),进行数据流加密算法的初始化。另外,各数据流加密过程[n]根据PID字段的值,判别要进行加密的TS数据包。In addition, the
加密部1103把包含IV数据包和已加密的TS数据包的TS数据包串以从IV数据包插入部1102取得时的顺序对发送部1104输出。The
发送部1104发送从加密部1103取得的TS数据包串。The
接着,说明实施方式2的数据流加密方式的解密装置。Next, a decryption device of the data stream encryption method according to
图12是表示本发明实施方式2的数据流加密方式的解密装置1200的构成的方框图。FIG. 12 is a block diagram showing the configuration of a
在图12中,接收部1201接收从加密装置1100发送的TS数据包。接收部1201进行针对已接收的TS数据包的错误检测和错误订正处理。In FIG. 12 , a
这时,关于通过CRC校验检测到错误的IV数据包,放弃。At this time, the IV packet whose error is detected by the CRC check is discarded.
数据包分配部1202,关于接收部1201输出后的TS数据包,根据头中的PID字段值,向各目的地分配。这里,将IV数据包(PID字段值为“0x889(16进制)”)向IV数据包读入部1203输出。此外,将被加密的TS数据包(transport_scrambling_control字段的值“01”、“10”和“11”)向与该字段值对应的解密部1204输出。此外,将未被加密的其他TS数据包,原封不动从解密装置1200输出。The
IV数据包读入部1203从IV数据包读出IV和密钥ID“Current”(id_current)和“Next”(id_next)。根据该读出的密钥ID“Current”(id_current)和“Next”(id_next)准备数据流密码的解密中使用的密钥。然后,把该已准备的密钥和IV向解密部1204输出。另外,当在IV数据包中保存了多个IV(iv[n])的情况下,把各iv[n]向具有各个对应的数据流解密过程[n]的解密部1204输出。The IV
解密部1204从数据包分配部1202取得被加密的TS数据包,进行数据流密码的解密。The
在该数据流密码的解密处理中,解密部1204,若从IV数据包读入部1203取得IV和密钥,就使用该IV对数据流加密算法进行初始化。接着,若完成了该初始化,就使用从IV数据包读入部1203取得的密钥,开始数据流密码的解密处理。即在所接收的TS数据包串中的IV数据包的位置,对数据流加密算法进行初始化后,进行针对该IV数据包以后的被加密的TS数据包的数据流密码的解密。In the decryption process of this stream cipher, the
解密部1204向再生装置1300输出已解密的TS数据包。The
在再生装置1300中,进行被解密的TS数据包的再生。在图12的例子中,再生装置1300具有图像再生部1301、语音再生部1302和数据广播显示部1303。在解密装置1200中设置与图像再生部1301、语音再生部1302、数据广播显示部1303分别对应的解密部1204。在图像再生部1301、语音再生部1302、数据广播显示部1303中,进行分别从对应的解密部1204输出的TS数据包的再生。另外,图12所示的再生装置1300的构成是一个例子,能适宜变更媒体种类。In the
根据上述的实施方式2,通过IV数据包,能使加密过程的数据流加密算法的状态和解密过程的数据流加密算法的状态一致。因此,即使由于传送错误等,被加密的TS数据包损失,暂时加密过程和解密过程双方的数据流加密算法的状态变得不一致,在下一IV数据包的接收时,加密过程和解密过程双方的数据流加密算法的状态也能一致,可以重新开始正常的解密。据此,在数据流加密方式中,能够强化针对传送错误等引起的传送数据的损失的耐性。According to the above-mentioned second embodiment, the state of the data stream encryption algorithm in the encryption process can be made consistent with the state of the data stream encryption algorithm in the decryption process through the IV packet. Therefore, even if the encrypted TS packet is lost due to a transmission error or the like, and the states of the stream encryption algorithms of both the encryption process and the decryption process temporarily become inconsistent, when the next IV packet is received, the encryption process and the decryption process both The state of the data stream encryption algorithm can also be consistent, and normal decryption can be resumed. According to this, in the data stream encryption method, it is possible to strengthen the tolerance against loss of transmission data due to transmission errors or the like.
[实施方式3][Embodiment 3]
图13是表示本发明实施方式3的数据流加密方式的解密装置1220的构成的方框图。在图13中,对与图12的各部对应的部分赋予相同的符号,省略说明。此外,加密装置与实施方式2相同,所以省略说明。FIG. 13 is a block diagram showing the configuration of a decryption device 1220 of a data stream encryption method according to
在实施方式3中,如图13所示,设置计数校验部1221。只有该计数校验部1221涉及的部分是与图12的解密装置1200相比的变更点。计数校验部1221对被加密的TS数据包的损失个数进行计数。In
在TS数据包的头中插入continuity_counter(连续性指标)。通过检测该continuity_counter,能对TS数据包的损失个数进行计数。计数校验部1221对解密部1204指示与该损失个数对应的解密的空转。计数校验部1221对每个解密部1204分别指示损失个数的计数和解密的空转。A continuity_counter (continuity indicator) is inserted into the header of the TS packet. By detecting the continuity_counter, the number of lost TS packets can be counted. The count verification unit 1221 instructs the
解密部1204按照该解密的空转指示,空转数据流密码的解密处理。在该空转中,在没有要解密的加密数据的状态下,进行与损失个数相应的解密处理。The
据此,按与被加密的TS数据包的损失个数对应的数量,转移数据流加密算法的状态。其结果,即使损失被加密的TS数据包,加密过程和解密过程双方的数据流加密算法的状态也不会变得不一致,加密过程和解密过程双方的数据流加密算法的状态能继续保持一致。据此,在数据流加密方式中,能够强化针对传送错误等引起的传送数据的损失的耐性。Accordingly, the state of the stream encryption algorithm is shifted by the number corresponding to the number of lost encrypted TS packets. As a result, even if the encrypted TS packet is lost, the states of the stream encryption algorithms of both the encryption process and the decryption process will not become inconsistent, and the states of the stream encryption algorithms of both the encryption process and the decryption process can continue to be consistent. According to this, in the data stream encryption method, it is possible to strengthen the tolerance against loss of transmission data due to transmission errors or the like.
另外,计数校验部1221在损失个数超过计数功能的计数范围的情况下,不进行解密的空转的指示。这是因为损失个数超过计数范围的情况下,无法进行正确的解密的空转。计数校验部1221例如根据时刻信息,可以在一定间隔以上的损失继续时,判断为损失个数超过计数功能的计数范围。In addition, the count checking unit 1221 does not instruct the idling of decryption when the number of losses exceeds the count range of the count function. This is because when the number of losses exceeds the count range, the idling of correct decryption cannot be performed. The count checking unit 1221 can determine that the number of lost objects exceeds the counting range of the counting function when losses continue for a certain interval or longer based on time information, for example.
另外,在损失个数超过计数功能的计数范围的情况下,与实施方式2同样,可以利用IV数据包,使加密过程和解密过程双方的数据流加密算法的状态一致。Also, when the number of losses exceeds the counting range of the counting function, as in
[实施方式4][Embodiment 4]
图14是表示本发明实施方式4的数据流加密方式的解密装置1240的构成的方框图。在该图14中,对与图12的各部对应的部分赋予相同符号,省略说明。此外,加密装置与实施方式2相同,省略其说明。FIG. 14 is a block diagram showing the configuration of a
在实施方式4中,如图14所示,把图12的解密部1204变更为计数校验和解密部1241。只有该计数校验和解密部1241涉及的部分是与图12的解密装置1200相比的变更点。此外,与实施方式3的不同点在于,把图13的计数校验部1221的功能分散配置到各解密部。In
计数校验和解密部1241对被加密的TS数据包的损失个数进行计数,进行与该损失个数对应的解密的空转。在该空转中,在没有要解密的加密数据的状态下,进行与损失个数相应的数量的解密处理。另外,在损失个数超过了计数功能的计数范围的情况下,不进行解密的空转的指示。例如根据时刻信息,可以在一定间隔以上的损失继续时,判断为损失个数超过了计数功能的计数范围。The count check and
据此,与实施方式3同样,即使损失被加密的TS数据包,加密过程和解密过程双方的数据流加密算法的状态也不会变得不一致,加密过程和解密过程双方的数据流加密算法的状态能继续保持一致。据此,在数据流加密方式,能够强化针对传送错误等引起的传送数据的损失的耐性。Accordingly, similar to
另外,在损失个数超过了计数功能的计数范围的情况下,与实施方式2相同,可以利用IV数据包,使加密过程和解密过程双方的数据流加密算法的状态一致。In addition, when the number of losses exceeds the counting range of the counting function, similar to
[实施方式5][Embodiment 5]
图15是表示本发明实施方式5的数据流加密方式的加密装置1120的构成的方框图。在该图15中,对与图10的各部对应的部分赋予相同的符号,省略其说明。此外,解密装置也可以使用上述的任意的实施方式的解密装置,省略其说明。FIG. 15 is a block diagram showing the configuration of an
在实施方式5中,如图15所示,设置数据分析部1121。只有该数据分析部1121涉及的部分是与图10的加密装置1100相比的变更点。数据分析部1121分析TS数据包中保存的数据流内容数据。数据分析部1121通过该分析,把握数据流内容数据的处理单位。数据分析部1121指示IV数据包插入部1102a,以使其按每个数据流内容数据的处理单位插入IV数据包。IV数据包插入部1102a在被数据分析部1121指示的时刻,进行IV数据包的插入。据此,按每个数据流内容数据的处理单位插入IV数据包。In
以下,按数据流内容的种类不同,详细说明本实施方式的IV数据包插入动作。另外,这里,作为数据流内容的例子,列举图像内容、语音内容和数据广播内容。Hereinafter, the IV packet insertion operation of this embodiment will be described in detail according to the type of stream content. In addition, here, as examples of streaming content, image content, audio content, and data broadcast content are cited.
(图像内容)(image content)
在是图像内容的情况下,在紧邻保存了基准图像帧的TS数据包之前插入IV数据包。例如,在MPEG-1/2/4等图像编码方式中,生成称作I图像(Intra-Picture)、P图像(Predictive-Picture)、B Picture(Bi-directional Predictive-Picture)的3种图像。其中,I图像是基准图像帧,是成为图像解密时的基准的帧。因此,为了进行正常的图像解密,正常传送I图像是重要的。因此,如图16所示,在紧邻保存了I图像1130的TS数据包之前插入IV数据包1140。据此,I图像的加密和解密在对数据流加密算法进行了初始化的状态下开始,所以能稳定进行I图像的加密数据的解密。据此,能对稳定的图像内容再生的实现做出贡献。In the case of image content, an IV packet is inserted immediately before the TS packet storing the reference image frame. For example, in image coding methods such as MPEG-1/2/4, three types of images called I-picture (Intra-Picture), P-picture (Predictive-Picture), and B-Picture (Bi-directional Predictive-Picture) are generated. Among them, the I picture is a reference image frame, and is a frame used as a reference when decrypting an image. Therefore, in order to perform normal picture decryption, it is important to transmit I pictures normally. Therefore, as shown in FIG. 16, the
另外,在H.264等图像编码方式中,除了上述3种图像,还生成称作IDR(Instantaneous Decoder Refresh)图像的基准图像帧。这时,也可以在紧邻IDR帧之前插入IV数据包。In addition, in image coding methods such as H.264, in addition to the above three types of images, a reference image frame called an IDR (Instantaneous Decoder Refresh) image is also generated. At this time, an IV packet may also be inserted immediately before the IDR frame.
(语音内容)(voice content)
在是语音内容的情况下,在紧邻保存了语音帧的TS数据包之前插入IV数据包。例如,在数字广播等中,在具有称作ADTS(Audio DataTransport Stream)的头的帧中,传送语音编码数据。从该ADTS头开始语音帧,所以ADTS头成为语音编码数据的解密时的基准。因此,如图17所示,在紧邻保存ADTS头1150的TS数据包之前插入IV数据包1140。据此,在紧邻语音帧之前进行数据流加密算法的初始化,在对数据流加密算法进行了初始化的状态下开始语音帧的加密和解密,所以可以稳定进行语音帧的加密数据的解密。据此,能对稳定的语音内容再生的实现做出贡献。In the case of audio content, an IV packet is inserted immediately before the TS packet storing the audio frame. For example, in digital broadcasting and the like, encoded speech data is transmitted in a frame having a header called ADTS (Audio DataTransport Stream). Since the audio frame starts from the ADTS header, the ADTS header serves as a reference when decrypting speech coded data. Therefore, as shown in FIG. 17 , the
(数据广播内容)(data broadcast content)
在是数据广播内容的情况下,按每个重复广播的数据单位(循环数据)插入IV数据包。据此,在紧邻循环数据之前进行数据流加密算法的初始化,在对数据流加密算法进行了初始化的状态下开始循环数据的加密和解密,所以可以稳定进行循环数据的加密数据的解密。据此,能对稳定的数据广播内容再生的实现做出贡献。In the case of data broadcast content, an IV packet is inserted for every data unit (cyclic data) that is repeatedly broadcast. According to this, the stream encryption algorithm is initialized immediately before the cyclic data, and the cyclic data encryption and decryption are started with the stream cipher algorithm initialized, so that the encrypted data of the cyclic data can be decrypted stably. Accordingly, it is possible to contribute to the realization of stable playback of data broadcasting content.
以上,参照附图,说明本发明的实施方式,但是具体的构成并不局限于本实施方式,还包含不脱离本发明的宗旨的范围的设计变更等。As mentioned above, the embodiment of the present invention has been described with reference to the drawings, but the specific configuration is not limited to the present embodiment, and design changes and the like within the range not departing from the gist of the present invention are also included.
例如,上述的实施方式可以在面向便携式终端的数字广播系统中应用。这种情况下,在数字广播中,即使由于广播数据的传送错误等,保存数据流加密数据的TS数据包损失,广播电台侧和便携式终端侧的双方的数据流加密算法的状态变为不一致,暂时变为数字广播的接收状态变为不稳定,利用此后的IV数据包,能够使广播电台侧和便携式终端侧的双方的数据流加密算法的状态一致,并使数字广播的接收状态恢复到良好的状态。据此,能有助于面向便携式终端的数字广播的质量提高。For example, the above-mentioned embodiments can be applied in a digital broadcasting system oriented to portable terminals. In this case, in digital broadcasting, even if the TS packet storing the stream encryption data is lost due to a broadcast data transmission error, etc., the state of the stream encryption algorithm on both the broadcast station side and the mobile terminal side becomes inconsistent, The receiving state of digital broadcasting becomes unstable for a while, and the state of data stream encryption algorithms on both the broadcasting station side and the portable terminal side can be made to be the same by using the subsequent IV packet, and the receiving state of digital broadcasting can be restored to a good state. status. Accordingly, it is possible to contribute to the improvement of the quality of digital broadcasting for mobile terminals.
另外,本发明能在各种广播系统和通信系统中应用。In addition, the present invention can be applied in various broadcasting systems and communication systems.
工业上的可利用性Industrial availability
根据本发明,在利用广播波提供由多个资源构成的内容的情况下,能够对用户提供多样的服务方式。此外,根据本发明,在数据流加密方式中,能够强化针对传送错误等引起的传送数据的损失的耐性。According to the present invention, in the case of providing content composed of a plurality of resources by broadcast waves, it is possible to provide users with various service methods. Furthermore, according to the present invention, in the data stream encryption method, it is possible to strengthen the tolerance against loss of transmission data due to transmission errors or the like.
Claims (14)
Applications Claiming Priority (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP137002/2006 | 2006-05-16 | ||
| JP137004/2006 | 2006-05-16 | ||
| JP2006137002A JP5042524B2 (en) | 2006-05-16 | 2006-05-16 | ENCRYPTION DEVICE, DECRYPTION DEVICE, CONTENT DATA GENERATION METHOD |
| JP2006137004A JP5698425B2 (en) | 2006-05-16 | 2006-05-16 | Decoding device |
| PCT/JP2007/060060 WO2007132895A1 (en) | 2006-05-16 | 2007-05-16 | Encryption device, decryption device, license issuing device, and content data generation method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010529724.7A Division CN102035829B (en) | 2006-05-16 | 2007-05-16 | Encryption apparatus, decryption apparatus, licensing apparatus and content data generation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101444096A CN101444096A (en) | 2009-05-27 |
| CN101444096B true CN101444096B (en) | 2013-06-05 |
Family
ID=38844415
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2007800174980A Expired - Fee Related CN101444096B (en) | 2006-05-16 | 2007-05-16 | Encrypting device, decrypting device, license issuing device and content data generating method |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP5042524B2 (en) |
| CN (1) | CN101444096B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8966289B2 (en) * | 2010-12-17 | 2015-02-24 | Nxp B.V. | Pairing of angle sensor and electronic control unit |
| US10157282B2 (en) * | 2013-12-16 | 2018-12-18 | International Business Machines Corporation | Multiband encryption engine and a self testing method thereof |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1237843A (en) * | 1998-06-02 | 1999-12-08 | 日本电气株式会社 | System, method and medium for broadcasting service content |
| US6865555B2 (en) * | 2001-11-21 | 2005-03-08 | Digeo, Inc. | System and method for providing conditional access to digital content |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000003541A1 (en) * | 1998-07-13 | 2000-01-20 | Sony Corporation | Data multiplexer, program distribution system, program transmission system, toll broadcast system, program transmission method, limited receiving system, and data receiver |
| JP2003333032A (en) * | 2002-05-15 | 2003-11-21 | Oki Electric Ind Co Ltd | Encryption processing method and encryption processor |
| JP2005318041A (en) * | 2004-04-27 | 2005-11-10 | Victor Co Of Japan Ltd | Stream data transmission apparatus, stream data reception apparatus, and stream data transmission/reception system |
-
2006
- 2006-05-16 JP JP2006137002A patent/JP5042524B2/en not_active Expired - Fee Related
-
2007
- 2007-05-16 CN CN2007800174980A patent/CN101444096B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1237843A (en) * | 1998-06-02 | 1999-12-08 | 日本电气株式会社 | System, method and medium for broadcasting service content |
| US6865555B2 (en) * | 2001-11-21 | 2005-03-08 | Digeo, Inc. | System and method for providing conditional access to digital content |
Non-Patent Citations (1)
| Title |
|---|
| JP特开平9-51520A 1997.02.18 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101444096A (en) | 2009-05-27 |
| JP2007311939A (en) | 2007-11-29 |
| JP5042524B2 (en) | 2012-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8281128B2 (en) | Method and apparatus for encrypting transport stream of multimedia content, and method and apparatus for decrypting transport stream of multimedia content | |
| US7356147B2 (en) | Method, system and program product for attaching a title key to encrypted content for synchronized transmission to a recipient | |
| US8165293B2 (en) | Method and system providing scrambled content | |
| US20060036551A1 (en) | Protecting elementary stream content | |
| US20060184790A1 (en) | Protecting elementary stream content | |
| CN100592787C (en) | Method and conditional access system for content protection | |
| US20080298580A1 (en) | Content delivery server and content delivery system | |
| JP2005287039A (en) | Common scramble processing | |
| JP2005513839A (en) | Digital content distribution system | |
| CN101449578A (en) | Stream generating method, broadcast receiving apparatus, and display method | |
| JP2008009303A (en) | Content distribution server and content distribution method | |
| JP2000349725A (en) | Broadcast receiver and content usage control method | |
| KR101059181B1 (en) | Encryption device, decryption device, license issuing device, and method of generating content data | |
| KR20060064469A (en) | Device and method for protecting video files that are streaming service by multicast method | |
| US20090169000A1 (en) | Encryption device and medium, decryption device and method, data delivery device, data receiving device, and data delivery system | |
| CN101444096B (en) | Encrypting device, decrypting device, license issuing device and content data generating method | |
| CN100385941C (en) | Method for processing first domain encoded data received in a network belonging to a second domain | |
| JP4422437B2 (en) | License information transmitting apparatus and license information receiving apparatus | |
| CN108650549B (en) | Digital television data management method and system | |
| JP7688987B2 (en) | Transmitting device and receiving device | |
| JP5698425B2 (en) | Decoding device | |
| JP4000809B2 (en) | Encryption / decryption device | |
| JP2008187691A (en) | Content distribution system and content distribution method | |
| KR100725782B1 (en) | Broadcast Content Protection System and Method | |
| JP2007311940A (en) | Encryption device and decryption device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130605 Termination date: 20180516 |