JP4170304B2

Data protection system for protecting data by giving encryption

Abstract

This record has no abstract on file.

Term

Term ended

Expired 4 April 2025, 1.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

41 claims: 38 independent, 3 dependent

  1. 1
    3台以上の端末、暗号化装置及び暗号化鍵特定装置を備え、各端末への配給用データを暗号化装置により暗号化して保護するデータ保護システムであって、 前記各端末は、所定鍵割当方法により個別に割当てられた復号鍵群を記憶しており、前記暗号化装置から出力された暗号化配給用データ群を取得して、暗号化配給用データを、記憶している復号鍵を用いて復号するものであり、 前記所定鍵割当方法は、 (a) 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、複数の端末集合を決定し、 (b) 端末毎及び決定した端末集合毎に対応して各々別個の復号鍵を定め、 (c) 前記各端末に対して、当該端末に対応して定めた復号鍵、及び当該端末を含む全ての端末集合の各々に対応して定めた復号鍵に基づいて、復号鍵群を割り当てる方法であり、 前記暗号化鍵特定装置は、暗号化鍵を特定する装置であり、かつ、 1つ以上の端末を無効化端末として特定する無効化端末特定手段と、 前記所定鍵割当方法により端末に割当てられた全ての復号鍵のうち無効化端末に割当てられた復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が割り当てられていない最も多くの端末に、割当てられている有効復号鍵を選定するという手順を、 選定済みの有効復号鍵が割り当てられていない端末が存在しなくなるまで繰り返したと仮定したときに、結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を特定する暗号化鍵特定手段とを有する装置であり、 前記暗号化装置は、 前記暗号化鍵特定装置により特定された全ての暗号化鍵を逐次用いて配給用データを暗号化し、暗号化配給用データ群を生成して出力する暗号化手段を有する ことを特徴とするデータ保護システム。 It is a data protection system equipped with three or more terminals, an encryption device, and an encryption key identification device, and protects the data for distribution to each terminal by encrypting it with the encryption device. Each terminal is assigned a predetermined key. The decryption key group individually assigned by the method is stored, the encrypted distribution data group output from the encryption device is acquired, and the encrypted distribution data is stored using the stored decryption key. The predetermined key allocation method is the same as (a) so that each terminal belongs to at least one of a terminal set which is a set including two or more terminals as elements. A relationship is established in which a plurality of terminal sets each containing one or more terminals as an element, and none of the terminal sets in the plurality of terminal sets is a subset of each other terminal set in the plurality of terminal sets. However, so that the plurality of terminal sets exist,Further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and any one of the plurality of terminal sets. So that there is a plurality of terminal sets in which the relation that the terminal set of is not a subset of each other terminal set in the plurality of terminal sets is established.MultipleThe terminal set of is determined, (b) a separate decryption key is determined for each terminal and each determined terminal set, and (c) the decryption key determined for each terminal is determined for each terminal. , And a method of allocating a decryption key group based on a decryption key determined corresponding to each of all terminal sets including the terminal. The encryption key identification device is a device for specifying an encryption key. And, other than the invalidation terminal identification means for identifying one or more terminals as the invalidation terminal and the decryption key assigned to the invalidation terminal among all the decryption keys assigned to the terminals by the predetermined key allocation method. When the decryption key is defined as the valid decryption key, the selected valid decryption key performs the procedure of selecting the assigned valid decryption key for the most terminals to which the selected valid decryption key is not assigned. It is a device having an encryption key specifying means for specifying an encryption key corresponding to each of all the valid decryption keys that are selected as a result, assuming that it is repeated until there are no unassigned terminals. , The encryption device Data protection is characterized by having an encryption means that encrypts distribution data by sequentially using all the encryption keys specified by the encryption key identification device, and generates and outputs an encrypted distribution data group. system.
  2. 3
    The predetermined key allocation method further makes the determination of the terminal set so that each terminal set includes three or more terminals as an element and there is a terminal set including three or more terminal sets. Claims characterized by being a method1Described data protection system. 前記所定鍵割当方法は更に、各端末集合が3台以上の端末を要素に含むように、かつ、3つ以上の端末集合を包含する端末集合が存在するように、端末集合の前記決定を行う方法である ことを特徴とする請求項1記載のデータ保護システム。
  3. 4
    In the data protection system, each node excluding the lowest layer when assuming a tree structure of multiple layers of N-branches (N is a natural number of 3 or more) in which each terminal corresponds to a separate lowest layer node. Of the N nodes in the lower layer of the 1st stage that can be reached from the node (parent node), 2 or more are combined to determine a plurality of combination patterns including all N combinations, and each determined combination pattern is determined. A key in which a separate decryption key is defined and each of the defined decryption keys is stored in association with the node (parent node), and further, a separate decryption key is stored in association with each node in the lowest layer. It is a storage device and a device that executes the predetermined key allocation method and determines a decryption key group to be assigned to each terminal. For each of the terminals, each node that is not the lowest layer located on the path from the node of the lowest layer corresponding to the terminal to the node of the highest layer is stored by the key storage device in association with the node. Among the decryption keys, the decryption keys corresponding to all the combination patterns related to the combination including the node located on the path in the lower layer of the node, and stored by the key storage device in association with the terminal. A decryption key determining device for determining the decrypted key to be assigned to the terminal is provided, and each terminal set has a one-to-one correspondence with each combination pattern and is combined in the corresponding combination pattern. It corresponds to a set whose elements are all terminals corresponding to the lowest layer nodes reached from all nodes, and the encryption key identification means is invalid when the tree structure is assumed. All nodes that reach the lowest layer node corresponding to the converted terminal are defined as invalid nodes, the highest layer node is first set as the processing target node, and the encryption key identification process is performed until there are no unprocessed processing target nodes. Is repeated, and the encryption key identification process is performed for one unprocessed node to be processed (a). If the combination pattern related to the combination including all the nodes other than the invalid node exists in the one-stage lower layer of the processing target node, the decryption key stored in the key storage device corresponding to the combination pattern. (B) If the combination pattern related to the combination including all nodes other than the invalid node does not exist in the lower layer of the 1st stage of the processing target node, the encryption key corresponding to the above is not present. If is the lowest layer, the encryption key corresponding to the decryption key stored in the key storage device corresponding to all the nodes other than the invalid node in the one-stage lower layer is specified, and the one-stage lower layer is concerned. If is not the lowest layer, all nodes other than the invalid node in the lower layer of the first stage are newly set as the processing target node, and (c) If there is an invalid node in the lower layer of the first stage of the processing target node, the 1 A claim characterized in that all invalid nodes are newly set as processing target nodes unless the stage layer is the lowest layer.3Described data protection system. 前記データ保護システムは、 各端末を各々別個の最下位層のノードに対応させた複数階層のN分木(Nは3以上の自然数)の木構造を想定した場合における最下位層を除く各ノードについて、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなりN個全部の組合せを含む複数の組合せパターンを決定し、決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶しており、更に最下位層の各ノードに対応付けて別個の復号鍵を記憶している鍵記憶装置と、 前記所定鍵割当方法を実行し、前記各端末に割り当てる復号鍵群を決定する装置であり、かつ、 前記各端末について、当該端末に対応する最下位層のノードから最上位層のノードまでの経路上に位置する最下位層でない各ノードについて、当該ノードに対応付けて前記鍵記憶装置により記憶されている復号鍵のうち、当該ノードの1段下位層で当該経路上に位置するノードを含む組合せに係る全ての前記組合せパターンに対応する復号鍵と、当該端末に対応付けて前記鍵記憶装置により記憶されている復号鍵とを、当該端末に割り当てるべきものとして決定する復号鍵決定装置とを備え、 前記各端末集合は、前記各組合せパターンと一対一に対応し、対応する組合せパターンにおいて組み合わされた全ノードからから辿り着く最下位層のノードに対応する全ての端末を要素とする集合に相当するものであり、 前記暗号化鍵特定手段は、前記木構造を想定した場合において、いずれかの無効化端末に対応する最下位層のノードに辿り着く全てのノードを無効ノードと定め、まず最上位層ノードを処理対象ノードとしておき、未処理の処理対象ノードが存在しなくなるまで暗号化鍵特定処理を繰り返し行い、 前記暗号化鍵特定処理は、未処理の1つの処理対象ノードについて、 (a) 当該処理対象ノードの1段下位層において無効ノード以外の全てのノードを含む組合せに係る前記組合せパターンが存在する場合には、当該組合せパターンに対応して前記鍵記憶装置により記憶されている復号鍵に呼応する暗号化鍵を特定し、 (b) 当該処理対象ノードの1段下位層において無効ノード以外の全てのノードを含む組合せに係る前記組合せパターンが存在しない場合には、当該1段下位層が最下位層であれば当該1段下位層における無効ノード以外の全てのノードに対応して前記鍵記憶装置により記憶されている復号鍵に呼応する暗号化鍵を特定し、当該1段下位層が最下位層でなければ当該1段下位層における無効ノード以外の全てのノードを新たに処理対象ノードとし、 (c) 当該処理対象ノードの1段下位層において無効ノードが存在すれば、当該1段階層が最下位層でない限り全ての無効ノードを新たに処理対象ノードとする処理である ことを特徴とする請求項3記載のデータ保護システム。
  4. 5
    The key storage device determines the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure, and N nodes in the lower layer one step reached from the node (parent node). Of these, the combination pattern is determined so as to correspond to each combination of two or more combinations, and the key storage device determines a separate decryption key for each determined combination pattern and determines each of the determined combinations. A claim characterized in that the decryption key is stored in association with the node (parent node).4Described data protection system. 前記鍵記憶装置による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなる全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該鍵記憶装置は、その決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶している ことを特徴とする請求項4記載のデータ保護システム。
  5. 6
    The key storage device determines the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure, and N nodes in the lower layer one step reached from the node (parent node). Of these, the combination pattern is determined so as to correspond to all N combinations and (N-1) all combinations, and the key storage device is a separate decryption key for each determined combination pattern. The claim is characterized in that each of the determined decryption keys is stored in association with the node (parent node).4Described data protection system. 前記鍵記憶装置による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、N個全部の組合せ及び(N-1)個の全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該鍵記憶装置は、その決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶している ことを特徴とする請求項4記載のデータ保護システム。
  6. 7
    The encryption means uses the encryption distribution data generated by encryption using the encryption key for each of the encryption keys specified by the encryption key identification device, and the encryption by the key storage device. The decryption key corresponding to the encryption key and the encryption key node identification information for specifying the location of the associated node in the tree structure are output in association with each other, and each terminal uses a predetermined key allocation method. Each decryption key individually assigned by the key storage device is stored in association with the decryption key node identification information for identifying the location of the node associated with the decryption key in the tree structure by the key storage device. The encryption key node identification information that matches the decryption key node identification information stored in the terminal by acquiring the encryption distribution data group and the encryption key node identification information group output from the encryption device. A claim characterized in that the encrypted distribution data corresponding to the above is decrypted by using the decryption key node identification information related to the match and the corresponding decryption key.4Described data protection system. 前記暗号化手段は、前記暗号化鍵特定装置により特定された全ての暗号化鍵それぞれについて、当該暗号化鍵を用いた暗号化により生成した暗号化配給用データと、前記鍵記憶装置により当該暗号化鍵に呼応する復号鍵と対応付けられていたノードの前記木構造における所在位置を特定するための暗号化鍵ノード識別情報とを、対応付けて出力し、 前記各端末は、所定鍵割当方法により個別に割当てられた各復号鍵を、前記鍵記憶装置により当該復号鍵と対応付けられていたノードの前記木構造における所在位置を特定するための復号鍵ノード識別情報と対応付けて記憶しており、前記暗号化装置から出力された暗号化配給用データ群及び暗号化鍵ノード識別情報群を取得して、当該端末が記憶している復号鍵ノード識別情報と一致する暗号化鍵ノード識別情報と対応する暗号化配給用データを、当該一致に係る復号鍵ノード識別情報と対応する復号鍵を用いて復号する ことを特徴とする請求項4記載のデータ保護システム。
  7. 8
    The encryption key specifying device has an encryption key storage means for storing an encryption key corresponding to each decryption key stored in the key storage device, and the corresponding decryption key and the encryption key Claims that are different from each other4Described data protection system. 前記暗号化鍵特定装置は、 前記鍵記憶装置により記憶されている各復号鍵に呼応する暗号化鍵を記憶している暗号化鍵記憶手段を有し、 前記呼応する復号鍵と暗号化鍵とは互いに異なる ことを特徴とする請求項4記載のデータ保護システム。
  8. 10
    The encryption means includes a content storage unit that stores content data that is a digital work, a random number data generation unit that generates the distribution data that is a random number, and a distribution unit that is generated by the random number data generation unit. It has a content encryption unit that encrypts the content data using the data as a key to generate encrypted content data, and the encryption means is all the encryption specified by the encryption key identification device. By encrypting the distribution data generated by the random number data generation unit using the keys sequentially, an encrypted distribution data group is generated, and the encrypted distribution data group and the content encryption unit generate the encrypted distribution data group. The generated encrypted content data is recorded on the data recording medium, and each terminal reads and acquires the encrypted content data and the encrypted distribution data group from the data recording medium, and obtains the encrypted distribution data. Is decrypted, and the encrypted content data is decrypted by using the distribution data which is the decryption result.9Described data protection system. 前記暗号化手段は、 デジタル著作物であるコンテンツデータを記憶しているコンテンツ記憶部と、 乱数である前記配給用データを生成する乱数データ発生部と、 前記乱数データ発生部により生成された配給用データを鍵として用いて前記コンテンツデータを暗号化して、暗号化コンテンツデータを生成するコンテンツ暗号化部とを有し、 前記暗号化手段は、前記暗号化鍵特定装置により特定された全ての暗号化鍵を逐次用いて前記乱数データ発生部により生成された配給用データを暗号化することにより、暗号化配給用データ群を生成して、当該暗号化配給用データ群と、前記コンテンツ暗号化部により生成された暗号化コンテンツデータとを前記データ記録媒体に記録し、 前記各端末は、前記データ記録媒体から暗号化コンテンツデータ及び暗号化配給用データ群を読み出して取得して、暗号化配給用データを復号し、復号結果である配給用データを用いて、当該暗号化コンテンツデータを復号する ことを特徴とする請求項9記載のデータ保護システム。
  9. 11
    The data protection system further includes an encryption key identification information recording device that records the encryption key identification information for identifying the encryption key specified by the encryption key identification device on a data recording medium. The terminal reads the encryption key specific information from the random number data generation unit that generates the distribution data that is a random number, the content storage unit that stores the content data that is a digital work, and the data recording medium, and said that. The encryption means has an encryption key selection unit that selects an encryption key specified by the encryption key specific information among the encryption key groups corresponding to the decryption key group stored in the terminal. An encrypted distribution data group is generated by encrypting the distribution data generated by the random number data generation unit by sequentially using all the encryption keys selected by the encryption key selection unit, and the data is described. It is recorded on a recording medium, and each terminal further encrypts and encrypts the content data stored in the content storage unit by using the distribution data generated by the random number data generation unit as a key. A content encryption unit that generates content data and records the encrypted content data on the data recording medium, Each terminal reads and acquires the encrypted content data and the encrypted distribution data group from the data recording medium, decrypts the encrypted distribution data, and uses the decryption result distribution data to perform the encryption. A claim characterized by decrypting the encrypted content data.9Described data protection system. 前記データ保護システムは更に、 前記暗号化鍵特定装置により特定された暗号化鍵を特定するための暗号化鍵特定情報を、データ記録媒体に記録する暗号化鍵特定情報記録装置を備え、 前記各端末は、 乱数である前記配給用データを生成する乱数データ発生部と、 デジタル著作物であるコンテンツデータを格納しているコンテンツ格納部と、 前記データ記録媒体から暗号化鍵特定情報を読み出し、当該端末に記憶されている復号鍵群に呼応する暗号化鍵群のうち当該暗号化鍵特定情報で特定される暗号化鍵を選定する暗号化鍵選定部とを有し、 前記暗号化手段は、前記暗号化鍵選定部により選定された全ての暗号化鍵を逐次用いて前記乱数データ発生部により生成された配給用データを暗号化することにより暗号化配給用データ群を生成して、前記データ記録媒体に記録するものであり、 前記各端末は更に、 前記乱数データ発生部により生成された配給用データを鍵として用いて前記コンテンツ格納部に格納されているコンテンツデータを暗号化して、暗号化コンテンツデータを生成し、当該暗号化コンテンツデータを前記データ記録媒体に記録するコンテンツ暗号化部と、 前記各端末は、前記データ記録媒体から暗号化コンテンツデータ及び暗号化配給用データ群を読み出して取得して、暗号化配給用データを復号し、復号結果である配給用データを用いて、当該暗号化コンテンツデータを復号する ことを特徴とする請求項9記載のデータ保護システム。
  10. 13
    It is a decryption key determination device for determining a decryption key group for decryption to be individually assigned to each of three or more terminals for acquiring and decrypting encrypted data, and (a) each terminal , A plurality of terminal sets including the same one or more terminals in each element so as to belong to at least one of the terminal sets which are a set including two or more terminals in the element, and the plurality of terminals. So that there is a plurality of terminal sets in which the relationship that any one terminal set in the set is not a subset of each other terminal set in the plurality of terminal sets is established.Further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and any one of the plurality of terminal sets. So that there is a plurality of terminal sets in which the relation that the terminal set of is not a subset of each other terminal set in the plurality of terminal sets is established.Multiple(B) Decryption key setting means for associating a separate decryption key for each terminal and each determined terminal set, and each terminal are associated with the terminal by the decryption key setting means. It is characterized by comprising a decryption key group assigning means for determining a decryption key group to be assigned to the terminal based on the decryption key obtained and the decryption key associated with each of all the terminal sets including the terminal. Decryption key determination device. 暗号化されたデータを取得して復号するための3台以上の端末それぞれに、個別に割り当てる復号用の復号鍵群を決定するための復号鍵決定装置であって、 (a) 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、複数の端末集合を決定し、 (b) 端末毎及び決定した端末集合毎について各々別個の復号鍵を対応付ける復号鍵設定手段と、 前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵及び当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に割り当てるべき復号鍵群を決定する復号鍵群割当手段とを備える ことを特徴とする復号鍵決定装置。
  11. 14
    The decryption key group assigning means gives each terminal a decryption key associated with the terminal by the decryption key setting means and all the decryption keys associated with each of all the terminal sets including the terminal. , A claim characterized in that it is determined as a decryption key group to be assigned to the terminal.13The decryption key determination device described. 前記復号鍵群割当手段は、前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵及び当該端末を含む全ての端末集合の各々に対応付けられた復号鍵全てを、当該端末に割り当てるべき復号鍵群として決定する ことを特徴とする請求項13記載の復号鍵決定装置。
  12. 15
    The decryption key setting means further makes the determination of the terminal set so that each terminal set includes three or more terminals as an element and there is a terminal set including the three or more terminal sets. Claims13The decryption key determination device described. 前記復号鍵設定手段は更に、各端末集合が3台以上の端末を要素に含むように、かつ、3つ以上の端末集合を包含する端末集合が存在するように、端末集合の前記決定を行う ことを特徴とする請求項13記載の復号鍵決定装置。
  13. 16
    The decryption key setting means excludes the lowest layer when assuming a multi-layered N-branch (N is a natural number of 3 or more) tree structure in which each terminal corresponds to a separate lowest layer node. For a node, out of the N nodes in the lower layer of one stage that reach from the node (parent node), two or more are combined to determine a plurality of combination patterns including all N combinations, and each determined combination pattern is determined. A separate decryption key is defined in, and each of the defined decryption keys is stored in association with the relevant node (parent node), and a separate decryption key is stored in association with each node in the lowest layer. For each terminal, the decryption key group assigning means associates each non-lowest layer node located on the path from the lowest layer node corresponding to the terminal to the highest layer node with respect to the node. Among the decryption keys stored by the decryption key setting means, the decryption keys corresponding to all the combination patterns related to the combination including the node located on the path in the lower layer of the node, and the decryption key. The decryption key stored by the decryption key setting means in association with the terminal is determined as to be assigned to the terminal, and each terminal set is determined. A claim having a one-to-one correspondence with each combination pattern, and corresponding to a set having all terminals corresponding to the lowest layer nodes reached from all the combined nodes in the corresponding combination pattern. Item15The decryption key determination device described. 前記復号鍵設定手段は、 各端末を各々別個の最下位層のノードに対応させた複数階層のN分木(Nは3以上の自然数)の木構造を想定した場合における最下位層を除く各ノードについて、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなりN個全部の組合せを含む複数の組合せパターンを決定し、決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶しており、更に最下位層の各ノードに対応付けて別個の復号鍵を記憶しており、 前記復号鍵群割当手段は、 前記各端末について、当該端末に対応する最下位層のノードから最上位層のノードまでの経路上に位置する最下位層でない各ノードについて、当該ノードに対応付けて前記復号鍵鍵設定手段により記憶されている復号鍵のうち、当該ノードの1段下位層で当該経路上に位置するノードを含む組合せに係る全ての前記組合せパターンに対応する復号鍵と、当該端末に対応付けて前記復号鍵設定手段により記憶されている復号鍵とを、当該端末に割り当てるべきものとして決定し、 前記各端末集合は、 前記各組合せパターンと一対一に対応し、対応する組合せパターンにおいて組み合わされた全ノードからから辿り着く最下位層のノードに対応する全ての端末を要素とする集合に相当する ことを特徴とする請求項15記載の復号鍵決定装置。
  14. 17
    The determination of the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure by the decryption key setting means is performed by N of the one-step lower layer reached from the node (parent node). It is made by defining a combination pattern so as to correspond to each combination of two or more of the nodes, and the decryption key setting means defines and defines a separate decryption key for each determined combination pattern. A claim characterized in that each decryption key is stored in association with the node (parent node).16The decryption key determination device described. 前記復号鍵設定手段による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなる全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該復号鍵設定手段は、その決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶している ことを特徴とする請求項16記載の復号鍵決定装置。
  15. 18
    The determination of the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure by the decryption key setting means is performed by N of the one-step lower layer reached from the node (parent node). It is made by defining a combination pattern so as to correspond to each of all N combinations and (N-1) combinations of the nodes, and the decryption key setting means is different for each determined combination pattern. A claim characterized in that a decryption key is determined and each of the determined decryption keys is stored in association with the node (parent node).16The decryption key determination device described. 前記復号鍵設定手段による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、N個全部の組合せ及び(N-1)個の全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該復号鍵設定手段は、その決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶している ことを特徴とする請求項16記載の復号鍵決定装置。
  16. 19
    This is a decryption key determination method for determining a decryption key group for decryption to be individually assigned to each of three or more terminals for acquiring and decrypting encrypted data, and each of the above terminals has two. A plurality of terminal sets including the same one or more terminals in each element so as to belong to at least one of the terminal sets which are sets including the above terminals in the elements, and any of the plurality of terminal sets. Further, the plurality of terminal sets are completely included so that there is a plurality of terminal sets in which the relation that one terminal set is not a subset of each other terminal set in the plurality of terminal sets is established. A plurality of terminal sets each including the same one or more terminal sets so that there is a terminal set to be used, and any one terminal set in the plurality of terminal sets is another in the plurality of terminal sets. So that there are the plurality of terminal sets in which the relation that they are not a subset of each terminal set ofThe key information generator of the key setting systemA terminal set determination step that determines multiple terminal sets, andThe key information generation unitA separate decryption key is associated with each terminal and each terminal set determined by the terminal set determination step., The information indicating the correspondence is stored in the key information storage unit of the key setting system.Decryption key mapping step andWhen the decryption key determination unit of the key setting system refers to the information in the key information storage unit,Each terminal should be assigned to the terminal based on the decryption key associated with the terminal by the decryption key mapping step and the decryption key associated with each of all the terminal sets including the terminal. A method for determining a decryption key, which comprises a decryption key group allocation step for determining a decryption key group. 暗号化されたデータを取得して復号するための3台以上の端末それぞれに、個別に割り当てる復号用の復号鍵群を決定するための復号鍵決定方法であって、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、鍵設定システムの鍵情報生成部が、複数の端末集合を決定する端末集合決定ステップと、前記鍵情報生成部が、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付け、当該対応を示す情報を前記鍵設定システムの鍵情報格納部に記憶させる復号鍵対応付けステップと、前記鍵設定システムの復号鍵決定部が、前記鍵情報格納部内の情報を参照することにより、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵及び当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に割り当てるべき復号鍵群を決定する復号鍵群割当ステップとを含む ことを特徴とする復号鍵決定方法。
  17. 20
    Decryption key determination process for determining the decryption key group for decryption to be individually assigned to each of the three or more terminals for acquiring and decrypting the encrypted data., A key information generation unit, a decryption key determination unit, and a key information storage unitA computer program to run on a computerAndThe decryption key determination process further includes the same one or more terminals in each element so that each terminal belongs to at least one of the terminal sets which is a set including two or more terminals in the element. There is a plurality of terminal sets in which the relationship that any one terminal set in the plurality of terminal sets is not a subset of each other terminal set in the plurality of terminal sets is established. Further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and the plurality of terminal sets. A plurality of terminal sets are set so that there is a plurality of terminal sets in which the relation that none of the terminal sets in the above is not a subset of each other terminal set in the plurality of terminal sets is established.In the key information generation unitDecisionLetTerminal set determination step andIn the key information generation unit,A separate decryption key is associated with each terminal and each terminal set determined by the terminal set determination step.And store the information indicating the correspondence in the key information storage unit.Decryption key mapping step andBy having the decryption key determination unit refer to the information in the key information storage unit,Each terminal should be assigned to the terminal based on the decryption key associated with the terminal by the decryption key mapping step and the decryption key associated with each of all the terminal sets including the terminal. Determine decryption key groupLetA computer program that includes a decryption key group allocation step. 暗号化されたデータを取得して復号するための3台以上の端末それぞれに、個別に割り当てる復号用の復号鍵群を決定するための復号鍵決定処理を、鍵情報生成部、復号鍵決定部及び鍵情報格納部を備えるコンピュータに実行させるためのコンピュータプログラムであって、 前記復号鍵決定処理は、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 複数の端末集合を前記鍵情報生成部に決定させる端末集合決定ステップと、前記鍵情報生成部に、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付けさせ、当該対応を示す情報を前記鍵情報格納部に記憶させる復号鍵対応付けステップと、前記復号鍵決定部に、前記鍵情報格納部内の情報を参照させることにより、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵及び当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に割り当てるべき復号鍵群を決定させる復号鍵群割当ステップとを含む ことを特徴とするコンピュータプログラム。
  18. 21
    Decryption key determination process for determining the decryption key group for decryption to be individually assigned to each of the three or more terminals for acquiring and decrypting the encrypted data., A key information generation unit, a decryption key determination unit, and a key information storage unitA recording medium on which a computer program for execution by a computer is recorded.AndThe decryption key determination process further includes the same one or more terminals in each element so that each terminal belongs to at least one of the terminal sets which is a set including two or more terminals in the element. There is a plurality of terminal sets in which the relationship that any one terminal set in the plurality of terminal sets is not a subset of each other terminal set in the plurality of terminal sets is established. Further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and the plurality of terminal sets. A plurality of terminal sets are set so that there is a plurality of terminal sets in which the relation that none of the terminal sets in the above is not a subset of each other terminal set in the plurality of terminal sets is established.In the key information generation unitDecisionLetTerminal set determination step andIn the key information generation unit,A separate decryption key is associated with each terminal and each terminal set determined by the terminal set determination step.And store the information indicating the correspondence in the key information storage unit.Decryption key mapping step andBy having the decryption key determination unit refer to the information in the key information storage unit,Each terminal should be assigned to the terminal based on the decryption key associated with the terminal by the decryption key mapping step and the decryption key associated with each of all the terminal sets including the terminal. Determine decryption key groupLetA recording medium comprising a decryption key group allocation step. 暗号化されたデータを取得して復号するための3台以上の端末それぞれに、個別に割り当てる復号用の復号鍵群を決定するための復号鍵決定処理を、鍵情報生成部、復号鍵決定部及び鍵情報格納部を備えるコンピュータに実行させるためのコンピュータプログラムを記録した記録媒体であって、 前記復号鍵決定処理は、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 複数の端末集合を前記鍵情報生成部に決定させる端末集合決定ステップと、前記鍵情報生成部に、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付けさせ、当該対応を示す情報を前記鍵情報格納部に記憶させる復号鍵対応付けステップと、前記復号鍵決定部に、前記鍵情報格納部内の情報を参照させることにより、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵及び当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に割り当てるべき復号鍵群を決定させる復号鍵群割当ステップとを含む ことを特徴とする記録媒体。
  19. 22
    It is a decryption terminal system composed of three or more terminals for acquiring and decrypting encrypted data, and each terminal stores a decryption key group individually assigned by a predetermined key allocation method. The decryption key group storage means, the encrypted data acquisition means for acquiring the encrypted data, and the decryption key stored in the decryption key group storage means for the data acquired by the encrypted data acquisition means. The predetermined key allocation method comprises a decoding means for decrypting using the above, so that (a) each terminal belongs to at least one of a terminal set which is a set including two or more terminals as elements. Further, it is said that it is a plurality of terminal sets each including the same one or more terminals in each element, and none of the terminal sets in the plurality of terminal sets is a subset of each other terminal set in the plurality of terminal sets. So that the plurality of terminal sets where the relationship is established existsFurther, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and any one of the plurality of terminal sets. So that there is a plurality of terminal sets in which the relation that the terminal set of is not a subset of each other terminal set in the plurality of terminal sets is established.MultipleThe terminal set of is determined, (b) a separate decryption key is determined for each terminal and each determined terminal set, and (c) the decryption key determined for each terminal is determined for each terminal. , And a method of allocating a decryption key group based on a decryption key determined corresponding to each of all terminal sets including the terminal. 暗号化されたデータを取得して復号するための3台以上の端末から構成される復号端末システムであって、 前記各端末は、 所定鍵割当方法により個別に割当てられた復号鍵群を記憶している復号鍵群記憶手段と、 暗号化されたデータを取得する暗号化データ取得手段と、 前記暗号化データ取得手段により取得されたデータを、前記復号鍵群記憶手段に記憶されている復号鍵を用いて復号する復号手段とを備え、 前記所定鍵割当方法は、 (a) 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、複数の端末集合を決定し、 (b) 端末毎及び決定した端末集合毎に対応して各々別個の復号鍵を定め、 (c) 前記各端末に対して、当該端末に対応して定めた復号鍵、及び当該端末を含む全ての端末集合の各々に対応して定めた復号鍵に基づいて、復号鍵群を割り当てる方法である ことを特徴とする復号端末システム。
  20. 23
    The predetermined key allocation method is a method of assigning to each terminal all the decryption keys determined corresponding to the terminal and the decryption keys determined corresponding to each of all the terminal sets including the terminal. Claims22The decryption terminal system described. 前記所定鍵割当方法は、 前記各端末に対して、当該端末に対応して定めた復号鍵、及び当該端末を含む全ての端末集合の各々に対応して定めた復号鍵を全て割り当てる方法である ことを特徴とする請求項22記載の復号端末システム。
  21. 24
    A claim, wherein the encrypted data acquisition means reads the encrypted data from a data recording medium and acquires the encrypted data.22The decryption terminal system described. 前記暗号化データ取得手段は、前記暗号化されたデータをデータ記録媒体から読み出して取得する ことを特徴とする請求項22記載の復号端末システム。
  22. 25
    The data recording medium records encryption key identification information for identifying the encryption key, and the terminal is further a random number data generating means for generating key data which is a random number and a digital work. Of the content storage means for storing content data and the encryption key group corresponding to the decryption key group stored in the decryption key group storage means by reading the encryption key specific information from the data recording medium, the encryption A key generated by the random number data generating means by sequentially using an encryption key selection means for selecting an encryption key specified by the encryption key specific information and all the encryption keys selected by the encryption key selection means. A key data encryption means that generates an encryption key data group by encrypting data and records the encryption key data group on the data recording medium, and a key data generated by the random number data generation means. It is provided with a content encryption means for generating encrypted content data by encrypting the content data stored in the content storage unit by using it as a key and recording the encrypted content data in the data recording medium. The encrypted data acquisition means acquires the encryption key data and the encrypted content data recorded in the data recording medium, and the decryption means obtains the encryption key data acquired by the encryption data acquisition means. The key data is generated by decrypting the data using the decryption key stored in the decryption key group storage means, and the terminal further obtains the encrypted content acquired by the encrypted data acquisition means. The claim is characterized by comprising a content decryption means for decrypting data using the key data generated by the decryption means.24The decryption terminal system described. 前記データ記録媒体には、暗号化鍵を特定するための暗号化鍵特定情報が記録されており、 前記端末は更に、 乱数である鍵データを生成する乱数データ発生手段と、 デジタル著作物であるコンテンツデータを格納しているコンテンツ格納手段と、 前記データ記録媒体から暗号化鍵特定情報を読み出し、前記復号鍵群記憶手段に記憶されている復号鍵群に呼応する暗号化鍵群のうち当該暗号化鍵特定情報で特定される暗号化鍵を選定する暗号化鍵選定手段と、 前記暗号化鍵選定手段により選定された全ての暗号化鍵を逐次用いて前記乱数データ発生手段により生成された鍵データを暗号化することにより暗号化鍵データ群を生成して、当該暗号化鍵データ群を前記データ記録媒体に記録する鍵データ暗号化手段と、 前記乱数データ発生手段により生成された鍵データを鍵として用いて前記コンテンツ格納部に格納されているコンテンツデータを暗号化することにより暗号化コンテンツデータを生成し、当該暗号化コンテンツデータを前記データ記録媒体に記録するコンテンツ暗号化手段とを備え、 前記暗号化データ取得手段は、前記データ記録媒体に記録されている暗号化鍵データ及び暗号化コンテンツデータを取得し、 前記復号手段は、前記暗号化データ取得手段により取得された前記暗号化鍵データを、前記復号鍵群記憶手段に記憶されている復号鍵を用いて復号することにより鍵データを生成するものであり、 前記端末は更に、前記暗号化データ取得手段により取得された前記暗号化コンテンツデータを、前記復号手段により生成された鍵データを用いて復号するコンテンツ復号手段を備える ことを特徴とする請求項24記載の復号端末システム。
  23. 26
    A claim characterized in that the encrypted data is transmitted from an external transmitting device, and the encrypted data acquisition means acquires the encrypted data by receiving the encrypted data.22The decryption terminal system described. 前記暗号化されたデータは外部の送信装置から送信されるものであり、 前記暗号化データ取得手段は、前記暗号化されたデータを受信することにより取得する ことを特徴とする請求項22記載の復号端末システム。
  24. 27
    3台以上の各端末への配給用データの暗号化に用いるべき暗号化鍵を特定する暗号化鍵特定装置であって、 (a) 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、複数の端末集合を決定し、 (b) 端末毎及び決定した端末集合毎について各々別個の復号鍵を対応付ける復号鍵設定手段と、 前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に対応付ける復号鍵群を決定する復号鍵群対応付け手段と、 1つ以上の端末を無効化端末として特定する無効化端末特定手段と、 前記復号鍵群対応付け手段により端末に対応付けられた全ての復号鍵のうち無効化端末に対応付けられている復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が対応付けられていない最も多くの端末に対応付けられている有効復号鍵を選定するという手順を、 選定済みの有効復号鍵が対応付けられていない端末が存在しなくなるまで繰り返したと仮定したときに、結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を特定する暗号化鍵特定手段とを備える ことを特徴とする暗号化鍵特定装置。 An encryption key identification device that specifies an encryption key to be used for encrypting distribution data to three or more terminals. (A) A set in which each terminal includes two or more terminals as elements. A plurality of terminal sets including the same one or more terminals in each element so as to belong to at least one of the terminal sets, and any one terminal set in the plurality of terminal sets is the plurality of terminals. So that there are the plurality of terminal sets in which the relation that they are not a subset of each other terminal set in the terminal set ofFurther, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and any one of the plurality of terminal sets. So that there is a plurality of terminal sets in which the relation that the terminal set of is not a subset of each other terminal set in the plurality of terminal sets is established.Multiple(B) Decryption key setting means for associating different decryption keys for each terminal and each determined terminal set, and each terminal is associated with the terminal by the decryption key setting means. One or more decryption key group mapping means for determining a decryption key group associated with the terminal based on the decryption key associated with each of all the terminal sets including the terminal in addition to the decryption key obtained. Decryption of all the decryption keys associated with the terminal by the invalidation terminal identification means for specifying the terminal as the invalidation terminal and the decryption key group mapping means other than the decryption key associated with the invalidation terminal. When the key is defined as the valid decryption key, the selected valid decryption key performs the procedure of selecting the valid decryption key associated with the most terminals to which the selected valid decryption key is not associated. It is provided with an encryption key identification means for specifying an encryption key corresponding to each of all the valid decryption keys that are selected as a result, assuming that the process is repeated until there are no unassociated terminals. A featured encryption key identification device.
  25. 28
    The decryption key setting means for each terminal, in addition to the decryption key associated with the terminal by the decryption key setting means, the decryption key associated with each of all the terminal sets including the terminal. A claim characterized in that all are associated with the terminal.27Described encryption key identification device. 前記復号鍵設定手段は、前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵全てを、当該端末に対応付ける ことを特徴とする請求項27記載の暗号化鍵特定装置。
  26. 29
    The decryption key setting means further makes the determination of the terminal set so that each terminal set includes three or more terminals as an element and there is a terminal set including the three or more terminal sets. Claims27Described encryption key identification device. 前記復号鍵設定手段は更に、各端末集合が3台以上の端末を要素に含むように、かつ、3つ以上の端末集合を包含する端末集合が存在するように、端末集合の前記決定を行う ことを特徴とする請求項27記載の暗号化鍵特定装置。
  27. 30
    The decryption key setting means excludes the lowest layer when assuming a multi-layered N-branch (N is a natural number of 3 or more) tree structure in which each terminal corresponds to a separate lowest layer node. For a node, out of the N nodes in the lower layer of the 1st stage that reach from the node (parent node), 2 or more are combined to determine a plurality of combination patterns including all N combinations, and each determined combination pattern is determined. A separate decryption key is defined in, and each of the defined decryption keys is stored in association with the relevant node (parent node), and a separate decryption key is stored in association with each node in the lowest layer. The decryption key group associating means corresponds to the node of each non-lowest layer located on the path from the node of the lowest layer corresponding to the terminal to the node of the highest layer for each terminal. Among the decryption keys stored by the decryption key setting means, the decryption keys corresponding to all the combination patterns related to the combination including the node located on the path in the lower layer of the node, and the decryption key. The decryption key stored by the decryption key setting means in association with the terminal is associated with the terminal. Each terminal set has a one-to-one correspondence with each combination pattern, and corresponds to a set having all terminals corresponding to the lowest layer nodes reached from all the combined nodes in the corresponding combination pattern. In the case of assuming the tree structure, the encryption key specifying means defines all the nodes that reach the lowest layer node corresponding to any of the invalidated terminals as invalid nodes, and first determines the highest layer node. It is set as a process target node, and the encryption key identification process is repeated until there are no unprocessed process target nodes. The encryption key identification process is performed on one unprocessed process target node (a) the process target. When the combination pattern related to the combination including all the nodes other than the invalid node exists in the lower layer of one stage of the node, it corresponds to the decryption key stored by the decryption key setting means corresponding to the combination pattern. Identify the encryption key to be used, and (b) If the combination pattern related to the combination including all nodes other than the invalid node does not exist in the one-stage lower layer of the processing target node, if the one-stage lower layer is the lowest layer, the one-stage lower layer is used. The encryption key corresponding to the decryption key stored by the decryption key setting means is specified corresponding to all the nodes other than the invalid node, and if the one-step lower layer is not the lowest layer, the one-step lower layer is specified. All nodes other than the invalid node in the above are newly set as the processing target node, and (c) If there is an invalid node in the one-stage lower layer of the processing target node, all the invalid nodes unless the one-stage layer is the lowest layer. A claim characterized in that the processing is a new processing target node.29Described encryption key identification device. 前記復号鍵設定手段は、 各端末を各々別個の最下位層のノードに対応させた複数階層のN分木(Nは3以上の自然数)の木構造を想定した場合における最下位層を除く各ノードについて、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなりN個全部の組合せを含む複数の組合せパターンを決定し、決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶しており、更に最下位層の各ノードに対応付けて別個の復号鍵を記憶しており、 前記復号鍵群対応付け手段は、 前記各端末について、当該端末に対応する最下位層のノードから最上位層のノードまでの経路上に位置する最下位層でない各ノードについて、当該ノードに対応付けて前記復号鍵設定手段により記憶されている復号鍵のうち、当該ノードの1段下位層で当該経路上に位置するノードを含む組合せに係る全ての前記組合せパターンに対応する復号鍵と、当該端末に対応付けて前記復号鍵設定手段により記憶されている復号鍵とを、当該端末に対応付け、 前記各端末集合は、前記各組合せパターンと一対一に対応し、対応する組合せパターンにおいて組み合わされた全ノードからから辿り着く最下位層のノードに対応する全ての端末を要素とする集合に相当し、 前記暗号化鍵特定手段は、前記木構造を想定した場合において、いずれかの無効化端末に対応する最下位層のノードに辿り着く全てのノードを無効ノードと定め、まず最上位層ノードを処理対象ノードとしておき、未処理の処理対象ノードが存在しなくなるまで暗号化鍵特定処理を繰り返し行い、 前記暗号化鍵特定処理は、未処理の1つの処理対象ノードについて、 (a) 当該処理対象ノードの1段下位層において無効ノード以外の全てのノードを含む組合せに係る前記組合せパターンが存在する場合には、当該組合せパターンに対応して前記復号鍵設定手段により記憶されている復号鍵に呼応する暗号化鍵を特定し、 (b) 当該処理対象ノードの1段下位層において無効ノード以外の全てのノードを含む組合せに係る前記組合せパターンが存在しない場合には、当該1段下位層が最下位層であれば当該1段下位層における無効ノード以外の全てのノードに対応して前記復号鍵設定手段により記憶されている復号鍵に呼応する暗号化鍵を特定し、当該1段下位層が最下位層でなければ当該1段下位層における無効ノード以外の全てのノードを新たに処理対象ノードとし、 (c) 当該処理対象ノードの1段下位層において無効ノードが存在すれば、当該1段階層が最下位層でない限り全ての無効ノードを新たに処理対象ノードとする処理である ことを特徴とする請求項29記載の暗号化鍵特定装置。
  28. 31
    The determination of the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure by the decryption key setting means is performed by N of the one-step lower layer reached from the node (parent node). It is made by defining a combination pattern so as to correspond to each combination of two or more of the nodes, and the decryption key setting means sets all the combination patterns determined for each node (parent node). Corresponds to the node (parent node) as invalidation pattern information obtained by concatenating values indicating whether or not each of the N nodes reached from the node (parent node) is to be combined according to a predetermined node order. A separate decryption key is determined for each invalidation pattern information, and each of the determined decryption keys is stored in association with the node (parent node) and the invalidation pattern information. In the case of assuming the tree structure, the encryption key identification means defines all the nodes that reach the lowest layer node corresponding to any of the invalidated terminals as invalid nodes, and each node except the lowest layer. After specifying the invalidation information indicating whether or not each of the N nodes in the lower layer one step reached from the node is an invalid node, the encryption key identification process is performed, and the encryption key identification process is performed. For one unprocessed node to be processed, (a) if invalidation pattern information consistent with the invalidation information specified for the processing target node exists, the above-mentioned invalidation pattern information corresponds to the invalidation pattern information. The encryption key corresponding to the decryption key stored by the decryption key setting means is specified, and (b) if there is no invalidation pattern information consistent with the invalidation information specified for the processing target node, the relevant node is concerned. If the lower layer of the first stage is the lowest layer, the encryption key corresponding to the decryption key stored by the decryption key setting means corresponding to all the nodes other than the invalid node in the lower layer of the first stage is specified. If the lower layer of the 1st stage is not the lowest layer, all nodes other than the invalid node in the lower layer of the 1st stage are newly set as the processing target nodes, and (c) The claim is characterized in that if an invalid node exists in the one-stage lower layer of the processing target node, all the invalid nodes are newly set as the processing target node unless the one-stage layer is the lowest layer.30Described encryption key identification device. 前記復号鍵設定手段による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、2以上を組合せてなる全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該復号鍵設定手段は、その各ノード(親ノード)について決定した全ての組合せパターンを、当該ノード(親ノード)から辿り着く前記N個のノードそれぞれを組合せ対象とするか否かを示す値を所定のノード順序に従って連結させてなる無効化パターン情報として当該ノード(親ノード)と対応付けて記憶するとともに、無効化パターン情報毎に別個の復号鍵を定めて、その定めた各復号鍵を当該ノード(親ノード)及び当該無効化パターン情報と対応付けて記憶し、 前記暗号化鍵特定手段は、前記木構造を想定した場合において、いずれかの無効化端末に対応する最下位層のノードに辿り着く全てのノードを無効ノードと定め、最下位層を除く各ノードについて、当該ノードから辿り着く1段下位層のN個のノードそれぞれが無効ノードであるか否かを示す無効化情報を特定した後に、前記暗号化鍵特定処理を行い、 前記暗号化鍵特定処理は、未処理の1つの処理対象ノードについて、 (a) 当該処理対象ノードについて特定された無効化情報と整合する無効化パターン情報が存在する場合には、当該無効化パターン情報に対応して前記復号鍵設定手段により記憶されている復号鍵に呼応する暗号化鍵を特定し、 (b) 当該処理対象ノードについて特定された無効化情報と整合する無効化パターン情報が存在しない場合には、当該1段下位層が最下位層であれば当該1段下位層における無効ノード以外の全てのノードに対応して前記復号鍵設定手段により記憶されている復号鍵に呼応する暗号化鍵を特定し、当該1段下位層が最下位層でなければ当該1段下位層における無効ノード以外の全てのノードを新たに処理対象ノードとし、 (c) 当該処理対象ノードの1段下位層において無効ノードが存在すれば、当該1段階層が最下位層でない限り全ての無効ノードを新たに処理対象ノードとする処理である ことを特徴とする請求項30記載の暗号化鍵特定装置。
  29. 32
    The determination of the plurality of combination patterns for each node excluding the lowest layer in the case of assuming the tree structure by the decryption key setting means is performed by N of the one-step lower layer reached from the node (parent node). It is made by defining a combination pattern so as to correspond to each of all N combinations and (N-1) combinations of the nodes, and the decryption key setting means is different for each determined combination pattern. A claim characterized in that a decryption key is determined and each of the determined decryption keys is stored in association with the node (parent node).30Described encryption key identification device. 前記復号鍵設定手段による、前記木構造を想定した場合における最下位層を除く各ノードについての前記複数の組合せパターンの決定は、当該ノード(親ノード)から辿り着く1段下位層のN個のノードのうち、N個全部の組合せ及び(N-1)個の全ての組合せそれぞれに対応するように組合せパターンを定めることによりなされ、当該復号鍵設定手段は、その決定した組合せパターン毎に別個の復号鍵を定めてその定めた各復号鍵を当該ノード(親ノード)と対応付けて記憶している ことを特徴とする請求項30記載の暗号化鍵特定装置。
  30. 33
    3台以上の各端末への配給用データを暗号化する暗号化装置であって、 (a) 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、複数の端末集合を決定し、 (b) 端末毎及び決定した端末集合毎について各々別個の復号鍵を対応付ける 復号鍵設定手段と、 前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に対応付ける復号鍵群を決定する復号鍵群対応付け手段と、 1つ以上の端末を無効化端末として特定する無効化端末特定手段と、 前記復号鍵群対応付け手段により端末に対応付けられた全ての復号鍵のうち無効化端末に対応付けられている復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が対応付けられていない最も多くの端末に対応付けられている有効復号鍵を選定するという手順を、 選定済みの有効復号鍵が対応付けられていない端末が存在しなくなるまで繰り返したと仮定したときに、結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を特定する暗号化鍵特定手段と、 前記暗号化鍵特定手段により特定された全ての暗号化鍵を逐次用いて配給用データを暗号化し、暗号化配給用データ群を生成する暗号化手段と、 前記暗号化手段により生成された暗号化配給用データ群を外部に出力する出力手段とを備える ことを特徴とする暗号化装置。 An encryption device that encrypts distribution data to three or more terminals, and (a) at least one of the terminal sets in which each terminal is a set containing two or more terminals as elements. To belong to, a plurality of terminal sets each including the same one or more terminals in each element, and any one terminal set in the plurality of terminal sets is a set of other terminals in the plurality of terminal sets. So that there are multiple terminal sets where the relationship that they are not subsets holds.Further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets that each include the same one or more terminal sets, and any one of the plurality of terminal sets. So that there is a plurality of terminal sets in which the relation that the terminal set of is not a subset of each other terminal set in the plurality of terminal sets is established.Multiple(B) A decryption key setting means for associating a separate decryption key for each terminal and each determined terminal set, and each terminal are associated with the terminal by the decryption key setting means. One or more decryption key group mapping means for determining a decryption key group associated with the terminal based on the decryption key associated with each of all the terminal sets including the terminal in addition to the decryption key obtained. Decryption of all the decryption keys associated with the terminal by the invalidation terminal identification means for specifying the terminal as the invalidation terminal and the decryption key group mapping means other than the decryption key associated with the invalidation terminal. When the key is defined as the valid decryption key, the selected valid decryption key performs the procedure of selecting the valid decryption key associated with the most terminals to which the selected valid decryption key is not associated. Assuming that the process is repeated until there are no unassociated terminals, the encryption key identification means for specifying the encryption key corresponding to each of all the valid decryption keys selected as a result, and the encryption An encryption means that encrypts distribution data by sequentially using all the encryption keys specified by the key identification means and generates an encrypted distribution data group. An encryption device including an output means for outputting an encrypted distribution data group generated by the encryption means to the outside.
  31. 34
    The decryption key group associating means is associated with each of the terminals, in addition to the decryption key associated with the terminal by the decryption key setting means, with each of all the terminal sets including the terminal. A claim characterized in that all decryption keys are associated with the terminal.33The encryption device described. 前記復号鍵群対応付け手段は、前記各端末に対して、前記復号鍵設定手段により当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵全てを、当該端末に対応付ける ことを特徴とする請求項33記載の暗号化装置。
  32. 35
    The claim is characterized in that the output means outputs key identification information for identifying each encryption key specified by the encryption key identification means to the outside together with the encryption distribution data group.33The encryption device described. 前記出力手段は、前記暗号化鍵特定手段により特定された各暗号化鍵を識別するための鍵特定情報を前記暗号化配給用データ群とともに外部に出力する ことを特徴とする請求項33記載の暗号化装置。
  33. 36
    The encryption device further includes a content storage means for storing content data which is a digital work, a random number data generation means for generating the distribution data which is a random number, and a distribution generated by the random number data generation means. The output means includes a content encryption means that encrypts the content data using the data for use as a key to generate encrypted content data, and the output means uses the encrypted content data generated by the content encryption means as described above. A claim characterized in that the data is output to the outside together with the encrypted distribution data group.33The encryption device described. 前記暗号化装置は更に、 デジタル著作物であるコンテンツデータを記憶しているコンテンツ記憶手段と、 乱数である前記配給用データを生成する乱数データ発生手段と、 前記乱数データ発生手段により生成された配給用データを鍵として用いて前記コンテンツデータを暗号化して、暗号化コンテンツデータを生成するコンテンツ暗号化手段とを備え、 前記出力手段は、前記コンテンツ暗号化手段により生成された暗号化コンテンツデータを前記暗号化配給用データ群とともに外部に出力する ことを特徴とする請求項33記載の暗号化装置。
  34. 37
    The output by the output means is to record the encrypted distribution data group on a data recording medium. Claims33The encryption device described. 前記出力手段による前記出力は、前記暗号化配給用データ群をデータ記録媒体に記録することである。 ことを特徴とする請求項33記載の暗号化装置。
  35. 38
    A claim, wherein the output by the output means is to transmit the encrypted distribution data group to the respective terminals.33The encryption device described. 前記出力手段による前記出力は、前記暗号化配給用データ群を前記各端末に送信することである ことを特徴とする請求項33記載の暗号化装置。
  36. 39
    3台以上の各端末への配給用データの暗号化に用いるべき暗号化鍵を特定するための暗号化鍵特定方法であって、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、鍵設定システムの鍵情報生成部が、複数の端末集合を決定する端末集合決定ステップと、前記鍵情報生成部が、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付ける復号鍵対応付けステップと、前記鍵設定システムの復号鍵決定部が、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に対応付ける復号鍵群を決定する復号鍵群対応付けステップと、前記鍵設定システムの無効化端末特定部が、1つ以上の端末を無効化端末として特定する無効化端末特定ステップと、前記復号鍵決定部によりなされた前記復号鍵群対応付けステップにより端末に対応付けられた全ての復号鍵のうち無効化端末に対応付けられている復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が対応付けられていない最も多くの端末に対応付けられている有効復号鍵を選定するという手順を、選定済みの有効復号鍵が対応付けられていない端末が存在しなくなるまで繰り返し、 結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を前記鍵設定システムの暗号化鍵特定部が、特定する暗号化鍵特定ステップとを含む ことを特徴とする暗号化鍵特定方法。 It is an encryption key identification method for specifying an encryption key to be used for encrypting distribution data to each of three or more terminals, and each terminal is a set including two or more terminals as elements. A plurality of terminal sets including the same one or more terminals in each element so as to belong to at least one of the terminal sets, and any one terminal set in the plurality of terminal sets is the plurality of terminal sets. So that there is a plurality of terminal sets where the relationship that it is not a subset of each other terminal set in the terminal set is established, and further, there is a terminal set that completely includes the plurality of terminal sets. Moreover, it is said that it is a plurality of terminal sets each including the same one or more terminal sets, and none of the terminal sets in the plurality of terminal sets is a subset of each other terminal set in the plurality of terminal sets. So that there are multiple terminal sets where the relationship is establishedThe key information generator of the key setting systemA terminal set determination step that determines multiple terminal sets, andThe key information generation unitA decryption key associating step that associates a separate decryption key with each terminal and each terminal set determined by the terminal set determination step,The decryption key determination unit of the key setting systemFor each terminal, in addition to the decryption key associated with the terminal in the decryption key mapping step, the terminal is based on the decryption key associated with each of all terminal sets including the terminal. Decryption key group mapping step to determine the decryption key group to be associated withThe invalidation terminal identification part of the key setting systemThe invalidation terminal identification step that identifies one or more terminals as invalidation terminals,Made by the decryption key determination unitWhen the decryption key other than the decryption key associated with the invalidated terminal is defined as the valid decryption key among all the decryption keys associated with the terminal by the decryption key group mapping step, the selected valid decryption is performed. The procedure of selecting the valid decryption key associated with the most terminals to which the key is not associated is repeated until there is no terminal to which the selected valid decryption key is not associated, and as a result. An encryption key that corresponds to each of the selected valid decryption keysThe encryption key identification part of the key setting systemA method for identifying an encryption key, which comprises a step of identifying an encryption key to be identified.
  37. 40
    3台以上の各端末への配給用データの暗号化に用いるべき暗号化鍵を特定するための特定処理を、鍵情報生成部、復号鍵決定部、無効化端末特定部、暗号化鍵特定部及び鍵情報格納部を備えるコンピュータに実行させるためのコンピュータプログラムであって、 前記特定処理は、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 複数の端末集合を前記鍵情報生成部に決定させる端末集合決定ステップと、前記鍵情報生成部に、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付けさせ、当該対応を示す情報を前記鍵情報格納部に記憶させる復号鍵対応付けステップと、前記復号鍵決定部に、前記鍵情報格納部内の情報を参照させることにより、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に対応付ける復号鍵群を決定する復号鍵群対応付けステップと、前記無効化端末特定部に、1つ以上の端末を無効化端末として特定させる無効化端末特定ステップと、 前記復号鍵群対応付けステップにより端末に対応付けられた全ての復号鍵のうち無効化端末に対応付けられている復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が対応付けられていない最も多くの端末に対応付けられている有効復号鍵を選定するという手順を、選定済みの有効復号鍵が対応付けられていない端末が存在しなくなるまで繰り返させ、 結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を前記暗号化鍵特定部に特定させる暗号化鍵特定ステップとを含む ことを特徴とするコンピュータプログラム。 Specific processing to specify the encryption key to be used for encrypting distribution data to each of three or more terminals, Key information generation unit, decryption key determination unit, invalidation terminal identification unit, encryption key identification unit, and key information storage unitA computer program for a computer to execute, wherein each terminal belongs to at least one of a terminal set, which is a set including two or more terminals as elements. A relationship is established in which a plurality of terminal sets each including one or more terminals are included in each element, and none of the terminal sets in the plurality of terminal sets is a subset of each other terminal set in the plurality of terminal sets. However, there are a plurality of terminal sets so that the plurality of terminal sets exist, and further, there is a terminal set that completely includes the plurality of terminal sets, and a plurality of terminal sets each include the same one or more terminal sets. That is, there exists such a plurality of terminal sets in which the relationship that any one terminal set in the plurality of terminal sets is not a subset of each other terminal set in the plurality of terminal sets is established. Multiple terminal setsIn the key information generation unitDecisionLetTerminal set determination step andIn the key information generation unit,A separate decryption key is associated with each terminal and each terminal set determined by the terminal set determination step.And store the information indicating the correspondence in the key information storage unit.Decryption key mapping step andBy having the decryption key determination unit refer to the information in the key information storage unit,For each terminal, in addition to the decryption key associated with the terminal in the decryption key mapping step, the terminal is based on the decryption key associated with each of all terminal sets including the terminal. Decryption key group mapping step to determine the decryption key group to be associated withIn the invalidation terminal identification part,Identify one or more devices as disabled devicesLetOf all the decryption keys associated with the terminal by the invalidation terminal identification step and the decryption key group association step, the decryption key other than the decryption key associated with the invalidation terminal is defined as the valid decryption key. In some cases, there is a terminal to which the selected valid decryption key is not associated with the procedure of selecting the valid decryption key associated with the most terminals to which the selected valid decryption key is not associated. Repeat until no moreLet, An encryption key that corresponds to each of the resulting valid decryption keysIn the encryption key identification partspecificLetA computer program characterized by including an encryption key identification step.
  38. 41
    3台以上の各端末への配給用データの暗号化に用いるべき暗号化鍵を特定するための特定処理を、鍵情報生成部、復号鍵決定部、無効化端末特定部、暗号化鍵特定部及び鍵情報格納部を備えるコンピュータに実行させるためのコンピュータプログラムを記録した記録媒体であって、 前記特定処理は、 前記各端末が、2つ以上の端末を要素に含む集合である端末集合の少なくとも1つには属するように、 更に、同じ1つ以上の端末を各々要素に含む複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 更に、前記複数の端末集合を完全に包含する端末集合が存在するように、かつ、同じ1つ以上の端末集合を各々包含する複数の端末集合であって、当該複数の端末集合におけるいずれの一の端末集合も当該複数の端末集合における他の各端末集合の部分集合でないという関係が成立するところの当該複数の端末集合が存在するように、 複数の端末集合を前記鍵情報生成部に決定させる端末集合決定ステップと、前記鍵情報生成部に、端末毎及び前記端末集合決定ステップにより決定された端末集合毎について各々別個の復号鍵を対応付けさせ、当該対応を示す情報を前記鍵情報格納部に記憶させる復号鍵対応付けステップと、前記復号鍵決定部に、前記鍵情報格納部内の情報を参照させることにより、前記各端末に対して、前記復号鍵対応付けステップにより当該端末に対応付けられた復号鍵に加えて、当該端末を含む全ての端末集合の各々に対応付けられた復号鍵に基づいて、当該端末に対応付ける復号鍵群を決定する復号鍵群対応付けステップと、前記無効化端末特定部に、1つ以上の端末を無効化端末として特定させる無効化端末特定ステップと、 前記復号鍵群対応付けステップにより端末に対応付けられた全ての復号鍵のうち無効化端末に対応付けられている復号鍵以外の復号鍵を有効復号鍵と定めた場合において、 選定済みの有効復号鍵が対応付けられていない最も多くの端末に対応付けられている有効復号鍵を選定するという手順を、選定済みの有効復号鍵が対応付けられていない端末が存在しなくなるまで繰り返させ、 結果的に選定済みとなる全ての有効復号鍵それぞれに呼応する暗号化鍵を前記暗号化鍵特定部に特定させる暗号化鍵特定ステップとを含む ことを特徴とする記録媒体。 Specific processing to specify the encryption key to be used for encrypting distribution data to each of three or more terminals, Key information generation unit, decryption key determination unit, invalidation terminal identification unit, encryption key identification unit, and key information storage unitA recording medium on which a computer program to be executed by a computer is recorded, and the specific processing is such that each terminal belongs to at least one of a terminal set which is a set including two or more terminals as elements. Furthermore, it is a plurality of terminal sets each containing the same one or more terminals in each element, and none of the terminal sets in the plurality of terminal sets is a subset of each other terminal set in the plurality of terminal sets. So that there is a plurality of terminal sets in which the above-mentioned relationship is established, and further, there is a terminal set that completely includes the plurality of terminal sets, and each of the same one or more terminal sets is included. A plurality of terminal sets in which any one terminal set in the plurality of terminal sets is not a subset of each other terminal set in the plurality of terminal sets. Multiple terminal sets to existIn the key information generation unitDecisionLetTerminal set determination step andIn the key information generation unit,A separate decryption key is associated with each terminal and each terminal set determined by the terminal set determination step.And store the information indicating the correspondence in the key information storage unit.Decryption key mapping step andBy having the decryption key determination unit refer to the information in the key information storage unit,For each terminal, in addition to the decryption key associated with the terminal in the decryption key mapping step, the terminal is based on the decryption key associated with each of all terminal sets including the terminal. Decryption key group mapping step to determine the decryption key group to be associated withIn the invalidation terminal identification part,Identify one or more devices as disabled devicesLetOf all the decryption keys associated with the terminal by the invalidation terminal identification step and the decryption key group association step, the decryption key other than the decryption key associated with the invalidation terminal is defined as the valid decryption key. In some cases, there is a terminal to which the selected valid decryption key is not associated with the procedure of selecting the valid decryption key associated with the most terminals to which the selected valid decryption key is not associated. Repeat until no moreLet, An encryption key that corresponds to each of the resulting valid decryption keysIn the encryption key identification partspecificLetA recording medium characterized by including an encryption key identification step.
Independent claims38