JP4911681B2 - Computer - Google Patents

Computer Download PDF

Info

Publication number
JP4911681B2
JP4911681B2 JP2006197320A JP2006197320A JP4911681B2 JP 4911681 B2 JP4911681 B2 JP 4911681B2 JP 2006197320 A JP2006197320 A JP 2006197320A JP 2006197320 A JP2006197320 A JP 2006197320A JP 4911681 B2 JP4911681 B2 JP 4911681B2
Authority
JP
Japan
Prior art keywords
extension
temporary
file
editing
target file
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
Application number
JP2006197320A
Other languages
Japanese (ja)
Other versions
JP2008027076A (en
Inventor
慶彦 森岡
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2006197320A priority Critical patent/JP4911681B2/en
Publication of JP2008027076A publication Critical patent/JP2008027076A/en
Application granted granted Critical
Publication of JP4911681B2 publication Critical patent/JP4911681B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、中間/設定ファイルを生成するコンピュータに関する。   The present invention relates to a computer for generating an intermediate / setting file.

セキュリティ面の強化策の1つとして、コンピュータにアンチウィルスソフトウェアを導入する事例が増えている。そのアンチウィルスソフトウェアの機能の1つに、リアルタイムでウィルス感染をチェックする機能(リアルタイムスキャン)がある。この機能がコンピュータの動作を厳しくチェックする。その結果、コンピュータへの負荷が格段に高まり、様々な問題を引き起こしている。
その問題の1つに、中間/設定ファイルが保存されるときの保存処理時間の増大がある。アンチウィルスソフトウェアの非常駐時に比べ、常駐時は保存処理時間が数倍から数十倍延びる場合がある。
As one of the security enhancement measures, there are increasing cases of introducing anti-virus software to computers. One of the functions of the anti-virus software is a function for checking virus infection in real time (real-time scanning). This function strictly checks the operation of the computer. As a result, the load on the computer has increased significantly, causing various problems.
One of the problems is an increase in the save processing time when the intermediate / setting file is saved. Compared to when the anti-virus software is not resident, the storage processing time may be extended several to several tens of times when resident.

図1は、中間/設定ファイルを生成する従来のコンピュータとして、特開2005−182173号公報(特許文献1)に記載されたファイル保存管理装置の構成を示している。従来のコンピュータは、入力装置6と、表示装置7と、制御装置108と、記憶ユニット(記憶装置)130とを具備している。制御装置108は、入力装置6と表示装置7と記憶装置130とに接続されている。制御装置108は、ハードウエア又はソフトウエアにより実現可能であり、汎用エディタユニット(汎用エディタ部)110と、仮保存管理ユニット(仮保存管理部)120とを具備している。
汎用エディタ部110は、テキストデータ、画像データ等を表すファイルを作成・編集する。テキストデータには、文書、コンピュータプログラム等が記載されている。汎用エディタ部110は、上記ファイルを作成したときに、保存指示と上記ファイルとを仮保存管理部120に出力する。
仮保存管理部120は、保存指示に応じて、上記ファイルを記憶装置130に保存する。仮保存管理部120は、汎用エディタ部110により作成・編集された上記ファイルを記憶装置130により管理する。
FIG. 1 shows the configuration of a file storage management apparatus described in Japanese Patent Laid-Open No. 2005-182173 (Patent Document 1) as a conventional computer for generating an intermediate / setting file. The conventional computer includes an input device 6, a display device 7, a control device 108, and a storage unit (storage device) 130. The control device 108 is connected to the input device 6, the display device 7, and the storage device 130. The control device 108 can be realized by hardware or software, and includes a general-purpose editor unit (general-purpose editor unit) 110 and a temporary storage management unit (temporary storage management unit) 120.
The general-purpose editor unit 110 creates and edits a file representing text data, image data, and the like. The text data describes documents, computer programs, and the like. When the general-purpose editor unit 110 creates the file, the general-purpose editor unit 110 outputs a storage instruction and the file to the temporary storage management unit 120.
The temporary storage management unit 120 stores the file in the storage device 130 in response to a storage instruction. The temporary storage management unit 120 manages the file created / edited by the general-purpose editor unit 110 by the storage device 130.

記憶装置130には、複数の上記ファイルがそれぞれ複数の編集対象ファイルとして保存されている。複数の編集対象ファイルのうちの1つの編集対象ファイルである編集対象ファイル31がユーザにより編集されるとき、記憶装置130には、更に、TEMPファイル32と、仮保存管理情報33とが保存される。TEMPファイル32は、編集対象ファイル31の編集が行なわれる前のバックアップファイル(中間/設定ファイル)である。仮保存管理情報33は、その編集対象ファイル31とTEMPファイル32とを対応付ける。   The storage device 130 stores a plurality of the files as a plurality of editing target files. When the editing target file 31 that is one of the plurality of editing target files is edited by the user, the storage device 130 further stores the TEMP file 32 and the temporary storage management information 33. . The TEMP file 32 is a backup file (intermediate / setting file) before the editing target file 31 is edited. The temporary storage management information 33 associates the editing target file 31 with the TEMP file 32.

図2は、従来のコンピュータの動作としてファイル編集処理を示すフローチャートである。   FIG. 2 is a flowchart showing file editing processing as an operation of a conventional computer.

ユーザは、表示装置7を閲覧しながら、入力装置6を用いてコンピュータにファイル編集処理を実行させる。
汎用エディタ部110は、ユーザによる入力装置6からの指示に応じて、記憶装置130に保存された複数の編集対象ファイルの中から、ユーザが編集を行なうための編集対象ファイル31を指定する(ステップS1)。汎用エディタ部110は、その編集対象ファイル31をオープンする(ステップS2)。
次に、汎用エディタ部110は、ユーザによる入力装置6からの指示に応じて、編集対象ファイル31の編集を行なう(ステップS3)。ユーザによって保存指示が行なわれない場合(ステップS4−NO)、ステップS3が実行される。
編集対象ファイル31の編集を行なっている途中やその編集の終了後に、ユーザが入力装置6を用いて保存指示を行なう(ステップS4−YES)。このとき、汎用エディタ部110は、保存指示が仮保存指示を表しているのか正式保存指示を表しているのかをユーザに指定させる(ステップS5)。汎用エディタ部110は、仮保存指示又は正式保存指示を表す保存指示と、編集対象ファイル31とを仮保存管理部20に出力する。このとき、仮保存管理部120は、保存処理を実行する(ステップS6)。
The user causes the computer to execute file editing processing using the input device 6 while browsing the display device 7.
In response to an instruction from the input device 6 by the user, the general-purpose editor unit 110 designates an editing target file 31 for the user to edit from among a plurality of editing target files stored in the storage device 130 (step S1). The general-purpose editor unit 110 opens the editing target file 31 (step S2).
Next, the general-purpose editor unit 110 edits the editing target file 31 in accordance with an instruction from the input device 6 by the user (step S3). When the save instruction is not issued by the user (step S4-NO), step S3 is executed.
During the editing of the editing target file 31 or after the editing is finished, the user gives a save instruction using the input device 6 (step S4-YES). At this time, the general-purpose editor unit 110 causes the user to specify whether the save instruction represents a temporary save instruction or a formal save instruction (step S5). The general-purpose editor unit 110 outputs a storage instruction indicating a temporary storage instruction or a formal storage instruction and the editing target file 31 to the temporary storage management unit 20. At this time, the temporary storage management unit 120 executes a storage process (step S6).

保存処理(ステップS6)において、保存指示が仮保存指示を表している。この場合、仮保存管理部120は、仮保存指示に応じて、仮保存処理を実行する。仮保存管理部120は、編集対象ファイル31の編集が行なわれる前のバックアップファイル(中間/設定ファイル)をTEMPファイル32として生成する。同時に、仮保存管理部120は、編集対象ファイル31とTEMPファイル32とを対応付ける仮保存管理情報33を生成する。仮保存管理部120は、TEMPファイル32と仮保存管理情報33とを記憶装置130に保存することにより、編集対象ファイル31における保存状態を仮保存状態とする。   In the storage process (step S6), the storage instruction represents a temporary storage instruction. In this case, the temporary storage management unit 120 executes temporary storage processing according to the temporary storage instruction. The temporary storage management unit 120 generates a backup file (intermediate / setting file) before the editing of the editing target file 31 as the TEMP file 32. At the same time, the temporary storage management unit 120 generates temporary storage management information 33 that associates the editing target file 31 with the TEMP file 32. The temporary storage management unit 120 stores the TEMP file 32 and the temporary storage management information 33 in the storage device 130, thereby setting the storage state in the editing target file 31 to the temporary storage state.

保存処理(ステップS6)において、保存指示が正式保存指示を表している。この場合、仮保存管理部120は、正式保存指示に応じて、正式保存処理を実行する。また、仮保存管理部120は、編集対象ファイル31における保存状態が仮保存状態である場合、その仮保存状態を解除するために、編集対象ファイル31に対応するTEMPファイル32及び仮保存管理情報33を削除する。   In the storage process (step S6), the storage instruction represents a formal storage instruction. In this case, the temporary storage management unit 120 executes a formal storage process in response to a formal storage instruction. Further, when the saving state in the editing target file 31 is the temporary saving state, the temporary saving management unit 120 cancels the temporary saving state, and the TEMP file 32 and the temporary saving management information 33 corresponding to the editing target file 31. Is deleted.

次に、仮保存管理部120は、上記の編集対象ファイル31を記憶装置130に保存する(ステップS7)。ユーザによって終了指示が行なわれない場合(ステップS8−NO)、ステップS3が実行される。   Next, the temporary storage management unit 120 stores the editing target file 31 in the storage device 130 (step S7). If no termination instruction is given by the user (step S8—NO), step S3 is executed.

ユーザが入力装置6を用いて終了指示を行なう(ステップS8−YES)。このとき、汎用エディタ部110は、編集対象ファイル31をクローズする(ステップS9)。   The user gives an end instruction using the input device 6 (step S8—YES). At this time, the general-purpose editor unit 110 closes the editing target file 31 (step S9).

このように、従来のコンピュータでは、編集対象ファイルの内容をバックアップファイル(中間/設定ファイル)の内容で復元するか否かをユーザが選択できるようにしている。このため、ユーザがOS上からバックアップファイルをリネームすることなくファイル内容を復元できる。また、ファイルの保存を数回行った後でも、仮保存処理を行った時点のファイルの内容に戻すことが可能となる。   As described above, in the conventional computer, the user can select whether to restore the contents of the editing target file with the contents of the backup file (intermediate / setting file). Therefore, the user can restore the file contents without renaming the backup file from the OS. Further, even after the file is saved several times, it is possible to restore the contents of the file at the time when the temporary save process was performed.

図3は、従来のコンピュータにアンチウィルスソフトウェアを適用したときの構成を示している。従来のコンピュータは、更に、アンチウィルスソフトウェア3と、外部インタフェース4と、バス5とを具備している。バス5には、制御装置108と、ディスク装置である記憶装置130と、外部インタフェース4と、入力装置6と、ディスプレイである表示装置7とが接続されている。入力装置6は、マウス6−1とキーボード6−2とを含んでいる。制御装置108は、CPU101と、メモリ102とを具備している。上記の汎用エディタ部10、仮保存管理部20がソフトウエアにより実現可能である場合、メモリ102には、CPU101が実行するための汎用エディタ部10、仮保存管理部20を含むコンピュータプログラムが格納されている。
アンチウィルスソフトウェア3は、例えばメモリ102に格納されていて、その機能としてリアルタイムスキャンを含んでいる。このリアルタイムスキャンは、メモリ102、記憶装置130、外部インタフェース4とのデータのやり取りをチェックし、ウィルス感染していないか常に監視している。よって、リアルタイムスキャンの実行中は、上記のステップS7の開始から終了までに多くの時間がかかる。
FIG. 3 shows a configuration when anti-virus software is applied to a conventional computer. The conventional computer further includes anti-virus software 3, an external interface 4, and a bus 5. Connected to the bus 5 are a control device 108, a storage device 130 that is a disk device, an external interface 4, an input device 6, and a display device 7 that is a display. The input device 6 includes a mouse 6-1 and a keyboard 6-2. The control device 108 includes a CPU 101 and a memory 102. When the general-purpose editor unit 10 and the temporary storage management unit 20 described above can be realized by software, the memory 102 stores a computer program including the general-purpose editor unit 10 and the temporary storage management unit 20 to be executed by the CPU 101. ing.
The anti-virus software 3 is stored in the memory 102, for example, and includes real-time scanning as its function. In this real-time scan, the exchange of data with the memory 102, the storage device 130, and the external interface 4 is checked to constantly monitor whether there is a virus infection. Therefore, during execution of the real-time scan, it takes a lot of time from the start to the end of step S7.

特開2005−182173号公報JP 2005-182173 A

アンチウィルスソフトウェア3とファイル拡張子(以下、拡張子)の組み合わせにより、保存処理時間が異なることを確認するテストについて、図4を用いて説明する。例えば上記コンピュータがWindows(登録商標)である場合、上記テストはWindows(登録商標)により行われる。また、アンチウィルスソフトウェア3として、種類の異なるアンチウィルスソフトウェア3A、3B(図示しない)が適用され、上記テストの結果について、図5A、図5Bを用いて説明する。   A test for confirming that the storage processing time differs depending on the combination of the anti-virus software 3 and a file extension (hereinafter, extension) will be described with reference to FIG. For example, when the computer is Windows (registered trademark), the test is performed by Windows (registered trademark). Further, different types of anti-virus software 3A and 3B (not shown) are applied as the anti-virus software 3, and the results of the test will be described with reference to FIGS. 5A and 5B.

図4は、上記のステップS7をコンピュータに実行させるファイル保存用プログラムとして、仮保存管理部120がファイル(編集対象ファイル31)を記憶装置130に保存するときのテストプログラムである。
テストプログラムに記載された×××は、編集対象ファイル31を保存するときのファイル保存回数41である。設定した回数だけ編集対象ファイル31が記憶装置130に保存される。
テストプログラムに記載されたtest.○○○は、編集対象ファイル31を保存する時のファイル名42である。○○○は、ファイルの種類や形式を表す拡張子である。仮保存管理部120は、編集対象ファイル31に拡張子○○○を付加してファイル名42を生成し、ファイル名42を含む編集対象ファイル31を記憶装置130に保存する。
例えば、ファイル保存回数41を500、test.○○○の中の○○○をiniとすると、test.iniというファイル名42を含む編集対象ファイル31を記憶装置130に500回保存する。
FIG. 4 shows a test program when the temporary storage management unit 120 stores the file (edit target file 31) in the storage device 130 as a file storage program that causes the computer to execute step S7.
Xxx described in the test program is the file storage count 41 when the editing target file 31 is stored. The editing target file 31 is stored in the storage device 130 for the set number of times.
The test. Described in the test program. OO is a file name 42 when the editing target file 31 is saved. XX is an extension indicating the type and format of the file. The temporary storage management unit 120 generates the file name 42 by adding the extension XXX to the editing target file 31, and stores the editing target file 31 including the file name 42 in the storage device 130.
For example, the file save count 41 is 500, test. If xxx in xxx is ini, test. The editing target file 31 including the file name 42 ini is stored in the storage device 130 500 times.

図5A、図5Bは、それぞれ、アンチウィルスソフトウェア3A、3Bと拡張子の組み合わせにより、図4のテストプログラムを適用したときのテスト結果51、56である。
このテスト結果51、56では、ファイルの保存方法52と拡張子名55とが対応付けられている。ファイルの保存方法52は、新規ファイル保存方法53と、上書きファイル保存方法54の2通りの方法を含んでいる。新規ファイル保存方法53は、ファイルを新規に保存したときの保存処理時間が計測される。上書きファイル保存方法54は、ファイル(編集対象ファイル31)を上書き保存したときの保存処理時間が計測される。
5A and 5B show test results 51 and 56 when the test program of FIG. 4 is applied by a combination of the antivirus software 3A and 3B and the extension, respectively.
In the test results 51 and 56, the file saving method 52 and the extension name 55 are associated with each other. The file saving method 52 includes a new file saving method 53 and an overwrite file saving method 54. In the new file storage method 53, the storage processing time when a file is newly stored is measured. In the overwrite file storage method 54, the storage processing time when the file (edit target file 31) is overwritten is measured.

テスト結果51では、ファイル保存回数41を1000とする。test.○○○の中の拡張子○○○をtxt、ini、exe、com(アンチウィルスソフトウェア3Aのリアルタイムスキャンが実行される有効状態)とする。
その場合、図5Aに示されるように、拡張子txt、ini、exe、com(有効状態)に対して、新規ファイル保存方法53における保存処理時間は、それぞれ、20.957秒、0.476秒、19.697秒、21.413秒である。また、上書きファイル保存方法54における保存処理時間は、それぞれ、28.575秒、0.484秒、27.541秒、29.476秒である。
その結果、テスト結果51では、新規ファイル保存方法53において、拡張子がtxt、exe、com(有効状態)である場合の保存処理時間は、拡張子がini(有効状態)である場合の保存処理時間に比べて大幅に長くなった。上書きファイル保存方法54においても、同様の結果が得られた。
In the test result 51, the file storage count 41 is set to 1000. test. The extension xxx in xxx is assumed to be txt, ini, exe, and com (effective state in which real-time scanning of the anti-virus software 3A is executed).
In this case, as shown in FIG. 5A, for the extensions txt, ini, exe, and com (valid state), the save processing time in the new file save method 53 is 20.957 seconds and 0.476 seconds, respectively. 19.697 seconds and 21.413 seconds. In addition, the storage processing times in the overwrite file storage method 54 are 28.575 seconds, 0.484 seconds, 27.541 seconds, and 29.476 seconds, respectively.
As a result, in the test result 51, in the new file saving method 53, the saving process time when the extension is txt, exe, com (valid state) is the saving process time when the extension is ini (valid state). Significantly longer than time. Similar results were obtained in the overwrite file storage method 54.

テスト結果52では、ファイル保存回数41を2000とする。test.○○○の中の拡張子○○○をtxt、ini、exe、avi(アンチウィルスソフトウェア3Bのリアルタイムスキャンが実行される有効状態)とする。
その場合、図5Bに示されるように、拡張子txt、ini、exe、avi(有効状態)に対して、新規ファイル保存方法53における保存処理時間は、それぞれ、18.731秒、18.662秒、48.716秒、18.955秒である。また、上書きファイル保存方法54における保存処理時間は、それぞれ、19.303秒、20.198秒、52.838秒、20.704秒である。
その結果、テスト結果52では、新規ファイル保存方法53において、拡張子がexe(有効状態)である場合の保存処理時間は、拡張子がtxt、ini、avi(有効状態)である場合の保存処理時間に比べて大幅に長くなった。上書きファイル保存方法54においても、同様の結果が得られた。
In the test result 52, the file storage count 41 is set to 2000. test. The extension XXX in XXX is assumed to be txt, ini, exe, and avi (effective state in which real-time scanning of the anti-virus software 3B is executed).
In this case, as shown in FIG. 5B, for the extensions txt, ini, exe, and avi (valid state), the save processing time in the new file save method 53 is 18.731 seconds and 18.662 seconds, respectively. 48.716 seconds and 18.955 seconds. In addition, the storage processing time in the overwrite file storage method 54 is 19.303 seconds, 20.198 seconds, 52.838 seconds, and 20.704 seconds, respectively.
As a result, in the test result 52, in the new file saving method 53, the saving process time when the extension is exe (valid state) is the saving process time when the extension is txt, ini, avi (valid state). Significantly longer than time. Similar results were obtained in the overwrite file storage method 54.

このような結果から、アンチウィルスソフトウェア3Aは、ファイル名test.iniを含む編集対象ファイル31に対し、ファイル名test.txt、test.exe、test.comを含む編集対象ファイル31ではウィルス感染の危険性が高いと判断し、リアルタイムスキャンでチェックする項目を増やし、時間をかけて調査するためではないかと推測される。
同様に、アンチウィルスソフトウェア3Bは、ファイル名test.txt、test.ini、test.aviを含む編集対象ファイル31に対し、ファイル名test.exeを含む編集対象ファイル31ではウィルス感染の危険性が高いと判断していることになる。
From such a result, the anti-virus software 3A determines that the file name test. The file name test. txt, test. exe, test. It is presumed that the editing target file 31 including “com” has a high risk of virus infection, and the number of items to be checked in the real-time scanning is increased and the investigation is performed over time.
Similarly, the anti-virus software 3B has the file name test. txt, test. ini, test. The file name test. The editing target file 31 including exe is determined to have a high risk of virus infection.

このように、従来のコンピュータでは、第1の問題点として、ユーザは、保存処理時間が長い拡張子が付加されたファイル名を含む編集対象ファイル31を編集していた場合、編集時に編集対象ファイル31が保存されるたびに、待つことを強制されてしまう。   As described above, in the conventional computer, as a first problem, when the user is editing the editing target file 31 including the file name to which the extension having a long storage processing time is added, the editing target file is edited. Each time 31 is saved, it will be forced to wait.

そこで、第1の問題点の対策として、アンチウィルスソフトウェア3A、3Bは、除外設定機能を更に具備しているものとする。その除外設定機能は、例えば、ある拡張子に対してリアルタイムスキャンが実行されない無効状態に設定することができる。これにより、コンピュータに対してリアルタイムスキャンによる負荷を無くすことができる。   Therefore, as a countermeasure against the first problem, it is assumed that the anti-virus software 3A, 3B further includes an exclusion setting function. The exclusion setting function can be set to an invalid state in which a real-time scan is not executed for a certain extension, for example. Thereby, it is possible to eliminate a load caused by real-time scanning on the computer.

その場合、図5Aに示されるように、テスト結果51では、拡張子txt(無効状態)に対して、新規ファイル保存方法53における保存処理時間は、0.550秒である。また、上書きファイル保存方法54における保存処理時間は、0.458秒である。
その結果、テスト結果51では、新規ファイル保存方法53において、拡張子がtxt(無効状態)である場合の保存処理時間は、拡張子がtxt(有効状態)である場合の保存処理時間に比べて大幅に短くなった。上書きファイル保存方法54においても、同様の結果が得られた。
In this case, as shown in FIG. 5A, in the test result 51, the storage processing time in the new file storage method 53 is 0.550 seconds with respect to the extension txt (invalid state). Further, the storage processing time in the overwrite file storage method 54 is 0.458 seconds.
As a result, in the test result 51, in the new file saving method 53, the saving processing time when the extension is txt (invalid state) is compared with the saving processing time when the extension is txt (valid state). Significantly shorter. Similar results were obtained in the overwrite file storage method 54.

また、図5Bに示されるように、テスト結果52では、拡張子exe(無効状態)に対して、新規ファイル保存方法53における保存処理時間は、4.026秒である。また、上書きファイル保存方法54における保存処理時間は、4.271秒である。
その結果、テスト結果51では、新規ファイル保存方法53において、拡張子がexe(無効状態)である場合の保存処理時間は、拡張子がexe(有効状態)である場合の保存処理時間に比べて大幅に短くなった。上書きファイル保存方法54においても、同様の結果が得られた。
Further, as shown in FIG. 5B, in the test result 52, the storage processing time in the new file storage method 53 is 4.026 seconds for the extension exe (invalid state). Further, the storage processing time in the overwrite file storage method 54 is 4.271 seconds.
As a result, in the test result 51, in the new file saving method 53, the saving processing time when the extension is exe (invalid state) is compared with the saving processing time when the extension is exe (valid state). Significantly shorter. Similar results were obtained in the overwrite file storage method 54.

このように、ユーザが、ある拡張子に対してリアルタイムスキャンを無効状態に設定することにより、保存処理時間が短くなる。このため、ユーザは、ある拡張子を含む編集対象ファイル31をコンピュータ上で使用していて、その編集対象ファイル31に対する中間/設定ファイルが生成されても、リアルタイムスキャンが有効状態に設定されているときに比べて待たなくてよい。
しかし、第2の問題点として、ユーザが、ある拡張子に対してリアルタイムスキャンを無効状態に設定することにより、その拡張子を含む編集対象ファイル31に対してリアルタイムスキャンが実行されない。このため、編集対象ファイル31のセキュリティが低下し、ウィルス感染の可能性が高くなる。したがって、リアルタイムスキャンを無効状態に設定すべきではない。
As described above, when the user sets the real-time scan to an invalid state for a certain extension, the storage processing time is shortened. For this reason, even if the user uses the editing target file 31 including a certain extension on the computer and an intermediate / setting file for the editing target file 31 is generated, the real-time scan is set to the valid state. You don't have to wait compared to sometimes.
However, as a second problem, when the user sets the real-time scan to an invalid state for a certain extension, the real-time scan is not executed for the editing target file 31 including the extension. For this reason, the security of the editing target file 31 is lowered, and the possibility of virus infection is increased. Therefore, the real-time scan should not be set to an invalid state.

以下に、[発明を実施するための最良の形態]で使用する番号・符号を用いて、課題を解決するための手段を説明する。これらの番号・符号は、[特許請求の範囲]の記載と[発明を実施するための最良の形態]の記載との対応関係を明らかにするために付加されたものであるが、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。   Hereinafter, means for solving the problem will be described using the numbers and symbols used in [Best Mode for Carrying Out the Invention]. These numbers and symbols are added to clarify the correspondence between the description of [Claims] and the description of [Best Mode for Carrying Out the Invention]. It should not be used to interpret the technical scope of the invention described in “

本発明のコンピュータは、汎用エディタ部(10)と、仮保存管理部(20)とを具備している。
前記汎用エディタ部(10)は、第1拡張子(“.log”)が付加された編集対象ファイル(31)をオープンして編集し、編集後にクローズする。
前記仮保存管理部(20)は、編集時に前記編集対象ファイル(31)を記憶装置(30)に保存するときに、前記編集対象ファイル(31)に付加された前記第1拡張子(“.log”)を最適仮拡張子(“.ini”)に置き換え、前記編集対象ファイル(31)がクローズされたときに、前記編集対象ファイル(31)に付加された前記最適仮拡張子(“.ini”)を前記第1拡張子(“.log”)に置き換える。
前記最適仮拡張子(“.ini”)が付加された前記編集対象ファイル(31)を保存するときの保存処理時間は、前記第1拡張子(“.log”)が付加された前記編集対象ファイル(31)を保存するときの第1保存処理時間よりも短い。
The computer of the present invention includes a general-purpose editor unit (10) and a temporary storage management unit (20).
The general-purpose editor unit (10) opens and edits the editing target file (31) to which the first extension (“.log”) is added, and closes after editing.
The temporary storage management unit (20) stores the first extension ("..") added to the editing target file (31) when the editing target file (31) is stored in the storage device (30) during editing. log ”) is replaced with an optimal temporary extension (“ .ini ”), and the optimal temporary extension (“ .ini ”) added to the editing target file (31) when the editing target file (31) is closed. ini ") is replaced with the first extension (" .log ").
The save processing time when saving the edit target file (31) to which the optimum temporary extension (".ini") is added is the edit target to which the first extension (".log") is added. It is shorter than the first saving processing time when saving the file (31).

