JP2010251877A - Signature device - Google Patents

Signature device Download PDF

Info

Publication number
JP2010251877A
JP2010251877A JP2009096687A JP2009096687A JP2010251877A JP 2010251877 A JP2010251877 A JP 2010251877A JP 2009096687 A JP2009096687 A JP 2009096687A JP 2009096687 A JP2009096687 A JP 2009096687A JP 2010251877 A JP2010251877 A JP 2010251877A
Authority
JP
Japan
Prior art keywords
signature
data
hash value
video data
video
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.)
Granted
Application number
JP2009096687A
Other languages
Japanese (ja)
Other versions
JP5383297B2 (en
Inventor
Sumie Nakabayashi
澄江 中林
Shinya Ogura
慎矢 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2009096687A priority Critical patent/JP5383297B2/en
Publication of JP2010251877A publication Critical patent/JP2010251877A/en
Application granted granted Critical
Publication of JP5383297B2 publication Critical patent/JP5383297B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To overcome the problems that the signature processing time and the signature verification time take a time by times of the number of hierarchies compared with non hierarchical data, and relationship between hierarchies can not be verified, i.e. assurance of authenticity is difficult for the whole video data, if data are signed for every hierarchical data in hierarchically encoded video image data. <P>SOLUTION: A signature device calculates a hash value for each of hierarchical data constituting hierarchically encoded video image data. By repeating processing for combining a plurality of calculated hash values to two in hierarchical order of hierarchical data to calculate a hash value, the device calculates one hash value for the video image data. Based on the one hash value, the device generates signature information. Then, the device generates a second signature information for the video image data so as to include the signature information and each hash value combined until the one hash value is calculated. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、階層符号化データから署名を生成し、生成した署名を検証する技術に関する。   The present invention relates to a technique for generating a signature from hierarchically encoded data and verifying the generated signature.

監視対象とするエリアに監視カメラを設置し、この監視カメラで撮影した映像を、ネットワークを通じて警備会社などの監視センタに送信し、遠隔地を一括監視する映像監視システムでは、監視映像(例えば、JPEGやMPEGなど)を監視センタなどに設置した映像記録装置に長期間保存しておくが、保存した映像に対する証拠性を確保するためにデジタル署名の適用が望まれている。   In a video surveillance system in which a surveillance camera is installed in an area to be monitored, video captured by the surveillance camera is transmitted to a surveillance center such as a security company through a network, and remote locations are collectively monitored, surveillance video (for example, JPEG Are stored in a video recording apparatus installed in a monitoring center or the like for a long period of time, but application of a digital signature is desired in order to ensure evidence of the stored video.

一方、伝送帯域の有効利用を目的として、最近では、階層符号化技術により、大画面用の高精細画像や携帯電話向けの低ビットレート画像を一度の符号化処理で生成するコーデックも市場に現われている。階層符号化された映像データは、低解像度データ、中解像度データ、高解像度データなどの複数の階層からなるデータから構成され、下位の階層である低解像度データからは、低解像度の映像が再生され、低解像度データと中位の階層である中解像度データから中解像度の映像が再生され、低解像度データと中解像度データと上位の階層である高解像度データからは高解像度の映像が再生される。   On the other hand, for the purpose of effective use of the transmission band, codecs that generate high-definition images for large screens and low bit-rate images for mobile phones with a single encoding process have recently appeared on the market using hierarchical encoding technology. ing. Hierarchically encoded video data is composed of data consisting of multiple layers such as low resolution data, medium resolution data, and high resolution data, and low resolution video is reproduced from low resolution data that is a lower layer. The medium resolution video is reproduced from the low resolution data and the medium resolution data which is the middle hierarchy, and the high resolution video is reproduced from the low resolution data, the middle resolution data and the high resolution data which is the upper hierarchy.

階層符号化技術を採用した映像アプリケーションにおいては、映像記録装置の記憶容量の有効利用を図るため、記録映像のうち新しい映像は高画質で保存し、保存期間が長くなるに従い順次、上位階層データを消去することで、古い映像は低画質で保存しておきたいというニーズがある。   In video applications that employ hierarchical coding technology, in order to make effective use of the storage capacity of the video recording device, new video of the recorded video is stored with high image quality, and the higher-level data is sequentially stored as the storage period increases. There is a need to save old videos with low image quality by erasing them.

このように映像データの上位階層のデータを削除する場合において、残存データの真正性を保証する署名技術として、例えば、特許文献1に記載の技術を用いて、階層データ毎に署名を行うことが考えられる。   In this way, when deleting the upper layer data of the video data, as a signature technique for guaranteeing the authenticity of the remaining data, for example, a technique described in Patent Document 1 may be used to sign each layer data. Conceivable.

特開2008−178048号公報JP 2008-178048 A

しかしながら、階層データ毎に署名を行う場合、階層化されてない場合に比較して、署名処理時間と署名検証時間とが階層数倍かかってしまう。また、階層間は独立に署名生成処理、署名検証処理を行うため、ある高階層データはある低階層データの上位層であるといった階層間関係については検証できない。すなわち、複数の階層データから構成される映像データとしての真正性の保証が困難という課題がある。   However, when the signature is performed for each hierarchical data, the signature processing time and the signature verification time are multiplied by the number of layers compared to the case where the hierarchical data is not hierarchized. Further, since the signature generation processing and signature verification processing are performed independently between layers, it is not possible to verify the relationship between layers such that certain high layer data is an upper layer of some low layer data. That is, there is a problem that it is difficult to guarantee authenticity as video data composed of a plurality of hierarchical data.

そこで本発明は、上記問題点を解決し、階層符号化データが削除された場合であっても、映像データの真正性の保証をすることが可能な署名装置を提供することを目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-described problems and to provide a signature device that can guarantee the authenticity of video data even when hierarchically encoded data is deleted.

上記の課題を解決するために、本発明は、階層符号化された映像データに対する署名情報を生成する署名装置であって、前記階層符号化された映像データの各階層を構成する階層データのそれぞれに対するハッシュ値を算出するハッシュ値算出手段と、前記算出された複数のハッシュ値を前記階層データの階層順に二つ組み合わせてハッシュ値を算出する処理を繰り返すことで、前記映像データに対する一のハッシュ値を算出する第二ハッシュ値算出手段と、前記一のハッシュ値に基づいて署名情報を生成する署名情報生成手段と、前記階層符号化された映像データに対して、前記署名情報と、前記一のハッシュ値を算出するまでに組み合わされた各ハッシュ値と、を含む第二の署名情報を生成する第二署名情報生成手段と、を備えることを特徴とする署名装置を提案する。   In order to solve the above problems, the present invention provides a signature device that generates signature information for hierarchically encoded video data, each of the hierarchical data constituting each hierarchy of the hierarchically encoded video data. One hash value for the video data by repeating a hash value calculation means for calculating a hash value for the video data and a process for calculating the hash value by combining two of the calculated hash values in the hierarchical order of the hierarchical data A second hash value calculating means for calculating the signature information, a signature information generating means for generating signature information based on the one hash value, the signature information for the hierarchically encoded video data, and the one Second signature information generating means for generating second signature information including each hash value combined until a hash value is calculated. To propose a signature device to butterflies.

これにより、本発明の署名装置にて生成された第二の署名情報が付与された署名付き映像データを記録、再生する装置などにおいて、階層データの一部を削除した場合であっても、映像データの真正性を保証するための署名の検証を行うことが可能である。   As a result, even if a part of the hierarchical data is deleted in an apparatus for recording and reproducing the signed video data with the second signature information generated by the signature apparatus of the present invention, the video It is possible to verify the signature to ensure the authenticity of the data.

以上のように、本発明によれば、各階層を構成する階層データのハッシュ値と組み合わされるハッシュ値が第二の署名情報に含まれるので、階層データの一部が削除された場合であっても、署名に含まれる削除された階層データのハッシュ値を使用して署名の検証を行うことができる。また、算出される一のハッシュ値は、複数の階層データから構成される映像データに対する一つのハッシュ値であるため、これにより映像データとしての真正性を保証できる。   As described above, according to the present invention, since the hash value combined with the hash value of the hierarchical data constituting each hierarchy is included in the second signature information, a part of the hierarchical data is deleted. In addition, the signature can be verified using the hash value of the deleted hierarchical data included in the signature. Also, since the calculated one hash value is one hash value for video data composed of a plurality of hierarchical data, the authenticity as video data can be ensured.

また、複数の階層データから構成される映像データに対して署名を生成するので、階層毎に署名を生成する場合に比較して、署名生成処理と署名検証処理とを高速化することができる。   In addition, since a signature is generated for video data composed of a plurality of hierarchical data, the signature generation processing and signature verification processing can be speeded up as compared with the case where a signature is generated for each layer.

さらに、例えば、映像データに対する一のハッシュ値を算出する際に、階層データから算出されたハッシュ値を階層データの階層順に二つ組み合わせてハッシュ値を算出する処理を繰り返すことで、上位階層データをまとめたハッシュ値を署名に含むこと等が可能であり、階層データ削除時の署名検証処理を高速化することができる。   Furthermore, for example, when calculating one hash value for video data, by repeating the process of calculating the hash value by combining two hash values calculated from the hierarchical data in the hierarchical order of the hierarchical data, the upper hierarchical data is The collected hash values can be included in the signature, and the signature verification process when deleting hierarchical data can be speeded up.

即ち、本発明によれば、階層符号化データにおけるデータ削除に対応し、映像データの真正性を保証できる効率的な署名方法を提供することができる。   That is, according to the present invention, it is possible to provide an efficient signature method that can cope with data deletion in hierarchically encoded data and can guarantee the authenticity of video data.

映像署名システムの構成例を示す図である。It is a figure which shows the structural example of a video signature system. 署名装置105の構成例を示す図である。2 is a diagram illustrating a configuration example of a signature device 105. FIG. 署名装置105の構成例を示すブロック図である。2 is a block diagram illustrating a configuration example of a signature device 105. FIG. 検証装置106の構成例を示す図である。2 is a diagram illustrating a configuration example of a verification device 106. FIG. 検証装置106の構成例を示すブロック図である。3 is a block diagram illustrating a configuration example of a verification device 106. FIG. 署名装置105の署名処理部212における具体的な処理を説明する図である。6 is a diagram illustrating specific processing in a signature processing unit 212 of the signature device 105. FIG. 署名装置105によって生成される署名付き映像データの具体例を示す図である。It is a figure which shows the specific example of the video data with a signature produced | generated by the signature apparatus. 検証装置106の署名検証部412における具体的な処理を説明する図である。6 is a diagram illustrating specific processing in a signature verification unit 412 of the verification device 106. FIG. 署名装置105の署名処理部212における具体的な処理を説明する図である。6 is a diagram illustrating specific processing in a signature processing unit 212 of the signature device 105. FIG. 署名装置105の構成例を示す図である。2 is a diagram illustrating a configuration example of a signature device 105. FIG. 署名装置105の乱数取得部217及び二分木生成部218における具体的な処理を説明する図である。6 is a diagram illustrating specific processing in a random number acquisition unit 217 and binary tree generation unit 218 of the signature device 105. FIG.

以下、本発明の実施形態について、図面を参照しながら説明する。なお、以下の説明において参照する各図では、他の図と同等部分は同一符号によって示されている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings referred to in the following description, the same parts as those in the other drawings are denoted by the same reference numerals.

(実施形態1)
(映像署名システムの構成)
図1は、本発明に係る署名装置を利用した映像署名システムの構成例を示す図である。図1に示す映像署名システムは、映像生成装置101a、101b、エンコーダ102、記録装置103、表示装置104、署名装置105、及び検証装置106を備える。
(Embodiment 1)
(Configuration of video signature system)
FIG. 1 is a diagram showing a configuration example of a video signature system using a signature device according to the present invention. The video signature system shown in FIG. 1 includes video generation devices 101a and 101b, an encoder 102, a recording device 103, a display device 104, a signature device 105, and a verification device 106.

映像生成装置101a、エンコーダ102、記録装置103、表示装置104、署名装置105は、ネットワーク110を介して互いに情報を送受信することができるように構成されている。なお、本実施形態においては、検証装置106は、ネットワーク110に接続されていないが、ネットワーク110に接続されていてもよい。   The video generation device 101 a, the encoder 102, the recording device 103, the display device 104, and the signature device 105 are configured to be able to transmit / receive information to / from each other via the network 110. In the present embodiment, the verification device 106 is not connected to the network 110, but may be connected to the network 110.

映像生成装置101a、101bにて生成された映像は、映像データとして、エンコーダ102にて必要な処理が施された後、記録装置103に送信される。記録装置103では、送信された映像データが記録、保持され、必要に応じて、表示装置104や他の記録装置(図示せず)に送信される。また、署名装置105は、映像データに対して署名を生成して映像データに付与する処理を行う。また、検証装置106は、署名付き映像データに付されている署名を検証する処理を行う。以下、各装置について詳述する。   The video generated by the video generation devices 101 a and 101 b is transmitted as video data to the recording device 103 after necessary processing is performed by the encoder 102. The recording device 103 records and holds the transmitted video data, and transmits it to the display device 104 and other recording devices (not shown) as necessary. In addition, the signature device 105 performs a process of generating a signature for the video data and adding the signature to the video data. The verification device 106 performs processing for verifying the signature attached to the signed video data. Hereinafter, each device will be described in detail.

(映像生成装置の構成)
映像生成装置101a、101bは、撮像素子を備えるカメラ等により構成され、入力される光を電気信号に変換して映像データを生成する映像処理部(図示せず)を有する。また、映像生成装置101a、101bは、映像データを自身内部の記憶部(図示せず)に記憶し、他の映像生成装置、記録装置103及び表示装置104の少なくとも一つの装置からの要求、または、映像生成装置101a、101b自身の判断により、ネットワーク110を介して、他の映像生成装置、記録装置103及び表示装置104の少なくとも一つの装置に配信する配信機能を有する。ここで、映像生成装置101a、101b自身の判断とは、例えば、撮像した映像データの差分等により動体を検知した場合等を指す。
(Configuration of video generation device)
The video generation devices 101a and 101b are configured by a camera or the like including an image sensor, and have a video processing unit (not shown) that converts input light into an electrical signal to generate video data. In addition, the video generation devices 101a and 101b store video data in a storage unit (not shown) within the video generation devices 101a and 101b, and requests from at least one of the other video generation devices, the recording device 103, and the display device 104, or The video generation apparatuses 101 a and 101 b have a distribution function of distributing to at least one of the video generation apparatus, the recording apparatus 103, and the display apparatus 104 via the network 110 based on the determination of the video generation apparatuses 101 a and 101 b themselves. Here, the judgment of the video generation apparatuses 101a and 101b itself refers to, for example, a case where a moving object is detected based on a difference of captured video data.

(エンコーダの構成)
エンコーダ102は、映像生成装置101a、101bにて生成された映像データをネットワーク伝送に適した形式に変換する機能を有する。例えば、映像データがアナログ映像信号である場合にはデジタル映像信号への変換処理を行なったり、ネットワークの伝送帯域に応じて圧縮処理を行ったりする。なお、映像生成装置101aについては、その内部にエンコーダ102が内蔵されている。
(Encoder configuration)
The encoder 102 has a function of converting the video data generated by the video generation apparatuses 101a and 101b into a format suitable for network transmission. For example, when the video data is an analog video signal, conversion processing to a digital video signal is performed, or compression processing is performed according to the transmission band of the network. Note that the video generation apparatus 101a includes an encoder 102 therein.

また、エンコーダ102は、映像データの階層符号化処理を行う。具体的には、映像データを、解像度に応じて、低解像度データ、中解像度データ、高解像度データなどの複数の階層からなるデータとする。   The encoder 102 performs hierarchical encoding processing of video data. Specifically, the video data is data composed of a plurality of layers such as low resolution data, medium resolution data, and high resolution data according to the resolution.

なお、本実施形態においては、映像生成装置101bとエンコーダ102とを別々の装置として説明したが、これらが同じ装置(筐体)内に実現されていてもよい。   In the present embodiment, the video generation apparatus 101b and the encoder 102 have been described as separate apparatuses, but these may be realized in the same apparatus (housing).

(記録装置の構成)
記録装置103は、映像生成装置101a、101b、または、他の記録装置(図示せず)が配信した映像データを受信して、自身内部の記憶部(図示せず)に記憶する記憶制御部(図示せず)を有する。
(Configuration of recording device)
The recording device 103 receives video data distributed by the video generation devices 101a and 101b or other recording devices (not shown) and stores them in a storage unit (not shown) within itself. (Not shown).

記録装置103の記憶制御部は、受信した複数の映像データの中から任意に一つ以上の映像データを抜粋して記憶部に記憶する(以下、「抜粋保存」と呼ぶ)ように制御することも可能である。抜粋されなかった映像データは記憶部には保存されず、破棄される。抜粋保存を行う際、抜粋保存の対象となる映像データの個数は、記録装置103において外部からの設定を受け付けるようになっていてもよいし、映像生成装置101a、101bにおいて決定したものが記録装置103に対して設定されるようになっていてもよい。   The storage control unit of the recording apparatus 103 performs control to arbitrarily extract one or more video data from a plurality of received video data and store them in the storage unit (hereinafter referred to as “extract storage”). Is also possible. The video data not extracted is not stored in the storage unit but discarded. When performing excerpt saving, the number of video data to be excerpt saved may be set so that the recording apparatus 103 accepts external settings, or the video apparatus 101a, 101b determines what is determined by the recording apparatus. 103 may be set.

また、記録装置103の記憶制御部は、受信した映像データの中から任意に一つ以上の階層データを削除して記憶部に記憶することも可能である。削除された階層データは記憶部には保存されず、破棄される。階層データを削除する際、削除の対象となる階層は、記録装置103において外部からの設定を受け付けるようになっていてもよいし、映像生成装置101a、101bにおいて決定されて記録装置103に設定されるようになっていてもよい。   In addition, the storage control unit of the recording apparatus 103 can arbitrarily delete one or more hierarchical data from the received video data and store it in the storage unit. The deleted hierarchical data is not stored in the storage unit but is discarded. When deleting hierarchy data, the hierarchy to be deleted may be set to accept external settings in the recording apparatus 103, or determined in the video generation apparatuses 101a and 101b and set in the recording apparatus 103. It may come to be.

また、記録装置103は、他の記録装置及び表示装置104の少なくとも一方からの映像要求、または、記録装置103自身の判断により、ネットワーク110を介して、映像データを他の記録装置又は表示装置104に配信する配信機能も有する。   In addition, the recording device 103 transmits video data to the other recording device or display device 104 via the network 110 according to a video request from at least one of the other recording device and the display device 104 or based on the determination of the recording device 103 itself. It also has a distribution function to distribute to

(表示装置の構成)
表示装置104は、記録装置103から映像データを受信して表示する処理を制御する表示処理部(図示せず)を有する。また、表示処理部は、受信した複数の映像データの中から任意に少なくとも一つを抜粋して自身内部の記憶部(図示せず)に保存すること可能である。抜粋されなかった映像データは破棄される。抜粋保存を行う際、抜粋保存の対象となる映像データの個数は、表示装置104において外部からの設定を受け付けるようになっていてもよいし、映像生成装置101a、101b又は記録装置103において決定し表示装置104に設定されるようになっていてもよい。
(Configuration of display device)
The display device 104 includes a display processing unit (not shown) that controls processing for receiving and displaying video data from the recording device 103. In addition, the display processing unit can arbitrarily extract at least one of the received video data and store it in its own storage unit (not shown). Video data that has not been extracted is discarded. When excerpt saving is performed, the number of video data to be excavated and saved may be set so that the display device 104 accepts external settings, or is determined by the video generating devices 101a and 101b or the recording device 103. The display device 104 may be set.

また、表示処理部は、受信した映像データの中から任意に少なくとも一つの階層データを削除して記憶部に保存すること可能である。削除された階層データは破棄される。階層データを削除する際、削除の対象となるデータの階層は、表示装置104において外部からの設定を受け付けるようになっていてもよいし、映像生成装置101a、101b又は記録装置103において決定し表示装置104に設定されるようになっていてもよい。   The display processing unit can arbitrarily delete at least one hierarchical data from the received video data and save it in the storage unit. The deleted hierarchical data is discarded. When deleting the hierarchy data, the hierarchy of the data to be deleted may be received from the outside by the display device 104, or determined and displayed by the video generation devices 101a, 101b or the recording device 103. It may be set in the device 104.

(署名装置の構成)
署名装置105は、階層符号化された映像データに対して署名を生成して映像データに付与する処理を行う。図2は、本実施形態に係る署名装置の構成例を示す図である。署名装置105は、制御部210と、記憶部220と、送受信部230と、入力部240と、出力部250と、を有する。また、制御部210は、全体制御部211と、署名処理部212と、を有する。また、記憶部220は、映像データ記憶部221と、署名付きデータ記憶部222と、を有する。
(Configuration of signature device)
The signature device 105 performs processing for generating a signature for the hierarchically encoded video data and adding the signature to the video data. FIG. 2 is a diagram illustrating a configuration example of the signature device according to the present embodiment. The signature device 105 includes a control unit 210, a storage unit 220, a transmission / reception unit 230, an input unit 240, and an output unit 250. The control unit 210 includes an overall control unit 211 and a signature processing unit 212. The storage unit 220 includes a video data storage unit 221 and a signed data storage unit 222.

全体制御部211は、署名装置105における処理の全体を制御する機能を有する。また、映像データ記憶部221には、映像生成装置101a、101bで撮像されて予め定められたデータ形式に変換された複数の映像データが記憶される。また、署名処理部212は、映像データ記憶部221に記憶されている映像データに署名を付すことにより、署名付き映像データを生成する。そして、生成された署名付き映像データは、署名付きデータ記憶部222に記憶される。入力部240は、ユーザ入力等の外部からの情報の入力を受け付ける機能を有する。出力部250は外部に情報を出力する機能を有する。送受信部230は、ネットワークを介して情報の送受信を行うためのインタフェースである。   The overall control unit 211 has a function of controlling the entire processing in the signature device 105. Also, the video data storage unit 221 stores a plurality of video data captured by the video generation apparatuses 101a and 101b and converted into a predetermined data format. The signature processing unit 212 generates signed video data by adding a signature to the video data stored in the video data storage unit 221. The generated signed video data is stored in the signed data storage unit 222. The input unit 240 has a function of accepting input of information such as user input from the outside. The output unit 250 has a function of outputting information to the outside. The transmission / reception unit 230 is an interface for performing transmission / reception of information via a network.

また、署名処理部212は、ハッシュ値算出部213と、第二ハッシュ値算出部214と、署名情報生成部215と、第二署名情報生成部216と、を有する。これらの各部における処理の詳細については、後述する。   The signature processing unit 212 includes a hash value calculation unit 213, a second hash value calculation unit 214, a signature information generation unit 215, and a second signature information generation unit 216. Details of processing in each of these units will be described later.

(署名装置の具体的な構成)
ここで、署名装置105のより具体的な構成について説明する。図3は、署名装置105の構成例を示すブロック図である。図3に示すように、署名装置105は、CPU(Central
Processing Unit)301、不揮発性記憶装置302、RAM303、ネットワークインタフェース304、等を備えている。
(Specific configuration of the signature device)
Here, a more specific configuration of the signature device 105 will be described. FIG. 3 is a block diagram illustrating a configuration example of the signature device 105. As shown in FIG. 3, the signature device 105 includes a CPU (Central
Processing Unit) 301, nonvolatile storage device 302, RAM 303, network interface 304, and the like.

不揮発性記憶装置302には、全体制御プログラム310、署名処理プログラム320が保持されている。また、署名処理プログラム320には、ハッシュ値算出モジュール321、第二ハッシュ値算出モジュール322、署名情報生成モジュール323、第二署名情報生成モジュール324が含まれる。   The non-volatile storage device 302 holds an overall control program 310 and a signature processing program 320. The signature processing program 320 includes a hash value calculation module 321, a second hash value calculation module 322, a signature information generation module 323, and a second signature information generation module 324.

全体制御プログラム310、署名処理プログラム320は、それぞれ、図1中の全体制御部211、署名処理部212を実現するためのプログラムである。また、ハッシュ値算出モジュール321、第二ハッシュ値算出モジュール322、署名情報生成モジュール323、第二署名情報生成モジュール324は、それぞれ、ハッシュ値算出部213、第二ハッシュ値算出部214、署名情報生成部215、第二署名情報生成部216を実現するためのモジュールである。   The overall control program 310 and the signature processing program 320 are programs for realizing the overall control unit 211 and the signature processing unit 212 in FIG. 1, respectively. Also, the hash value calculation module 321, the second hash value calculation module 322, the signature information generation module 323, and the second signature information generation module 324 are respectively a hash value calculation unit 213, a second hash value calculation unit 214, and a signature information generation. This is a module for realizing the unit 215 and the second signature information generation unit 216.

このような構成において、不揮発性記憶装置302に記憶されている各プログラム310、320、及び、各モジュール321、322、323、324は、必要に応じてRAM303をワークエリアとして展開され、これらがCPU301にて実行されることで、各種の処理が行われる。   In such a configuration, the programs 310 and 320 and the modules 321, 322, 323, and 324 stored in the non-volatile storage device 302 are expanded using the RAM 303 as a work area as necessary. Various processes are performed by executing the above.

また、不揮発性記憶装置302には、署名情報生成モジュール323にて署名値を算出するために使用される署名鍵も記憶されている。ここで、署名鍵とは、具体的には、例えば公開鍵暗号方式における公開鍵などである。   The nonvolatile storage device 302 also stores a signature key used for calculating a signature value by the signature information generation module 323. Here, the signature key is specifically a public key in a public key cryptosystem, for example.

また、送受信部230を実現するネットワークインタフェース304によって映像データが受信された場合には、その映像データはRAM303や不揮発性記憶装置302に記憶される。すなわち、この時のRAM303や不揮発性記憶装置302は、映像データ記憶部221を実現するものである。   When the video data is received by the network interface 304 that implements the transmission / reception unit 230, the video data is stored in the RAM 303 or the nonvolatile storage device 302. That is, the RAM 303 and the nonvolatile storage device 302 at this time realize the video data storage unit 221.

また、ネットワークインタフェース304は、ネットワーク110を介して、映像生成装置101a、エンコーダ102、記録装置103、表示装置104等と有線又は無線で接続するための通信インタフェースである。具体的には、光ファイバ、同軸ケーブル、無線等により通信を行うためのインタフェースである。   The network interface 304 is a communication interface for connecting to the video generation device 101a, the encoder 102, the recording device 103, the display device 104, and the like via the network 110 in a wired or wireless manner. Specifically, it is an interface for performing communication by optical fiber, coaxial cable, radio, or the like.

(検証装置の構成)
図2に戻り、検証装置106は、署名装置105によって署名付き映像データに付された署名を検証する処理を行う。図4は、検証装置の構成例を示す図である。検証装置106は、制御部410と、記憶部420と、入力部430と、出力部440と、を有する。また、制御部410は、全体制御部411と、署名検証部412と、を有する。また、記憶部420は、署名付きデータ記憶部421を有する。
(Configuration of verification device)
Returning to FIG. 2, the verification device 106 performs processing for verifying the signature attached to the signed video data by the signature device 105. FIG. 4 is a diagram illustrating a configuration example of the verification apparatus. The verification device 106 includes a control unit 410, a storage unit 420, an input unit 430, and an output unit 440. In addition, the control unit 410 includes an overall control unit 411 and a signature verification unit 412. The storage unit 420 includes a signed data storage unit 421.

全体制御部411は、検証装置106における処理の全体を制御する機能を有する。また、署名付きデータ記憶部421には、署名装置105で生成された署名付き映像データが記憶される。署名検証部412は、署名付きデータ記憶部421に記憶されている署名付き映像データを検証する処理を行う。入力部430は、署名付き映像データやユーザ入力等の外部からの情報の入力を受け付ける機能を有する。出力部440は外部に情報を出力する機能を有する。署名検証部412における処理の詳細については、後述する。   The overall control unit 411 has a function of controlling the entire processing in the verification device 106. The signed data storage unit 421 stores signed video data generated by the signature device 105. The signature verification unit 412 performs processing for verifying the signed video data stored in the signed data storage unit 421. The input unit 430 has a function of accepting input of external information such as signed video data and user input. The output unit 440 has a function of outputting information to the outside. Details of processing in the signature verification unit 412 will be described later.

(検証装置の具体的な構成)
ここで、検証装置106のより具体的な構成について説明する。図5は、検証装置106の構成例を示すブロック図である。図5に示すように、検証装置106は、CPU501、不揮発性記憶装置502、RAM503、等を備えている。
(Specific configuration of verification device)
Here, a more specific configuration of the verification apparatus 106 will be described. FIG. 5 is a block diagram illustrating a configuration example of the verification device 106. As illustrated in FIG. 5, the verification device 106 includes a CPU 501, a nonvolatile storage device 502, a RAM 503, and the like.

不揮発性記憶装置502には、全体制御プログラム510、署名検証プログラム520が保持されている。全体制御プログラム510、署名検証プログラム520は、それぞれ、図4中の全体制御部411、署名検証部412を実現するためのプログラムである。   The non-volatile storage device 502 holds an overall control program 510 and a signature verification program 520. The overall control program 510 and the signature verification program 520 are programs for realizing the overall control unit 411 and the signature verification unit 412 in FIG. 4, respectively.

このような構成において、不揮発性記憶装置502に記憶されている各プログラム510、520は、必要に応じてRAM503をワークエリアとして展開され、これらがCPU501にて実行されることで、各種の処理が行われる。   In such a configuration, each program 510, 520 stored in the nonvolatile storage device 502 is expanded using the RAM 503 as a work area as necessary, and these are executed by the CPU 501, thereby performing various processes. Done.

また、不揮発性記憶装置502には、署名検証プログラム520にて署名値を算出するために使用される検証鍵も記憶されている。   The non-volatile storage device 502 also stores a verification key used for calculating a signature value by the signature verification program 520.

また、入力部430によって署名付き映像データを受け付けた場合には、その署名付き映像データはRAM503や不揮発性記憶装置502に記憶される。すなわち、この時のRAM503や不揮発性記憶装置502は、署名付き映像データ記憶部421を実現するものである。   When the signed video data is received by the input unit 430, the signed video data is stored in the RAM 503 or the nonvolatile storage device 502. In other words, the RAM 503 and the nonvolatile storage device 502 at this time realize the signed video data storage unit 421.

ここで、上記に説明した、映像生成装置101a、エンコーダ102、記録装置103及び表示装置104のいずれについても、その内部に署名装置105を備えることも可能である。これにより、映像生成装置101a、エンコーダ102、記録装置103及び表示装置104の少なくとも一つの装置で生成した署名付き映像データを、映像生成装置101a、エンコーダ102、記録装置103及び表示装置104の少なくとも一つの装置において抜粋保存しておき、抜粋して保存しておいた署名付き映像データを検証装置106で検証することで、映像データの真正性を証明することができるようになる。   Here, any of the video generation apparatus 101a, the encoder 102, the recording apparatus 103, and the display apparatus 104 described above may include a signature apparatus 105 therein. Thus, the signed video data generated by at least one of the video generation device 101a, the encoder 102, the recording device 103, and the display device 104 is converted into at least one of the video generation device 101a, the encoder 102, the recording device 103, and the display device 104. The authenticity of the video data can be proved by exchanging and storing the extracted video data in one apparatus and verifying the signed video data extracted and stored by the verification apparatus 106.

また、映像生成装置101a、エンコーダ102、記録装置103及び表示装置104の少なくとも一つの装置で生成した署名付き映像データについては、階層データの一部を削除することができる。すなわち、映像生成装置101a、エンコーダ102、記録装置103、表示装置104及び署名装置105の少なくとも一つの装置において階層データを削除して保存しておき、保存しておいた署名付き映像データを検証装置106で検証することで、映像データの真正性を証明することができるようになる。   In addition, a part of the hierarchical data can be deleted from the signed video data generated by at least one of the video generation device 101a, the encoder 102, the recording device 103, and the display device 104. That is, the hierarchical data is deleted and stored in at least one of the video generation device 101a, the encoder 102, the recording device 103, the display device 104, and the signature device 105, and the stored signed video data is verified. By verifying at 106, the authenticity of the video data can be proved.

(署名装置の動作)
図6及び図7は、署名装置105の署名処理部212における処理の具体例を説明する図である。図6及び図7は、低解像度、中解像度、高解像度の三階層に符号化された4つの映像データM、M、M、Mに対して署名付き映像データを生成する場合を示す。また、ここでは、各映像データから算出されるハッシュ値を二つ連結してさらにハッシュ値を算出するハッシュ木の構造を用いる場合について説明する。
(Signature device operation)
6 and 7 are diagrams for explaining a specific example of processing in the signature processing unit 212 of the signature device 105. 6 and 7 show a case where signed video data is generated for four video data M 1 , M 2 , M 3 , and M 4 encoded in three layers of low resolution, medium resolution, and high resolution. Show. Here, a case will be described in which a hash tree structure is used in which two hash values calculated from each video data are concatenated to further calculate a hash value.

まず、図6に示すように、上記ハッシュ値算出部213において、映像データ記憶部221に記憶されている各映像データM(i=1,2,3,4、以下同じ)について、低解像度データi、中解像度データi、高解像度データiのハッシュ値h 、h 、h を算出する。 First, as shown in FIG. 6, in the hash value calculation unit 213, for each video data M i stored in the video data storage unit 221 (i = 1, 2, 3, 4, and so on), the low resolution Hash values h 0 i , h 1 i , and h 2 i of data i, medium resolution data i, and high resolution data i are calculated.

次に、第二ハッシュ値算出部214において、各映像データについて、各階層データのハッシュ値h 、h 、h を上位階層からの順番に二つ連結して連結値を生成し、この連結値に対するハッシュ値を算出するという処理を繰り返すことで、一つのハッシュ値h012 を算出する。 Next, the second hash value calculation unit 214 generates a concatenated value for each video data by concatenating two hash values h 0 i , h 1 i , and h 2 i of each layer data in order from the upper layer. Then, by repeating the process of calculating the hash value for this concatenated value, one hash value h 012 i is calculated.

次に、署名情報生成部215において、各映像データMについて生成された一つのハッシュ値h012 から署名鍵を用いて署名値σを生成する。 Next, the signature information generation unit 215 generates a signature value σ i using a signature key from one hash value h 012 i generated for each video data M i .

そして、第二署名情報生成部216において、各映像データMについて生成された署名値σに中解像度データiと低解像度データiのハッシュ値に連結されたハッシュ値h 、h12 を付加したものをMの署名データSとする。図7(a)は、i=1の時、すなわち、映像データMについて生成された署名付き映像データを示す図である。 Then, in the second signature information generation unit 216, a hash value h 2 i coupled to the hash value of the medium resolution data i and the low resolution data i to the signature value sigma i generated for each video data M i, h 12 i Is added to the signature data S i of M i . FIG. 7A is a diagram showing signed video data generated for video data M 1 when i = 1.

以上のようにして、署名装置105は、映像データM,・・・,M(kは正の整数)から署名データS,・・・,Sを生成する。 As described above, the signature device 105 generates signature data S 1 ,..., S k from the video data M 1 ,..., M k (k is a positive integer).

また、映像生成装置101a、エンコーダ102、記録装置103、表示装置104又は署名装置105において、映像データM,・・・,Mからいくつかの映像データのみを抜粋保存する場合には、任意の自然数j(j=1,・・・,k)を選択し、jに対応する映像データMと、映像データMに対応する署名データSと、を署名付き映像データとして保存する。 The video generation apparatus 101a, the encoder 102, recording device 103, display device 104 or the signature device 105, the video data M 1, · · ·, in the case of extraction and storage of only some of the video data from the M k is any natural number j of the (j = 1, ···, k ) is selected, and the video data M j corresponding to the j, to save the signature data S j corresponding to the video data M j, as a signed video data.

また、映像生成装置101a、エンコーダ102、記録装置103、表示装置104又は署名装置105において映像データMの各階層データのうち上位階層のデータを削除して保存する場合には、映像データMに含まれる削除対象の階層データを削除し、Mに含まれる残存階層データと署名データSと、を署名付き映像データとして保存する。例えば、図7(b)では高解像度データが削除された場合を示し、図7(c)では高解像度データと中解像度データとが削除されて、最下位階層のみが存在する場合を示している。なお、最下位階層のデータを削除すると映像データの再生はできなくなる。 The video generation apparatus 101a, an encoder 102, a recording device 103, to save and delete the data of the upper hierarchy of the hierarchical data of the video data M k in the display device 104 or the signature device 105, the video data M k remove the hierarchical data to be deleted included in, saving the remaining hierarchical data contained in M k and the signature data S k, as signed video data. For example, FIG. 7B shows a case where high resolution data is deleted, and FIG. 7C shows a case where high resolution data and medium resolution data are deleted and only the lowest layer exists. . If the lowest layer data is deleted, the video data cannot be reproduced.

(検証装置の動作)
次に、図8を用いて、検証装置106の署名検証部412における処理の具体例を説明する。ここでは、図7に示した映像データMから生成された署名データSを検証する場合を一例として説明する。また、図8(a)は、Mの各階層データが三階層すべて揃っている場合(図7(a)に対応)、図8(b)は、Mの各階層データの最上位階層が削除されている場合(図7(b)に対応)、図8(c)は、Mの各階層データの上位階層が削除され、最下位階層のみが存在する場合(図7(c)に対応)においての署名検証方法を示す。以下、各例について説明する。
(Operation of the verification device)
Next, a specific example of processing in the signature verification unit 412 of the verification apparatus 106 will be described with reference to FIG. Here, a case where the signature data S 1 generated from the video data M 1 shown in FIG. 7 is verified will be described as an example. 8A shows a case where all the three hierarchical data of M 1 are prepared (corresponding to FIG. 7A), and FIG. 8B shows the highest hierarchy of each hierarchical data of M 1. when is removed (corresponding to FIG. 7 (b)), FIG. 8 (c), the upper layer of each hierarchy data M 1 is removed, if only the lowest layer is present (FIG. 7 (c) The signature verification method is shown below. Each example will be described below.

まず、図8(a)は、Mの各階層データが三階層すべて揃っている場合の署名検証方法を示している。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの各階層データのハッシュ値h 、h 、h を算出し、これらのハッシュ値h 、h 、h を上位階層のハッシュ値から順番に二つ連結することで連結値を生成してハッシュ値を算出するという処理を繰り返す。これにより、最終的に一つのハッシュ値h012 を算出する。 First, FIG. 8 (a) illustrates a signature verification method in which the hierarchical data of M 1 is aligned Level 3 all. First, the signature verification unit 412 extracts the video data M 1 from signed video data. Then, the signature verification unit 412 calculates a hash value h 0 1, h 1 1, h 2 1 of the hierarchical data of the video data M 1, these hash values h 0 1, h 1 1, h 2 1 The process of generating a concatenated value and calculating a hash value by concatenating two in order from the hash value of the upper layer is repeated. As a result, one hash value h 012 1 is finally calculated.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ 1 included in the signed video data. Then, if the calculated hash value h 012 1 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

次に、図8(b)は、Mの各階層データのうちの高解像度データ1が削除されている場合の署名検証方法を示している。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの低解像度データ1と中解像度データ1について、それぞれハッシュ値h 、h を算出する。そして、高解像度データ1が削除されているため、署名付き映像データに含まれている高解像度データ1のハッシュ値h を使用して、h 、h 、h を上位階層のハッシュ値から順番に二つ連結することで連結値を生成してハッシュ値を算出するという処理を繰り返す。これにより、最終的に一つのハッシュ値h012 を算出する。 Next, FIG. 8B shows a signature verification method when the high-resolution data 1 is deleted from the hierarchical data of M 1 . First, the signature verification unit 412 extracts the video data M 1 from signed video data. Next, the signature verification unit 412 calculates hash values h 0 1 and h 1 1 for the low resolution data 1 and the medium resolution data 1 of the video data M 1 , respectively. Since the high-resolution data 1 is deleted, the hash value h 2 1 of the high-resolution data 1 included in the signed video data is used, and h 0 1 , h 1 1 , and h 2 1 are higher. A process of generating a concatenated value and calculating a hash value by repeating two concatenations in order from the hash value of the hierarchy is repeated. As a result, one hash value h 012 1 is finally calculated.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ 1 included in the signed video data. Then, if the calculated hash value h 012 1 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

次に、図8(c)は、Mの各階層データのうちの高解像度データ1及び中解像度データ1が削除され、最下位階層のデータである低解像度データ1のみが存在する場合の署名検証方法を示している。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの低解像度データ1のハッシュ値h を算出する。そして、高解像度データ1と中解像度データ1とが削除されているため、低解像度データ1のハッシュ値と連結されるハッシュ値であって、署名付き映像データに含まれているハッシュ値h12 を使用して、h とh12 とを連結することで連結値を生成してハッシュ値を算出する。これにより、一つのハッシュ値h012 を算出することができる。 Next, FIG. 8C shows a signature when the high-resolution data 1 and the medium-resolution data 1 are deleted from the hierarchical data of M 1 and only the low-resolution data 1 that is the data of the lowest hierarchy exists. The verification method is shown. First, the signature verification unit 412 extracts the video data M 1 from signed video data. Next, the signature verification unit 412 calculates a hash value h 0 1 of the low resolution data 1 of the video data M 1 . Since the high resolution data 1 and the medium resolution data 1 are deleted, the hash value h 12 1 included in the signed video data is a hash value concatenated with the hash value of the low resolution data 1. To generate a concatenated value by concatenating h 0 1 and h 12 1 to calculate a hash value. Thereby, one hash value h 012 1 can be calculated.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ 1 included in the signed video data. Then, if the calculated hash value h 012 1 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

(実施形態2)
本実施形態に係る署名装置を利用した映像署名システムは、署名装置105において、階層符号化された映像データを複数含む一の映像情報に対して署名値σを生成することを特徴とする。すなわち、図6を参照して説明した署名生成方法では、映像データごとに署名値σを生成したが、本実施形態では、映像情報ごとに署名値σを生成する点が特徴である。
(Embodiment 2)
The video signature system using the signature device according to the present embodiment is characterized in that the signature device 105 generates a signature value σ for one video information including a plurality of hierarchically encoded video data. That is, in the signature generation method described with reference to FIG. 6, the signature value σ is generated for each video data. However, the present embodiment is characterized in that the signature value σ is generated for each video information.

本実施形態に係る映像署名システム、署名装置105、検証装置106の構成は、それぞれ、実施形態1における映像署名システム、署名装置105、検証装置106の構成と同様である。   The configurations of the video signature system, the signature device 105, and the verification device 106 according to the present embodiment are the same as the configurations of the video signature system, the signature device 105, and the verification device 106, respectively, according to the first embodiment.

以下、本実施形態の特徴点である署名装置105の署名処理部212における処理、及び、検証装置106の署名検証部412における処理について詳細に説明する。   Hereinafter, the processing in the signature processing unit 212 of the signature device 105 and the processing in the signature verification unit 412 of the verification device 106 which are characteristic points of the present embodiment will be described in detail.

(署名装置の動作)
図9は、本実施形態に係る署名装置105の署名処理部212における処理の具体例を示す図である。図9の例においても、実施形態1の署名装置105と同様に、三階層に階層符号化された4つの映像データM、M、M、Mに対する署名付き映像データを生成するが、本実施形態の署名装置105の場合は、映像データ毎に一つのハッシュ値を生成した後、映像データ毎に署名値σを生成するのではなく、4つの映像データM、M、M、Mから構成される映像情報Aに対して署名値σを生成する。
(Signature device operation)
FIG. 9 is a diagram illustrating a specific example of processing in the signature processing unit 212 of the signature device 105 according to the present embodiment. In the example of FIG. 9, as with the signature device 105 of the first embodiment, signed video data for four video data M 1 , M 2 , M 3 , and M 4 that are hierarchically encoded in three layers is generated. In the case of the signature device 105 of this embodiment, after generating one hash value for each video data, the signature value σ is not generated for each video data, but four video data M 1 , M 2 , M 3 , a signature value σ is generated for the video information A composed of M 4 .

図9に示す署名生成方法は、ハッシュ値算出部213、第二ハッシュ値算出部214において、各映像データMについて、低解像度データi、中解像度データi、高解像度データiのハッシュ値h 、h 、h を算出し、これらを連結することで一つのハッシュ値h012 を算出するところまでは、実施形態1の署名装置105における署名生成方法と同様である(図6参照)。本実施形態の署名装置105では、この後、さらに、署名情報生成部215において、映像データMとMについて算出されたハッシュ値h012 とh012 とを連結してハッシュ値h012 12を算出し、映像データMとMについて算出されたハッシュ値h012 とh012 とを連結してハッシュ値h012 34を算出する。さらに、この二つのハッシュ値h012 12とh012 34を連結して一つのハッシュ値h012 1234を算出する。そして、この一つのハッシュ値h012 1234について署名鍵を用いて署名値σを生成する。 In the signature generation method shown in FIG. 9, the hash value calculation unit 213 and the second hash value calculation unit 214 use the hash value h 0 of the low resolution data i, the medium resolution data i, and the high resolution data i for each video data M i. The steps up to calculating i , h 1 i , and h 2 i and concatenating them to calculate one hash value h 012 i are the same as those in the signature generation method in the signature apparatus 105 of the first embodiment (FIG. 6). Signing device 105 of this embodiment, after this, further, the signature information generation unit 215, hash and connects the video data M 1 and the hash value calculated for M 2 h 012 1 and h 012 2 value h 012 12 is calculated, and the hash values h 012 3 and h 012 4 calculated for the video data M 3 and M 4 are concatenated to calculate the hash value h 012 34 . Further, the two hash values h 012 12 and h 012 34 are connected to calculate one hash value h 012 1234 . Then, a signature value σ is generated for the one hash value h 012 1234 using a signature key.

そして、第二署名情報生成部216において映像データMの署名データSを生成する場合には、署名値σ、中解像度データiと低解像度データiのハッシュ値に連結されたハッシュ値h 、h12 に加えて、映像情報Aに対する一のハッシュ値であるh012 1234を算出するまでに連結された、ハッシュ値h012 (iが奇数の場合にはp=i+1、iが偶数の場合にはp=i−1)、及び、ハッシュ値h012 p(p+1)(i=1又はi=2の場合にはp=3、i=3又はi=4の場合にはp=1)を、映像データMの署名データSに含める。 When the second signature information generation unit 216 generates the signature data S i of the video data M i , the hash value h 2 connected to the signature value σ, the hash value of the medium resolution data i, and the low resolution data i. In addition to i and h 12 i , the hash value h 012 p connected until the calculation of h 012 1234 , which is one hash value for the video information A (if i is an odd number, p = i + 1, i is P = i−1) for an even number and hash value h 012 p (p + 1) (p = 3 for i = 1 or i = 2, p for i = 3 or i = 4) = 1) is included in the signature data S i of the video data M i .

以上のようにして、署名装置105は、映像データM,・・・,Mから署名データS,・・・,Sを生成する。 As described above, the signature device 105, the video data M 1, · · ·, signed from M k data S 1, · · ·, to generate the S k.

そして、映像生成装置101a、エンコーダ102、記録装置103、表示装置104又は署名装置105において映像データM,・・・,Mからいくつかの映像データのみを抜粋保存する場合には、任意の自然数jを選択し、jに対応する映像データMと、映像データMに対応する署名データSと、を署名付き映像データとして保存する。 The image generating apparatus 101a, an encoder 102, a recording device 103, the video data M 1 in the display device 104 or the signature device 105, ..., in the case of extraction and storage of only some of the video data from the M k is any select natural number j, and the video data M j corresponding to j, it stores the signature data S j corresponding to the video data M j, as signed video data.

また、映像生成装置101a、エンコーダ102、記録装置103、表示装置104又は署名装置105において映像データMの各階層データのうち上位階層のデータを削除して保存する場合には、映像データMに含まれる削除対象の階層データを削除し、Mに含まれる残存階層データと署名データSと、を署名付き映像データとして保存する。なお、最下位階層のデータを削除すると映像データの再生はできなくなる。 The video generation apparatus 101a, an encoder 102, a recording device 103, to save and delete the data of the upper hierarchy of the hierarchical data of the video data M k in the display device 104 or the signature device 105, the video data M k remove the hierarchical data to be deleted included in, saving the remaining hierarchical data contained in M k and the signature data S k, as signed video data. If the lowest layer data is deleted, the video data cannot be reproduced.

(検証装置の動作)
次に、本実施形態に係る検証装置106の署名検証部412における処理について説明する。ここでは、映像データMから生成された署名データSを検証する場合について説明する。
(Operation of the verification device)
Next, processing in the signature verification unit 412 of the verification apparatus 106 according to the present embodiment will be described. Here, the case of verifying the signature data S 1 generated from the video data M 1.

まず、Mの各階層データが三階層すべて揃っている場合の署名検証方法について説明する。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの各階層データのハッシュ値h 、h 、h を算出し、これらのハッシュ値h 、h 、h を上位階層のハッシュ値から順番に二つ連結することで連結値を生成してハッシュ値を算出するという処理を繰り返す。これにより、一つのハッシュ値h012 を算出する。 First, a description will be given signature verification method in which the hierarchical data of M 1 is aligned Level 3 all. First, the signature verification unit 412 extracts the video data M 1 from signed video data. Then, the signature verification unit 412 calculates a hash value h 0 1, h 1 1, h 2 1 of the hierarchical data of the video data M 1, these hash values h 0 1, h 1 1, h 2 1 The process of generating a concatenated value and calculating a hash value by concatenating two in order from the hash value of the upper layer is repeated. Thereby, one hash value h 012 1 is calculated.

さらに、このハッシュ値h012 に、署名データSに含まれているハッシュ値h012 を連結し、この連結値から算出したハッシュ値h012 12に、署名データSに含まれているハッシュ値h012 34を連結し、さらに、この連結値からハッシュ値h012 1234を算出する。 Furthermore, the hash value h 012 1, concatenates the hash values h 012 2 included in the signature data S 1, the hash value h 012 12 calculated from this concatenated value, it is included in the signature data S 1 The hash value h 012 34 is concatenated, and the hash value h 012 1234 is calculated from the concatenated value.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 1234と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ included in the signed video data. If the calculated hash value h 012 1234 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

次に、Mの各階層データのうちの高解像度データ1が削除されている場合の署名検証方法について説明する。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの低解像度データ1と中解像度データ1について、それぞれハッシュ値h 、h を算出する。そして、高解像度データ1が削除されているため、署名付き映像データに含まれている高解像度データ1のハッシュ値h を利用して、h 、h 、h を上位階層のハッシュ値から順番に二つ連結することで連結値を生成してハッシュ値を算出するという処理を繰り返す。これにより、一つのハッシュ値h012 を算出する。 Next, a signature verification method when the high-resolution data 1 is deleted from each hierarchical data of M 1 will be described. First, the signature verification unit 412 extracts the video data M 1 from signed video data. Next, the signature verification unit 412 calculates hash values h 0 1 and h 1 1 for the low resolution data 1 and the medium resolution data 1 of the video data M 1 , respectively. Since the high-resolution data 1 is deleted, h 0 1 , h 1 1 , and h 2 1 are converted to higher ranks using the hash value h 2 1 of the high-resolution data 1 included in the signed video data. A process of generating a concatenated value and calculating a hash value by repeating two concatenations in order from the hash value of the hierarchy is repeated. Thereby, one hash value h 012 1 is calculated.

さらに、このハッシュ値h012 に、署名データSに含まれているハッシュ値h012 を連結し、この連結値から算出したハッシュ値h012 12に、署名データSに含まれているハッシュ値h012 34を連結し、さらに、この連結値からハッシュ値h012 1234を算出する。 Furthermore, the hash value h 012 1, concatenates the hash values h 012 2 included in the signature data S 1, the hash value h 012 12 calculated from this concatenated value, it is included in the signature data S 1 The hash value h 012 34 is concatenated, and the hash value h 012 1234 is calculated from the concatenated value.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 1234と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ included in the signed video data. If the calculated hash value h 012 1234 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

次に、Mの各階層データのうちの高解像度データ1及び中解像度データ1が削除され、最下位階層のデータである低解像度データ1のみが存在する場合の署名検証方法について説明する。最初に、署名検証部412は、署名付き映像データより映像データMを抽出する。次に、署名検証部412は、映像データMの低解像度データ1のハッシュ値h を算出する。そして、高解像度データ1と中解像度データ1とが削除されているため、低解像度データ1のハッシュ値と連結されるハッシュ値であって、署名付き映像データに含まれているハッシュ値h12 を利用して、h とh12 とを連結することで連結値を生成してハッシュ値を算出する。これにより、一つのハッシュ値h012 を算出することができる。 Next, a signature verification method in the case where the high resolution data 1 and the medium resolution data 1 in each layer data of M 1 are deleted and only the low resolution data 1 that is the lowest layer data exists will be described. First, the signature verification unit 412 extracts the video data M 1 from signed video data. Next, the signature verification unit 412 calculates a hash value h 0 1 of the low resolution data 1 of the video data M 1 . Since the high resolution data 1 and the medium resolution data 1 are deleted, the hash value h 12 1 included in the signed video data is a hash value concatenated with the hash value of the low resolution data 1. Is used to generate a concatenated value by concatenating h 0 1 and h 12 1 to calculate a hash value. Thereby, one hash value h 012 1 can be calculated.

さらに、このハッシュ値h012 に、署名データSに含まれているハッシュ値h012 を連結し、この連結値から算出したハッシュ値h012 12に、署名データSに含まれているハッシュ値h012 34を連結し、さらに、この連結値からハッシュ値h012 1234を算出する。 Furthermore, the hash value h 012 1, concatenates the hash values h 012 2 included in the signature data S 1, the hash value h 012 12 calculated from this concatenated value, it is included in the signature data S 1 The hash value h 012 34 is concatenated, and the hash value h 012 1234 is calculated from the concatenated value.

そして、署名検証部412は、署名付き映像データに含まれている署名値σから検証鍵を用いて検証値を算出する。そして、署名検証部412は、算出したハッシュ値h012 1234と、算出した検証値と、が一致する場合には、映像データMの真正性が検証されたと判断する。 Then, the signature verification unit 412 calculates a verification value using the verification key from the signature value σ included in the signed video data. If the calculated hash value h 012 1234 matches the calculated verification value, the signature verification unit 412 determines that the authenticity of the video data M 1 has been verified.

以上のように、本実施形態によれば、映像データMと、これに対応する署名データSにおいて、上位階層の映像データを削除しても残存する低階層の映像データの真正性の検証を行うことができる。 As described above, according to the present embodiment, the authenticity of the video data M i and the signature data S i corresponding thereto, the authenticity of the low-level video data that remains even if the higher-level video data is deleted. It can be performed.

(実施形態3)
本実施形態に係る署名装置を利用した映像署名システムは、署名装置105において、映像データの階層データからそれぞれのハッシュ値を算出する際に、乱数値を付加して算出する点が特徴である。
(Embodiment 3)
The video signature system using the signature device according to the present embodiment is characterized in that the signature device 105 calculates each hash value from the hierarchical data of the video data by adding a random value.

例えば、複数の映像データを含む映像情報が動画像の映像情報である場合、同じフレーム(映像データ)が繰り返して出現する場合がある。このような場合、同じ内容の映像データの階層データからは同一のハッシュ値が算出される。よって、単に各映像データの階層データのみに基づいてハッシュ値を算出すると、一部の階層データが消去された場合でも、現存する階層データのハッシュ値と消去された階層データのハッシュ値が同一である場合には、消去された階層データが現存する階層データと同一内容の階層データであることが分かってしまい、結果的に消去された階層データを復元することができることになるという問題がある。   For example, when video information including a plurality of video data is video information of a moving image, the same frame (video data) may appear repeatedly. In such a case, the same hash value is calculated from the hierarchical data of the video data having the same content. Therefore, if the hash value is simply calculated based only on the hierarchical data of each video data, even if some hierarchical data is deleted, the hash value of the existing hierarchical data is the same as the hash value of the deleted hierarchical data. In some cases, it is known that the deleted hierarchical data is hierarchical data having the same content as the existing hierarchical data, and as a result, the deleted hierarchical data can be restored.

そこで、本実施形態に係る署名装置においては、階層データに乱数値を付加してハッシュ値を算出することで、このような事態を回避することが可能となる。   Therefore, in the signature device according to the present embodiment, such a situation can be avoided by calculating a hash value by adding a random value to the hierarchical data.

なお、本実施形態に係る映像署名システム、検証装置106の構成は、それぞれ、実施形態1における映像署名システム、検証装置106の構成と同様である。   The configurations of the video signature system and the verification device 106 according to the present embodiment are the same as the configurations of the video signature system and the verification device 106 according to the first embodiment, respectively.

(署名装置の構成)
図10は、本実施形態に係る署名装置105の構成例を示す図である。署名装置105は、制御部210と、記憶部220と、送受信部230と、入力部240と、出力部250と、を有する。また、制御部210は、全体制御部211と、署名処理部212と、を有する。また、署名処理部212は、乱数取得部217と、二分木生成部218と、ハッシュ値算出部213と、第二ハッシュ値算出部214と、署名情報生成部215と、第二署名情報生成部216と、を有する。すなわち、実施形態1及び実施形態2に係る署名装置との構成の違いは、乱数取得部217と、二分木生成部218とをさらに有する点であり、他の構成については上述した通りである。よって、この乱数取得部217と二分木生成部218とにおける処理について、以下、詳述する。
(Configuration of signature device)
FIG. 10 is a diagram illustrating a configuration example of the signature device 105 according to the present embodiment. The signature device 105 includes a control unit 210, a storage unit 220, a transmission / reception unit 230, an input unit 240, and an output unit 250. The control unit 210 includes an overall control unit 211 and a signature processing unit 212. The signature processing unit 212 includes a random number acquisition unit 217, a binary tree generation unit 218, a hash value calculation unit 213, a second hash value calculation unit 214, a signature information generation unit 215, and a second signature information generation unit. 216. That is, the difference between the configuration of the signature device according to Embodiment 1 and Embodiment 2 is that it further includes a random number acquisition unit 217 and a binary tree generation unit 218, and other configurations are as described above. Therefore, the processing in the random number acquisition unit 217 and the binary tree generation unit 218 will be described in detail below.

なお、本実施形態に係る署名装置105の具体的構成は、図3に示した構成と同様である。すなわち、不揮発性記憶装置302に保持される署名処理プログラム320の一部として、さらに、乱数取得部217を実現するための乱数取得モジュールと、二分木生成部218を実現するための二分木生成モジュールとが保持されており、これらのモジュールが必要に応じてRAM303をワークエリアとして展開されてCPU301にて実行されることで、それぞれの処理が実行される。   The specific configuration of the signature device 105 according to the present embodiment is the same as the configuration shown in FIG. That is, as a part of the signature processing program 320 held in the nonvolatile storage device 302, a random number acquisition module for realizing the random number acquisition unit 217 and a binary tree generation module for realizing the binary tree generation unit 218 These modules are expanded with the RAM 303 as a work area as necessary and executed by the CPU 301, whereby the respective processes are executed.

(署名装置の動作)
図11は、乱数取得部217と二分木生成部218とにおける処理の具体例を説明する図である。図11においては、実施形態1及び実施形態2における具体例と同様に、4つの映像データM、M、M、Mにおける、それぞれの、低解像度データi、中解像度データi、高解像度データiからハッシュ値を算出する場合について説明する。ただし、基本的には、特許文献1に記載されている処理方法と同様であるので、以下では、主要な部分のみを詳述する。
(Signature device operation)
FIG. 11 is a diagram illustrating a specific example of processing in the random number acquisition unit 217 and the binary tree generation unit 218. In FIG. 11, similarly to the specific examples in the first and second embodiments, the low resolution data i, the medium resolution data i, and the high in the four pieces of video data M 1 , M 2 , M 3 , and M 4 , respectively. A case where a hash value is calculated from the resolution data i will be described. However, since it is basically the same as the processing method described in Patent Document 1, only the main part will be described in detail below.

まず、乱数取得部217において、ルート乱数となる一つの乱数rを取得する。ここで、階層データの総数は、3×4=12、であるので、下記(式1)より、ルート乱数rは、r1,16となる。 First, the random number acquisition unit 217 acquires one random number r R that is a root random number. Here, since the total number of hierarchical data is 3 × 4 = 12, the root random number r R is r 1,16 from (Equation 1) below.

Figure 2010251877

次に、二分木生成部218において、このルート乱数r=r1,16から、特許文献1に記載の方法により、二分木のリーフ列を構成する乱数列が階層データの個数と同数となるように二分木を生成する。なお、この二分木を生成する方法については、特許文献1に記載されている方法と同様であるので、ここでは簡略して説明する。
Figure 2010251877

Next, in the binary tree generation unit 218, from this root random number r R = r 1,16 , the random number sequence constituting the leaf sequence of the binary tree becomes the same as the number of hierarchical data by the method described in Patent Document 1. The binary tree is generated as follows. The method for generating the binary tree is the same as the method described in Patent Document 1, and will be described briefly here.

まず、ルート乱数r1,16から、r1,8と、r9,16とが生成される。ここで、r1,8=H(r1,16||L)、r9,16=H(r1,16||R)、である。なお、H()はハッシュ関数、||は前後の数値の結合、LとRは特定の数字列であってL≠R、である。 First, r 1,8 and r 9,16 are generated from the root random numbers r 1,16 . Here, r 1,8 = H (r 1,16 || L) and r 9,16 = H (r 1,16 || R). H () is a hash function, || is a combination of preceding and following numerical values, L and R are specific numeric strings, and L ≠ R.

次に、同様にして、乱数r1,8からは、r1,4と、r5,8とが生成される。また、r9,16については、 Next, in the same manner, r 1,4 and r 5,8 are generated from the random numbers r 1,8 . For r 9,16 ,

Figure 2010251877

であるので、乱数r9,12のみが生成される。
Figure 2010251877

Therefore, only random numbers r 9,12 are generated.

すなわち、分岐元乱数rm,nから分岐先乱数を生成する際には、下記の条件に基づいて生成される。 That is, when the branch destination random number is generated from the branch source random number rm , n , it is generated based on the following conditions.

Figure 2010251877

以上のような処理を繰り返すことで、乱数の二分木を生成していき、最終的にリーフ乱数列r,r,・・・,r12が生成される。
Figure 2010251877

By repeating the above processing, a random number binary tree is generated, and finally, a leaf random number sequence r 1 , r 2 ,..., R 12 is generated.

そして、ハッシュ値算出部213において、これらの乱数列を用いて、下記(式2)の算出方法によって映像データM、M、M、Mにおけるそれぞれの低解像度データi、中解像度データi、高解像度データiのハッシュ値h 、h 、h を算出する。なお、e 、e 、e は、各解像度データのハッシュパラメータを示す。 Then, in the hash value calculation unit 213, using these random number sequences, the low-resolution data i and the medium-resolution data in the video data M 1 , M 2 , M 3 , and M 4 by the following calculation method (Formula 2). i, hash values h 0 i , h 1 i , and h 2 i of the high resolution data i are calculated. Note that e 0 i , e 1 i , and e 2 i indicate hash parameters of each resolution data.

(式2)
=H(e ||ri・3―2
=H(e ||ri・3―1
=H(e ||ri・3
なお、これ以降の、第二ハッシュ値算出部214、署名情報生成部215における処理は、実施形態1及び実施形態2にて説明した処理と同様である。また、第二署名情報生成部216においては、ルート乱数rを各映像データの署名データに含めるように生成する。
(Formula 2)
h 0 i = H (e 0 i || r i · 3−2 )
h 1 i = H (e 1 i || r i · 3-1 )
h 2 i = H (e 2 i || r i · 3 )
The subsequent processing in the second hash value calculation unit 214 and the signature information generation unit 215 is the same as the processing described in the first and second embodiments. Further, in the second signature information generation unit 216 generates to include root random number r R in the signature data of the video data.

また、図11の例においては、解像度データごとに異なる乱数が生成されるようになっているが、映像データごとに異なる乱数が生成されるようになっていてもよい。例えば、映像データM、M、M、Mに対して、乱数値r、r、r、rが生成されて、各映像データの各解像度データにおけるハッシュ値の算出に使用されるようになっていてもよい。乱数値r、r、r、rが互いに異なる値であれば、ある映像データの所定の解像度データが削除されたとしても、他の映像データの所定の解像度データからは復元することはできないからである。 In the example of FIG. 11, different random numbers are generated for each resolution data, but different random numbers may be generated for each video data. For example, random values r 1 , r 2 , r 3 , and r 4 are generated for the video data M 1 , M 2 , M 3 , and M 4 to calculate a hash value in each resolution data of each video data. It may be used. If the random values r 1 , r 2 , r 3 , r 4 are different from each other, even if the predetermined resolution data of a certain video data is deleted, it is restored from the predetermined resolution data of other video data. Because you can't.

(検証装置の動作)
本実施形態に係る検証装置の署名検証部における処理は、基本的には、実施形態1又は実施形態2にて説明した検証装置106の署名検証部412の処理と同様であるが、各階層データからハッシュ値を算出する際に、映像データの署名データに含まれているルート乱数rを利用する点が異なる。すなわち、署名装置105と同様に、映像データの署名データに含まれているルート乱数rから二分木を生成し、上記(式2)の算出方法に基づいて各階層データに対するハッシュ値を算出する。なお、その後の処理は、実施形態1又は実施形態2にて説明した署名検証部412の処理と同様である。
(Operation of the verification device)
The processing in the signature verification unit of the verification device according to the present embodiment is basically the same as the processing of the signature verification unit 412 of the verification device 106 described in the first or second embodiment, but each hierarchical data when calculating the hash value from the point of utilizing the root random number r R contained in the signature data of the video data is different. That is, as with the signature device 105, a binary tree is generated from the root random number r R included in the signature data of the video data, and a hash value for each hierarchical data is calculated based on the calculation method of (Expression 2). . The subsequent processing is the same as the processing of the signature verification unit 412 described in the first or second embodiment.

以上のように、本実施形態によれば、例えば、複数の映像データを含む映像情報が動画像の映像情報であって、同じ映像データが繰り返して出現するような場合であっても、現存する階層データから消去された階層データが復元されるような事態を回避することができる。   As described above, according to the present embodiment, for example, even when video information including a plurality of video data is video information of a moving image and the same video data repeatedly appears, it exists. It is possible to avoid a situation where hierarchical data deleted from hierarchical data is restored.

(他の実施形態)
なお、上記の実施形態においては、署名対象データを映像データとして説明したが、他のデータでもよい。
(Other embodiments)
In the above embodiment, the signature target data is described as video data, but other data may be used.

また、上記の実施形態においては、映像データの階層符号化の階層数が3の場合を説明したが、同様の方法により任意数に階層符号化されたデータに対する署名生成も可能である。   In the above-described embodiment, the case where the number of hierarchical layers of video data is 3 has been described. However, it is possible to generate a signature for data that has been hierarchically encoded in an arbitrary number by the same method.

また、上記の実施形態においては、各階層データから算出されたハッシュ値を上位の階層から連結するようになっているが、下位の階層から連結するようになっていてもよい。   In the above embodiment, the hash value calculated from each hierarchical data is linked from the upper hierarchy, but may be linked from the lower hierarchy.

また、上記の実施形態においては、各階層データから算出されたハッシュ値から一のハッシュ値を算出するために、ハッシュ値どうしを組み合わせる方法として、ハッシュ値を連結して連結値に対してさらにハッシュ値を算出するようにしたが、別の方法によってハッシュ値を組み合わせるようにしてもよい。   In the above embodiment, in order to calculate one hash value from the hash value calculated from each hierarchical data, as a method of combining hash values, the hash values are concatenated to further hash the concatenated values. Although the values are calculated, the hash values may be combined by another method.

また、上記の実施形態において使用するハッシュ関数については、映像データもしくは映像情報に対する一のハッシュ値を算出する際に使用されるハッシュ関数と、それ以前におけるハッシュ値の算出の際に(階層データからハッシュ値を算出する際や、これらのハッシュ値を組み合わせてさらにハッシュ値を算出する際に)使用されるハッシュ関数は、同一のハッシュ関数(例えば、SHA−256など)を用いてもよく、また、異なるハッシュ関数を用いてもよい。異なるハッシュ関数を用いる場合とは、具体的には、例えば、映像データもしくは映像情報に対する一のハッシュ値から署名情報を生成する際に、RSA−PSS(RSA Probabilistic Signature Scheme)、ECDSA(Elliptic Curve Digital Signature Algorithm)などの署名方式を適用するようにしてもよい。   In addition, as for the hash function used in the above-described embodiment, a hash function used when calculating one hash value for video data or video information, and a hash value before calculation (from hierarchical data) The same hash function (for example, SHA-256) may be used as a hash function used when calculating a hash value or when calculating a hash value by combining these hash values. Different hash functions may be used. Specifically, when using different hash functions, for example, when generating signature information from one hash value for video data or video information, RSA-PSS (RSA Probabilistic Signature Scheme), ECDSA (Elliptic Curve Digital) A signature scheme such as (Signature Algorithm) may be applied.

なお、上記各実施形態では、署名装置105の署名処理部212や検証装置106の署名検証部412を、ソフトウェアで実現するものとして説明したが、専用のハードウェアを用いて実現してもよい。   In each of the above embodiments, the signature processing unit 212 of the signature device 105 and the signature verification unit 412 of the verification device 106 have been described as being implemented by software, but may be implemented using dedicated hardware.

(まとめ)
以上のように、本発明によれば、各階層を構成する階層データのハッシュ値と組み合わされるハッシュ値が第二の署名情報に含まれるので、階層データの一部が削除された場合であっても、署名に含まれる削除された階層データのハッシュ値を使用して署名の検証を行うことができる。また、算出される一のハッシュ値は、複数の階層データから構成される映像データに対する一つのハッシュ値であるため、これにより映像データとしての真正性を保証できる。
(Summary)
As described above, according to the present invention, since the hash value combined with the hash value of the hierarchical data constituting each hierarchy is included in the second signature information, a part of the hierarchical data is deleted. In addition, the signature can be verified using the hash value of the deleted hierarchical data included in the signature. Also, since the calculated one hash value is one hash value for video data composed of a plurality of hierarchical data, the authenticity as video data can be ensured.

また、上記の実施形態の署名装置における署名生成方法が高い効率性を備える理由は以下の通りである。デジタル署名に使用する公開鍵暗号では、その署名生成処理に最も処理時間を要し、ハッシュの処理時間は署名生成処理時間と比較すると非常に短い。上記の実施形態における署名装置では、署名生成処理を階層データごとに行わず、映像データもしくは映像情報ごとに行うため、全体の処理時間を短縮することができる。   The reason why the signature generation method in the signature device of the above embodiment has high efficiency is as follows. In public key cryptography used for a digital signature, the signature generation process takes the longest processing time, and the hash processing time is very short compared to the signature generation processing time. In the signature device in the above embodiment, the signature generation process is not performed for each hierarchical data, but is performed for each video data or video information, so that the entire processing time can be shortened.

(請求項に関する付記)
本発明については、請求項の記載に関して、以下の態様が考えられる。
(Additional notes regarding claims)
With respect to the present invention, the following aspects are conceivable with regard to the description of the claims.

(請求項2)
階層符号化された映像データを複数含む一の映像情報に対して署名情報を生成する署名装置であって、
前記複数の映像データのそれぞれについて、前記階層符号化された映像データの各階層を構成する階層データのそれぞれに対するハッシュ値を算出するハッシュ値算出手段と、
前記複数の映像データのそれぞれについて、前記算出された複数のハッシュ値を前記階層データの階層順に二つ組み合わせてハッシュ値を算出する処理を繰り返すことで、前記複数の映像データのそれぞれに対する一のハッシュ値を算出する第二ハッシュ値算出手段と、
前記第二ハッシュ値算出手段によって前記複数の映像データのそれぞれについて算出されたハッシュ値のうち、いずれかを複数を組み合わせてハッシュ値を算出する処理を繰り返すことで、前記映像情報に対するハッシュ値を算出し、このハッシュ値に基づいて前記映像情報に対する署名情報を生成する署名情報生成手段と、
前記複数の映像データのそれぞれについて、前記署名情報と、前記映像情報に対する一のハッシュ値を算出するまでに組み合わされた各ハッシュ値と、を含む第二の署名情報を生成する第二署名情報生成手段と、
を備えることを特徴とする署名装置。
(Claim 2)
A signature device that generates signature information for one piece of video information including a plurality of hierarchically encoded video data,
For each of the plurality of video data, a hash value calculating means for calculating a hash value for each of the hierarchical data constituting each hierarchy of the hierarchically encoded video data;
For each of the plurality of video data, one hash for each of the plurality of video data is obtained by repeating a process of calculating a hash value by combining two of the calculated hash values in the hierarchical order of the hierarchical data. A second hash value calculating means for calculating a value;
A hash value for the video information is calculated by repeating a process of calculating a hash value by combining any of the hash values calculated for each of the plurality of video data by the second hash value calculation unit. Signature information generating means for generating signature information for the video information based on the hash value;
Second signature information generation for generating second signature information for each of the plurality of video data, including the signature information and each hash value combined before calculating one hash value for the video information Means,
A signature apparatus comprising:

これにより、この署名装置によって生成された第二の署名情報が付与された署名付き映像データを記録、再生する装置などにおいて、階層データの一部が削除された場合であっても、映像データの真正性を保証するための署名の検証を行うことが可能となる。さらに、複数の映像データからなる映像情報に対して署名が生成されるため、映像データごとに署名が生成される場合よりも、署名生成処理や署名検証処理の速度を向上させることができる。   As a result, even if a part of the hierarchical data is deleted in a device that records and reproduces the signed video data to which the second signature information generated by this signature device is attached, It is possible to verify a signature for assuring authenticity. Furthermore, since a signature is generated for video information including a plurality of video data, the speed of signature generation processing and signature verification processing can be improved as compared with the case where a signature is generated for each video data.

(請求項3)
乱数を取得する乱数取得手段と、
前記取得された乱数をルート乱数とする二分木を、前記二分木のリーフ列を構成する乱数列が前記階層データの総数と同数となるように生成する二分木生成手段と、
をさらに有し、
前記ハッシュ値算出手段は、前記階層データのそれぞれに対するハッシュ値をそれぞれ算出する際に、前記生成された二分木のリーフ乱数列と、前記階層データと、に基づいて、前記階層データのそれぞれに対するハッシュ値をそれぞれ算出し、
前記第二署名情報生成手段は、前記ルート乱数をも含むように前記第二の署名情報を生成すること、
を特徴とする請求項1又は2に記載の署名装置。
(Claim 3)
Random number acquisition means for acquiring a random number;
A binary tree generating means for generating a binary tree having the acquired random number as a root random number so that a random number sequence constituting a leaf sequence of the binary tree is equal to the total number of the hierarchical data;
Further comprising
The hash value calculation means calculates a hash value for each of the hierarchical data based on the generated leaf random number sequence of the binary tree and the hierarchical data when calculating a hash value for each of the hierarchical data. Calculate each value,
The second signature information generating means generates the second signature information so as to include the root random number;
The signature device according to claim 1, wherein:

これにより、例えば、複数の映像データを含む映像情報が動画像の映像情報であって、同じ映像データが繰り返して出現するような場合であっても、現存する階層データから消去された階層データが復元されるような事態を回避することができる。   Thus, for example, even when video information including a plurality of video data is video information of a moving image and the same video data repeatedly appears, hierarchical data deleted from existing hierarchical data is deleted. It is possible to avoid the situation where it is restored.

(請求項4)
請求項1から3のいずれか一に記載の署名装置において生成された前記第二の署名情報と関連づけられている階層符号化された映像データを受信して署名の検証を行う検証装置であって、
前記階層符号化された映像データにおいて、少なくとも一つの階層データが存在しない場合、前記存在しない階層データから算出されたハッシュ値であって、前記第二の署名情報に含まれるハッシュ値を利用して、署名の検証処理を行う署名検証部、
を備えることを特徴とする検証装置。
(Claim 4)
A verification apparatus for receiving a hierarchically encoded video data associated with the second signature information generated in the signature apparatus according to any one of claims 1 to 3 and verifying the signature. ,
In the hierarchically encoded video data, when at least one hierarchical data does not exist, a hash value calculated from the nonexistent hierarchical data, using the hash value included in the second signature information , A signature verification unit that performs signature verification processing,
A verification apparatus comprising:

これにより、第二の署名情報が付与された署名付き映像データを記録、再生する装置などにおいて、階層データの一部が削除された場合であっても、映像データの真正性を保証するための署名の検証を行うことが可能である。   As a result, even if a part of the hierarchical data is deleted in an apparatus for recording and reproducing the signed video data to which the second signature information is added, the authenticity of the video data is guaranteed. It is possible to verify the signature.

(請求項5)
階層符号化された映像データに対する署名情報を生成する署名生成方法であって、
前記階層符号化された映像データの各階層を構成する階層データのそれぞれに対するハッシュ値を算出するハッシュ値算出ステップと、
前記算出された複数のハッシュ値を前記階層データの階層順に二つ組み合わせてハッシュ値を算出する処理を繰り返すことで、前記映像データに対する一のハッシュ値を算出する第二ハッシュ値算出ステップと、
前記一のハッシュ値に基づいて署名情報を生成する署名情報生成ステップと、
前記階層符号化された映像データに対して、前記署名情報と、前記一のハッシュ値を算出するまでに組み合わされた各ハッシュ値と、を含む第二の署名情報を生成する第二署名情報生成ステップと、
を備えることを特徴とする署名生成方法。
(Claim 5)
A signature generation method for generating signature information for hierarchically encoded video data,
A hash value calculating step for calculating a hash value for each of the layer data constituting each layer of the layer-encoded video data;
A second hash value calculating step of calculating one hash value for the video data by repeating the process of calculating the hash value by combining two of the calculated hash values in the hierarchical order of the hierarchical data;
A signature information generating step for generating signature information based on the one hash value;
Second signature information generation for generating second signature information including the signature information and each hash value combined until the one hash value is calculated for the hierarchically encoded video data Steps,
A signature generation method comprising:

これにより、この署名生成方法にて生成された第二の署名情報が付与された署名付き映像データを記録、再生する装置などにおいて、階層データの一部が削除された場合であっても、映像データの真正性を保証するための署名の検証を行うことが可能である。   As a result, even if a part of the hierarchical data is deleted in an apparatus for recording and reproducing the signed video data with the second signature information generated by this signature generation method, the video It is possible to verify the signature to ensure the authenticity of the data.

101a、101b 映像生成装置
102 エンコーダ
103 記録装置
104 表示装置
105 署名装置
106 検証装置
110 ネットワーク
210 制御部
211 全体制御部
212 署名処理部
213 ハッシュ値算出部
214 第二ハッシュ値算出部
215 署名情報生成部
216 第二署名情報生成部
217 乱数取得部
218 二分木生成部
220 記憶部
221 映像データ記憶部
222 データ記憶部
230 送受信部
240 入力部
250 出力部
301 CPU
302 不揮発性記憶装置
303 RAM
304 ネットワークインタフェース
310 全体制御プログラム
320 署名処理プログラム
321 ハッシュ値算出モジュール
322 第二ハッシュ値算出モジュール
323 署名情報生成モジュール
324 第二署名情報生成モジュール
410 制御部
411 全体制御部
412 署名検証部
420 記憶部
421 データ記憶部
421 映像データ記憶部
430 入力部
440 出力部
501 CPU
502 不揮発性記憶装置
503 RAM
510 全体制御プログラム
520 署名検証プログラム
101a, 101b Video generation device 102 Encoder 103 Recording device 104 Display device 105 Signature device 106 Verification device 110 Network 210 Control unit 211 Overall control unit 212 Signature processing unit 213 Hash value calculation unit 214 Second hash value calculation unit 215 Signature information generation unit 216 Second signature information generation unit 217 Random number acquisition unit 218 Binary tree generation unit 220 Storage unit 221 Video data storage unit 222 Data storage unit 230 Transmission / reception unit 240 Input unit 250 Output unit 301 CPU
302 Nonvolatile storage device 303 RAM
304 network interface 310 overall control program 320 signature processing program 321 hash value calculation module 322 second hash value calculation module 323 signature information generation module 324 second signature information generation module 410 control unit 411 overall control unit 412 signature verification unit 420 storage unit 421 Data storage unit 421 Video data storage unit 430 Input unit 440 Output unit 501 CPU
502 Non-volatile storage device 503 RAM
510 Overall control program 520 Signature verification program

Claims (1)

階層符号化された映像データに対する署名情報を生成する署名装置であって、
前記階層符号化された映像データの各階層を構成する階層データのそれぞれに対するハッシュ値を算出するハッシュ値算出手段と、
前記算出された複数のハッシュ値を前記階層データの階層順に二つ組み合わせてハッシュ値を算出する処理を繰り返すことで、前記映像データに対する一のハッシュ値を算出する第二ハッシュ値算出手段と、
前記一のハッシュ値に基づいて署名情報を生成する署名情報生成手段と、
前記階層符号化された映像データに対して、前記署名情報と、前記一のハッシュ値を算出するまでに組み合わされた各ハッシュ値と、を含む第二の署名情報を生成する第二署名情報生成手段と、
を備えることを特徴とする署名装置。
A signature device for generating signature information for hierarchically encoded video data,
A hash value calculating means for calculating a hash value for each of the hierarchical data constituting each hierarchy of the hierarchically encoded video data;
A second hash value calculating means for calculating one hash value for the video data by repeating the process of calculating the hash value by combining two of the calculated hash values in the hierarchical order of the hierarchical data;
Signature information generating means for generating signature information based on the one hash value;
Second signature information generation for generating second signature information including the signature information and each hash value combined until the one hash value is calculated for the hierarchically encoded video data Means,
A signature apparatus comprising:
JP2009096687A 2009-04-13 2009-04-13 Signature device Active JP5383297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009096687A JP5383297B2 (en) 2009-04-13 2009-04-13 Signature device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009096687A JP5383297B2 (en) 2009-04-13 2009-04-13 Signature device

Publications (2)

Publication Number Publication Date
JP2010251877A true JP2010251877A (en) 2010-11-04
JP5383297B2 JP5383297B2 (en) 2014-01-08

Family

ID=43313755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009096687A Active JP5383297B2 (en) 2009-04-13 2009-04-13 Signature device

Country Status (1)

Country Link
JP (1) JP5383297B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015142829A1 (en) * 2014-03-17 2015-09-24 Qualcomm Incorporated Hash-based encoder search for intra block copy
JP2017182825A (en) * 2012-08-08 2017-10-05 アマゾン テクノロジーズ インコーポレイテッド Archival data storage system
JP2018081349A (en) * 2016-11-14 2018-05-24 日本電信電話株式会社 Falsification detection system, verification ecu, ecu to be verified, program
US10120579B1 (en) 2012-08-08 2018-11-06 Amazon Technologies, Inc. Data storage management for sequentially written media
US10157199B2 (en) 2012-08-08 2018-12-18 Amazon Technologies, Inc. Data storage integrity validation
US10558581B1 (en) 2013-02-19 2020-02-11 Amazon Technologies, Inc. Systems and techniques for data recovery in a keymapless data storage system
US10698880B2 (en) 2012-08-08 2020-06-30 Amazon Technologies, Inc. Data storage application programming interface
US10936729B2 (en) 2012-08-08 2021-03-02 Amazon Technologies, Inc. Redundant key management

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10419225B2 (en) 2017-01-30 2019-09-17 Factom, Inc. Validating documents via blockchain
US10411897B2 (en) 2017-02-17 2019-09-10 Factom, Inc. Secret sharing via blockchains
US10817873B2 (en) 2017-03-22 2020-10-27 Factom, Inc. Auditing of electronic documents
US10685399B2 (en) 2017-03-31 2020-06-16 Factom, Inc. Due diligence in electronic documents
US10270599B2 (en) 2017-04-27 2019-04-23 Factom, Inc. Data reproducibility using blockchains
US10783164B2 (en) 2018-05-18 2020-09-22 Factom, Inc. Import and export in blockchain environments
US11170366B2 (en) 2018-05-18 2021-11-09 Inveniam Capital Partners, Inc. Private blockchain services
US11134120B2 (en) 2018-05-18 2021-09-28 Inveniam Capital Partners, Inc. Load balancing in blockchain environments
US11989208B2 (en) 2018-08-06 2024-05-21 Inveniam Capital Partners, Inc. Transactional sharding of blockchain transactions
US11620642B2 (en) 2018-08-06 2023-04-04 Inveniam Capital Partners, Inc. Digital contracts in blockchain environments
US11164250B2 (en) 2018-08-06 2021-11-02 Inveniam Capital Partners, Inc. Stable cryptocurrency coinage
US11328290B2 (en) 2018-08-06 2022-05-10 Inveniam Capital Partners, Inc. Stable cryptocurrency coinage
US11044095B2 (en) 2018-08-06 2021-06-22 Factom, Inc. Debt recordation to blockchains
US11444749B2 (en) 2020-01-17 2022-09-13 Inveniam Capital Partners, Inc. Separating hashing from proof-of-work in blockchain environments

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946680A (en) * 1995-07-25 1997-02-14 Canon Inc Image transmission system and communication equipment
JPH09231278A (en) * 1996-02-27 1997-09-05 Canon Inc Charging device, communication device and communication system
JP2008178048A (en) * 2007-01-22 2008-07-31 Fujitsu Ltd Electronic signature program, recording medium with the program recorded thereon, electronic signature apparatus, and electronic signature method
JP2009152713A (en) * 2007-12-19 2009-07-09 Fujitsu Ltd Digital signature program, computer readable recording medium, digital signature apparatus, and digital signature method
JP2009200595A (en) * 2008-02-19 2009-09-03 Fujitsu Ltd Signature management program, signature management method and signature management apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946680A (en) * 1995-07-25 1997-02-14 Canon Inc Image transmission system and communication equipment
JPH09231278A (en) * 1996-02-27 1997-09-05 Canon Inc Charging device, communication device and communication system
JP2008178048A (en) * 2007-01-22 2008-07-31 Fujitsu Ltd Electronic signature program, recording medium with the program recorded thereon, electronic signature apparatus, and electronic signature method
JP2009152713A (en) * 2007-12-19 2009-07-09 Fujitsu Ltd Digital signature program, computer readable recording medium, digital signature apparatus, and digital signature method
JP2009200595A (en) * 2008-02-19 2009-09-03 Fujitsu Ltd Signature management program, signature management method and signature management apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017182825A (en) * 2012-08-08 2017-10-05 アマゾン テクノロジーズ インコーポレイテッド Archival data storage system
US10120579B1 (en) 2012-08-08 2018-11-06 Amazon Technologies, Inc. Data storage management for sequentially written media
US10157199B2 (en) 2012-08-08 2018-12-18 Amazon Technologies, Inc. Data storage integrity validation
US10698880B2 (en) 2012-08-08 2020-06-30 Amazon Technologies, Inc. Data storage application programming interface
US10936729B2 (en) 2012-08-08 2021-03-02 Amazon Technologies, Inc. Redundant key management
US10558581B1 (en) 2013-02-19 2020-02-11 Amazon Technologies, Inc. Systems and techniques for data recovery in a keymapless data storage system
WO2015142829A1 (en) * 2014-03-17 2015-09-24 Qualcomm Incorporated Hash-based encoder search for intra block copy
CN106105197A (en) * 2014-03-17 2016-11-09 高通股份有限公司 The encoder searches based on hash replicating for intra block
US9715559B2 (en) 2014-03-17 2017-07-25 Qualcomm Incorporated Hash-based encoder search for intra block copy
CN106105197B (en) * 2014-03-17 2019-01-15 高通股份有限公司 For the encoder searches based on hash of intra block duplication
JP2018081349A (en) * 2016-11-14 2018-05-24 日本電信電話株式会社 Falsification detection system, verification ecu, ecu to be verified, program

Also Published As

Publication number Publication date
JP5383297B2 (en) 2014-01-08

Similar Documents

Publication Publication Date Title
JP5383297B2 (en) Signature device
US8037312B2 (en) Method and apparatus for digital signature authentication, and computer product
JP2008178048A5 (en)
Bhole et al. Steganography over video file using Random Byte Hiding and LSB technique
CN105279254A (en) Layout data stream file system, operation apparatus for system and realization method for apparatus
CN101826169A (en) Digitized long-distance court hearing method
JP2009182864A (en) Signature device, verification device, program, signature method, verification method, and system
Wu et al. Improving recovered image quality in secret image sharing by simple modular arithmetic
JP2004297778A (en) Image data encryption method and apparatus, computer program, and computer-readable storage medium
CN105025102B (en) The network storage call method and storage system of a kind of 3D printing model file
CN114301602B (en) Video protection method and device based on block chain
CN103281178B (en) A kind of anonymous communication method and system
Slobodyanyuk et al. Approach to Coding with Improved Integrity of Video Information for Transmission in Wireless Infocommunication Networks
CN101945271B (en) Image compression system and compression method
JP2009253305A (en) Video signature system
Patel et al. Steganography over video file by hiding video in another video file, random byte hiding and LSB technique
JP2009169316A (en) Hash function operational device, signature device, program and hash function operational method
CN116437019A (en) Ciphertext domain reversible information hiding method of all-0 row and all-0 column codes
CN109417585B (en) Method, system and computer readable storage medium for image transmission, image compression and image restoration
US11599570B2 (en) Device and method to render multimedia data stream tamper-proof based on block chain recording
CN113535997A (en) Processing method, system, device and storage medium for storing image-text data into block chain
KR102275868B1 (en) Apparatus and Method for Falsification Protection of Video Data
JP2007215011A (en) Digital watermark embedding device, digital watermark detecting device, digital watermark embedding method, digital watermark detection method and data structure of content
CN112184440A (en) Data processing method, data processing device, node equipment and storage medium
JP2013179569A (en) Data certification system and data certification server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120326

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120523

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120523

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130918

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130924

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131001

R150 Certificate of patent or registration of utility model

Ref document number: 5383297

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250