JP2007336457A - Verification apparatus, and verification program - Google Patents

Verification apparatus, and verification program Download PDF

Info

Publication number
JP2007336457A
JP2007336457A JP2006168947A JP2006168947A JP2007336457A JP 2007336457 A JP2007336457 A JP 2007336457A JP 2006168947 A JP2006168947 A JP 2006168947A JP 2006168947 A JP2006168947 A JP 2006168947A JP 2007336457 A JP2007336457 A JP 2007336457A
Authority
JP
Japan
Prior art keywords
verification
search
unit
file
falsification
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
JP2006168947A
Other languages
Japanese (ja)
Other versions
JP4578442B2 (en
Inventor
Kohei Magaki
耕平 籬
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.)
Nikon Systems Inc
Original Assignee
Nikon Systems 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 Nikon Systems Inc filed Critical Nikon Systems Inc
Priority to JP2006168947A priority Critical patent/JP4578442B2/en
Priority to PCT/JP2007/000549 priority patent/WO2007148427A1/en
Publication of JP2007336457A publication Critical patent/JP2007336457A/en
Application granted granted Critical
Publication of JP4578442B2 publication Critical patent/JP4578442B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • H04N1/00005Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to image data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • H04N1/00026Methods therefor
    • H04N1/00037Detecting, i.e. determining the occurrence of a predetermined state
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/0044Display of information to the user, e.g. menus for image preview or review, e.g. to help the user position a sheet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00477Indicating status, e.g. of a job
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3225Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
    • H04N2201/3226Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document of identification information or the like, e.g. ID code, index, title, part of an image, reduced-size image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3273Display

Abstract

<P>PROBLEM TO BE SOLVED: To provide a verification apparatus which improves convenience, quickness in use in tampering verification. <P>SOLUTION: The verification apparatus includes a retrieval section, a verification section, and a display control section. The retrieval section retrieves a file that becomes a target of tampering verification. The verification section performs the tampering verification on the file retrieved by the retrieval section. The display control section displays, on a display screen, both a progress of the file retrieval by the retrieval section and a progress of the tampering verification by the verification section. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ファイルの改ざんを検証する技術に関する。   The present invention relates to a technique for verifying falsification of a file.

近年、電子カメラを用いて証明写真を撮影する機会が増えている。この種の証明写真は電子ファイルとして記録される。そのため、証明写真を通信回線により迅速に提出することが容易となる。また、多数の証明写真をデータベースとして管理することも容易となる。
その反面、この種の電子ファイルは、身近な画像処理ソフト等を用いて、容易に改ざんできる。そのため、電子ファイルの改ざんを検証する技術が重要となる。
In recent years, opportunities for taking ID photographs using an electronic camera have increased. This type of ID photo is recorded as an electronic file. Therefore, it becomes easy to quickly submit the ID photo through the communication line. It is also easy to manage a large number of ID photos as a database.
On the other hand, this type of electronic file can be easily altered using familiar image processing software or the like. Therefore, a technique for verifying tampering of electronic files is important.

この種の改ざん検証の技術として、下記の特許文献1が知られている。この従来技術では、オリジナルのファイルからハッシュ関数を計算して検証用データを求める。この検証用データはファイル内に保存される。
後日、ファイルから再計算したハッシュ関数のデータと、このファイル内の検証用データとの値を照合する。両データが不一致であれば、ファイルが改ざんされたと判断できる。
特開平11−215452号公報
The following Patent Document 1 is known as a technique for this type of alteration verification. In this prior art, verification data is obtained by calculating a hash function from an original file. This verification data is stored in a file.
Later, the hash function data recalculated from the file is collated with the verification data in the file. If the two data do not match, it can be determined that the file has been tampered with.
Japanese Patent Laid-Open No. 11-215452

複数のファイルについて改ざん検証を行う場合を考える。この場合、従来技術では、上述した処理を何回も繰り返す必要がある。そのため、改ざん検証を繰り返す内に、ユーザーは作業全体の正確な進捗状況が分かりづらくなる。また、改ざん検証の繰り返し中は、新たなファイルを随時に追加することができない。
以上のように、従来の改ざん検証では、使い勝手や機敏性の点で改善の余地があった。そこで、本発明は、改ざん検証の使い勝手を高めることを目的とする。
Consider a case where tampering verification is performed on multiple files. In this case, in the prior art, it is necessary to repeat the process described above many times. For this reason, it becomes difficult for the user to understand the accurate progress of the entire work while falsification verification is repeated. Also, a new file cannot be added at any time while tampering verification is repeated.
As described above, the conventional alteration verification has room for improvement in terms of usability and agility. Therefore, an object of the present invention is to improve the usability of falsification verification.

《1》 本発明の検証装置は、検索部、検証部、および表示制御部を備える。
検索部は、改ざん検証の対象となるファイルを検索する。
検証部は、検索部によって検索されたファイルに対し、改ざん検証を行う。
表示制御部は、検索部によるファイル検索の進捗状況と、検証部による改ざん検証の進捗状況との双方を表示画面に表示する。
《2》 なお好ましくは、少なくとも一部のファイルは、画像データを含む。表示制御部は、ファイル検索および改ざん検証の少なくとも一方の進捗に従って、この画像データの表示用画像を表示画面に表示する。
《3》 また好ましくは、検索部、検証部、および表示制御部の少なくとも1つは、画像データを画素数変換して表示用画像を生成する。
《4》 なお好ましくは、検索部の検索待ちを管理する検索待ち管理部を備える。また、検証部の検証待ちを管理する検証待ち管理部を備える。
検索部は、この検索待ちを取り出して改ざん検証の対象となるファイルを検索する。検索部は、検索されたファイルを検証待ちに登録する。
一方、検証部は、検証待ちを取り出して、改ざん検証を行う。
《5》 また好ましくは、検索部は、検索待ちに登録されるフォルダ内から、サブフォルダを検出すると、そのサブフォルダを検索待ちに登録する。
《6》 なお好ましくは、入力処理部を備える。この入力処理部は、外部からの指示入力に従って、検索待ちにファイルまたはフォルダを登録する。
《7》 また好ましくは、検索部は、改ざん検証の対象として予め定められた特定のファイルか否かを判別する。検索部は、この判別によって改ざん検証の対象とするファイルを検索する。
《8》 本発明の別の検証装置は、検索部、データ抽出部、照合部、一時記憶部、および表示制御部を備える。
検索部は、改ざん検証の対象となるファイルを、ファイル内のファイル種別を示すデータから検索する。
データ抽出部は、ファイル種別の解析結果に従って、検索されたファイル内から、改ざん検証すべきデータ領域と、データ領域の改ざんの検証用データと、画像データとを抽出する。
照合部は、データ抽出部によって抽出されたデータ領域を検証用データに照合することにより、データ領域の改ざんを判別する。
一時記憶部は、データ抽出部によって抽出された画像データに対応する表示用画像を一時記憶する。
表示制御部は、照合部による改ざん検証の結果と、一時記憶部に一時記憶される表示用画像とを、表示画面に表示する。
《9》〜《16》 本発明の検証プログラムは、上記《1》〜《8》に対応する内容である。
<< 1 >> The verification apparatus of the present invention includes a search unit, a verification unit, and a display control unit.
The search unit searches for a file that is subject to falsification verification.
The verification unit performs falsification verification on the file searched by the search unit.
The display control unit displays both the progress status of the file search by the search unit and the progress status of the falsification verification by the verification unit on the display screen.
<< 2 >> Preferably, at least some of the files include image data. The display control unit displays the display image of the image data on the display screen according to the progress of at least one of file search and falsification verification.
<< 3 >> Preferably, at least one of the search unit, the verification unit, and the display control unit generates a display image by converting the number of pixels of the image data.
<< 4 >> Preferably, a search waiting management unit that manages search waiting of the search unit is provided. In addition, a verification waiting management unit that manages the verification waiting of the verification unit is provided.
The retrieval unit retrieves this waiting for retrieval and retrieves a file to be subjected to falsification verification. The search unit registers the searched file for verification.
On the other hand, the verification unit takes out the verification wait and performs falsification verification.
<< 5 >> Also, preferably, when the search unit detects a subfolder from among the folders registered for search waiting, the search unit registers the subfolder for search waiting.
<6> Preferably, an input processing unit is provided. This input processing unit registers a file or a folder waiting for a search according to an instruction input from the outside.
<< 7 >> Also preferably, the search unit determines whether or not the file is a specific file predetermined as a target for falsification verification. The search unit searches for a file to be subjected to falsification verification based on this determination.
<< 8 >> Another verification apparatus of the present invention includes a search unit, a data extraction unit, a collation unit, a temporary storage unit, and a display control unit.
The retrieval unit retrieves a file to be subjected to falsification verification from data indicating a file type in the file.
The data extraction unit extracts the data area to be falsified and verified, the data for verifying the falsification of the data area, and the image data from the searched file according to the analysis result of the file type.
The collation unit determines whether the data area has been altered by collating the data area extracted by the data extraction unit with the verification data.
The temporary storage unit temporarily stores a display image corresponding to the image data extracted by the data extraction unit.
The display control unit displays the result of the falsification verification by the collation unit and the display image temporarily stored in the temporary storage unit on the display screen.
<< 9 >> to << 16 >> The verification program of the present invention has contents corresponding to the above << 1 >> to << 8 >>.

本発明によれば、改ざん検証の使い勝手を高めることができる。   According to the present invention, usability of tampering verification can be improved.

《実施形態の構成説明》
図1は、検証装置11を示すブロック図である。この検証装置11は、コンピュータと検証プログラムを用いて、ソフトウェア的に実現される。
図1において、入力処理部12は、ユーザー操作に従って、改ざん検証の候補を検索キュー13に登録する。検索部14は、この検索キュー13内から、改ざん検証の対象ファイルを検索する。検索部14は、検索した対象ファイルを、検証キュー15に登録する。検証部16は、検証キュー15内の対象ファイルについて改ざん検証を行う。なお、この検証部16は、データ抽出部21、照合部22、画素数変換部23、および一時記憶部24を備える。
表示制御部18は、上述した検索部14の進捗状況、検証部16の進捗状況、および改ざん検証の結果を、表示画面に表示する。
<< Configuration Description of Embodiment >>
FIG. 1 is a block diagram showing the verification device 11. The verification device 11 is realized by software using a computer and a verification program.
In FIG. 1, the input processing unit 12 registers falsification verification candidates in the search queue 13 in accordance with a user operation. The search unit 14 searches the search queue 13 for a target file for falsification verification. The search unit 14 registers the searched target file in the verification queue 15. The verification unit 16 performs falsification verification on the target file in the verification queue 15. The verification unit 16 includes a data extraction unit 21, a collation unit 22, a pixel number conversion unit 23, and a temporary storage unit 24.
The display control unit 18 displays the progress status of the search unit 14, the progress status of the verification unit 16, and the result of falsification verification described above on the display screen.

《メインスレッドの動作説明》
図2は、検証プログラムのメインスレッドを示す流れ図である。このメインスレッドは、図1に示す入力処理部12および表示制御部18の機能に該当する。以下、図2に示すステップ番号に沿って、この動作を説明する。
<Description of main thread operation>
FIG. 2 is a flowchart showing the main thread of the verification program. This main thread corresponds to the functions of the input processing unit 12 and the display control unit 18 shown in FIG. Hereinafter, this operation will be described along the step numbers shown in FIG.

ステップS1: まず、ユーザーは、コンピュータ上において検証プログラムを起動する。この起動に従って、メインスレッドは、ウィンドウ(図3,図4参照)を作成する。このウィンドウのメッセージキューを介して、メインスレッドは、ユーザー操作などのメッセージを受け取る。 Step S1: First, the user starts a verification program on the computer. Following this activation, the main thread creates a window (see FIGS. 3 and 4). The main thread receives messages such as user operations via the message queue of this window.

ステップS2: メインスレッドの起動時処理において、検索スレッド(後述)の作成と起動が行われる。これ以降、この検索スレッドは、メインスレッドと並行あるいは時分割に動作する。 Step S2: In the main thread activation process, a search thread (described later) is created and activated. Thereafter, this search thread operates in parallel or time-sharing with the main thread.

ステップS3: メインスレッドの起動時処理において、検証スレッド(後述)の作成と起動が行われる。これ以降、この検証スレッドは、メインスレッドや検索スレッドと並行あるいは時分割に動作する。 Step S3: A verification thread (described later) is created and activated in the main thread activation process. Thereafter, the verification thread operates in parallel with the main thread and the search thread or in a time-sharing manner.

ステップS4: メッセージキューには、ユーザー操作のメッセージや、他のスレッドからのメッセージが、OS(オペレーティングシステム)を介して蓄積される。メインスレッドは、メッセージキューから先頭のメッセージを逐次に取り出す。メインスレッドは、取り出したメッセージの内容に従って、ステップS5〜S12の分岐処理を実行する。
なお、メインスレッドは、ウィンドウの終了操作を検知すると、ステップS13以降の終了処理へ優先的に移行する。
Step S4: Messages of user operations and messages from other threads are accumulated in the message queue via the OS (Operating System). The main thread sequentially retrieves the first message from the message queue. The main thread executes the branch process of steps S5 to S12 according to the content of the extracted message.
When the main thread detects a window end operation, the main thread preferentially shifts to the end process after step S13.

ステップS5: このステップでは、ファイル/フォルダの追加メッセージに対応する分岐処理を実行する。
まず、メインスレッドは、メッセージキューを介して、このファイル/フォルダの追加メッセージを取得する。この追加メッセージは、ファイル/フォルダのドラッグ&ドロップやメニュー操作によって発生する。また、コマンドラインオプション(コマンドラインに付加されるテキストデータ)を介して、ファイル/フォルダの追加メッセージを発生させることもできる。さらに、他のアプリケーションから発行されるプロセス間通信により、ファイル/フォルダの追加メッセージを発生させることもできる。
入力処理部12は、この追加メッセージから、ファイル/フォルダの参照情報を取得する。参照情報は、実データの所在などを示す小容量のデータである。入力処理部12は、取得した参照情報を検索キュー13に追加登録する。
メインスレッドは、この検索キュー13の登録が完了すると、直ちにOSに制御を戻す。
Step S5: In this step, a branch process corresponding to the file / folder addition message is executed.
First, the main thread acquires this file / folder addition message via the message queue. This additional message is generated by drag and drop of a file / folder or a menu operation. It is also possible to generate a file / folder addition message via a command line option (text data added to the command line). Furthermore, a file / folder addition message can be generated by inter-process communication issued from another application.
The input processing unit 12 acquires file / folder reference information from this additional message. The reference information is a small amount of data indicating the location of actual data. The input processing unit 12 additionally registers the acquired reference information in the search queue 13.
When the registration of the search queue 13 is completed, the main thread immediately returns control to the OS.

ステップS6: このステップでは、検証リストの再描画メッセージに対応する分岐処理を実行する。
まず、メインスレッドは、検証リストの再描画メッセージを、メッセージキューを介して取得する。表示制御部18は、この再描画指示に従って、図3または図4に示す検証リストの表示71を更新する。
メインスレッドは、この表示更新を完了すると、直ちにOSに制御を戻す。
Step S6: In this step, branch processing corresponding to the redraw message of the verification list is executed.
First, the main thread acquires a redraw message of the verification list via the message queue. The display control unit 18 updates the verification list display 71 shown in FIG. 3 or 4 in accordance with the redrawing instruction.
When the main thread completes this display update, it immediately returns control to the OS.