本発明のコンピュータでは、例えばアンチウィルスソフトウェア(3)のリアルタイムスキャンの実行中に、ユーザが編集対象ファイル(31)に対して編集を行なう場合、編集時に編集対象ファイル(31)を保存するたびに、編集対象ファイル(31)のファイル名に付加された第1拡張子を最適仮拡張子に置き換えることにより、従来のコンピュータに比べてユーザに待たせる時間が削減される。
また、本発明のコンピュータでは、編集対象ファイル(31)をクローズしたときに、そのファイル名に付加された最適仮拡張子を第1拡張子に置き換えること(リネーム)により、編集対象ファイル(31)の編集内容は確保される。
In the computer of the present invention, for example, when the user edits the editing target file (31) during execution of the real-time scan of the anti-virus software (3), every time the editing target file (31) is saved at the time of editing. By replacing the first extension added to the file name of the file to be edited (31) with the optimum temporary extension, the time required for the user to wait can be reduced compared to a conventional computer.
Further, in the computer of the present invention, when the editing target file (31) is closed, the optimum temporary extension added to the file name is replaced with the first extension (renaming), thereby editing the editing target file (31). The editing content of is secured.

以下に添付図面を参照して、本発明のコンピュータについて詳細に説明する。   Hereinafter, the computer of the present invention will be described in detail with reference to the accompanying drawings.

(第1実施形態)
図6は、本発明の第1実施形態によるコンピュータの構成を示している。第1実施形態によるコンピュータは、入力装置6と、表示装置7と、制御装置8と、記憶ユニット(記憶装置)30とを具備している。制御装置8は、入力装置6と表示装置7と記憶装置30とに接続されている。制御装置8は、ハードウエア又はソフトウエアにより実現可能であり、汎用エディタユニット(汎用エディタ部)10と、仮保存管理ユニット(仮保存管理部)20とを具備している。
汎用エディタ部10は、テキストデータ、画像データ等を表すファイルを作成・編集する。テキストデータには、文書、コンピュータプログラム等が記載されている。汎用エディタ部10は、上記ファイルを作成したときに、保存指示と上記ファイルとを仮保存管理部20に出力する。上記ファイルは、拡張子が付加されたファイル名を含んでいる。
仮保存管理部20は、保存指示に応じて、上記ファイルとそのファイル名とを記憶装置30に保存する。仮保存管理部20は、汎用エディタ部10により作成・編集された上記ファイルを記憶装置30により管理する。
(First embodiment)
FIG. 6 shows the configuration of a computer according to the first embodiment of the present invention. The computer according to the first embodiment includes an input device 6, a display device 7, a control device 8, and a storage unit (storage device) 30. The control device 8 is connected to the input device 6, the display device 7, and the storage device 30. The control device 8 can be realized by hardware or software, and includes a general-purpose editor unit (general-purpose editor unit) 10 and a temporary storage management unit (temporary storage management unit) 20.
The general-purpose editor unit 10 creates and edits a file representing text data, image data, and the like. The text data describes documents, computer programs, and the like. When the general-purpose editor unit 10 creates the file, the general-purpose editor unit 10 outputs a storage instruction and the file to the temporary storage management unit 20. The file includes a file name with an extension.
The temporary storage management unit 20 stores the file and its file name in the storage device 30 in response to a storage instruction. The temporary storage management unit 20 manages the file created / edited by the general-purpose editor unit 10 by the storage device 30.

記憶装置30には、複数の上記ファイルがそれぞれ複数の編集対象ファイルとして保存されている。複数の編集対象ファイルのうちの1つの編集対象ファイルである編集対象ファイル31がユーザにより編集されるとき、記憶装置30には、更に、TEMPファイル32と、仮保存管理情報33とが保存される。TEMPファイル32は、編集対象ファイル31の編集が行なわれる前のバックアップファイル(中間/設定ファイル)である。仮保存管理情報33は、その編集対象ファイル31とTEMPファイル32とを対応付ける。   The storage device 30 stores a plurality of the files as a plurality of editing target files. When the editing target file 31 that is one of the plurality of editing target files is edited by the user, the storage device 30 further stores a TEMP file 32 and temporary storage management information 33. . The TEMP file 32 is a backup file (intermediate / setting file) before the editing target file 31 is edited. The temporary storage management information 33 associates the editing target file 31 with the TEMP file 32.

記憶装置30は、仮拡張子情報データベース71と、仮拡張子候補データベース76とを具備している。   The storage device 30 includes a temporary extension information database 71 and a temporary extension candidate database 76.

図7Aに示されるように、仮拡張子情報データベース71には、複数の編集対象ファイル拡張子72が格納される。複数の編集対象ファイル拡張子72は、それぞれ、複数の編集対象ファイルに含まれるファイル名に付加された拡張子を表している。仮拡張子情報データベース71には、更に、複数の編集対象ファイル拡張子72の各々に対応付けて、複数の仮拡張子73と、複数の総保存処理時間74と、複数の総書込バイト数75とが格納される。
複数の仮拡張子73は、それぞれ、編集対象ファイル31に対して過去に付加された拡張子を表している。複数の総保存処理時間74は、それぞれ複数の拡張子が付加された編集対象ファイル31を記憶装置30に保存したときの時間を表し、その単位は秒(Sec)である。複数の総書込バイト数75は、それぞれ複数の拡張子が付加された編集対象ファイル31を記憶装置30に保存したときのバイト数を表し、その単位はバイト(Byte)である。この仮拡張子73、総保存処理時間74、総書込バイト数75についての詳細は後述する。
As shown in FIG. 7A, the temporary extension information database 71 stores a plurality of file extensions 72 to be edited. Each of the plurality of editing object file extensions 72 represents an extension added to a file name included in the plurality of editing object files. The temporary extension information database 71 further includes a plurality of temporary extensions 73, a plurality of total storage processing times 74, and a plurality of total number of written bytes in association with each of the plurality of file extensions 72 to be edited. 75 is stored.
Each of the plurality of temporary extensions 73 represents an extension added to the editing target file 31 in the past. The plurality of total storage processing times 74 represent times when the editing target file 31 to which a plurality of extensions are added is stored in the storage device 30, and the unit is seconds (Sec). The plurality of total number of written bytes 75 represents the number of bytes when the editing target file 31 to which a plurality of extensions are added is stored in the storage device 30, and the unit thereof is bytes. Details of the temporary extension 73, the total storage processing time 74, and the total number of written bytes 75 will be described later.

図7Bに示されるように、仮拡張子候補データベース76には、1番目からN番目(Nは2以上の整数)までのN個の登録番号77と、予め設定されたN個の拡張子であるN個の仮拡張子78と、予め設定されたユーザ設定変数79とが格納されている。N個の仮拡張子78は、最初から一定量で登録されているが、後からユーザが追加登録・編集が可能である。ユーザ設定変数79として、Nが設定されている。このNは、仮拡張子候補データベース76に仮拡張子78を登録可能な数を表し、例としてNが20の場合、仮拡張子78は20個まで登録可能である。   As shown in FIG. 7B, the temporary extension candidate database 76 includes N registration numbers 77 from the first to the Nth (N is an integer of 2 or more) and N extensions that are set in advance. A certain N temporary extensions 78 and a preset user setting variable 79 are stored. The N temporary extensions 78 are registered in a certain amount from the beginning, but can be additionally registered and edited later by the user. N is set as the user setting variable 79. This N represents the number of temporary extensions 78 that can be registered in the temporary extension candidate database 76. For example, when N is 20, up to 20 temporary extensions 78 can be registered.

図8は、本発明のコンピュータにアンチウィルスソフトウェアを適用したときの構成を示している。本発明のコンピュータは、更に、アンチウィルスソフトウェア3と、外部インタフェース4と、バス5とを具備している。バス5には、制御装置8と、ディスク装置である記憶装置30と、外部インタフェース4と、入力装置6と、ディスプレイである表示装置7とが接続されている。入力装置6は、マウス6−1とキーボード6−2とを含んでいる。制御装置8は、CPU1と、メモリ2とを具備している。上記の汎用エディタ部10、仮保存管理部20がソフトウエアにより実現可能である場合、メモリ2には、CPU1が実行するための汎用エディタ部10、仮保存管理部20を含むコンピュータプログラムが格納されている。
アンチウィルスソフトウェア3は、例えばメモリ2に格納されていて、その機能としてリアルタイムスキャンを含んでいる。このリアルタイムスキャンは、コンピュータの内部(メモリ2、記憶装置30、外部インタフェース4とのデータのやり取り)をチェックし、ウィルス感染していないか常に監視している。よって、リアルタイムスキャンの実行中は、前述のステップS7の開始から終了までに多くの時間がかかる。
そこで、本発明のコンピュータでは、従来のコンピュータにおける動作に対して、前述のステップS7に代えて、後述のステップS11〜S14を実行する。
FIG. 8 shows a configuration when anti-virus software is applied to the computer of the present invention. The computer of the present invention further includes anti-virus software 3, an external interface 4, and a bus 5. A control device 8, a storage device 30 that is a disk device, an external interface 4, an input device 6, and a display device 7 that is a display are connected to the bus 5. The input device 6 includes a mouse 6-1 and a keyboard 6-2. The control device 8 includes a CPU 1 and a memory 2. When the general-purpose editor unit 10 and the temporary storage management unit 20 described above can be realized by software, the memory 2 stores a computer program including the general-purpose editor unit 10 and the temporary storage management unit 20 to be executed by the CPU 1. ing.
The anti-virus software 3 is stored in the memory 2, for example, and includes a real-time scan as its function. This real-time scan checks the inside of the computer (data exchange with the memory 2, the storage device 30, and the external interface 4), and constantly monitors for virus infection. Therefore, during execution of the real-time scan, it takes a lot of time from the start to the end of step S7 described above.
Therefore, in the computer of the present invention, steps S11 to S14 described later are executed in place of the above-described step S7 for the operation in the conventional computer.

図9は、本発明のコンピュータの動作としてファイル編集処理を示すフローチャートである。
ここで、仮拡張子情報データベース71には、編集対象ファイル31のファイル名に付加された第1拡張子が編集対象ファイル拡張子72として格納されているものとする。その第1拡張子は、仮拡張子候補データベース76に格納されたN個の仮拡張子78とは異なるものとする。
FIG. 9 is a flowchart showing file editing processing as the operation of the computer of the present invention.
Here, it is assumed that the temporary extension information database 71 stores the first extension added to the file name of the editing target file 31 as the editing target file extension 72. The first extension is different from the N temporary extensions 78 stored in the temporary extension candidate database 76.

ユーザは、表示装置7を閲覧しながら、入力装置6を用いてコンピュータにファイル編集処理を実行させる。
汎用エディタ部10は、ユーザによる入力装置6からの指示に応じて、記憶装置30に保存された複数の編集対象ファイルの中から、ユーザが編集を行なうための編集対象ファイル31を指定する(ステップS1)。汎用エディタ部10は、その編集対象ファイル31をオープンする(ステップS2)。このとき、汎用エディタ部10は、編集対象ファイル31をオープンした旨を表す情報を仮保存管理部20に出力する。これに応じて、仮保存管理部20は、仮拡張子決定処理を実行する(ステップS11)。
The user causes the computer to execute file editing processing using the input device 6 while browsing the display device 7.
In response to an instruction from the input device 6 by the user, the general-purpose editor unit 10 designates an editing target file 31 for the user to edit from among a plurality of editing target files stored in the storage device 30 (step) S1). The general-purpose editor unit 10 opens the editing target file 31 (step S2). At this time, the general-purpose editor unit 10 outputs information indicating that the editing target file 31 has been opened to the temporary storage management unit 20. In response to this, the temporary storage management unit 20 executes a temporary extension determination process (step S11).

図10は、ファイル編集処理の仮拡張子決定処理(ステップS11)を示すフローチャートである。   FIG. 10 is a flowchart showing the temporary extension determination process (step S11) of the file editing process.

仮拡張子決定処理(ステップS11)において、編集対象ファイル31のファイル名に付加された第1拡張子が、編集対象ファイル拡張子72として仮拡張子情報データベース71に格納されていない(ステップS21−NO)。この場合、編集対象ファイル31はユーザにより初めて編集される。仮保存管理部20は、第1拡張子を第1仮拡張子として決定する(ステップS22)。   In the temporary extension determination process (step S11), the first extension added to the file name of the editing target file 31 is not stored in the temporary extension information database 71 as the editing target file extension 72 (step S21- NO). In this case, the editing target file 31 is edited for the first time by the user. The temporary storage management unit 20 determines the first extension as the first temporary extension (step S22).

仮拡張子決定処理(ステップS11)において、編集対象ファイル31のファイル名に付加された第1拡張子が、編集対象ファイル拡張子72として仮拡張子情報データベース71に格納されている。また、第1拡張子が、仮拡張子73として仮拡張子情報データベース71に格納されている(ステップS21−YES)。この場合、編集対象ファイル31はユーザにより2回目以上の編集が行なわれるものとする。そこで、仮保存管理部20は、仮拡張子候補データベース76に格納されたi番目(iは、1≦i≦Nを満たす整数である)の仮拡張子78を第(i+1)仮拡張子として読み出す(ステップS23−NO)。仮保存管理部20は、その第(i+1)仮拡張子を決定仮拡張子として決定する(ステップS24)。   In the temporary extension determination process (step S11), the first extension added to the file name of the editing target file 31 is stored in the temporary extension information database 71 as the editing target file extension 72. The first extension is stored in the temporary extension information database 71 as the temporary extension 73 (step S21—YES). In this case, it is assumed that the editing target file 31 is edited by the user for the second time or more. Therefore, the temporary storage management unit 20 sets the i-th temporary extension 78 (i is an integer satisfying 1 ≦ i ≦ N) stored in the temporary extension candidate database 76 as the (i + 1) th temporary extension. Read (step S23-NO). The temporary storage management unit 20 determines the (i + 1) th temporary extension as a determined temporary extension (step S24).

仮拡張子決定処理(ステップS11)において、編集対象ファイル31のファイル名に付加された第1拡張子が、仮編集対象ファイル拡張子72として拡張子情報データベース71に格納されている。また、第1拡張子〜第(N+1)拡張子が、仮拡張子73として仮拡張子情報データベース71に格納されている(ステップS21−YES)。この場合、編集対象ファイル31はユーザにより(N+1)回目の編集が行なわれるものとする。そこで、仮保存管理部20は、仮拡張子候補データベース76に格納された1番目からN番目までのN個の仮拡張子78を過去に全て読み出し、編集対象ファイル拡張子72に対応付けて(N+1)個の仮拡張子73、総保存処理時間74、総書込バイト数75を仮拡張子情報データベース71に格納している(ステップS23−YES)。即ち、編集対象ファイル拡張子72に対して全ての仮拡張子78が仮拡張子情報データベース71に格納されていることになる。
仮保存管理部20は、それぞれ(N+1)個の総書込バイト数75に(N+1)個の総保存処理時間74を除算して(N+1)個の単位当たり総書込バイト数を求め、(N+1)個の単位当たり総書込バイト数のうちの最大の単位当たり総書込バイト数を選択する。最大の単位当たり総書込バイト数は、(N+1)個の総保存処理時間74の中で最も短い総保存処理時間74を表している。仮保存管理部20は、最も短い総保存処理時間74に対応する仮拡張子73を決定仮拡張子(最適仮拡張子)として決定する(ステップS25)。
In the temporary extension determination process (step S11), the first extension added to the file name of the editing target file 31 is stored in the extension information database 71 as the temporary editing target file extension 72. Further, the first extension to the (N + 1) th extension are stored in the temporary extension information database 71 as the temporary extension 73 (YES in step S21). In this case, it is assumed that the editing target file 31 is edited (N + 1) times by the user. Therefore, the temporary storage management unit 20 reads all the N temporary extensions 78 from the first to the Nth stored in the temporary extension candidate database 76 in the past and associates them with the file extension 72 to be edited ( N + 1) temporary extensions 73, total storage processing time 74, and total number of written bytes 75 are stored in the temporary extension information database 71 (step S23-YES). That is, all the temporary extensions 78 are stored in the temporary extension information database 71 for the file extension 72 to be edited.
The temporary storage management unit 20 divides (N + 1) total storage processing times 74 by (N + 1) total write byte counts 75 to obtain (N + 1) total write byte counts per unit ( N + 1) Select the maximum number of total write bytes per unit among the total number of write bytes per unit. The maximum total number of bytes written per unit represents the shortest total storage processing time 74 among the (N + 1) total storage processing times 74. The temporary storage management unit 20 determines the temporary extension 73 corresponding to the shortest total storage processing time 74 as the determined temporary extension (optimum temporary extension) (step S25).

次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子を退避する(ステップS12)。退避としては、例えばメモリ2の特定領域に第1拡張子と決定仮拡張子とを対応付けて格納しておく。   Next, the temporary storage management unit 20 saves the first extension added to the file name of the editing target file 31 (step S12). For saving, for example, the first extension and the determined temporary extension are stored in a specific area of the memory 2 in association with each other.

次に、汎用エディタ部10は、ユーザによる入力装置6からの指示に応じて、編集対象ファイル31の編集を行なう(ステップS3)。ユーザによって保存指示が行なわれない場合(ステップS4−NO)、ステップS3が実行される。
編集対象ファイル31の編集を行なっている途中やその編集の終了後に、ユーザが入力装置6を用いて保存指示を行なう(ステップS4−YES)。このとき、汎用エディタ部10は、保存指示が仮保存指示を表しているのか正式保存指示を表しているのかをユーザに指定させる(ステップS5)。汎用エディタ部10は、仮保存指示又は正式保存指示を表す保存指示と、編集対象ファイル31とを仮保存管理部20に出力する。これに応じて、仮保存管理部20は、保存処理を実行する(ステップS6)。
Next, the general-purpose editor unit 10 edits the editing target file 31 in accordance with an instruction from the input device 6 by the user (step S3). When the save instruction is not issued by the user (step S4-NO), step S3 is executed.
During the editing of the editing target file 31 or after the editing is finished, the user gives a save instruction using the input device 6 (step S4-YES). At this time, the general-purpose editor unit 10 causes the user to specify whether the save instruction represents a temporary save instruction or an official save instruction (step S5). The general-purpose editor unit 10 outputs a storage instruction indicating a temporary storage instruction or a formal storage instruction and the editing target file 31 to the temporary storage management unit 20. In response to this, the temporary storage management unit 20 executes a storage process (step S6).

保存処理(ステップS6)において、保存指示が仮保存指示を表している。この場合、仮保存管理部20は、仮保存指示に応じて、仮保存処理を実行する。仮保存管理部20は、編集対象ファイル31の編集が行なわれる前のバックアップファイル(中間/設定ファイル)をTEMPファイル32として生成する。同時に、仮保存管理部20は、編集対象ファイル31とTEMPファイル32とを対応付ける仮保存管理情報33を生成する。仮保存管理部20は、TEMPファイル32と仮保存管理情報33とを記憶装置30に保存することにより、編集対象ファイル31における保存状態を仮保存状態とする。   In the storage process (step S6), the storage instruction represents a temporary storage instruction. In this case, the temporary storage management unit 20 executes temporary storage processing in response to the temporary storage instruction. The temporary storage management unit 20 generates a backup file (intermediate / setting file) before the editing of the editing target file 31 as the TEMP file 32. At the same time, the temporary storage management unit 20 generates temporary storage management information 33 that associates the editing target file 31 with the TEMP file 32. The temporary storage management unit 20 stores the TEMP file 32 and the temporary storage management information 33 in the storage device 30 to set the storage state in the editing target file 31 to the temporary storage state.

保存処理(ステップS6)において、保存指示が正式保存指示を表している。この場合、仮保存管理部20は、正式保存指示に応じて、正式保存処理を実行する。また、仮保存管理部20は、編集対象ファイル31における保存状態が仮保存状態である場合、その仮保存状態を解除するために、編集対象ファイル31に対応するTEMPファイル32及び仮保存管理情報33を削除する。   In the storage process (step S6), the storage instruction represents a formal storage instruction. In this case, the temporary storage management unit 20 executes a formal storage process in response to a formal storage instruction. In addition, when the storage state in the editing target file 31 is the temporary storage state, the temporary storage management unit 20 cancels the temporary storage state, and the TEMP file 32 and the temporary storage management information 33 corresponding to the editing target file 31. Is deleted.

次に、仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子を決定仮拡張子に置き換えて、その編集対象ファイル31を記憶装置30に保存する(ステップS13)。このとき、仮保存管理部20は、その編集対象ファイル31を記憶装置30に保存したときの保存処理時間、バイト数を計測する。
ユーザによって終了指示が行なわれない場合(ステップS8−NO)、ステップS3が実行される。
Next, the temporary storage management unit 20 replaces the first extension added to the file name of the editing target file 31 with the determined temporary extension, and stores the editing target file 31 in the storage device 30 (step S31). S13). At this time, the temporary storage management unit 20 measures the storage processing time and the number of bytes when the editing target file 31 is stored in the storage device 30.
If no termination instruction is given by the user (step S8—NO), step S3 is executed.

ユーザが入力装置6を用いて終了指示を行なう(ステップS8−YES)。このとき、汎用エディタ部10は、編集対象ファイル31をクローズする(ステップS9)。
このとき、仮保存管理部20は、退避していた第1拡張子をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された決定仮拡張子を第1拡張子に置き換えて(リネーム)、その編集対象ファイル31を記憶装置30に保存する(ステップS14)。次に、仮保存管理部20は、仮拡張子登録処理を実行し(ステップS15)、ファイル編集処理が終了する。
The user gives an end instruction using the input device 6 (step S8—YES). At this time, the general-purpose editor unit 10 closes the editing target file 31 (step S9).
At this time, the temporary storage management unit 20 reads the saved first extension from the memory 2 and replaces the determined temporary extension added to the file name of the editing target file 31 with the first extension ( Rename), the editing target file 31 is stored in the storage device 30 (step S14). Next, the temporary storage management unit 20 executes a temporary extension registration process (step S15), and the file editing process ends.

図11は、ファイル編集処理の仮拡張子登録処理(ステップS15)を示すフローチャートである。   FIG. 11 is a flowchart showing temporary extension registration processing (step S15) of file editing processing.

仮拡張子登録処理(ステップS15)において、編集対象ファイル31のファイル名に付加された第1拡張子と、決定仮拡張子(第1仮拡張子)とが、それぞれ、編集対象ファイル拡張子72と、仮拡張子73として仮拡張子情報データベース71に格納されていない。または、第1拡張子が編集対象ファイル拡張子72として仮拡張子情報データベース71に格納されているが、決定仮拡張子{第(i+1)仮拡張子}が仮拡張子73として仮拡張子情報データベース71に格納されていない(ステップS31−NO)。
この場合、仮保存管理部20は、第1拡張子、決定仮拡張子をそれぞれ編集対象ファイル拡張子72、仮拡張子73として仮拡張子情報データベース71に格納する(ステップS32)。
仮保存管理部20は、編集対象ファイル拡張子72と仮拡張子73とに対応付けて、上記の保存処理時間、バイト数をそれぞれ総保存処理時間74、総書込バイト数75として仮拡張子情報データベース71に格納する(ステップS33、S34)。
In the temporary extension registration process (step S15), the first extension added to the file name of the editing target file 31 and the determined temporary extension (first temporary extension) are each the editing target file extension 72. The temporary extension 73 is not stored in the temporary extension information database 71. Alternatively, the first extension is stored in the temporary extension information database 71 as the file extension 72 to be edited, but the determined temporary extension {(i + 1) temporary extension} is the temporary extension 73 as the temporary extension information. It is not stored in the database 71 (step S31-NO).
In this case, the temporary storage management unit 20 stores the first extension and the determined temporary extension in the temporary extension information database 71 as the editing target file extension 72 and the temporary extension 73, respectively (step S32).
The temporary storage management unit 20 associates the editing target file extension 72 and the temporary extension 73 with the above storage processing time and the number of bytes as the total storage processing time 74 and the total number of written bytes 75, respectively. The information is stored in the information database 71 (steps S33 and S34).

