JP4622523B2 - File search program and file search method - Google Patents
File search program and file search method Download PDFInfo
- Publication number
- JP4622523B2 JP4622523B2 JP2005002832A JP2005002832A JP4622523B2 JP 4622523 B2 JP4622523 B2 JP 4622523B2 JP 2005002832 A JP2005002832 A JP 2005002832A JP 2005002832 A JP2005002832 A JP 2005002832A JP 4622523 B2 JP4622523 B2 JP 4622523B2
- Authority
- JP
- Japan
- Prior art keywords
- search
- file
- search order
- order
- files
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、パーソナルコンピュータ等のコンピュータ装置においてウイルススキャンさせる場合に、記憶装置内に格納された実ファイルの検索を効率的に実行させるファイル検索プログラムおよびファイル検索方法に関する。 The present invention relates to a file search program and a file search method for efficiently executing a search for an actual file stored in a storage device when a virus scan is performed in a computer device such as a personal computer.
パーソナルコンピュータ等のコンピュータ装置においては、新規ウイスル等の発生を想定してシステム内のウイルス検索を一定期間毎に実施しているが、記憶装置内に格納される検査対象のファイル数は膨大であり、時間の制約もあって、すべてのファイルの検索を終了する以前に検索を中断せざるを得ないことが多くある。また、一般に、ウイルススキャンソフトによるファイルの検索順序は、ファイル名のイニシャル文字の昇順または降順に一定の順序にしたがって検索が実行されている(例えば、特許文献1)。 In a computer device such as a personal computer, a virus search in the system is performed at regular intervals assuming the occurrence of a new virus, etc., but the number of files to be stored stored in the storage device is enormous. Due to time constraints, it is often necessary to interrupt the search before finishing the search of all files. In general, the search order of a file by virus scanning software is executed according to a fixed order in ascending or descending order of initial characters of the file name (for example, Patent Document 1).
しかしながら、従来の名称順等の規則性に従った検索は、一定時間で中断することを前提とした場合に、その後、中断した検索を再開するにあたって、最初からすべてのファイルについて検索をやり直したり、また、一定の検索順序をとっているため、常に同じファイルが優先して検索されてしまう等、大変効率の悪いやり方となっている。
そこで、本発明では、上記の問題を解決するため、記憶装置内に格納されたファイルの検索順序をランダムに作成し、ウイルススキャンを一時中断するときにその検索状態を記録し、再開時に再度、検索順を乱数化して設定し直すことによって、中断を繰り返した場合でも一定の分散した範囲で検索が行われるファイル検索プログラムおよびファイル検索方法を提供することを目的とする。 Therefore, in the present invention, in order to solve the above-described problem, the search order of the files stored in the storage device is randomly created, the search state is recorded when the virus scan is temporarily suspended, and again when the scan is resumed. It is an object of the present invention to provide a file search program and a file search method in which a search is performed within a certain distributed range even when interruption is repeated by re-setting the search order.
第一の発明は、記憶装置内に格納された複数ファイルをウイルススキャンするときのファイル検索プログラムであって、コンピュータに、ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成ステップと、前記検索順作成ステップで作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行ステップと、前記検索実行ステップで検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録ステップと、その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定ステップと、を実行させるファイル検索プログラムに関する。 A first invention is a file search program for scanning a plurality of files stored in a storage device with a virus. The computer searches the computer for initials from a character string representing a file name of the plurality of files to be scanned by the virus scan. A search order creation step for creating a search order table by arranging the search order at random, and a search execution step for executing a search for a plurality of files according to the search order of the search order table created in the search order creation step, When the virus scan being executed in the search execution step is temporarily suspended, a state recording step for recording the search state as a work in the search order table, and then when the virus scan is resumed, the search order The search order for files in process in the table is first. And re-setting step for subsequently has become not completed the search order of the file to find initial sort randomly again, about the file search program for execution.
すなわち、第一の発明によれば、検索順作成手段が、ウイルススキャンの対象となるファイル名からイニシャル(先頭文字)を抽出し、イニシャルについてその検索順序をランダムに順位付けした検索順テーブルを作成し、検索実行手段が、この検索順テーブルにおいての順序付けしたイニシャルのファイルを順番にウイルススキャンさせ、状態記録手段が、ウイルススキャンを一時中断させた場合に、その処理途中にあったファイルを仕掛として検索状態を検索順テーブルに記録し、その後、中断させたウイルススキャンを再開させるときに、再設定手段が、検索順テーブルの検索状態を参照して、仕掛となっているファイルを優先的に1番目に、それに続いて検索未完了となっているイニシャルをランダムに並べ替えて設定し直すようにファイル検索プログラムが構成される。 That is, according to the first invention, the search order creation means extracts the initial (first character) from the file name subject to virus scanning, and creates a search order table in which the search order is randomly ranked for the initials. Then, the search execution means scans the ordered initial files in the search order table in order, and when the status recording means suspends the virus scan temporarily, the file that was in the process of processing is used as a device. When the search status is recorded in the search order table and then the interrupted virus scan is resumed, the resetting means refers to the search status of the search order table and preferentially selects the file in progress as 1 Secondly, the initials that are not yet searched are randomly sorted and reset. Airu search program is configured.
これによって、自コンピュータ装置の記憶装置に多大のファイルをかかえる使用者にとっては、今まで時間がかかり過ぎて中断せざるを得なかったウイルススキャンに対し、処理途中にあったファイルがまず検索され、続く検索ファイルもランダムな順序となる仕組みが提供されるため、常に一定の順序でファイルが検索されることによって生じる不効率を避けることができ、いつでも都合に合わせてウイルススキャンを利用するメリットが出てくる。 As a result, for users who have a large number of files in the storage device of their own computer device, files that were in the middle of processing are first searched for virus scans that had to be interrupted because it took too much time, Since the search files that follow are provided in a random order, the inefficiency caused by the files being always searched in a certain order can be avoided, and the benefits of using virus scanning at any time can be achieved. Come.
第二の発明は、前記検索順作成ステップにおける検索順序は、ファイル名のイニシャルについて先頭2バイトのコードで判定することを特徴とする上記第一の発明に記載のファイル検索プログラムに関する。 The second invention relates to the file search program according to the first invention, wherein the search order in the search order creation step is determined by a code of the first two bytes for the initial of the file name.
すなわち、第二の発明によれば、ファイル名のイニシャルをバイトコードとし、かつ、先頭2バイトのコードでファイルの検索順序を判定する仕組みとすることによって、検索の効率を上げることができ、アルファベット、日本語等言語による影響を受けずに高速に検索する環境を提供することとなる。 That is, according to the second invention, the file name initial is a byte code, and the search order of the file is determined by the code of the first 2 bytes, so that the search efficiency can be improved. It will provide an environment for high-speed search without being affected by languages such as Japanese.
上記した本発明によって以下の効果が期待できる。 The following effects can be expected from the present invention described above.
第一に、自コンピュータ装置の記憶装置に多大のファイルをかかえる使用者にとっては、今まで時間がかかり過ぎて中断せざるを得なかったウイルススキャンに対し、処理途中にあったファイルがまず検索され、続く検索ファイルもランダムな順序となる仕組みが提供されるため、常に一定の順序でファイルが検索される不効率を避けることができ、いつでも都合に合わせてウイルススキャンを利用するメリットが出てくる。 First, for users who have a large number of files in the storage device of their computer device, files that were in the middle of processing are first searched for virus scans that have been too long and have to be interrupted. Since the search files that follow are provided in a random order, it is possible to avoid the inefficiency that the files are always searched in a fixed order, and the benefits of using virus scanning at any time come out. .
第二に、ファイル名の先頭2バイトのコードでファイルの検索順序を判定する仕組みとすることによって、検索の効率を上げることができ、アルファベット、日本語等言語による影響を受けずに高速に検索する環境を提供することとなる。 Secondly, by using a mechanism that determines the file search order based on the code of the first two bytes of the file name, the search efficiency can be improved, and high-speed search can be performed without being affected by languages such as alphabet and Japanese. Environment.
以上、本発明によれば、ウイルス検索の中断と継続再開が可能となることで限られた時間において、効率的な検索が可能となり、同じファイルを重複して検索することもなくなるため、検索に要する時間及び検索によってマシンを拘束される時間が短縮される効果が生まれる。 As described above, according to the present invention, since the virus search can be interrupted and resumed continuously, the search can be efficiently performed in a limited time, and the same file is not redundantly searched. The time required and the time for which the machine is restrained by the search are shortened.
以下、図面にもとづいて本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態になるファイル検索システムの基本構成を示す図である。 FIG. 1 is a diagram showing a basic configuration of a file search system according to an embodiment of the present invention.
ウイルススキャンを実行する装置は、CPU2、メモリ3、および補助記憶装置4を備えるコンピュータ装置1である。補助記憶装置4には、ファイル検索プログラム10、検索順テーブル15、ウイルススキャンプログラム20、およびウイルス定義ファイル21が格納されている。ウイルススキャンを実行する際に、補助記憶装置4からファイル検索プログラム10およびウイルススキャンプログラム20とがメモリ3にロードされ、CPU2によってこれらプログラムが実行される。
A device that executes virus scanning is a computer device 1 that includes a
本ファイル検索プログラム10は、ウイルススキャンプログラム20において、ファイル検索を処理するルーチンプログラムに相当するもので、検索順作成手段11、検索実行手段12、状態記録手段13、および再設定手段14の各手段で構成され、コンピュータ装置1の補助記憶装置4に予め内蔵させておき、ウイルススキャン時に、メモリ3にロードされCPU2によって実行される。
The
ウイルススキャンの対象となる複数の実ファイル(以降、単にファイルと表現)は、ハードディスクに代表される補助記憶装置4内に格納されている(図示はしていない)。
A plurality of real files (hereinafter simply referred to as files) to be subjected to virus scanning are stored in an
なお、これら当該プログラムは、フレキシブルディスク、コンパクトディスク、ROM等のコンピュータ読み取り可能な記録媒体に記録され、内蔵あるいは外部接続された媒体読取装置にセットし、インストールすることによって実行可能な状態としてもよい。 Note that these programs may be recorded in a computer-readable recording medium such as a flexible disk, a compact disk, and a ROM, and set in a built-in or externally connected medium reader and installed to be executable. .
また、ウイルススキャンプログラム20は、ソフトウエアメーカから供給されるアプリケーションプログラムであり、そのスキャン時のルールを定義したウイルス定義ファイル21は、図示していないネットワークを介して供給元からの提供を受け、常に最新の定義に更新された状態にある。
The
図2は、本発明の実施の形態になる検索順テーブルのデータ構成例(1回目検索中断時)を示す。本実施例の検索順テーブル15は、検索対象先頭文字コード101、検索順位102、最終検索日時103、検索状態104、および前回最終検索ファイル名105の項目からなる複数のレコードで構成される。
FIG. 2 shows a data configuration example (when the first search is interrupted) of the search order table according to the embodiment of the present invention. The search order table 15 of this embodiment is composed of a plurality of records including items of a search target
検索対象先頭文字コード101は、ファイル名の文字列から抽出されたイニシャル文字(先頭文字)について、先頭2バイトのコードで表したもので、これによってイニシャル部の高速検索が可能となり、かつ、アルファベット、日本語等、言語に依存しない検索を可能とするものである。
The search target
検索順位102には、各検索ファイルにおいて、乱数テーブルや乱数関数などの一般的な処方を適用することによって、ランダムに検索順位をナンバリングさせた数値が記入される。
In the
また、最終検索日時103には、各イニシャルにおいては、検索完了日時を情報として付加し、最終検索された日時がスタンピングされる。
Further, in each initial, the search completion date and time is added as information to the last search date and
さらに、検索状態104には、ウイルススキャンが中断されたときに、ウイルススキャンがすでに完了していれば検索状態が「完了」が記録され、処理途中であれば「仕掛」として記録される。
Further, in the
そして、前回最終検索ファイル名105には、前回中断時に、「完了」あるいは「仕掛」となった検索ファイル名が記録される。
In the previous last
例えば、第一番目のレコードには、検索対象先頭文字コード101は「3030」、検索順位102は「1」位、最終検索日時103は「2004年11月11日0時00分、検索状態104は「完了」、および前回最終検索ファイル名105は「00ABCDE」が記入されている。
For example, in the first record, the search target
なお、最終検索日時103における検索完了日時は、ウイルススキャンを実施する度に、それ以前はクリアされてスタンピングされ、前回検索を終えたファイルが記録されることを前提としているが、中断から再開までの時間が長くあき過ぎた場合には、中断した検索完了日時からの経過時間を指定することによって、「完了」を打ち消し、未完了として次回のウイルススキャンの対象とすることとしてもよい。
Note that the search completion date and time in the last search date and
図3は、本発明の実施の形態になる検索順テーブルのデータ構成例(2回目検索再開時)を示す。検索順テーブル15のデータ構成は、図2の構成と同一のもので、検索順位102項目におけるファイルの検索順序は、「仕掛」にある検索ファイルを最優先の1位とし、他の未だウイルススキャンが完了していないイニシャルのファイルについて、検索順序をランダムに並び替えたものとなっている。
FIG. 3 shows a data configuration example of the search order table according to the embodiment of the present invention (when the second search is resumed). The data structure of the search order table 15 is the same as the structure of FIG. 2, and the search order of the file in the
すなわち、ファイル検索を行う順序は、ランダムなファイル名のイニシャル文字順とし、各イニシャル文字毎にファイル検索の終了状態を記憶し、次回再開時には検索の完了していないイニシャルのファイルから検索を行う。ファイル検索を行う順番を指定する検索順ファイルの未完了文字については、毎回ランダムに順番を指定しなおすことで一層の不規則性を持たせることができる。 That is, the file search order is the initial character order of random file names, the end state of the file search is stored for each initial character, and the search is performed from the initial file that has not been searched at the next restart. The incomplete characters of the search order file for specifying the order in which the file search is performed can be given more irregularity by randomly specifying the order every time.
また、各検索対象ファイルの先頭文字コードに対応して、検索完了日時を情報として付加し、次回は当該日時以降のイニシャルから検索が開始される。 In addition, the search completion date and time is added as information corresponding to the first character code of each search target file, and next time the search is started from the initials after the date and time.
図4は、本発明の実施の形態になるファイル検索開始時のフローチャートを示す。まず、ステップS11において、記憶装置内に格納されたウイルススキャンの対象ファイルのファイル名の文字列からイニシャルを抽出し、イニシャルによる検索順テーブル15を作成する。 FIG. 4 shows a flowchart at the start of file search according to the embodiment of the present invention. First, in step S11, initials are extracted from the character string of the file name of the virus scan target file stored in the storage device, and the initial search order table 15 is created.
つぎに、ステップS12において、前ステップで作成された検索順テーブルに基づいて、イニシャルに相当するファイル順に検索を実行する。そして、検索が開始されたら、ステップS13において、検索順テーブルの対象イニシャルの検索状態に検索中を示すマークを記録する。 Next, in step S12, the search is executed in the order of the files corresponding to the initials based on the search order table created in the previous step. When the search is started, a mark indicating that the search is in progress is recorded in the search state of the target initial in the search order table in step S13.
ステップS14において、該当イニシャルのファイルを全て検索したかを判定し、全てが完了するまで繰り返す。ステップS15において、完了イニシャルにつき検索順指定ファイルの検索状態を示す項目に完了マークを記録する。 In step S14, it is determined whether or not all the files of the corresponding initial have been searched, and the process is repeated until all the files are completed. In step S15, a completion mark is recorded in the item indicating the search status of the search order designation file for the completion initial.
そして、ステップS16において、検索順テーブルの全てのイニシャルを検索したかを判定し、完了していなければ、ステップS13に戻り、以降の処理ステップが検索完了となるまで繰り返される。 In step S16, it is determined whether or not all initials in the search order table have been searched. If not, the process returns to step S13, and the subsequent processing steps are repeated until the search is completed.
図5は、本発明の実施の形態になるファイル検索再開時のフローチャートを示す。まず、ステップS21において、補助記憶装置4の検索順テーブル15を参照し、ステップS22で、前回検索において中断状態となったファイルを検出する。
FIG. 5 shows a flowchart at the time of resuming the file search according to the embodiment of the present invention. First, in step S21, the search order table 15 of the
つぎに、ステップS23において、検索順テーブル15の中で仕掛状態のイニシャルのファイルを検索順位1位とする。ステップS24において、検索順テーブルの検索順を仕掛、完了以外の検索未完了となっているファイルについて再設定処理を行う。 Next, in step S23, the initial file in process status in the search order table 15 is set to the first search order. In step S24, the search order in the search order table is processed, and reset processing is performed for files that have not been searched for other than completed.
ステップS25において、検索順テーブルのイニシャルに相当するファイル順に検索を実行し、ステップS26において、検索順テーブルの対象イニシャルの検索状態に検索中を示す「仕掛」マークを記録する。 In step S25, the search is executed in the order of files corresponding to the initials in the search order table, and in step S26, a “work in progress” mark indicating that the search is in progress is recorded in the search status of the target initial in the search order table.
さらに、ステップS27において、該当イニシャルのファイルを全て検索するまで繰り返す。ステップS28において、完了イニシャルにつき検索順指定ファイルの検索状態を示す項目に「完了」マークを記録する。 In step S27, the process is repeated until all the initial files are searched. In step S28, a “complete” mark is recorded in the item indicating the search status of the search order designation file for the completion initial.
そして、ステップS29において、全てのイニシャルを検索したかを判定し、検索が完了していなければ、ステップS26に戻り、以降の処理ステップを繰り返す。 In step S29, it is determined whether or not all initials have been searched. If the search has not been completed, the process returns to step S26, and the subsequent processing steps are repeated.
以上に説明してきた本発明の実施の態様は、以下の付記に示される。
(付記1)
記憶装置内に格納された複数ファイルをウイルススキャンするときのファイル検索プログラムであって、
コンピュータに、
ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成ステップと、
前記検索順作成ステップで作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行ステップと、
前記検索実行ステップで検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録ステップと、
その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定ステップと、
を実行させるファイル検索プログラム。
(付記2)
前記検索順作成ステップにおける検索順序は、ファイル名のイニシャルについて先頭2バイトのコードで判定することを特徴とする付記1に記載のファイル検索プログラム。
(付記3)
前記検索順作成ステップで作成する検索順テーブルには、検索終了時に、ファイル名のイニシャルに対応して検索完了日時および検索状態を前回の記録として残すことを特徴とする付記1または2に記載のファイル検索プログラム。
(付記4)
記憶装置内に格納された複数ファイルをウイルススキャンするときのファイル検索方法であって、
ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成ステップと、
前記検索順作成ステップで作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行ステップと、
前記検索実行ステップで検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録ステップと、
その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定ステップと、
を有することを特徴とするファイル検索方法。
(付記5)
記憶装置内に格納された複数ファイルをウイルススキャンするときのファイル検索装置であって、
ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成手段と、
前記検索順作成手段で作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行手段と、
前記検索実行手段で検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録手段と、
その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定手段と、
を有することを特徴とするファイル検索装置。
The embodiment of the present invention described above is shown in the following supplementary notes.
(Appendix 1)
A file search program for scanning a plurality of files stored in a storage device for viruses,
On the computer,
A search order creation step of extracting initials from the character strings representing the file names of the plurality of files to be searched for virus scanning, creating a search order table by randomly arranging the search order; and
A search execution step for executing a search for a plurality of files according to a search order of a search order table created in the search order creation step;
A state recording step of recording a search state as a device in the search order table when the virus scan being executed in the search execution step is temporarily suspended;
After that, when resuming virus scanning, the search order of the file in process in the search order table is ranked first, and the search order of the file to be subsequently searched is rearranged at random for the initials that have not been completed. A reconfiguration step;
File search program that executes
(Appendix 2)
The file search program according to appendix 1, wherein the search order in the search order creation step is determined by a code of the first two bytes for the initial of the file name.
(Appendix 3)
The search order table created in the search order creation step stores the search completion date and the search state as the previous record corresponding to the initial of the file name at the end of the search. File search program.
(Appendix 4)
A file search method for virus scanning of a plurality of files stored in a storage device,
A search order creation step of extracting initials from character strings representing the file names of the plurality of files to be searched for virus scanning, creating a search order table by randomly arranging the search order; and
A search execution step for executing a search for a plurality of files according to a search order of a search order table created in the search order creation step;
A state recording step of recording a search state as a device in the search order table when the virus scan being executed in the search execution step is temporarily suspended;
After that, when resuming virus scanning, the search order of the file in process in the search order table is ranked first, and the search order of the file to be subsequently searched is rearranged at random for the initials that have not been completed. A reconfiguration step;
A file search method characterized by comprising:
(Appendix 5)
A file search device for virus scanning of multiple files stored in a storage device,
A search order creation means for extracting initials from character strings representing the file names of the plurality of files to be searched for virus scanning, and creating a search order table by arranging the search order randomly;
Search execution means for searching for a plurality of files in accordance with the search order of the search order table created by the search order creation means;
A state recording unit for recording a search state as a work in progress in the search order table when the virus scan being executed by the search execution unit is temporarily suspended;
After that, when resuming virus scanning, the search order of the file in process in the search order table is ranked first, and the search order of the file to be subsequently searched is rearranged at random for the initials that have not been completed. A resetting means;
A file search apparatus characterized by comprising:
1 コンピュータ装置
2 CPU
3 メモリ
4 補助記憶装置
10 ファイル検索プログラム
11 検索順作成手段
12 検索実行手段
13 状態記録手段
14 再設定手段
15 検索順テーブル
20 ウイルススキャンプログラム
21 ウイルス定義ファイル
1
DESCRIPTION OF
Claims (3)
コンピュータに、
ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成ステップと、
前記検索順作成ステップで作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行ステップと、
前記検索実行ステップで検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録ステップと、
その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定ステップと、
を実行させるファイル検索プログラム。 A file search program for scanning a plurality of files stored in a storage device for viruses,
On the computer,
A search order creation step of extracting initials from the character strings representing the file names of the plurality of files to be searched for virus scanning, creating a search order table by randomly arranging the search order; and
A search execution step for executing a search for a plurality of files according to a search order of a search order table created in the search order creation step;
A state recording step of recording a search state as a device in the search order table when the virus scan being executed in the search execution step is temporarily suspended;
After that, when resuming virus scanning, the search order of the file in process in the search order table is ranked first, and the search order of the file to be subsequently searched is rearranged at random for the initials that have not been completed. A reconfiguration step;
File search program that executes
ウイルススキャンの検索対象である前記複数ファイルのファイル名を表す文字列からイニシャルを抽出し、検索順序をランダムに並べて検索順テーブルを作成する検索順作成ステップと、
前記検索順作成ステップで作成した検索順テーブルの検索順序にしたがって複数ファイルの検索を実行する検索実行ステップと、
前記検索実行ステップで検索実行されているウイルススキャンを一時中断させた場合に、前記検索順テーブルに仕掛として検索状態を記録する状態記録ステップと、
その後、ウイルススキャンを再開させるときに、前記検索順テーブルにおいて仕掛状態にあるファイルの検索順を1位とし、続いて検索するファイルの検索順序を未完了となっているイニシャルについて再度ランダムに並べ替える再設定ステップと、
を有することを特徴とするファイル検索方法。
A file search method for virus scanning of a plurality of files stored in a storage device,
A search order creation step of extracting initials from the character strings representing the file names of the plurality of files to be searched for virus scanning, creating a search order table by randomly arranging the search order; and
A search execution step for executing a search for a plurality of files according to a search order of a search order table created in the search order creation step;
A state recording step of recording a search state as a device in the search order table when the virus scan being executed in the search execution step is temporarily suspended;
After that, when resuming virus scanning, the search order of the file in process in the search order table is ranked first, and the search order of the file to be subsequently searched is rearranged at random for the initials that have not been completed. A reconfiguration step;
A file search method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005002832A JP4622523B2 (en) | 2005-01-07 | 2005-01-07 | File search program and file search method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005002832A JP4622523B2 (en) | 2005-01-07 | 2005-01-07 | File search program and file search method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006190184A JP2006190184A (en) | 2006-07-20 |
JP4622523B2 true JP4622523B2 (en) | 2011-02-02 |
Family
ID=36797319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005002832A Expired - Fee Related JP4622523B2 (en) | 2005-01-07 | 2005-01-07 | File search program and file search method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4622523B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017117263A (en) * | 2015-12-25 | 2017-06-29 | 株式会社日立システムズ | Virus detection system and virus detection method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008152347A (en) * | 2006-12-14 | 2008-07-03 | Dainakomu:Kk | File management device, file management method, file management program, and computer readable recording medium |
JP2009282751A (en) * | 2008-05-22 | 2009-12-03 | Toyota Infotechnology Center Co Ltd | Program inspection system and method |
JP6280613B1 (en) * | 2016-10-07 | 2018-02-14 | 楽天銀行株式会社 | Unauthorized transfer detection system, unauthorized transfer detection method, and program |
JP7092003B2 (en) * | 2018-11-14 | 2022-06-28 | コニカミノルタ株式会社 | Image forming device and control program of image forming device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09288577A (en) * | 1996-04-24 | 1997-11-04 | Nec Shizuoka Ltd | Method and device for monitoring computer virus infection |
JP2003216445A (en) * | 2002-01-23 | 2003-07-31 | Hitachi Ltd | Checking method of computer virus |
JP2004199213A (en) * | 2002-12-17 | 2004-07-15 | Hitachi Ltd | Information processing system |
-
2005
- 2005-01-07 JP JP2005002832A patent/JP4622523B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09288577A (en) * | 1996-04-24 | 1997-11-04 | Nec Shizuoka Ltd | Method and device for monitoring computer virus infection |
JP2003216445A (en) * | 2002-01-23 | 2003-07-31 | Hitachi Ltd | Checking method of computer virus |
JP2004199213A (en) * | 2002-12-17 | 2004-07-15 | Hitachi Ltd | Information processing system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017117263A (en) * | 2015-12-25 | 2017-06-29 | 株式会社日立システムズ | Virus detection system and virus detection method |
Also Published As
Publication number | Publication date |
---|---|
JP2006190184A (en) | 2006-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5437557B2 (en) | Search processing method and search system | |
JP4129819B2 (en) | Database search system, search method thereof, and program | |
US20100153941A1 (en) | Flexible content update via deployment order template | |
JP4622523B2 (en) | File search program and file search method | |
JP6342070B2 (en) | Job management apparatus, job management method, and job management program | |
JP6192570B2 (en) | Application development support program and application development support system | |
CN107608772B (en) | Method and system for batch processing task configuration scheduling | |
US20130263143A1 (en) | Information processing method and system | |
CN112612506A (en) | Code change notification method, device, equipment and storage medium | |
JP3784060B2 (en) | Database search system, search method and program thereof | |
JP6355514B2 (en) | File division system and method | |
JP6194180B2 (en) | Text mask device and text mask program | |
JP2900832B2 (en) | Information retrieval device | |
JP3728877B2 (en) | Character string converter and program recording medium thereof | |
JP4253315B2 (en) | Knowledge information collecting system and knowledge information collecting method | |
JP6702072B2 (en) | Control program, device, and method | |
JP2009157620A (en) | Information search support device | |
JP4731960B2 (en) | Pooling method, system and program | |
JP2010272006A (en) | Relation extraction apparatus, relation extraction method and program | |
US20130185401A1 (en) | Configuration management device, configuration management method, and configuration management program | |
JP4047850B2 (en) | Knowledge information collection system, knowledge information collection method and program | |
JP2002108887A (en) | Document retriever, method for adding keyword to the retriever, document retrieval method and computer readable storage medium | |
JP4962973B2 (en) | Search server, method and program | |
JP2005157764A (en) | Image retrieval device, image retrieval method, program, and storage medium | |
JP2005267036A (en) | Trace output control method and trace system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071025 |
|
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: 20101005 |
|
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: 20101018 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4622523 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131112 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |