JP4578442B2 - Verification device and verification program - Google Patents
Verification device and verification program Download PDFInfo
- Publication number
- JP4578442B2 JP4578442B2 JP2006168947A JP2006168947A JP4578442B2 JP 4578442 B2 JP4578442 B2 JP 4578442B2 JP 2006168947 A JP2006168947 A JP 2006168947A JP 2006168947 A JP2006168947 A JP 2006168947A JP 4578442 B2 JP4578442 B2 JP 4578442B2
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00005—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to image data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00037—Detecting, i.e. determining the occurrence of a predetermined state
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00405—Output means
- H04N1/00408—Display of information to the user, e.g. menus
- H04N1/0044—Display of information to the user, e.g. menus for image preview or review, e.g. to help the user position a sheet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00405—Output means
- H04N1/00477—Indicating status, e.g. of a job
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits 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/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3225—Display, 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/3226—Display, 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits 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/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3273—Display
Abstract
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が知られている。この従来技術では、オリジナルのファイルからハッシュ関数を計算して検証用データを求める。この検証用データはファイル内に保存される。
後日、ファイルから再計算したハッシュ関数のデータと、このファイル内の検証用データとの値を照合する。両データが不一致であれば、ファイルが改ざんされたと判断できる。
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.
複数のファイルについて改ざん検証を行う場合を考える。この場合、従来技術では、上述した処理を何回も繰り返す必要がある。そのため、改ざん検証を繰り返す内に、ユーザーは作業全体の正確な進捗状況が分かりづらくなる。また、改ざん検証の繰り返し中は、新たなファイルを随時に追加することができない。
以上のように、従来の改ざん検証では、使い勝手や機敏性の点で改善の余地があった。そこで、本発明は、改ざん検証の使い勝手を高めることを目的とする。
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》〜《14》 本発明の検証プログラムは、上記《1》〜《7》に対応する内容である。
<< 1 >> In addition to the search unit, the verification unit, and the display control unit , the verification device of the present invention includes a search waiting management unit that manages search waits of the search unit, a verification wait management unit that manages verification waits of the verification unit, And a parallel processing unit that performs parallel processing of the search processing of the search unit and the verification unit, and the verification processing. 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. 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 search unit registers the searched file for verification. The verification unit takes out the verification wait and performs falsification verification. The parallel processing unit executes verification processing in the verification unit while the search unit searches for a file.
<< 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 >> Also preferably, when the search unit detects a subfolder from the folders registered for search waiting, it registers the subfolder for search waiting.
<< 5 >> 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.
<< 6 >> Further 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.
<< 7 >> Another verification apparatus of the present invention includes a search unit, a search waiting management unit, a verification unit having a data extraction unit, a collation unit, and a temporary storage unit, a verification wait management unit, a display control unit, and a parallel processing unit . Prepare.
The retrieval unit retrieves a file to be subjected to falsification verification from data indicating a file type in the file. The search wait management unit manages the search wait of the search unit.
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 . Collating unit by matching the data area extracted by the data extraction unit to the verification data, to determine the falsification of the data area. Temporary storage unit temporarily stores the display image corresponding to image data extracted by the data extraction unit.
The verification wait management unit manages the verification wait of the verification unit. Viewing control unit, the results of the tampering verification by verification unit, and a display image is temporarily stored in the temporary storage unit on the display screen. The parallel processing unit performs parallel processing of search processing and verification processing between the search unit and the verification unit.
<< 8 >> to << 14 >> The verification program of the present invention has contents corresponding to the above << 1 >> to << 7 >>.
本発明によれば、改ざん検証の使い勝手を高めることができる。 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
The display control unit 18 displays the progress status of the
《メインスレッドの動作説明》
図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
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
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
ステップ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
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
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
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
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 the 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
ステップ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
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
ステップS32: 検索部14は、検索対象フォルダ名を示すテキストデータをNULL値に置き換えて、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72は消去される。
Step S32: The
ステップS33: 検索部14は、検索キュー13が空のため、OS側に制御を戻してアイドリング状態に入る。OS側では、所定時間の経過を検出すると、検索部14を再起動する。再起動した検索部14は、ステップS31に戻って動作を再開する。
Step S33: Since the search queue 13 is empty, the
ステップS34: 検索部14は、検索キュー13から先頭要素を取り出す。
Step S34: The
ステップS35: 検索部14は、取り出した要素の親フォルダ名のパス表示を、検索対象フォルダ名を示すテキストデータに代入する。続いて、検索部14は、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72に、現在検索中のフォルダ名が表示される。
Step S35: The
ステップS36: 検索部14は、取り出した要素の種別を判定する。
例えば、検索部14は、要素の命名規則(ファイル拡張子など)から種別判定を行う。また例えば、検索部14は、ファイルの実データにアクセスする。検索部14は、この実データから、ファイル種別を示すタグデータを読み出す。その結果、たとえファイル名が書き換えられていても、ファイル種別を誤りなく判定することができる。
Step S36: The
For example, the
このような種別判定に従って、検索部14は、要素を次の種別に分類する。
(1)フォルダ
(2)対象ファイル(例えば、画像ファイルの場合は、JPEG、TIFF、RAWファイルなど)
(3)対象外ファイル
In accordance with such type determination, the
(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
ステップS37: 検索部14は、ステップS36で判定した対象ファイルの参照情報と、その種別情報とを、検証キュー15に追加登録する。この動作の後、検索部14は、ステップS31に動作を戻す。
Step S37: The
ステップS38: 検索部14は、検索したフォルダ名のパス表示を、検索対象フォルダ名を示すテキストデータに代入する。続いて、検索部14は、検索の進捗状況の更新をメインスレッドに要求する(ステップS11参照)。その結果、図3に示す検索処理の進捗表示72に、現在検索中のフォルダ名が表示される。
Step S38: The
ステップS39: 検索部14は、フォルダ内の要素1つ1つについて、ステップS36と同様の種別判定を実施する。
検索部14は、フォルダ内にサブフォルダを発見すると、ステップS40に動作を移行する。また、検索部14は、フォルダ内に対象ファイルを発見すると、ステップS41に動作を移行する。一方、検索部14は、フォルダ内に対象外ファイルを発見すると、ステップS42に動作を移行する。
Step S39: The
When the
ステップS40: 検索部14は、発見したサブフォルダを、検索キュー13に追加的に登録する。この検索キュー13に差し戻す処理により、サブフォルダ内の検索処理が後から実施される。この処理の後、検索部14は、ステップS42に動作を移行する。
Step S40: The
ステップS41: 検索部14は、ステップS39で発見した対象ファイルの参照情報と、その種別情報とを、検証キュー15に追加的に登録する。この動作の後、検索部14は、ステップS42に動作を移行する。
Step S41: The
ステップS42: 検索部14は、フォルダ内の全要素について検索処理を完了したと判定すると、ステップS31に動作を戻す。一方、検索部14は、フォルダ内の全要素について検索処理を完了していないと判定すると、ステップS39に動作を戻す。
Step S42: If the
《検証スレッドの動作説明》
次に、検証スレッドの具体的動作について説明する。
図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 a NULL value, and requests the main thread to update the progress status of the falsification verification (see step S12). As a result, the tampering
ステップ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
ステップ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
As a result, the
ステップS57: 検証部16内のデータ抽出部21は、検証キュー15から、対象ファイルの参照情報と種別情報を取得する。データ抽出部21は、参照情報に基づいて、対象ファイルの実データにアクセスする。さらに、データ抽出部21は、種別情報に応じて、実データをセグメントに分類する。この分類に従って、データ抽出部21は、改ざん検証すべきデータ領域、検証用データ、および表示用の画像データを抽出する。
Step S57: The
ステップS58: 検証部16内の照合部22は、データ領域を検証用データに照合してデータ領域の改ざんを判別する。
なお、照合部22は、ファイル内の情報部(EXIF情報など)、画像部全体、およびクロップ画像部ごとに改ざんの判別を行う。
Step S58: The
Note that the
ステップS59: 検証部16内の画素数変換部23は、ステップS57で得た表示用の画像データを、図4に示す表示域77の表示サイズに合わせて画素数変換する。画素数変換部23は、画素数変換後の表示用画像を一時記憶部24に一時記憶する。
Step S59: The pixel
ステップS60: 検証部16は、照合部22による改ざん検証の結果、一時記憶部24内の表示用画像の参照情報などをまとめて、レポートデータを構築する。
Step S60: The verification unit 16 constructs report data by collecting the reference information of the display image in the
ステップ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
《実施形態の効果など》
本実施形態では、ユーザーは、ファイル/フォルダの追加操作を行うだけでよい。その後の検索および検証については、検索キュー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
また、本実施形態では、検索キュー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
さらに、本実施形態では、検証キュー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
また、本実施形態では、検索部14が、フォルダ内を検索中にサブフォルダを発見すると、このサブフォルダを検索キュー13に差し戻す。その結果、検索部14は、このサブフォルダ内について検索処理を後から実施できる。この動作を繰り返すことにより、サブフォルダを下位階層へ順に辿りながら、検索処理を漏れなく実施することができる。
In the present embodiment, when the
さらに、本実施形態では、検索部14は、ファイルの種別を判定する。検索部14は、この種別情報は、検証キュー15内に登録する。したがって、データ抽出部21は、この種別情報を、そのファイルの改ざん検証に際して検証キュー15内から取得できる。そのため、改ざん検証においてファイル種別を再び判別する必要がない。したがって、改ざん検証の処理負荷を軽減できる。
Further, in the present embodiment, the
また、本実施形態では、一時記憶部24が表示用画像を一時記憶する。したがって、表示制御部18は、この一時記憶部24にアクセスすることで、表示用画像を迅速に切り換え表示することができる。
以上の作用効果により、改ざん検証の使い勝手や機敏性を高めることが可能になる。
In the present embodiment, the
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
なお、上述した実施形態では、検証用データの算出方法として、ハッシュ関数をあげている。しかしながら、本発明はこれに限定されるものではない。一般的には、データの改ざんによって異なる検証用データを算出する算出方法であればよい。 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…検証装置,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 (14)
前記検索部によって検索された前記ファイルに対して、改ざん検証を行う検証部と、
前記検索部によるファイル検索の進捗状況と、前記検証部による改ざん検証の進捗状況との双方を表示画面に表示する表示制御部と、
前記検索部の検索待ちを管理する検索待ち管理部と、
前記検証部の検証待ちを管理する検証待ち管理部と、
前記検索部と前記検証部との検索処理、及び検証処理を並行処理可能な並行処理部と、
を備え、
前記検索部は、前記検索待ちを取り出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、
前記検証部は、前記検証待ちを取り出して、改ざん検証を行い、
前記並行処理部は、前記検索部が前記ファイルを検索している間に前記検証部で検証処理を実行させることを特徴とする検証装置。 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 display control unit that displays both the progress of file search by the search unit and the progress of tampering verification by the verification unit on a display screen;
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;
A parallel processing unit capable of parallel processing search processing of the search unit and the verification unit, and verification processing;
With
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 unit takes out the verification wait, performs falsification verification,
The parallel processing unit causes the verification unit to execute verification processing while the search unit searches for the file .
少なくとも一部の前記ファイルは、画像データを含み、
前記表示制御部は、前記ファイル検索および前記改ざん検証の少なくとも一方の進捗に従って、前記画像データの表示用画像を前記表示画面に表示する
ことを特徴とする検証装置。 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.
前記検索部、前記検証部、および前記表示制御部の少なくとも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.
前記検索部は、前記検索待ちのフォルダ内にサブフォルダを検出すると、前記サブフォルダを前記検索待ちに登録するWhen the search unit detects a subfolder in the search awaiting folder, the search unit registers the subfolder in the search awaiting
ことを特徴とする検証装置。A verification apparatus characterized by that.
外部からの指示入力に従って、前記検索待ちにファイルまたはフォルダを登録する入力処理部を備えたAn input processing unit for registering a file or folder waiting for the search according to an instruction input from the outside
ことを特徴とする検証装置。 A verification apparatus characterized by that.
前記検索部は、改ざん検証の対象として予め定められた特定のファイルか否かを判別することにより、改ざん検証の対象とするファイルを検索するThe search unit searches for a file subject to falsification verification by determining whether or not the file is a specific file predetermined as a falsification verification target.
ことを特徴とする検証装置。A verification apparatus characterized by that.
前記検索部の検索待ちを管理する検索待ち管理部と、A search waiting management unit for managing search waiting of the search unit;
前記ファイル種別の解析結果に従って検索された前記ファイル内から改ざん検証すべきデータ領域と前記データ領域の改ざんの検証用データと画像データとを抽出するデータ抽出部と、前記データ抽出部によって抽出された前記データ領域を前記検証用データに照合することにより前記データ領域の改ざんを判別する照合部と、前記データ抽出部によって抽出された前記画像データに対応する表示用画像を一時記憶する一時記憶部と、を有する検証部と、A data extraction unit that extracts a data area to be falsified and verified from within the file searched according to the analysis result of the file type, falsification verification data and image data of the data area, and the data extraction unit A collation unit that determines falsification of the data region by collating the data region with the verification data; and a temporary storage unit that temporarily stores a display image corresponding to the image data extracted by the data extraction unit; And a verification unit having
前記検証部の検証待ちを管理する検証待ち管理部と、A verification waiting management unit for managing the verification waiting of the verification unit;
前記照合部による改ざん検証の結果と、前記一時記憶部に一時記憶される前記表示用画像とを、表示画面に表示する表示制御部とA display control unit for displaying on the display screen the result of the falsification verification by the verification unit and the display image temporarily stored in the temporary storage unit;
前記検索部と前記検証部との検索処理、及び検証処理を並行処理可能な並行処理部と、A parallel processing unit capable of parallel processing search processing of the search unit and the verification unit, and verification processing;
を備え、With
前記検索部は、前記検索待ちを取り出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、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 unit takes out the verification wait, performs falsification verification,
前記並行処理部は、前記検索部が前記ファイルを検索している間に前記検証部で検証処理を実行させることを特徴とする検証装置。The parallel processing unit causes the verification unit to execute verification processing while the search unit searches for the file.
前記検索ステップによって検索された前記ファイルに対して、改ざん検証を行う検証ステップと、A verification step for performing falsification verification on the file searched by the search step;
前記検索ステップによるファイル検索の進捗状況と、前記検証ステップによる改ざん検証の進捗状況との双方を表示画面に表示する表示制御ステップと、A display control step for displaying on the display screen both the progress of the file search by the search step and the progress of the falsification verification by the verification step;
前記検索ステップの検索待ちを管理する検索待ち管理ステップと、A search wait management step for managing the search wait of the search step;
前記検証ステップの検証待ちを管理する検証待ち管理ステップと、A verification waiting management step for managing verification waiting in the verification step;
前記検索ステップと前記検証ステップとの検索処理、及び検証処理を並行処理する並行処理ステップと、を含み、A search process of the search step and the verification step, and a parallel processing step of processing the verification process in parallel,
前記検索ステップは、前記検索待ちを取り出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、The search step takes out the search wait, searches for the file that is subject to falsification verification, registers it in the verification wait,
前記検証ステップは、前記検証待ちを取り出して、改ざん検証を行い、In the verification step, the verification wait is taken out, falsification verification is performed,
前記並行処理ステップは、前記検索ステップで前記ファイルを検索している間に前記検証ステップで検証処理を実行させるIn the parallel processing step, a verification process is executed in the verification step while the file is searched in the search step.
ことを特徴する検証プログラム。A verification program characterized by that.
少なくとも一部の前記ファイルは、画像データを含み、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 progress of at least one of the file search and the falsification verification.
ことを特徴とする検証プログラム。A verification program characterized by that.
前記検索ステップ、前記検証ステップ、および前記表示制御ステップの少なくとも1つでは、前記画像データを画素数変換して、前記表示用画像を生成するAt least one of the search step, the verification step, and the display control step generates the display image by converting the number of pixels of the image data.
ことを特徴とする検証プログラム。A verification program characterized by that.
前記検索ステップでは、前記検索待ちのフォルダ内にサブフォルダを検出すると、前記サブフォルダを前記検索待ちに登録するIn the searching step, when a subfolder is detected in the search waiting folder, the subfolder is registered in the search waiting queue.
ことを特徴とする検証プログラム。A verification program characterized by that.
外部からの指示入力に従って、前記検索待ちにファイルまたはフォルダを登録する入力処理ステップをコンピュータに実行させるCauses a computer to execute an input processing step of registering a file or folder waiting for the search according to an external instruction input
ことを特徴とする検証プログラム。A verification program characterized by 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 verification program characterized by that.
前記検索ステップの検索待ちを管理する検索待ち管理ステップと、A search wait management step for managing the search wait of the search step;
前記ファイル種別の解析結果に従って検索された前記ファイル内から改ざん検証すべきデータ領域と前記データ領域の改ざんの検証用データと画像データとを抽出するデータ抽出ステップと、前記データ抽出ステップによって抽出された前記データ領域を前記検証用データに照合することにより前記データ領域の改ざんを判別する照合ステップと、前記データ抽出ステップによって抽出された前記画像データに対応する表示用画像を一時記憶する一時記憶ステップと、を有する検証ステップと、A data extraction step for extracting a data area to be falsified and verified from the file searched according to the analysis result of the file type, falsification verification data and image data of the data area, and the data extraction step A collation step of determining falsification of the data area by collating the data area with the verification data; and a temporary storage step of temporarily storing a display image corresponding to the image data extracted by the data extraction step; A verification step comprising:
前記検証ステップの検証待ちを管理する検証待ち管理ステップと、A verification waiting management step for managing verification waiting in the verification step;
前記照合ステップによる改ざん検証の結果と、前記一時記憶ステップで一時記憶される前記表示用画像とを、表示画面に表示する表示制御ステップと、A display control step for displaying the result of the tampering verification in the collation step and the display image temporarily stored in the temporary storage step on a display screen;
前記検索ステップと前記検証ステップとの検索処理、及び検証処理を並行処理する並行処理ステップと、A parallel processing step of performing parallel processing of search processing of the search step and the verification step, and verification processing;
を備え、With
前記検索ステップは、前記検索待ちを取り出して、改ざん検証の対象となる前記ファイルを検索して、前記検証待ちに登録し、The search step takes out the search wait, searches for the file that is subject to falsification verification, registers it in the verification wait,
前記検証ステップは、前記検証待ちを取り出して、改ざん検証を行い、In the verification step, the verification wait is taken out, falsification verification is performed,
前記並行処理ステップは、前記検索ステップで前記ファイルを検索している間に前記検証ステップで検証処理を実行させることを特徴とする検証プログラム。The parallel processing step causes a verification process to be executed in the verification step while the file is searched in the search step.
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 JP2007336457A (en) | 2007-12-27 |
JP4578442B2 true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107402824B (en) * | 2017-05-31 | 2020-06-02 | 创新先进技术有限公司 | Data processing method and device |
Citations (4)
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 |
-
2006
- 2006-06-19 JP JP2006168947A patent/JP4578442B2/en active Active
-
2007
- 2007-05-22 WO PCT/JP2007/000549 patent/WO2007148427A1/en active Application Filing
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2007148427A1 (en) | 2007-12-27 |
JP2007336457A (en) | 2007-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1630704B1 (en) | Image file management apparatus and method, program, and storage medium | |
US8316022B2 (en) | Information processing apparatus and information processing method | |
US20050149572A1 (en) | Scheme for systematically registering meta-data with respect to various types of data | |
US20050234896A1 (en) | Image retrieving apparatus, image retrieving method and image retrieving program | |
EP3076283B1 (en) | System and method for managing content deletion | |
JP4948276B2 (en) | Database search apparatus and database search program | |
US20110270897A1 (en) | Information browser, method of controlling same, and program | |
JP6531368B2 (en) | INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING DEVICE, PROCESSING METHOD, AND PROGRAM | |
US20120041946A1 (en) | Data search apparatus, control method thereof and computer readable storage medium | |
JP5713652B2 (en) | Data search apparatus, method, and program | |
US20240126700A1 (en) | Document locking and cache memory management in cloud computing | |
JP4578442B2 (en) | Verification device and verification program | |
JP4199193B2 (en) | Related information management method, program, and apparatus | |
JP3342146B2 (en) | Image information management device | |
JP2001154893A (en) | File retrieving device and computer readable recording medium | |
JP5523122B2 (en) | Image management apparatus, method and program | |
KR100567813B1 (en) | Transaction Analysing System for Tandem system | |
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 | |
JP2002259173A (en) | File management program, computer readable recording medium in which file management program is recorded, file managing device and file managing method | |
JP2002342137A (en) | Device and method for managing document and recording medium | |
JP2003157263A (en) | Method and device for collecting information, and storage program for retrieval object character information | |
JP5723257B2 (en) | Document management program, information processing apparatus, and document management method | |
KR100995993B1 (en) | Computer-readable recording medium recording file processing program, and file processing method and apparatus, and computer-readable recording medium recording functional program | |
JP3725835B2 (en) | Knowledge information collecting system and knowledge information collecting method |
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 |