仮拡張子登録処理(ステップS15)において、編集対象ファイル31のファイル名に付加された第1拡張子と、決定仮拡張子{第(i+1)仮拡張子または最適仮拡張子}とが、それぞれ、編集対象ファイル拡張子72と、仮拡張子73として仮拡張子情報データベース71に格納されている(ステップS31−YES)。
この場合、仮保存管理部20は、仮拡張子情報データベース71を参照して、編集対象ファイル拡張子72、仮拡張子73に対応する総保存処理時間74、総書込バイト数75に、それぞれ、上記の保存処理時間、バイト数を加算する(ステップS35、S36)。
In the temporary extension registration process (step S15), the first extension added to the file name of the editing target file 31 and the determined temporary extension {((i + 1)) temporary extension or optimum temporary extension} are respectively The file extension 72 to be edited and the temporary extension 73 are stored in the temporary extension information database 71 (step S31—YES).
In this case, the temporary storage management unit 20 refers to the temporary extension information database 71 to set the total storage processing time 74 and the total number of written bytes 75 corresponding to the editing target file extension 72 and the temporary extension 73, respectively. The above storage processing time and the number of bytes are added (steps S35 and S36).

このように、本発明のコンピュータでは、第1の効果として、ステップS4〜S6において、編集対象ファイルの内容をバックアップファイル(中間/設定ファイル)の内容で復元するか否かをユーザが選択できるようにしているため、ユーザがOS上からバックアップファイルをリネームすることなくファイル内容を復元できる。また、ファイルの保存を数回行った後でも、仮保存処理を行った時点のファイルの内容に戻すことが可能となる。この効果は、従来のコンピュータと同じである。   As described above, in the computer of the present invention, as a first effect, in steps S4 to S6, the user can select whether or not to restore the contents of the editing target file with the contents of the backup file (intermediate / setting file). Therefore, the user can restore the file contents without renaming the backup file from the OS. Further, even after the file is saved several times, it is possible to restore the contents of the file at the time when the temporary save process was performed. This effect is the same as that of a conventional computer.

本発明のコンピュータでは、第2の効果として、ユーザが(N+1)回目の編集を行なった場合、次にユーザが(N+2)回目の編集を行なったときに最適仮拡張子を自動的に取得できる。即ち、本発明のコンピュータでは、ステップS1、S2、S11、S12、S3〜S6、S13、S8、S9、S14、S15を(N+1)回実行した場合、次にステップS11を実行するときに最適仮拡張子を自動的に取得できる。ここで、本発明のコンピュータは、ユーザが編集対象ファイル31に対して(N+1)回目の編集を行なうまで、編集時に編集対象ファイル31を保存するたびに、最適ではない仮拡張子を取得する可能性があるが、ユーザが(N+2)回目の編集を行なった場合、(N+1)個の仮拡張子73の中から、保存処理時間が最も短い仮拡張子である最適仮拡張子を取得できるようになる。このため、本発明のコンピュータでは、アンチウィルスソフトウェア3のリアルタイムスキャンの実行中に、ユーザが編集対象ファイル31に対して(N+2)回目以降の編集を行なう場合、編集時に編集対象ファイル31を保存するたびに、編集対象ファイル31のファイル名に付加された第1拡張子を最適仮拡張子に置き換えることにより、従来のコンピュータに比べてユーザに待たせる時間が削減される。
また、本発明のコンピュータでは、編集対象ファイル31をクローズしたときに、そのファイル名に付加された最適仮拡張子を第1拡張子に置き換えること(リネーム)により、編集対象ファイル31の編集内容は確保される。
In the computer of the present invention, as a second effect, when the user performs the (N + 1) th editing, the optimum temporary extension can be automatically acquired when the user performs the (N + 2) th editing next time. . That is, in the computer according to the present invention, when steps S1, S2, S11, S12, S3 to S6, S13, S8, S9, S14, and S15 are executed (N + 1) times, the next step S11 is optimally executed. The extension can be acquired automatically. Here, the computer of the present invention can acquire a temporary extension that is not optimal every time the editing target file 31 is saved at the time of editing until the user performs (N + 1) th editing on the editing target file 31. However, when the user performs the (N + 2) th editing, the optimum temporary extension that is the temporary extension with the shortest storage processing time can be acquired from the (N + 1) temporary extensions 73. become. Therefore, in the computer of the present invention, when the user performs the (N + 2) th or later editing on the editing target file 31 during execution of the real-time scan of the antivirus software 3, the editing target file 31 is saved at the time of editing. Each time the first extension added to the file name of the editing target file 31 is replaced with the optimum temporary extension, the time that the user can wait is reduced as compared with the conventional computer.
Further, in the computer of the present invention, when the editing target file 31 is closed, the editing contents of the editing target file 31 are changed by replacing the optimum temporary extension added to the file name with the first extension (renaming). Secured.

上記のファイル編集処理について具体的に説明する。そこで、上記のファイル編集処理を、
(動作1)ユーザにより初めて編集が行なわれる場合、
(動作2)ユーザにより2回目の編集が行なわれる場合、
(動作3)ユーザにより3回目の編集が行なわれる場合、
(動作4)ユーザにより4回目の編集が行なわれる場合、
に分ける。
また、編集対象ファイル31のファイル名に付加された第1拡張子が“.log”であるものとする。
また、図12Aに示されるように、仮拡張子候補データベース76には、ユーザ設定変数79として“2”(Nは2とする)が格納され、登録番号77として“1”、“2”が格納されているものとする。この場合、仮拡張子78として“.txt”、“.ini”が格納されているものとする。
The file editing process will be specifically described. So, the above file editing process
(Operation 1) When editing is performed for the first time by the user,
(Operation 2) When the user performs the second editing,
(Operation 3) When the third editing is performed by the user,
(Operation 4) When the fourth editing is performed by the user,
Divide into
Further, it is assumed that the first extension added to the file name of the editing target file 31 is “.log”.
Further, as shown in FIG. 12A, the temporary extension candidate database 76 stores “2” (N is 2) as the user setting variable 79 and “1” and “2” as the registration numbers 77. Assume that it is stored. In this case, it is assumed that “.txt” and “.ini” are stored as the temporary extension 78.

まず、(動作1)ユーザにより初めて編集が行なわれる場合について説明する。   First, (Operation 1) a case where editing is performed for the first time by the user will be described.

最初に、上述のステップS1、S2、S11が実行される。
仮拡張子決定処理(ステップS11)において、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”を決定仮拡張子(第1仮拡張子)として決定する(ステップS21−NO、S22)。次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”と決定仮拡張子(第1仮拡張子)“.log”とをメモリ2に退避する(ステップS12)。
First, the above-described steps S1, S2, and S11 are executed.
In the temporary extension determination process (step S11), the temporary storage management unit 20 sets the first extension “.log” added to the file name of the editing target file 31 as the determined temporary extension (first temporary extension). Determine (steps S21-NO, S22). Next, the temporary storage management unit 20 stores the first extension “.log” added to the file name of the editing target file 31 and the determined temporary extension (first temporary extension) “.log” in the memory 2. Retreat (step S12).

次に、上述のステップS3〜S6が実行される。
仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子“.log”を決定仮拡張子(第1仮拡張子)“.log”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS13)。このとき、仮保存管理部20は、その編集対象ファイル31を記憶装置30に保存したときの保存処理時間“20(sec)”、バイト数“500(byte)”を計測する。
Next, steps S3 to S6 described above are executed.
The temporary storage management unit 20 replaces the first extension “.log” added to the file name of the editing target file 31 with the determined temporary extension (first temporary extension) “.log”, and edits the file. The target file 31 is stored in the storage device 30 (step S13). At this time, the temporary storage management unit 20 measures the storage processing time “20 (sec)” and the number of bytes “500 (bytes)” when the editing target file 31 is stored in the storage device 30.

次に、上述のステップS8〜S9が実行される。
このとき、仮保存管理部20は、退避していた第1拡張子“.log”をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された決定仮拡張子(第1仮拡張子)“.log”を第1拡張子“.log”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS14)。次に、仮保存管理部20は、仮拡張子登録処理を実行する(ステップS15)。
Next, steps S8 to S9 described above are executed.
At this time, the temporary storage management unit 20 reads the saved first extension “.log” from the memory 2, and determines the temporary extension (first temporary extension) added to the file name of the editing target file 31. Child) The editing target file 31 is stored in the storage device 30 in place of the first extension “.log” in “.log” (step S14). Next, the temporary storage management unit 20 executes a temporary extension registration process (step S15).

仮拡張子登録処理(ステップS15)において、図12Bに示されるように、仮保存管理部20は、第1拡張子“.log”、決定仮拡張子(第1仮拡張子)“.log”、上記の保存処理時間“20(sec)”、上記のバイト数“500(byte)”をそれぞれ編集対象ファイル拡張子72、仮拡張子73、総保存処理時間74、総書込バイト数75として仮拡張子情報データベース71に格納する(ステップS31−NO、S32、S33、S34)。   In the temporary extension registration process (step S15), as shown in FIG. 12B, the temporary storage management unit 20 sets the first extension “.log” and the determined temporary extension (first temporary extension) “.log”. The above save processing time “20 (sec)” and the above-mentioned number of bytes “500 (bytes)” are respectively the file extension 72 to be edited, the temporary extension 73, the total save processing time 74, and the total number of written bytes 75. It stores in the temporary extension information database 71 (steps S31-NO, S32, S33, S34).

次に、(動作2)ユーザにより2回目の編集が行なわれる場合について説明する。   Next, (Operation 2) a case where the user performs the second editing will be described.

最初に、上述のステップS1、S2、S11が実行される。
仮拡張子決定処理(ステップS11)において、仮保存管理部20は、仮拡張子候補データベース76に格納されたi番目(iは、1≦i≦Nを満たす整数である)の仮拡張子78“.txt”を第(i+1)仮拡張子として読み出す(ステップS21−YES、S23−NO)。ここで、iは1である。仮保存管理部20は、その第2仮拡張子“.txt”を決定仮拡張子として決定する(ステップS24)。次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”と決定仮拡張子(第2仮拡張子)“.txt”とをメモリ2に退避する(ステップS12)。
First, the above-described steps S1, S2, and S11 are executed.
In the temporary extension determination process (step S11), the temporary storage management unit 20 stores the i-th temporary extension 78 (i is an integer satisfying 1 ≦ i ≦ N) stored in the temporary extension candidate database 76. “.Txt” is read out as the (i + 1) th temporary extension (step S21-YES, S23-NO). Here, i is 1. The temporary storage management unit 20 determines the second temporary extension “.txt” as the determined temporary extension (step S24). Next, the temporary storage management unit 20 stores the first extension “.log” added to the file name of the editing target file 31 and the determined temporary extension (second temporary extension) “.txt” in the memory 2. Retreat (step S12).

次に、上述のステップS3〜S6が実行される。
仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子“.log”を決定仮拡張子(第2仮拡張子)“.txt”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS13)。このとき、仮保存管理部20は、その編集対象ファイル31を記憶装置30に保存したときの保存処理時間“30(sec)”、バイト数“500(byte)”を計測する。
Next, steps S3 to S6 described above are executed.
The temporary storage management unit 20 replaces the first extension “.log” added to the file name of the editing target file 31 with the determined temporary extension (second temporary extension) “.txt”, and edits the file. The target file 31 is stored in the storage device 30 (step S13). At this time, the temporary storage management unit 20 measures the storage processing time “30 (sec)” and the number of bytes “500 (bytes)” when the editing target file 31 is stored in the storage device 30.

次に、上述のステップS8〜S9が実行される。
このとき、仮保存管理部20は、退避していた第1拡張子“.log”をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された決定仮拡張子(第2仮拡張子)“.txt”を第1拡張子“.log”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS14)。次に、仮保存管理部20は、仮拡張子登録処理を実行する(ステップS15)。
Next, steps S8 to S9 described above are executed.
At this time, the temporary storage management unit 20 reads the saved first extension “.log” from the memory 2 and determines the temporary extension (second temporary extension added to the file name of the editing target file 31). Child) Replaces “.txt” with the first extension “.log” and saves the file 31 to be edited in the storage device 30 (step S14). Next, the temporary storage management unit 20 executes a temporary extension registration process (step S15).

仮拡張子登録処理(ステップS15)において、図12Cに示されるように、仮保存管理部20は、編集対象ファイル拡張子72“.log”に対応付けて、決定仮拡張子(第2仮拡張子)“.txt”、上記の保存処理時間“30(sec)”、上記のバイト数“500(byte)”をそれぞれ仮拡張子73、総保存処理時間74、総書込バイト数75として仮拡張子情報データベース71に格納する(ステップS31−NO、S32、S33、S34)。   In the temporary extension registration process (step S15), as shown in FIG. 12C, the temporary storage management unit 20 associates the editing target file extension 72 “.log” with the determined temporary extension (second temporary extension). Child) “.txt”, the above save processing time “30 (sec)”, and the above byte count “500 (bytes)” are assumed as temporary extension 73, total save processing time 74, and total write byte count 75, respectively. The file is stored in the extension information database 71 (steps S31-NO, S32, S33, S34).