ステップS7: このステップでは、検証リストの並べ替えメッセージに対応する分岐処理を実行する。
ユーザーは、検証リストの表示71の項目81をクリックすることにより、並べ替えメッセージを発生させることができる。
メインスレッドは、この並べ替えメッセージを、メッセージキューを介して取得する。表示制御部18は、この並べ替え指示された項目81の内容に従って、検証リストのリストデータを並べ替える。次に、メインスレッドは、並び替えを完了した検証リストの再描画要求をOSに対して発行する。メインスレッドは、これら動作の後、直ちにOSに制御を戻す。
Step S7: In this step, a branch process corresponding to the verification list rearrangement message is executed.
The user can generate a rearrangement message by clicking the item 81 in the display 71 of the verification list.
The main thread obtains this sort message via the message queue. The display control unit 18 rearranges the list data of the verification list according to the contents of the item 81 instructed to be rearranged. Next, the main thread issues a redraw request for the verification list that has been rearranged to the OS. The main thread returns control to the OS immediately after these operations.

ステップS8: このステップでは、検証リストのフォーカス選択に対応する分岐処理を実行する。
ユーザーは、検証リストの表示71のリストデータ82をクリックすることにより、該当するファイルをフォーカス選択することができる。
メインスレッドは、このフォーカス選択を、メッセージキューを介して取得する。表示制御部18は、フォーカス選択されたファイルを検証リストに照会し、該当ファイルの表示用画像の参照情報を情報取得する。表示制御部18は、この参照情報に従って、一時記憶部24内から表示用画像を読み出す。表示制御部18は、この表示用画像を、図4に示す表示域77に表示する。メインスレッドは、これら動作の後、直ちにOSに制御を戻す。
なお、ユーザーによって複数ファイルがフォーカス選択された場合、該当する複数の表示用画像を、表示域77に並べて表示することが好ましい。
Step S8: In this step, a branch process corresponding to the focus selection in the verification list is executed.
The user can select a focus on the corresponding file by clicking the list data 82 on the display 71 of the verification list.
The main thread obtains this focus selection via the message queue. The display control unit 18 inquires the verification list of the file selected as the focus, and acquires reference information of the display image of the file. The display control unit 18 reads the display image from the temporary storage unit 24 according to the reference information. The display control unit 18 displays the display image in the display area 77 shown in FIG. The main thread returns control to the OS immediately after these operations.
When the user selects a plurality of files in focus, it is preferable to display a plurality of corresponding display images side by side in the display area 77.

ステップS9: このステップでは、検証リストのリスト削除に対応する分岐処理を実行する。
ユーザーは、表示71のファイルをフォーカス選択した状態で、削除キーやメニュー操作を行うことにより、不要なリストの削除指示を行うことができる。
メインスレッドは、この削除指示を、メッセージキューを介して取得する。メインスレッド(表示制御部18)は、この削除指示されたリストを検証リスト内から削除する。次に、メインスレッドは、検証リストの再描画要求をOSに対して発行する。メインスレッドは、これら動作の後、直ちにOSに制御を戻す。
Step S9: In this step, a branch process corresponding to the list deletion of the verification list is executed.
The user can issue an instruction to delete an unnecessary list by performing a delete key or a menu operation in a state where the file on the display 71 is in focus.
The main thread acquires this deletion instruction via the message queue. The main thread (display control unit 18) deletes the list instructed to be deleted from the verification list. Next, the main thread issues a verification list redrawing request to the OS. The main thread returns control to the OS immediately after these operations.

ステップS10: このステップでは、中断指示に対応する分岐処理を実行する。
ユーザーは、図3に示す中断ボタン83をクリックすることにより、検索処理および検証処理の中断指示を行うことができる。
メインスレッドは、この中断指示を、メッセージキューを介して取得する。入力処理部12は、この中断指示に従って、検索キュー13および検証キュー15の内容をクリアする。この処理によって、後述する検索スレッドおよび検証スレッドの動作が中断する。メインスレッドは、これら動作の後、直ちにOSに制御を戻す。
Step S10: In this step, a branch process corresponding to the interruption instruction is executed.
The user can issue an instruction to interrupt the search process and the verification process by clicking the interrupt button 83 shown in FIG.
The main thread obtains this interruption instruction via the message queue. The input processing unit 12 clears the contents of the search queue 13 and the verification queue 15 in accordance with this interruption instruction. This process interrupts the operations of the search thread and the verification thread described later. The main thread returns control to the OS immediately after these operations.

ステップS11: 検索スレッドは、メッセージキューを介して、検索処理の進捗状況の表示更新をメインスレッドに要求する。表示制御部18は、この要求に従って、図3に示す検索状況の進捗表示72を書き換える。
なお、表示制御部18は、ウィンドウの余白部分に、検索中のファイルに含まれる表示用画像(縮小画像など)をコマ送り状に逐次表示してもよい。この場合、表示用画像の表示サイズを調整するため、検索部14または表示制御部18のいずれかにおいて画素数変換を実施することが好ましい。
メインスレッドは、これらの動作の後、直ちにOSに制御を戻す。
Step S11: The search thread requests the main thread to update the display of the progress status of the search process via the message queue. In accordance with this request, the display control unit 18 rewrites the search status progress display 72 shown in FIG.
Note that the display control unit 18 may sequentially display display images (such as reduced images) included in the file being searched in the margin of the window in a frame-by-frame manner. In this case, in order to adjust the display size of the display image, it is preferable to perform pixel number conversion in either the search unit 14 or the display control unit 18.
The main thread returns control to the OS immediately after these operations.

ステップS12: 検証スレッドは、メッセージキューを介して、検証処理の進捗状況の表示更新をメインスレッドに要求する。表示制御部18は、この要求に従って、図3に示す検索状況の進捗表示73およびプログレスバー74を書き換える。
なお、表示制御部18は、ウィンドウの余白部分に、検証中のファイルに含まれる表示用画像(縮小画像など)をコマ送り状に逐次表示してもよい。この場合、表示用画像の表示サイズを調整するため、検証部16または表示制御部18のいずれかにおいて画素数変換を実施することが好ましい。
メインスレッドは、これらの動作の後、直ちにOSに制御を戻す。
Step S12: The verification thread requests the main thread to update the display of the progress status of the verification process via the message queue. In accordance with this request, the display control unit 18 rewrites the search status progress display 73 and the progress bar 74 shown in FIG.
Note that the display control unit 18 may sequentially display display images (such as reduced images) included in the file under verification in a frame margin in a window margin. In this case, in order to adjust the display size of the display image, it is preferable to perform pixel number conversion in either the verification unit 16 or the display control unit 18.
The main thread returns control to the OS immediately after these operations.

ステップS13: ユーザーは、図4に示す終了ボタン84などを用いて、検証プログラムの終了指示を行うことができる。この終了指示は、メインスレッドに優先的に伝達される。メインスレッドは、この終了指示に従って、検索キュー13および検証キュー15の内容をクリアする。この処理によって、検索スレッドおよび検証スレッドの処理は中断する。 Step S13: The user can instruct the end of the verification program using the end button 84 shown in FIG. This end instruction is preferentially transmitted to the main thread. The main thread clears the contents of the search queue 13 and the verification queue 15 according to the end instruction. By this processing, the processing of the search thread and the verification thread is interrupted.

ステップS14: 続いて、メインスレッドは、検索スレッドおよび検証スレッドに対して終了指示を与える。 Step S14: Subsequently, the main thread gives an end instruction to the search thread and the verification thread.

ステップS15: メインスレッドは、検索スレッドおよび検証スレッドの終了を待機する。 Step S15: The main thread waits for the search thread and the verification thread to end.

ステップS16: メインスレッドは、検索スレッドおよび検証スレッドの終了を確認すると、ステップS1で作成したウィンドウをメモリ上から破棄する。以上の動作により、検証プログラムの動作が終了する。 Step S16: When the main thread confirms the end of the search thread and the verification thread, the main thread discards the window created in step S1 from the memory. With the above operation, the operation of the verification program ends.