次に、(動作3)ユーザにより3回目の編集が行なわれる場合について説明する。   Next, (Operation 3) a case where the user performs the third editing will be described.

最初に、上述のステップS1、S2、S11が実行される。
仮拡張子決定処理(ステップS11)において、仮保存管理部20は、仮拡張子候補データベース76に格納されたi番目(iは、1≦i≦Nを満たす整数である)の仮拡張子78“.txt”を第(i+1)仮拡張子として読み出す(ステップS21−YES、S23−NO)。ここで、iは2である。仮保存管理部20は、その第3仮拡張子“.ini”を決定仮拡張子として決定する(ステップS24)。次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”と決定仮拡張子(第3仮拡張子)“.ini”とをメモリ2に退避する(ステップS12)。
First, the above-described steps S1, S2, and S11 are executed.
In the temporary extension determination process (step S11), the temporary storage management unit 20 stores the i-th temporary extension 78 (i is an integer satisfying 1 ≦ i ≦ N) stored in the temporary extension candidate database 76. “.Txt” is read out as the (i + 1) th temporary extension (step S21-YES, S23-NO). Here, i is 2. The temporary storage management unit 20 determines the third temporary extension “.ini” as the determined temporary extension (step S24). Next, the temporary storage management unit 20 stores the first extension “.log” added to the file name of the editing target file 31 and the determined temporary extension (third temporary extension) “.ini” in the memory 2. Retreat (step S12).

次に、上述のステップS3〜S6が実行される。
仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子“.log”を決定仮拡張子(第3仮拡張子)“.ini”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS13)。このとき、仮保存管理部20は、その編集対象ファイル31を記憶装置30に保存したときの保存処理時間“10(sec)”、バイト数“500(byte)”を計測する。
Next, steps S3 to S6 described above are executed.
The temporary storage management unit 20 replaces the first extension “.log” added to the file name of the editing target file 31 with the determined temporary extension (third temporary extension) “.ini”, and edits the file. The target file 31 is stored in the storage device 30 (step S13). At this time, the temporary storage management unit 20 measures the storage processing time “10 (sec)” and the number of bytes “500 (bytes)” when the editing target file 31 is stored in the storage device 30.

次に、上述のステップS8〜S9が実行される。
このとき、仮保存管理部20は、退避していた第1拡張子“.log”をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された決定仮拡張子(第3仮拡張子)“.ini”を第1拡張子“.log”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS14)。次に、仮保存管理部20は、仮拡張子登録処理を実行する(ステップS15)。
Next, steps S8 to S9 described above are executed.
At this time, the temporary storage management unit 20 reads the saved first extension “.log” from the memory 2 and determines the temporary extension (third temporary extension added to the file name of the editing target file 31). Child) The editing object file 31 is stored in the storage device 30 in place of the first extension “.log” in “.ini” (step S14). Next, the temporary storage management unit 20 executes a temporary extension registration process (step S15).

仮拡張子登録処理(ステップS15)において、図12Dに示されるように、仮保存管理部20は、編集対象ファイル拡張子72“.log”に対応付けて、決定仮拡張子(第3仮拡張子)“.ini”、上記の保存処理時間“10(sec)”、上記のバイト数“500(byte)”をそれぞれ仮拡張子73、総保存処理時間74、総書込バイト数75として仮拡張子情報データベース71に格納する(ステップS31−NO、S32、S33、S34)。   In the temporary extension registration process (step S15), as shown in FIG. 12D, the temporary storage management unit 20 associates the editing target file extension 72 “.log” with the determined temporary extension (third temporary extension). Child) “.ini”, the above save processing time “10 (sec)”, and the above byte count “500 (bytes)” are assumed to be temporary extension 73, total save processing time 74, and total write byte count 75, respectively. The file is stored in the extension information database 71 (steps S31-NO, S32, S33, S34).

次に、(動作4)ユーザにより4回目の編集が行なわれる場合について説明する。   Next, (Operation 4) a case where the user performs the fourth editing will be described.

最初に、上述のステップS1、S2、S11が実行される。
仮拡張子決定処理(ステップS11)において、仮保存管理部20は、仮拡張子候補データベース76に格納されたN個の仮拡張子78“.txt”、“.ini”を過去に全て読み出し、編集対象ファイル拡張子72に対応付けて(N+1)個の仮拡張子73“.log”、“.txt”、“.ini”、総保存処理時間74、総書込バイト数75を仮拡張子情報データベース71に格納している(ステップS21−YES、S23−YES)。
そこで、仮保存管理部20は、仮拡張子情報データベース71を参照して、それぞれ(N+1)個の総書込バイト数75“500(byte)”、“500(byte)”、“500(byte)”に(N+1)個の総保存処理時間74“20(sec)”、“30(sec)”、“10(sec)”を除算して(N+1)個の単位当たり総書込バイト数“25(byte/sec)”、“16(byte/sec)”、“50(byte/sec)”を求め、(N+1)個の単位当たり総書込バイト数のうちの最大の単位当たり総書込バイト数“50(byte/sec)”を選択する。最大の単位当たり総書込バイト数は、(N+1)個の総保存処理時間74の中で最も短い総保存処理時間74を表している。この場合、最も短い総保存処理時間74“10(sec)”に対応する仮拡張子73は、“.ini”である。仮保存管理部20は、仮拡張子73“.ini”を決定仮拡張子(最適仮拡張子)として決定する(ステップS25)。
First, the above-described steps S1, S2, and S11 are executed.
In the temporary extension determination process (step S11), the temporary storage management unit 20 reads all the N temporary extensions 78 “.txt” and “.ini” stored in the temporary extension candidate database 76 in the past, (N + 1) temporary extensions 73 “.log”, “.txt”, “.ini”, total storage processing time 74, and total number of written bytes 75 are associated with the editing target file extension 72. It is stored in the information database 71 (steps S21-YES, S23-YES).
Therefore, the temporary storage management unit 20 refers to the temporary extension information database 71 and sets (N + 1) total write byte counts 75 “500 (bytes)”, “500 (bytes)”, “500 (bytes), respectively. ) "Is divided by (N + 1) total storage processing time 74" 20 (sec) "," 30 (sec) "," 10 (sec) ", and (N + 1) total write bytes per unit" 25 (byte / sec) "," 16 (byte / sec) "," 50 (byte / sec) "are obtained, and the maximum total write per unit among the total number of write bytes per (N + 1) units The number of bytes “50 (byte / sec)” is selected. The maximum total number of bytes written per unit represents the shortest total storage processing time 74 among the (N + 1) total storage processing times 74. In this case, the temporary extension 73 corresponding to the shortest total storage processing time 74 “10 (sec)” is “.ini”. The temporary storage management unit 20 determines the temporary extension 73 “.ini” as the determined temporary extension (optimal temporary extension) (step S25).

次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”と決定仮拡張子(最適仮拡張子)“.ini”とをメモリ2に退避する(ステップS12)。   Next, the temporary storage management unit 20 saves the first extension “.log” and the determined temporary extension (optimum temporary extension) “.ini” added to the file name of the editing target file 31 in the memory 2. (Step S12).

次に、上述のステップS3〜S6が実行される。
仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子“.log”を決定仮拡張子(最適仮拡張子)“.ini”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS13)。このとき、仮保存管理部20は、その編集対象ファイル31を記憶装置30に保存したときの保存処理時間“10(sec)”、バイト数“500(byte)”を計測する。
Next, steps S3 to S6 described above are executed.
The temporary storage management unit 20 replaces the first extension “.log” added to the file name of the editing target file 31 with the determined temporary extension (optimal temporary extension) “.ini”, and edits the file. The file 31 is stored in the storage device 30 (step S13). At this time, the temporary storage management unit 20 measures the storage processing time “10 (sec)” and the number of bytes “500 (bytes)” when the editing target file 31 is stored in the storage device 30.

次に、上述のステップS8〜S9が実行される。
このとき、仮保存管理部20は、退避していた第1拡張子“.log”をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された決定仮拡張子(最適仮拡張子)“.ini”を第1拡張子“.log”に代えて、その編集対象ファイル31を記憶装置30に保存する(ステップS14)。次に、仮保存管理部20は、仮拡張子登録処理を実行する(ステップS15)。
Next, steps S8 to S9 described above are executed.
At this time, the temporary storage management unit 20 reads the saved first extension “.log” from the memory 2, and determines the temporary extension (optimal temporary extension) added to the file name of the editing target file 31. ) Replace “.ini” with the first extension “.log” and save the file 31 to be edited in the storage device 30 (step S14). Next, the temporary storage management unit 20 executes a temporary extension registration process (step S15).

仮拡張子登録処理(ステップS15)において、図12Eに示されるように、仮保存管理部20は、編集対象ファイル拡張子72“.log”と仮拡張子73(最適仮拡張子)“.ini”とに対応する総保存処理時間74、総書込バイト数75に、それぞれ、上記の保存処理時間“10(sec)”、上記のバイト数“500(byte)”を加算する(ステップS31−YES、S35、S36)。   In the temporary extension registration process (step S15), as shown in FIG. 12E, the temporary storage management unit 20 performs the editing target file extension 72 “.log” and the temporary extension 73 (optimum temporary extension) “.ini. Are added to the total storage processing time 74 and the total number of written bytes 75 corresponding to "", respectively, and the above-mentioned storage processing time "10 (sec)" and the above-mentioned number of bytes "500 (bytes)" (step S31- YES, S35, S36).

以上の説明により、本発明のコンピュータでは、ユーザが3回目の編集を行なった場合、次にユーザが4回目の編集を行なったときに最適仮拡張子“.ini”を自動的に取得できる。即ち、本発明のコンピュータでは、ステップS1、S2、S11、S12、S3〜S6、S13、S8、S9、S14、S15を3回実行した場合、次にステップS11を実行するときに最適仮拡張子“.ini”を自動的に取得できる。ここで、本発明のコンピュータは、ユーザが編集対象ファイル31に対して3回目の編集を行なうまで、編集時に編集対象ファイル31を保存するたびに、最適ではない仮拡張子を取得する可能性があるが、ユーザが4回目の編集を行なった場合、3個の仮拡張子73“.log”、“.txt”、“.ini”の中から、保存処理時間が最も短い仮拡張子である最適仮拡張子“.ini”を取得できるようになる。このため、本発明のコンピュータでは、アンチウィルスソフトウェア3のリアルタイムスキャンの実行中に、ユーザが編集対象ファイル31に対して4回目以降の編集を行なう場合、編集時に編集対象ファイル31を保存するたびに、編集対象ファイル31のファイル名に付加された第1拡張子“.log”を最適仮拡張子“.ini”に置き換えることにより、従来のコンピュータに比べてユーザに待たせる時間が削減される。
また、本発明のコンピュータでは、編集対象ファイル31をクローズしたときに、そのファイル名に付加された最適仮拡張子“.ini”を第1拡張子“.log”に置き換えること(リネーム)により、編集対象ファイル31の編集内容は確保される。
As described above, in the computer of the present invention, when the user performs the third editing, the optimum temporary extension “.ini” can be automatically acquired when the user performs the fourth editing next time. That is, in the computer of the present invention, when steps S1, S2, S11, S12, S3 to S6, S13, S8, S9, S14, and S15 are executed three times, the optimum temporary extension is executed the next time step S11 is executed. “.Ini” can be automatically acquired. Here, the computer of the present invention may acquire a temporary extension that is not optimal each time the editing target file 31 is saved during editing until the user performs the third editing on the editing target file 31. However, when the user performs the fourth editing, the temporary extension is the shortest temporary extension among the three temporary extensions 73 “.log”, “.txt”, “.ini”. The optimum temporary extension “.ini” can be acquired. Therefore, in the computer of the present invention, when the user performs the fourth or later editing on the editing target file 31 during the execution of the real-time scan of the antivirus software 3, every time the editing target file 31 is saved at the time of editing. By replacing the first extension “.log” added to the file name of the editing target file 31 with the optimum temporary extension “.ini”, the time that the user can wait is reduced as compared with the conventional computer.
In the computer of the present invention, when the editing target file 31 is closed, the optimum temporary extension “.ini” added to the file name is replaced with the first extension “.log” (renaming), The edited content of the editing target file 31 is secured.

(第2実施形態)
本発明の第2実施形態によるコンピュータでは、前述と同じ説明を省略する。
(Second Embodiment)
In the computer according to the second embodiment of the present invention, the same description as above is omitted.

前述の第1実施形態によるコンピュータでは、編集対象ファイル31に対して(N+2)回目の編集が行なわれたときに、仮拡張子情報データベース71を参照して、最適仮拡張子“.ini”を取得する。そこで、(N+2)回目以降の編集が行なわれた場合でも、仮拡張子情報データベース71を参照して、最適仮拡張子“.ini”を取得する。この場合、仮保存管理部20は、最適仮拡張子“.ini”を認識していればよい。そこで、本発明の第2実施形態によるコンピュータとして、仮拡張子情報データベース71と仮拡張子候補データベース76とに代えて、最適仮拡張子“.ini”を格納する最適記憶部を具備している。最適記憶部としては、前述のメモリ2の特定領域が例示される。第2実施形態によるコンピュータでは、編集対象ファイル31に対して(N+3)回目の編集が行なわれたときに、メモリ2から最適仮拡張子“.ini”を取得する。   In the computer according to the first embodiment described above, when the editing target file 31 is edited for the (N + 2) th time, the temporary extension information database 71 is referred to and the optimum temporary extension “.ini” is set. get. Therefore, even if the (N + 2) th and subsequent edits are performed, the temporary extension information database 71 is referred to obtain the optimum temporary extension “.ini”. In this case, the temporary storage management unit 20 only needs to recognize the optimal temporary extension “.ini”. Therefore, the computer according to the second embodiment of the present invention includes an optimum storage unit for storing the optimum temporary extension “.ini” in place of the temporary extension information database 71 and the temporary extension candidate database 76. . Examples of the optimum storage unit include the specific area of the memory 2 described above. In the computer according to the second embodiment, the optimum temporary extension “.ini” is acquired from the memory 2 when the editing target file 31 is edited (N + 3) times.

本発明の第2実施形態によるコンピュータの動作としてファイル編集処理について説明する。
ここで、メモリ2の特定領域には、更に、フラグ(後述)が格納されているものとする。
A file editing process will be described as an operation of the computer according to the second embodiment of the present invention.
Here, it is assumed that a flag (described later) is further stored in the specific area of the memory 2.

最初に、上述のステップS1、S2が実行されたとき、上述のステップS11が実行されない。次に、仮保存管理部20は、編集対象ファイル31のファイル名に付加された第1拡張子“.log”を最適仮拡張子“.ini”に対応付けてメモリ2に退避する(ステップS12)。   First, when the above steps S1 and S2 are executed, the above step S11 is not executed. Next, the temporary storage management unit 20 saves the first extension “.log” added to the file name of the editing target file 31 in the memory 2 in association with the optimal temporary extension “.ini” (step S12). ).

次に、上述のステップS3〜S6、S13、S8〜S9が実行される。このとき、上述のステップS14、S15が実行されずに、ファイル編集処理が終了する。   Next, steps S3 to S6, S13, and S8 to S9 described above are executed. At this time, the above-described steps S14 and S15 are not executed, and the file editing process ends.

図13は、ファイル編集処理のファイル保存処理(ステップS13)を示すフローチャートである。これは、図9のフローチャートでデータベースを使わない応用例であり、一般的なファイル上書き保存処理とファイル保存失敗時の復元処理とを本発明に適用したものである。   FIG. 13 is a flowchart showing the file saving process (step S13) of the file editing process. This is an application example in which a database is not used in the flowchart of FIG. 9, and a general file overwrite saving process and a restoration process when a file saving failure is applied to the present invention.

ファイル保存処理(ステップS13)において、仮保存管理部20は、フラグを初期化する。ここで、フラグは“新規”モードに設定される(ステップS41)。フラグは“新規”と“上書き”の2種類のモードがある。このとき、仮保存管理部20は、編集対象ファイル31を上書きするか否かをユーザに問い合わせる(ステップS42)。
編集対象ファイル31を上書きする場合(ステップS42−YES)、仮保存管理部20は、フラグを設定する。ここで、フラグは“上書き”モードに設定される(ステップS43)。仮保存管理部20は、ファイル障害時に編集対象ファイル31の内容を元に戻すために使用する別名バックアップファイルを生成し、メモリ2の特定領域に格納する(ステップS44)。別名バックアップファイルの内容は、編集対象ファイル31の内容と同じであるが、別名バックアップファイルのファイル名は、編集対象ファイル31のファイル名(元のファイル名)とは異なる。
ステップS44が実行された場合、または、編集対象ファイル31を上書きしない場合(ステップS42−NO)、仮保存管理部20は、上記の編集対象ファイル31のファイル名に付加された第1拡張子“.log”を最適仮拡張子“.ini”に置き換えて、その編集対象ファイル31を記憶装置30に保存する(ステップS45)。
In the file storage process (step S13), the temporary storage management unit 20 initializes a flag. Here, the flag is set to the “new” mode (step S41). There are two types of flags: “new” and “overwrite”. At this time, the temporary storage management unit 20 inquires of the user whether or not to overwrite the editing target file 31 (step S42).
When overwriting the editing target file 31 (step S42—YES), the temporary storage management unit 20 sets a flag. Here, the flag is set to the “overwrite” mode (step S43). The temporary storage management unit 20 generates an alias backup file used to restore the contents of the editing target file 31 in the event of a file failure, and stores it in a specific area of the memory 2 (step S44). The contents of the alias backup file are the same as the contents of the editing target file 31, but the file name of the alias backup file is different from the file name (original file name) of the editing target file 31.
When step S44 is executed, or when the editing target file 31 is not overwritten (NO in step S42), the temporary storage management unit 20 adds the first extension “" added to the file name of the editing target file 31 described above. .Log ”is replaced with the optimum temporary extension“ .ini ”, and the editing target file 31 is stored in the storage device 30 (step S45).

ステップS45を実行したときに、ディスク障害など、予期しないトラブルにより編集対象ファイル31の保存ができない(ステップS46−NO)。そこで、フラグが“上書き”を表している場合(ステップS47−YES)、仮保存管理部20は、別名バックアップファイルをメモリ2から読み出し、別名バックアップファイルに元のファイル名を付加して編集対象ファイル31を復元する。フラグが“新規”を表している場合(ステップS47−NO)、別名バックアップファイルを作成していないので、処理を終了する。   When step S45 is executed, the editing target file 31 cannot be saved due to an unexpected trouble such as a disk failure (step S46-NO). Therefore, when the flag indicates “overwrite” (step S47—YES), the temporary storage management unit 20 reads the alias backup file from the memory 2, adds the original file name to the alias backup file, and edits the file. 31 is restored. If the flag represents “new” (step S47—NO), the aliased backup file has not been created, and the process ends.

ステップS45を実行したときに、編集対象ファイル31の保存が正しく行われる(ステップS46−YES)。そこで、フラグが“上書き”を表している場合(ステップS49−YES)、仮保存管理部20は、別名バックアップファイルは不要なので削除する。そして、仮保存管理部20は、第1拡張子“.log”をメモリ2から読み出し、上記の編集対象ファイル31のファイル名に付加された最適仮拡張子“.ini”を第1拡張子“.log”に代えて、その編集対象ファイル31を記憶装置30に保存し(ステップS51)、処理を終了する。   When step S45 is executed, the editing target file 31 is correctly saved (step S46-YES). Therefore, when the flag indicates “overwrite” (step S49—YES), the temporary storage management unit 20 deletes the alias backup file because it is unnecessary. Then, the temporary storage management unit 20 reads the first extension “.log” from the memory 2 and sets the optimum temporary extension “.ini” added to the file name of the editing target file 31 to the first extension “ Instead of “.log”, the editing target file 31 is stored in the storage device 30 (step S51), and the process is terminated.

以上の説明により、本発明の第2実施形態によるコンピュータでは、仮拡張子情報データベース71と仮拡張子候補データベース76との2つのデータベースが不要になる。その結果、それを作成するためのコストを削減できる。また、コンピュータ内に2つのデータベースが実装されるスペースも削減できる。さらに、本発明の第2実施形態によるコンピュータでは、データベースを参照しない分だけ処理速度が速くなる。   As described above, the computer according to the second embodiment of the present invention does not require the two databases of the temporary extension information database 71 and the temporary extension candidate database 76. As a result, the cost for creating it can be reduced. Moreover, the space where two databases are mounted in the computer can be reduced. Further, in the computer according to the second embodiment of the present invention, the processing speed is increased by not referring to the database.

図1は、中間/設定ファイルを生成する従来のコンピュータとして、特開2005−182173号公報に記載されたファイル保存管理装置の構成を示している。(従来の技術)FIG. 1 shows a configuration of a file storage management apparatus described in Japanese Patent Laid-Open No. 2005-182173 as a conventional computer for generating an intermediate / setting file. (Conventional technology) 図2は、従来のコンピュータの動作としてファイル編集処理を示すフローチャートである。(従来の技術)FIG. 2 is a flowchart showing file editing processing as an operation of a conventional computer. (Conventional technology) 図3は、従来のコンピュータにアンチウィルスソフトウェアを適用したときの構成を示している。(従来の技術)FIG. 3 shows a configuration when anti-virus software is applied to a conventional computer. (Conventional technology) 図4は、ステップS7をコンピュータに実行させるファイル保存用プログラムとして、仮保存管理部120がファイル(編集対象ファイル31)を記憶装置130に保存するときのテストプログラムである。(従来の技術)FIG. 4 shows a test program used when the temporary storage management unit 120 stores a file (edit target file 31) in the storage device 130 as a file storage program for causing the computer to execute step S7. (Conventional technology) 図5Aは、アンチウィルスソフトウェア3Aと拡張子の組み合わせにより、図4のテストプログラムを適用したときのテスト結果51である。(従来の技術)FIG. 5A shows a test result 51 when the test program of FIG. 4 is applied by a combination of the antivirus software 3A and the extension. (Conventional technology) 図5Bは、アンチウィルスソフトウェア3Bと拡張子の組み合わせにより、図4のテストプログラムを適用したときのテスト結果56である。(従来の技術)FIG. 5B shows a test result 56 when the test program of FIG. 4 is applied by a combination of the antivirus software 3B and the extension. (Conventional technology) 図6は、本発明のコンピュータの構成を示している。(第1実施形態)FIG. 6 shows the configuration of the computer of the present invention. (First embodiment) 図7Aは、仮拡張子情報データベース71を示している。(第1実施形態)FIG. 7A shows the temporary extension information database 71. (First embodiment) 図7Bは、仮拡張子候補データベース76を示している。(第1実施形態)FIG. 7B shows the temporary extension candidate database 76. (First embodiment) 図8は、本発明のコンピュータにアンチウィルスソフトウェアを適用したときの構成を示している。(第1実施形態)FIG. 8 shows a configuration when anti-virus software is applied to the computer of the present invention. (First embodiment) 図9は、本発明のコンピュータの動作としてファイル編集処理を示すフローチャートである。(第1実施形態、第2実施形態)FIG. 9 is a flowchart showing file editing processing as the operation of the computer of the present invention. (First embodiment, second embodiment) 図10は、ファイル編集処理の仮拡張子決定処理(ステップS11)を示すフローチャートである。(第1実施形態)FIG. 10 is a flowchart showing the temporary extension determination process (step S11) of the file editing process. (First embodiment) 図11は、ファイル編集処理の仮拡張子登録処理(ステップS15)を示すフローチャートである。(第1実施形態)FIG. 11 is a flowchart showing temporary extension registration processing (step S15) of file editing processing. (First embodiment) 図12Aは、仮拡張子候補データベース76を示している。(第1実施形態)FIG. 12A shows the temporary extension candidate database 76. (First embodiment) 図12Bは、仮拡張子情報データベース71を示している。(第1実施形態)FIG. 12B shows the temporary extension information database 71. (First embodiment) 図12Cは、仮拡張子情報データベース71を示している。(第1実施形態)FIG. 12C shows the temporary extension information database 71. (First embodiment) 図12Dは、仮拡張子情報データベース71を示している。(第1実施形態)FIG. 12D shows the temporary extension information database 71. (First embodiment) 図12Eは、仮拡張子情報データベース71を示している。(第1実施形態)FIG. 12E shows the temporary extension information database 71. (First embodiment) 図13は、ファイル編集処理のファイル保存処理(ステップS13)を示すフローチャートである。(第2実施形態)FIG. 13 is a flowchart showing the file saving process (step S13) of the file editing process. (Second Embodiment)

符号の説明Explanation of symbols