《検索スレッドの動作説明》
次に、検索スレッドの具体的動作について説明する。
図5は、この検索スレッドの動作を示す流れ図である。この検索スレッドは、図1に示す検索部14および検索キュー13の機能に該当する。
この検索スレッドの一連の動作は、メインスレッドから終了指示があるまで繰り返し実施される。また、メインスレッドから終了指示があると、検索スレッドはメモリ上から破棄される。
《Search thread operation explanation》
Next, a specific operation of the search thread will be described.
FIG. 5 is a flowchart showing the operation of this search thread. This search thread corresponds to the functions of the search unit 14 and the search queue 13 shown in FIG.
A series of operations of this search thread is repeatedly performed until an end instruction is issued from the main thread. Further, when an end instruction is issued from the main thread, the search thread is discarded from the memory.

ステップS31: 検索部14は、一定期間おきに、検索キュー13の要素数を確認する。検索部14は、検索キュー13の要素が空であると判断すると、ステップS32に動作を移行する。一方、検索部14は、検索キュー13に要素有りと判断すると、ステップS34に動作を移行する。 Step S31: The search unit 14 checks the number of elements in the search queue 13 at regular intervals. When the search unit 14 determines that the element of the search queue 13 is empty, the operation proceeds to step S32. On the other hand, if the search unit 14 determines that there is an element in the search queue 13, the operation proceeds to step S34.

ステップS32: 検索部14は、検索対象フォルダ名を示すテキストデータをNULL値に置き換えて、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72は消去される。 Step S32: The search unit 14 replaces the text data indicating the search target folder name with a NULL value, and requests the main thread to update the search progress (see step S11). As a result, the progress display 72 of the search process shown in FIG. 3 is deleted.

ステップS33: 検索部14は、検索キュー13が空のため、OS側に制御を戻してアイドリング状態に入る。OS側では、所定時間の経過を検出すると、検索部14を再起動する。再起動した検索部14は、ステップS31に戻って動作を再開する。 Step S33: Since the search queue 13 is empty, the search unit 14 returns control to the OS side and enters an idling state. On the OS side, when the elapse of a predetermined time is detected, the search unit 14 is restarted. The restarted search unit 14 returns to step S31 and resumes operation.

ステップS34: 検索部14は、検索キュー13から先頭要素を取り出す。 Step S34: The search unit 14 takes out the head element from the search queue 13.

ステップS35: 検索部14は、取り出した要素の親フォルダ名のパス表示を、検索対象フォルダ名を示すテキストデータに代入する。続いて、検索部14は、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72に、現在検索中のフォルダ名が表示される。 Step S35: The search unit 14 substitutes the path display of the parent folder name of the extracted element into the text data indicating the search target folder name. Subsequently, the search unit 14 requests the main thread to update the search progress (see step S11). As a result, the name of the folder currently being searched is displayed in the progress display 72 of the search process shown in FIG.

ステップS36: 検索部14は、取り出した要素の種別を判定する。
例えば、検索部14は、要素の命名規則(ファイル拡張子など)から種別判定を行う。また例えば、検索部14は、ファイルの実データにアクセスする。検索部14は、この実データから、ファイル種別を示すタグデータを読み出す。その結果、たとえファイル名が書き換えられていても、ファイル種別を誤りなく判定することができる。
Step S36: The search unit 14 determines the type of the extracted element.
For example, the search unit 14 performs type determination based on element naming rules (such as a file extension). For example, the search unit 14 accesses the actual data of the file. The search unit 14 reads tag data indicating the file type from the actual data. As a result, even if the file name is rewritten, the file type can be determined without error.

このような種別判定に従って、検索部14は、要素を次の種別に分類する。
(1)フォルダ
(2)対象ファイル(例えば、画像ファイルの場合は、JPEG、TIFF、RAWファイルなど)
(3)対象外ファイル
In accordance with such type determination, the search unit 14 classifies elements into the following types.
(1) Folder
(2) Target file (for example, JPEG, TIFF, RAW file in the case of image file)
(3) Excluded files

検索部14は、要素の種別をフォルダと判定すると、ステップS38に動作を移行する。また、検索部14は、要素の種別を対象ファイルと判定すると、ステップS37に動作を移行する。一方、検索部14は、要素の種別を対象外ファイルと判定すると、ステップS31に動作を戻す。   If the search unit 14 determines that the type of element is a folder, the search unit 14 proceeds to step S38. If the search unit 14 determines that the type of element is the target file, the search unit 14 proceeds to step S37. On the other hand, if the search unit 14 determines that the element type is a non-target file, the search unit 14 returns the operation to step S31.

ステップS37: 検索部14は、ステップS36で判定した対象ファイルの参照情報と、その種別情報とを、検証キュー15に追加登録する。この動作の後、検索部14は、ステップS31に動作を戻す。 Step S37: The search unit 14 additionally registers in the verification queue 15 the reference information of the target file determined in Step S36 and its type information. After this operation, the search unit 14 returns the operation to step S31.

ステップS38: 検索部14は、検索したフォルダ名のパス表示を、検索対象フォルダ名を示すテキストデータに代入する。続いて、検索部14は、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72に、現在検索中のフォルダ名が表示される。 Step S38: The search unit 14 substitutes the path display of the searched folder name for the text data indicating the search target folder name. Subsequently, the search unit 14 requests the main thread to update the search progress (see step S11). As a result, the name of the folder currently being searched is displayed on the progress display 72 of the search process shown in FIG.

ステップS39: 検索部14は、フォルダ内の要素1つ1つについて、ステップS36と同様の種別判定を実施する。
検索部14は、フォルダ内にサブフォルダを発見すると、ステップS40に動作を移行する。また、検索部14は、フォルダ内に対象ファイルを発見すると、ステップS41に動作を移行する。一方、検索部14は、フォルダ内に対象外ファイルを発見すると、ステップS42に動作を移行する。
Step S39: The search unit 14 performs the same type determination as step S36 for each element in the folder.
When the search unit 14 finds a subfolder in the folder, the operation proceeds to step S40. Further, when the search unit 14 finds the target file in the folder, the operation proceeds to step S41. On the other hand, when the search unit 14 finds a non-target file in the folder, the operation proceeds to step S42.

ステップS40: 検索部14は、発見したサブフォルダを、検索キュー13に追加的に登録する。この検索キュー13に差し戻す処理により、サブフォルダ内の検索処理が後から実施される。この処理の後、検索部14は、ステップS42に動作を移行する。 Step S40: The search unit 14 additionally registers the found subfolder in the search queue 13. By the process of returning to the search queue 13, the search process in the subfolder is performed later. After this processing, the search unit 14 shifts the operation to step S42.

ステップS41: 検索部14は、ステップS39で発見した対象ファイルの参照情報と、その種別情報とを、検証キュー15に追加的に登録する。この動作の後、検索部14は、ステップS42に動作を移行する。 Step S41: The search unit 14 additionally registers the reference information of the target file found in step S39 and its type information in the verification queue 15. After this operation, the search unit 14 shifts the operation to step S42.

ステップS42: 検索部14は、フォルダ内の全要素について検索処理を完了したと判定すると、ステップS31に動作を戻す。一方、検索部14は、フォルダ内の全要素について検索処理を完了していないと判定すると、ステップS39に動作を戻す。 Step S42: If the retrieval unit 14 determines that the retrieval processing has been completed for all elements in the folder, the operation returns to step S31. On the other hand, if the search unit 14 determines that the search process has not been completed for all elements in the folder, the search unit 14 returns the operation to step S39.

《検証スレッドの動作説明》
次に、検証スレッドの具体的動作について説明する。
図6は、検証スレッドの動作を示す流れ図である。この検証スレッドは、図1に示す検証部16および検証キュー15の動作に該当する。
この検証スレッドの一連の動作は、メインスレッドから終了指示があるまで繰り返し実施される。また、メインスレッドから終了指示があると、検証スレッドはメモリ上から破棄される。
<Explanation of verification thread operation>
Next, a specific operation of the verification thread will be described.
FIG. 6 is a flowchart showing the operation of the verification thread. This verification thread corresponds to the operations of the verification unit 16 and the verification queue 15 shown in FIG.
A series of operations of the verification thread is repeatedly performed until an end instruction is issued from the main thread. Further, when an end instruction is issued from the main thread, the verification thread is discarded from the memory.

ステップS51: 検証部16は、一定期間おきに、検証キュー15の要素数を確認する。検証部16は、検証キュー15の要素が空であると判断すると、ステップS52に動作を移行する。一方、検証部16は、検証キュー15に要素有りと判断すると、ステップS54に動作を移行する。 Step S51: The verification unit 16 checks the number of elements in the verification queue 15 at regular intervals. When the verification unit 16 determines that the element of the verification queue 15 is empty, the operation proceeds to step S52. On the other hand, when the verification unit 16 determines that there is an element in the verification queue 15, the operation proceeds to step S54.

ステップS52: 検証部16は、検証対象ファイル名を示すテキストデータをNULL値に置き換えて、改ざん検証の進捗状況の更新をメインスレッドに要求する(ステップS12参照)。その結果、図3に示す改ざん検証の進捗表示73が消去される。 Step S52: The verification unit 16 replaces the text data indicating the verification target file name with the NULL value, and requests the main thread to update the progress status of the falsification verification (see step S12). As a result, the tampering verification progress display 73 shown in FIG. 3 is deleted.

ステップS53: 検証部16は、検証キュー15が空のため、OSに制御を戻してアイドリング状態に入る。このアイドリング状態により、処理負荷の軽減が図られる。OS側は、所定時間の経過を検出すると、検証部16を再起動する。再起動した検証部16は、ステップS51に戻って動作を再開する。 Step S53: Since the verification queue 15 is empty, the verification unit 16 returns control to the OS and enters an idling state. This idling state can reduce the processing load. When the OS side detects the elapse of a predetermined time, the verification unit 16 is restarted. The restarted verification unit 16 returns to Step S51 and resumes operation.

ステップS54: 検証部16は、検証キュー15から先頭要素を取り出す。 Step S54: The verification unit 16 takes out the head element from the verification queue 15.

ステップS55: 検証部16は、取り出した要素のファイル名を、検証対象ファイル名を示すテキストデータに代入する。続いて、検証部16は、改ざん検証の進捗状況の更新をメインスレッドに要求する(ステップS12参照)。その結果、図3に示す検証処理の進捗表示73に、現在検証中のファイル名が表示される。 Step S55: The verification unit 16 substitutes the file name of the extracted element into text data indicating the verification target file name. Subsequently, the verification unit 16 requests the main thread to update the progress status of the falsification verification (see step S12). As a result, the file name currently being verified is displayed in the progress display 73 of the verification process shown in FIG.

ステップS56: 検証部16は、検証リストの登録件数(検証済みのファイル件数)を求める。また、検証部16は、プログラム起動時から現在までの検証キュー15の総登録件数(対象ファイルの総件数)を積算する。また、検証部16は、検証済みのファイル件数と対象ファイルの総件数との比率を求める。検証部16は、この比率に従って、プログレスバー74の書き換えをメインスレッドに要求する(ステップS12参照)。
その結果、図3に示すプログレスバー74には、検証処理の進捗具合を示すバーが表示される。
Step S56: The verification unit 16 obtains the number of registrations in the verification list (the number of verified files). Further, the verification unit 16 accumulates the total number of registrations (total number of target files) in the verification queue 15 from the start of the program to the present. In addition, the verification unit 16 obtains a ratio between the number of verified files and the total number of target files. The verification unit 16 requests the main thread to rewrite the progress bar 74 according to this ratio (see step S12).
As a result, the progress bar 74 shown in FIG. 3 displays a bar indicating the progress of the verification process.

ステップS57: 検証部16内のデータ抽出部21は、検証キュー15から、対象ファイルの参照情報と種別情報を取得する。データ抽出部21は、参照情報に基づいて、対象ファイルの実データにアクセスする。さらに、データ抽出部21は、種別情報に応じて、実データをセグメントに分類する。この分類に従って、データ抽出部21は、改ざん検証すべきデータ領域、検証用データ、および表示用の画像データを抽出する。 Step S57: The data extraction unit 21 in the verification unit 16 acquires the reference information and type information of the target file from the verification queue 15. The data extraction unit 21 accesses the actual data of the target file based on the reference information. Further, the data extraction unit 21 classifies the actual data into segments according to the type information. According to this classification, the data extraction unit 21 extracts a data area to be falsified and verified, verification data, and display image data.

ステップS58: 検証部16内の照合部22は、データ領域を検証用データに照合してデータ領域の改ざんを判別する。
なお、照合部22は、ファイル内の情報部(EXIF情報など)、画像部全体、およびクロップ画像部ごとに改ざんの判別を行う。
Step S58: The collation unit 22 in the verification unit 16 collates the data area with the verification data and determines whether the data area has been tampered with.
Note that the collation unit 22 performs alteration determination for each information unit (EXIF information, etc.), the entire image unit, and the cropped image unit in the file.

ステップS59: 検証部16内の画素数変換部23は、ステップS57で得た表示用の画像データを、図4に示す表示域77の表示サイズに合わせて画素数変換する。画素数変換部23は、画素数変換後の表示用画像を一時記憶部24に一時記憶する。 Step S59: The pixel number conversion unit 23 in the verification unit 16 converts the number of pixels of the display image data obtained in Step S57 according to the display size of the display area 77 shown in FIG. The pixel number conversion unit 23 temporarily stores the display image after the pixel number conversion in the temporary storage unit 24.

ステップS60: 検証部16は、照合部22による改ざん検証の結果、一時記憶部24内の表示用画像の参照情報などをまとめて、レポートデータを構築する。 Step S60: The verification unit 16 constructs report data by collecting the reference information of the display image in the temporary storage unit 24 as a result of the falsification verification by the verification unit 22.

ステップS61: 検証部16は、ステップS60で構築したレポートデータを、検証リストに追加する。続いて、検証部16は、検証リストの再描画をメインスレッドに要求する(ステップS6参照)。この処理により、図3に示す検証リストのリストデータ82の表示が1行ずつ増える。なお、ウィンドウの表示幅を超える場合には、スクロールバー表示に切り替わる。このような動作の後、検証部16は、ステップS51に動作を戻す。 Step S61: The verification unit 16 adds the report data constructed in step S60 to the verification list. Subsequently, the verification unit 16 requests the main thread to redraw the verification list (see step S6). By this processing, the display of the list data 82 of the verification list shown in FIG. 3 is increased line by line. Note that when the display width of the window is exceeded, the display is switched to scroll bar display. After such an operation, the verification unit 16 returns the operation to step S51.

《実施形態の効果など》
本実施形態では、ユーザーは、ファイル/フォルダの追加操作を行うだけでよい。その後の検索および検証については、検索キュー13および検証キュー15の要素数に応じて自動的に実施される。したがって、ユーザーは、改ざん検証作業に当たって、ファイル/フォルダの追加操作を最低限覚えればよい。そのため、改ざん検証作業に短時間で習熟することが可能になる。
<< Effects of the embodiment >>
In this embodiment, the user only needs to perform a file / folder addition operation. Subsequent searches and verifications are automatically performed according to the number of elements in the search queue 13 and the verification queue 15. Therefore, the user needs to learn at least a file / folder addition operation in the alteration verification work. Therefore, it becomes possible to master the tampering verification work in a short time.

また、本実施形態では、図3に示すように、検索処理の進捗状況と、検証処理の進捗状況との双方が表示される。そのため、ユーザーは、双方の処理の進捗状況を把握することができる。   Further, in the present embodiment, as shown in FIG. 3, both the progress status of the search process and the progress status of the verification process are displayed. Therefore, the user can grasp the progress status of both processes.

特に、ユーザーは、検索処理の空き具合を判断できる。そのため、ユーザーは、この検索処理の空き具合を応じて、検索キュー13にファイルやフォルダをタイミング良く追加できる。その結果、大量のファイルやフォルダについて効率良く改ざん検証を実行することが可能になる。   In particular, the user can determine the availability of search processing. Therefore, the user can add files and folders to the search queue 13 with good timing according to the availability of the search process. As a result, it is possible to efficiently perform falsification verification for a large number of files and folders.

また、本実施形態では、検索処理と検証処理とをマルチスレッド化する。そのため、検索処理と検証処理とをパイプライン式に並行処理することができる。通常、検索処理ではファイルの実データにアクセスする。そのため、ハードディスクなどの物理デバイスへのアクセス時間が支配的となる。その結果、コンピュータ内のCPUはアクセス待ちの状態がしばしば発生する。一方、検証処理においても、ファイルの実データに再びアクセスする必要がある。しかし、一般的なOSでは、直前の検索処理においてアクセスされた実データは、メモリ上のファイルキャッシュ内に保持される。そのため、検証処理では、ファイルキャッシュ内から実データを読み出せばよい。そのため、物理デバイスへのアクセス時間は殆ど発生しない。むしろ、検証処理では、改ざん検証のために複雑な演算処理が主となるため、CPU側に処理負荷が集中する。   In the present embodiment, the search process and the verification process are multi-threaded. Therefore, the search process and the verification process can be processed in parallel in a pipeline manner. Normally, the search process accesses the actual file data. Therefore, the access time to a physical device such as a hard disk becomes dominant. As a result, the CPU in the computer often waits for access. On the other hand, in the verification process, it is necessary to access the actual data of the file again. However, in a general OS, the actual data accessed in the immediately preceding search process is held in a file cache on the memory. Therefore, in the verification process, actual data may be read from the file cache. Therefore, the access time to the physical device hardly occurs. Rather, in the verification process, a complicated calculation process is mainly performed for falsification verification, so that the processing load is concentrated on the CPU side.

したがって、検索処理において物理デバイスにアクセスしている期間は、アクセス待ち状態のCPUを有効利用して、検証処理を効率的に進めることができる。その結果、改ざん検証にかかるトータルの処理時間を短縮できる。   Therefore, during the period when the physical device is accessed in the search process, the verification process can be efficiently advanced by effectively using the CPU waiting for access. As a result, the total processing time for falsification verification can be shortened.

また、本実施形態では、検索処理や検証処理の進捗に従って、処理中の表示用画像をコマ送り状に表示することができる。したがって、ユーザーは、この表示用画像の表示を見ながら、改ざん検証作業がどのファイルまで進んでいるかを視覚的に把握できる。   In the present embodiment, the display image being processed can be displayed in a frame advance according to the progress of the search process and the verification process. Therefore, the user can visually grasp to which file the falsification verification work has progressed while viewing the display of the display image.

さらに、本実施形態では、表示用画像の表示サイズを、検索部14、検証部16、および表示制御部18のいずれかにおいて調整する。したがって、ファイルによって異なる表示用画像の表示サイズを一律に揃えることが可能になる。その結果、コマ送り状の進捗表示において、表示サイズが激しく変動するといった不具合を解消できる。   Furthermore, in the present embodiment, the display size of the display image is adjusted in any of the search unit 14, the verification unit 16, and the display control unit 18. Therefore, the display sizes of the display images that differ depending on the files can be made uniform. As a result, the problem that the display size fluctuates drastically in the progress display of the frame invoice can be solved.

また、本実施形態では、検索キュー13を設ける。この検索キュー13によって、入力処理部12と検索部14との間の滞貨分を検索待ちとして保持できる。その結果、入力処理部12は、検索部14の動作とは独立して、ファイル/フォルダを検索キュー13に随時に追加することが可能になる。   In the present embodiment, a search queue 13 is provided. The search queue 13 can hold the remaining amount of money between the input processing unit 12 and the search unit 14 while waiting for a search. As a result, the input processing unit 12 can add files / folders to the search queue 13 at any time independently of the operation of the search unit 14.

さらに、本実施形態では、検証キュー15を設ける。この検証キュー15によって、検索部14と検証部16との間の滞貨分を検証待ちとして保持することが可能になる。その結果、検索部14は、検証部16の動作と独立して、対象ファイルを検証キュー15に追加することが可能になる。   Furthermore, in this embodiment, a verification queue 15 is provided. The verification queue 15 makes it possible to hold the amount of money remaining between the search unit 14 and the verification unit 16 while waiting for verification. As a result, the search unit 14 can add the target file to the verification queue 15 independently of the operation of the verification unit 16.

また、本実施形態では、検索部14が、フォルダ内を検索中にサブフォルダを発見すると、このサブフォルダを検索キュー13に差し戻す。その結果、検索部14は、このサブフォルダ内について検索処理を後から実施できる。この動作を繰り返すことにより、サブフォルダを下位階層へ順に辿りながら、検索処理を漏れなく実施することができる。   In the present embodiment, when the search unit 14 finds a subfolder during the search in the folder, the search unit 14 sends the subfolder back to the search queue 13. As a result, the search unit 14 can perform a search process later in the subfolder. By repeating this operation, the search process can be performed without omission while tracing the subfolders in order to the lower hierarchy.

さらに、本実施形態では、検索部14は、ファイルの種別を判定する。検索部14は、この種別情報は、検証キュー15内に登録する。したがって、データ抽出部21は、この種別情報を、そのファイルの改ざん検証に際して検証キュー15内から取得できる。そのため、改ざん検証においてファイル種別を再び判別する必要がない。したがって、改ざん検証の処理負荷を軽減できる。   Further, in the present embodiment, the search unit 14 determines the type of file. The search unit 14 registers this type information in the verification queue 15. Therefore, the data extraction unit 21 can acquire this type information from the verification queue 15 when verifying the alteration of the file. Therefore, it is not necessary to determine the file type again in the falsification verification. Therefore, the processing load of tampering verification can be reduced.

また、本実施形態では、一時記憶部24が表示用画像を一時記憶する。したがって、表示制御部18は、この一時記憶部24にアクセスすることで、表示用画像を迅速に切り換え表示することができる。
以上の作用効果により、改ざん検証の使い勝手や機敏性を高めることが可能になる。
In the present embodiment, the temporary storage unit 24 temporarily stores the display image. Therefore, the display control unit 18 can quickly switch and display the display image by accessing the temporary storage unit 24.
With the above effects, it is possible to improve the usability and agility of tampering verification.

《実施形態の補足事項》
なお、上述した実施形態では、単体のコンピュータを使用して改ざん検証作業を実行するケースについて説明した。しかしながら、本発明はこれに限定されるものではない。例えば、インターネット上に構築されるサーバーシステムの場合には、複数のサーバーコンピュータを分散的に機能させて、検証装置11を実現してもよい。また例えば、検証装置11の構成の一部または全部をハードウェア的に実現してもよい。
<< Additional items of embodiment >>
In the above-described embodiment, the case where the falsification verification work is executed using a single computer has been described. However, the present invention is not limited to this. For example, in the case of a server system constructed on the Internet, the verification apparatus 11 may be realized by functioning a plurality of server computers in a distributed manner. Further, for example, part or all of the configuration of the verification apparatus 11 may be realized by hardware.

また、上述した実施形態では、表示用画像を一時記憶部24に格納することで、表示用画像の表示を高速化している。しかしながら、表示用画像を表示する直前に作成して一時記憶することにより、一時記憶部24に必要なメモリ容量を節約してもよい。   In the above-described embodiment, the display image is stored in the temporary storage unit 24, thereby speeding up the display of the display image. However, the memory capacity necessary for the temporary storage unit 24 may be saved by creating and temporarily storing the display image immediately before displaying it.

なお、上述した実施形態では、検証用データの算出方法として、ハッシュ関数をあげている。しかしながら、本発明はこれに限定されるものではない。一般的には、データの改ざんによって異なる検証用データを算出する算出方法であればよい。   In the above-described embodiment, a hash function is used as a method for calculating verification data. However, the present invention is not limited to this. In general, any calculation method that calculates different verification data depending on data alteration may be used.

また、上述した実施形態では、先入れ先出しのキューを前提に説明している。しかしながら、発明はこれに限定されるものではない。後入れ先出しのキューを用いてもよい。この場合、後から追加したファイル/フォルダから先に、検索および/または検証を行うことが可能になる。   In the above-described embodiment, the first-in first-out queue is described. However, the invention is not limited to this. A last-in first-out queue may be used. In this case, it is possible to search and / or verify from the file / folder added later.

以上説明したように、本発明は、検証プログラムなどに利用可能な技術である。   As described above, the present invention is a technique that can be used for a verification program or the like.

検証装置11を示すブロック図である。2 is a block diagram showing a verification device 11. FIG. 検証プログラムのメインスレッドを示す流れ図である。It is a flowchart which shows the main thread of a verification program. 検索処理および検証処理の進捗表示例を示す図である。It is a figure which shows the example of a progress display of a search process and a verification process. 検証結果の表示例を示す図である。It is a figure which shows the example of a display of verification result. 検索スレッドの動作を示す流れ図である。It is a flowchart which shows operation | movement of a search thread. 検証スレッドの動作を示す流れ図である。It is a flowchart which shows operation | movement of a verification thread.

符号の説明Explanation of symbols

11…検証装置,12…入力処理部,13…検索キュー,14…検索部,15…検証キュー,16…検証部,18…表示制御部,21…データ抽出部,22…照合部,23…画素数変換部,24…一時記憶部
DESCRIPTION OF SYMBOLS 11 ... Verification apparatus, 12 ... Input processing part, 13 ... Search queue, 14 ... Search part, 15 ... Verification queue, 16 ... Verification part, 18 ... Display control part, 21 ... Data extraction part, 22 ... Collation part, 23 ... Pixel number conversion unit, 24... Temporary storage unit

Claims (16)

改ざん検証の対象となるファイルを検索する検索部と、
前記検索部によって検索された前記ファイルに対して、改ざん検証を行う検証部と、
前記検索部によるファイル検索の進捗状況と、前記検証部による改ざん検証の進捗状況との双方を表示画面に表示する表示制御部と
を備えたことを特徴とする検証装置。
A search unit for searching for files subject to tampering verification;
A verification unit that performs falsification verification on the file searched by the search unit;
A verification apparatus comprising: a display control unit configured to display both a progress status of file search by the search unit and a progress status of falsification verification by the verification unit on a display screen.
請求項1に記載の検証装置において、
少なくとも一部の前記ファイルは、画像データを含み、
前記表示制御部は、前記ファイル検索および前記改ざん検証の少なくとも一方の進捗に従って、前記画像データの表示用画像を前記表示画面に表示する
ことを特徴とする検証装置。
The verification apparatus according to claim 1,
At least some of the files include image data;
The display control unit displays a display image of the image data on the display screen according to progress of at least one of the file search and the falsification verification.
請求項2に記載の検証装置において、
前記検索部、前記検証部、および前記表示制御部の少なくとも1つは、前記画像データを画素数変換して、前記表示用画像を生成する
ことを特徴とする検証装置。
The verification apparatus according to claim 2,
At least one of the search unit, the verification unit, and the display control unit generates the display image by converting the number of pixels of the image data.
請求項1ないし請求項3のいずれか1項に記載の検証装置において、
前記検索部の検索待ちを管理する検索待ち管理部と、
前記検証部の検証待ちを管理する検証待ち管理部とを備え、
前記検索部は、前記検索待ちを取り出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、
前記検証部は、前記検証待ちを取り出して、改ざん検証を行う
ことを特徴とする検証装置。
The verification apparatus according to any one of claims 1 to 3,
A search waiting management unit for managing search waiting of the search unit;
A verification waiting management unit for managing the verification waiting of the verification unit,
The search unit takes out the search wait, searches for the file that is subject to falsification verification, registers it in the verification wait,
The verification device, wherein the verification unit takes out the verification wait and performs falsification verification.
請求項4に記載の検証装置において、
前記検索部は、前記検索待ちのフォルダ内にサブフォルダを検出すると、前記サブフォルダを前記検索待ちに登録する
ことを特徴とする検証装置。
The verification apparatus according to claim 4,
When the search unit detects a subfolder in the search awaiting folder, the search unit registers the subfolder in the search awaiting.
請求項4または請求項5に記載の検証装置において、
外部からの指示入力に従って、前記検索待ちにファイルまたはフォルダを登録する入力処理部を備えた
ことを特徴とする検証装置。
In the verification device according to claim 4 or 5,
A verification apparatus comprising: an input processing unit for registering a file or a folder waiting for the search according to an instruction input from the outside.
請求項1ないし請求項6のいずれか1項に記載の検証装置において、
前記検索部は、改ざん検証の対象として予め定められた特定のファイルか否かを判別することにより、改ざん検証の対象とするファイルを検索する
ことを特徴とする検証装置。
The verification apparatus according to any one of claims 1 to 6,
The verification device, wherein the search unit searches for a file to be subjected to falsification verification by determining whether or not the file is a specific file predetermined as a falsification verification target.
改ざん検証の対象となるファイルを、ファイル内のファイル種別を示すデータから検索する検索部と、
前記ファイル種別の解析結果に従って、検索された前記ファイル内から、改ざん検証すべきデータ領域と、前記データ領域の改ざんの検証用データと、画像データとを抽出するデータ抽出部と、
前記データ抽出部によって抽出された前記データ領域を前記検証用データに照合することにより、前記データ領域の改ざんを判別する照合部と、
前記データ抽出部によって抽出された前記画像データに対応する表示用画像を一時記憶する一時記憶部と、
前記照合部による改ざん検証の結果と、前記一時記憶部に一時記憶される前記表示用画像とを、表示画面に表示する表示制御部と
を備えたことを特徴とする検証装置。
A search unit for searching for a file subject to falsification verification from data indicating a file type in the file;
According to the analysis result of the file type, from the searched file, a data area to be subjected to falsification verification, verification data for falsification of the data area, and a data extraction unit for extracting image data;
A collation unit for determining falsification of the data region by collating the data region extracted by the data extraction unit with the verification data;
A temporary storage unit for temporarily storing a display image corresponding to the image data extracted by the data extraction unit;
A verification apparatus comprising: a display control unit configured to display a result of falsification verification by the verification unit and the display image temporarily stored in the temporary storage unit on a display screen.
改ざん検証の対象となるファイルを検索する検索ステップと、
前記検索ステップによって検索された前記ファイルに対して、改ざん検証を行う検証ステップと、
前記検索ステップによるファイル検索の進捗状況と、前記検証ステップによる改ざん検証の進捗状況との双方を表示画面に表示する表示制御ステップと
をコンピュータに実行させるための検証プログラム。
A search step for searching for files subject to tampering verification;
A verification step for performing falsification verification on the file searched by the search step;
A verification program for causing a computer to execute a display control step of displaying both a progress status of file search by the search step and a progress status of falsification verification by the verification step on a display screen.
請求項9に記載の検証プログラムにおいて、
少なくとも一部の前記ファイルは、画像データを含み、
前記表示制御ステップでは、前記ファイル検索および前記改ざん検証の少なくとも一方の進捗に従って、前記画像データの表示用画像を前記表示画面に表示する
ことを特徴とする検証プログラム。
The verification program according to claim 9,
At least some of the files include image data;
In the display control step, a display image of the image data is displayed on the display screen according to the progress of at least one of the file search and the falsification verification.
請求項10に記載の検証プログラムにおいて、
前記検索ステップ、前記検証ステップ、および前記表示制御ステップの少なくとも1つでは、前記画像データを画素数変換して、前記表示用画像を生成する
ことを特徴とする検証プログラム。
The verification program according to claim 10,
At least one of the search step, the verification step, and the display control step converts the number of pixels of the image data to generate the display image.
請求項9ないし請求項11のいずれか1項に記載の検証プログラムにおいて、
前記検索ステップの検索待ちを管理する検索待ち管理ステップと、
前記検証ステップの検証待ちを管理する検証待ち管理ステップとを備え、
前記検索ステップでは、前記検索待ちを読み出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、
前記検証ステップでは、前記検証待ちを読み出して、改ざん検証を行う
ことを特徴とする検証プログラム。
The verification program according to any one of claims 9 to 11,
A search wait management step for managing the search wait of the search step;
A verification wait management step for managing the verification wait of the verification step,
In the search step, the search wait is read, the file that is subject to falsification verification is searched, registered in the verification wait,
In the verification step, the waiting for verification is read to perform falsification verification.
請求項12に記載の検証プログラムにおいて、
前記検索ステップでは、前記検索待ちのフォルダ内にサブフォルダを検出すると、前記サブフォルダを前記検索待ちに登録する
ことを特徴とする検証プログラム。
The verification program according to claim 12,
In the search step, when a subfolder is detected in the search awaiting folder, the subfolder is registered in the search awaiting.
請求項12または請求項13に記載の検証プログラムにおいて、
外部からの指示入力に従って、前記検索待ちにファイルまたはフォルダを登録する入力処理ステップをコンピュータに実行させる
ことを特徴とする検証プログラム。
In the verification program according to claim 12 or claim 13,
A verification program for causing a computer to execute an input processing step of registering a file or a folder waiting for a search according to an instruction input from the outside.
請求項9ないし請求項14のいずれか1項に記載の検証プログラムにおいて、
前記検索ステップでは、改ざん検証の対象として予め定められた特定のファイルか否かを判別することにより、改ざん検証の対象とするファイルを検索する
ことを特徴とする検証プログラム。
The verification program according to any one of claims 9 to 14,
A verification program characterized in that, in the search step, a file to be subjected to falsification verification is searched by determining whether or not the file is a specific file predetermined as a falsification verification target.
改ざん検証の対象となるファイルを、ファイル内のファイル種別を示すデータから検索する検索ステップと、
前記ファイル種別の解析結果に従って、検索された前記ファイル内から、改ざん検証すべきデータ領域と、前記データ領域の改ざんの検証用データと、画像データとを抽出するデータ抽出ステップと、
前記データ抽出ステップによって抽出された前記データ領域を前記検証用データに照合することにより、前記データ領域の改ざんを判別する照合ステップと、
前記データ抽出ステップによって抽出された前記画像データに対応する表示用画像を一時記憶する一時記憶ステップと、
前記照合ステップによる改ざん検証の結果と、前記一時記憶ステップに一時記憶される前記表示用画像とを、表示画面に表示する表示制御ステップと
をコンピュータに実行させるための検証プログラム。
A search step for searching for a file subject to falsification verification from data indicating a file type in the file;
According to the analysis result of the file type, a data extraction step of extracting a data area to be subjected to falsification verification, verification data for falsification of the data area, and image data from the searched file,
A collation step of determining falsification of the data area by collating the data area extracted by the data extraction step with the verification data;
A temporary storage step of temporarily storing a display image corresponding to the image data extracted by the data extraction step;
A verification program for causing a computer to execute a display control step of displaying a result of falsification verification in the verification step and the display image temporarily stored in the temporary storage step on a display screen.
JP2006168947A 2006-06-19 2006-06-19 Verification device and verification program Active JP4578442B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006168947A JP4578442B2 (en) 2006-06-19 2006-06-19 Verification device and verification program
PCT/JP2007/000549 WO2007148427A1 (en) 2006-06-19 2007-05-22 Verification apparatus and verification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006168947A JP4578442B2 (en) 2006-06-19 2006-06-19 Verification device and verification program

Publications (2)

Publication Number Publication Date
JP2007336457A true JP2007336457A (en) 2007-12-27
JP4578442B2 JP4578442B2 (en) 2010-11-10

Family

ID=38833174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006168947A Active JP4578442B2 (en) 2006-06-19 2006-06-19 Verification device and verification program

Country Status (2)

Country Link
JP (1) JP4578442B2 (en)
WO (1) WO2007148427A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020503728A (en) * 2017-05-31 2020-01-30 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Blockchain data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0391069A (en) * 1989-09-04 1991-04-16 Toshiba Corp Document preparing device
JP2000224403A (en) * 1999-01-27 2000-08-11 Sony Corp Electronic watermark processor and operation display method therefor
JP2004030663A (en) * 2002-06-20 2004-01-29 Internatl Business Mach Corp <Ibm> Device and method for integrating workload manager with system task scheduler
JP2005347867A (en) * 2004-05-31 2005-12-15 Victor Co Of Japan Ltd Electronic document alteration detection method, electronic document alteration detection apparatus, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0391069A (en) * 1989-09-04 1991-04-16 Toshiba Corp Document preparing device
JP2000224403A (en) * 1999-01-27 2000-08-11 Sony Corp Electronic watermark processor and operation display method therefor
JP2004030663A (en) * 2002-06-20 2004-01-29 Internatl Business Mach Corp <Ibm> Device and method for integrating workload manager with system task scheduler
JP2005347867A (en) * 2004-05-31 2005-12-15 Victor Co Of Japan Ltd Electronic document alteration detection method, electronic document alteration detection apparatus, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020503728A (en) * 2017-05-31 2020-01-30 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Blockchain data processing method and device

Also Published As

Publication number Publication date
WO2007148427A1 (en) 2007-12-27
JP4578442B2 (en) 2010-11-10

Similar Documents

Publication Publication Date Title
EP1630704B1 (en) Image file management apparatus and method, program, and storage medium
US20050234896A1 (en) Image retrieving apparatus, image retrieving method and image retrieving program
JP4948276B2 (en) Database search apparatus and database search program
US8010580B2 (en) Information browser, method of controlling same, and program
JP6870466B2 (en) Control programs, control methods, controls, and database servers
US20120041946A1 (en) Data search apparatus, control method thereof and computer readable storage medium
JP5713652B2 (en) Data search apparatus, method, and program
US8325362B2 (en) Choosing the next document
JP4199193B2 (en) Related information management method, program, and apparatus
JP4578442B2 (en) Verification device and verification program
JP3342146B2 (en) Image information management device
JP2001154893A (en) File retrieving device and computer readable recording medium
EP2056254A1 (en) Method for displaying images
JP5523122B2 (en) Image management apparatus, method and program
JP2008242777A (en) Image retrieval system and image retrieval method
JP4925711B2 (en) Batch registration information generation apparatus, batch registration information generation method, and batch registration information generation program
JP2023030849A (en) Information processing apparatus, information processing method, and program
KR100995993B1 (en) Computer-readable recording medium recording file processing program, and file processing method and apparatus, and computer-readable recording medium recording functional program
JP7060804B2 (en) Information processing equipment, project management method and project management program
JP2003157263A (en) Method and device for collecting information, and storage program for retrieval object character information
JP6061647B2 (en) File management apparatus, control method thereof, and program
JP2006227859A (en) System, program, and method for database management, and recording medium
JP3725835B2 (en) Knowledge information collecting system and knowledge information collecting method
JP6317546B2 (en) Processing apparatus, processing method, and program
JP2007286743A (en) Log creation method and log creation device

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20090611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100720

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: 20100817

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100824

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4578442

Country of ref document: JP

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