1、101 CPU
2、102 メモリ
3 アンチウィルスソフトウェア
4 外部インタフェース
5 バス
6 入力装置
6−1 マウス
6−2 キーボード
7 表示装置(ディスプレイ)
8、108 制御装置
10、110 汎用エディタ部
20、120 仮保存管理部
30、130 記憶装置(ディスク装置)
31 編集対象ファイル
32 TEMPファイル(バックアップファイル)
33 仮保存管理情報
41 テストプログラムに記載されたファイル保存回数
42 テストプログラムに記載されたファイル名
71 仮拡張子情報データベース
72 編集対象ファイル拡張子
73 仮拡張子
74 総保存処理時間
75 総書込バイト数
76 仮拡張子候補データベース
77 登録番号
78 仮拡張子
79 ユーザ設定変数
1, 101 CPU
2,102 Memory 3 Anti-virus software 4 External interface 5 Bus 6 Input device 6-1 Mouse 6-2 Keyboard 7 Display device (display)
8, 108 Control device 10, 110 General-purpose editor unit 20, 120 Temporary storage management unit 30, 130 Storage device (disk device)
31 File to be edited 32 TEMP file (backup file)
33 Temporary save management information 41 File save count described in test program 42 File name described in test program 71 Temporary extension information database 72 File extension to be edited 73 Temporary extension 74 Total save processing time 75 Total write bytes Number 76 Temporary extension candidate database 77 Registration number 78 Temporary extension 79 User setting variable

Claims (8)

第1拡張子が付加された編集対象ファイルをオープンして編集し、編集後にクローズする汎用エディタ部と、
編集時に前記編集対象ファイルを記憶装置に保存するときに、前記編集対象ファイルに付加された前記第1拡張子を最適仮拡張子に置き換え、前記編集対象ファイルがクローズされたときに、前記編集対象ファイルに付加された前記最適仮拡張子を前記第1拡張子に置き換える仮保存管理部とを具備し、
前記最適仮拡張子が付加された前記編集対象ファイルを保存するときの保存処理時間は、前記第1拡張子が付加された前記編集対象ファイルを保存するときの第1保存処理時間よりも短い
コンピュータ。
A general-purpose editor section that opens and edits the editing target file with the first extension, and closes the file after editing;
When the editing target file is saved in a storage device during editing, the first extension added to the editing target file is replaced with an optimal temporary extension, and the editing target file is closed when the editing target file is closed. A temporary storage management unit that replaces the optimum temporary extension added to the file with the first extension;
The storage processing time when saving the file to be edited with the optimum temporary extension added is shorter than the first saving processing time when saving the file to be edited with the first extension added. .
仮拡張子情報データベースを更に具備し、
前記編集対象ファイルに対して初めて編集が行なわれる場合、
前記仮保存管理部は、前記編集対象ファイルに付加された前記第1拡張子である第1仮拡張子と、前記第1仮拡張子が付加された前記編集対象ファイルを前記記憶装置に保存したときの第1保存処理時間とを前記仮拡張子情報データベースに格納し、
前記第1仮拡張子を含む複数の仮拡張子と、前記第1保存処理時間を含む複数の保存処理時間とが前記仮拡張子情報データベースに格納されているときに、前記編集対象ファイルに対して編集が行なわれる場合、
前記仮保存管理部は、前記仮拡張子情報データベースを参照して、前記複数の仮拡張子の中から、保存処理時間が最も短い前記最適仮拡張子を取得する
請求項1に記載のコンピュータ。
A temporary extension information database;
When editing is performed for the first time on the file to be edited,
The temporary storage management unit stores the first temporary extension, which is the first extension added to the editing target file, and the editing target file with the first temporary extension added to the storage device. Storing the first storage processing time at the time in the temporary extension information database,
When a plurality of temporary extensions including the first temporary extension and a plurality of storage processing times including the first storage processing time are stored in the temporary extension information database, Editing
The computer according to claim 1, wherein the temporary storage management unit refers to the temporary extension information database and acquires the optimum temporary extension having the shortest storage processing time from the plurality of temporary extensions.
前記第1拡張子とは異なる1番目からN番目(Nは2以上の整数)までのN個の仮拡張子が格納された仮拡張子候補データベースを更に具備し、
前記仮保存管理部は、
前記編集対象ファイルに対して(i+1)回目の編集が行なわれる場合(iは、1≦i≦Nを満たす整数)、前記仮拡張子候補データベースに格納されたi番目の仮拡張子を第(i+1)仮拡張子として読み出し、
編集時に前記編集対象ファイルを前記記憶装置に保存するときに、前記編集対象ファイルに付加された前記第1拡張子を前記第(i+1)仮拡張子に置き換え、前記編集対象ファイルがクローズされたときに、前記編集対象ファイルに付加された前記第(i+1)仮拡張子を前記第1拡張子に置き換え、
前記第(i+1)仮拡張子と、前記第(i+1)仮拡張子が付加された前記編集対象ファイルを前記記憶装置に保存したときの第(i+1)保存処理時間とを前記仮拡張子情報データベースに格納し、
前記仮拡張子情報データベースには、前記複数の仮拡張子である(N+1)個の仮拡張子と、前記複数の保存処理時間である(N+1)個の保存処理時間とが格納される
請求項2に記載のコンピュータ。
A temporary extension candidate database storing N temporary extensions from the first to the Nth (N is an integer of 2 or more) different from the first extension;
The temporary storage management unit
When the (i + 1) -th editing is performed on the file to be edited (i is an integer satisfying 1 ≦ i ≦ N), the i-th temporary extension stored in the temporary extension candidate database is the ( i + 1) Read as temporary extension,
When the editing target file is saved in the storage device during editing, the first extension added to the editing target file is replaced with the (i + 1) th temporary extension, and the editing target file is closed In addition, the (i + 1) th temporary extension added to the editing object file is replaced with the first extension,
The temporary extension information database includes the (i + 1) th temporary extension and the (i + 1) th storage processing time when the editing target file to which the (i + 1) th temporary extension is added is stored in the storage device. Stored in
The temporary extension information database stores (N + 1) temporary extensions as the plurality of temporary extensions and (N + 1) storage processing times as the plurality of storage processing times. The computer according to 2.
前記仮保存管理部は、
前記編集対象ファイルに対して(N+2)回目以降の編集が行なわれる場合、前記仮拡張子情報データベースを参照して、前記複数の仮拡張子の中から、保存処理時間が最も短い前記最適仮拡張子を取得し、
編集時に前記編集対象ファイルを前記記憶装置に保存するときに、前記編集対象ファイルに付加された前記第1拡張子を前記最適仮拡張子に置き換え、前記編集対象ファイルがクローズされたときに、前記編集対象ファイルに付加された前記最適仮拡張子を前記第1拡張子に置き換える
請求項3に記載のコンピュータ。
The temporary storage management unit
When the editing target file is edited after (N + 2) time, the optimum temporary extension with the shortest storage processing time is selected from the plurality of temporary extensions with reference to the temporary extension information database. Get the child
When the editing target file is saved in the storage device during editing, the first extension added to the editing target file is replaced with the optimum temporary extension, and when the editing target file is closed, The computer according to claim 3, wherein the optimum temporary extension added to the editing target file is replaced with the first extension.
前記編集対象ファイルに対して(N+2)回目の編集が行なわれた場合、前記仮拡張子情報データベースと前記仮拡張子候補データベースとに代えて、前記最適仮拡張子を格納する最適記憶部を具備し、
前記仮保存管理部は、
前記編集対象ファイルに対して(N+3)回目以降の編集が行なわれる場合、前記最適記憶部から前記最適仮拡張子を取得し、
編集時に前記編集対象ファイルを前記記憶装置に保存するときに、前記編集対象ファイルに付加された前記第1拡張子を前記最適仮拡張子に置き換え、前記編集対象ファイルがクローズされたときに、前記編集対象ファイルに付加された前記最適仮拡張子を前記第1拡張子に置き換える
請求項4に記載のコンピュータ。
When (N + 2) -th editing is performed on the file to be edited, an optimum storage unit for storing the optimum temporary extension is provided instead of the temporary extension information database and the temporary extension candidate database. And
The temporary storage management unit
When the (N + 3) th or later editing is performed on the file to be edited, the optimum temporary extension is acquired from the optimum storage unit,
When the editing target file is saved in the storage device during editing, the first extension added to the editing target file is replaced with the optimum temporary extension, and when the editing target file is closed, The computer according to claim 4, wherein the optimum temporary extension added to the file to be edited is replaced with the first extension.
コンピュータの内部をチェックし、ウィルス感染していないか常に監視するリアルタイムスキャンを含むアンチウィルスソフトウェア
を更に具備する請求項1〜5のいずれかに記載のコンピュータ。
6. The computer according to claim 1, further comprising anti-virus software including a real-time scan for checking the inside of the computer and constantly monitoring whether it is infected with a virus.
第1拡張子が付加された編集対象ファイルを保存する記憶装置を具備するコンピュータを用いる方法であって、
前記編集対象ファイルを編集するためにオープンし、編集後にクローズする編集ステップと、
編集時に前記編集対象ファイルを前記記憶装置に保存するときに、前記編集対象ファイルに付加された前記第1拡張子を最適仮拡張子に置き換え、前記編集対象ファイルがクローズされたときに、前記編集対象ファイルに付加された前記最適仮拡張子を前記第1拡張子に置き換える管理ステップとを具備し、
前記最適仮拡張子が付加された前記編集対象ファイルを保存するときの保存処理時間は、前記第1拡張子が付加された前記編集対象ファイルを保存するときの第1保存処理時間よりも短い
保存処理時間の短縮方法。
A method using a computer having a storage device for storing a file to be edited with a first extension added thereto,
An editing step that opens to edit the file to be edited and closes after editing;
When the editing target file is saved in the storage device during editing, the first extension added to the editing target file is replaced with an optimal temporary extension, and the editing target file is closed when the editing target file is closed. A management step of replacing the optimum temporary extension added to the target file with the first extension,
The saving process time when saving the file to be edited with the optimum temporary extension added is shorter than the first saving process time when saving the file to be edited with the first extension added. A way to reduce processing time.
請求項7に記載の保存処理時間の短縮方法の各ステップを前記コンピュータに実行させるコンピュータプログラム。   The computer program which makes the said computer perform each step of the shortening method of the preservation | save processing time of Claim 7.
JP2006197320A 2006-07-19 2006-07-19 Computer Expired - Fee Related JP4911681B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006197320A JP4911681B2 (en) 2006-07-19 2006-07-19 Computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006197320A JP4911681B2 (en) 2006-07-19 2006-07-19 Computer

Publications (2)

Publication Number Publication Date
JP2008027076A JP2008027076A (en) 2008-02-07
JP4911681B2 true JP4911681B2 (en) 2012-04-04

Family

ID=39117655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006197320A Expired - Fee Related JP4911681B2 (en) 2006-07-19 2006-07-19 Computer

Country Status (1)

Country Link
JP (1) JP4911681B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0883202A (en) * 1994-09-14 1996-03-26 Toshiba Corp Electronic filing device
JP2002351726A (en) * 2001-05-22 2002-12-06 Toshiba Corp Server/method/program for access control
JP2005071158A (en) * 2003-08-26 2005-03-17 Hitachi Software Eng Co Ltd Exclusive control method for file
JP4907059B2 (en) * 2004-01-26 2012-03-28 大日本印刷株式会社 Computer system and automatic backup method for the data

Also Published As

Publication number Publication date
JP2008027076A (en) 2008-02-07

Similar Documents

Publication Publication Date Title
US6698016B1 (en) Method for injecting code into another process
JP4810282B2 (en) Module installation method, module installation device, and program
US7500245B2 (en) Changing code execution path using kernel mode redirection
US20080222215A1 (en) Method for Deleting Virus Program and Method to Get Back the Data Destroyed by the Virus
KR100494499B1 (en) Data retouching method for executing file on real time and virus elimination method using the data retouching method thereof
WO2010002185A2 (en) Method for automatically and completely deleting temporary files used in application programs
JP5475199B2 (en) File processing apparatus for executing preprocessed file and recording medium for performing the method by computer
Jeong et al. Forensic signature for tracking storage devices: Analysis of UEFI firmware image, disk signature and windows artifacts
WO2007026484A1 (en) Device, method, and program for generating and executing execution binary image, and computer-readable recording medium containing the execution binary image execution program
US20060212848A1 (en) Apparatus for managing configuration of application software
JP4895990B2 (en) Image processing apparatus and data erasing method
JP5381059B2 (en) Device, log recording control method, and program
JP4911681B2 (en) Computer
JP5906855B2 (en) Test data creation method, test data creation program, and test data creation device
KR102525655B1 (en) Method for controlling storing a document file
Hsu et al. Data concealments with high privacy in new technology file system
JP2018034300A (en) Information processor and program
JP5270271B2 (en) Information processing apparatus, information processing method, program, and recording medium
US20240202332A1 (en) System and Method for Ransomware Scan Using Incremental Data Blocks
KR100413195B1 (en) A system and method for recovering/protecting of computer file system using invisible file technology
JP6143038B1 (en) OS program and method for accessing file without depending on application
JP5125689B2 (en) Operation method and recording medium for multiple environments
LeMaster Heap spray detection with heap inspector
JP5400099B2 (en) Information processing apparatus, electronic device, patch program application method, and computer program
Venault et al. Superfetch: the famous unknown spy

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111222

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150127

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees