JP7424457B2 - Image forming device and program - Google Patents

Image forming device and program Download PDF

Info

Publication number
JP7424457B2
JP7424457B2 JP2022194010A JP2022194010A JP7424457B2 JP 7424457 B2 JP7424457 B2 JP 7424457B2 JP 2022194010 A JP2022194010 A JP 2022194010A JP 2022194010 A JP2022194010 A JP 2022194010A JP 7424457 B2 JP7424457 B2 JP 7424457B2
Authority
JP
Japan
Prior art keywords
file
job
virus detection
unit
pattern 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.)
Active
Application number
JP2022194010A
Other languages
Japanese (ja)
Other versions
JP2023021234A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2022194010A priority Critical patent/JP7424457B2/en
Publication of JP2023021234A publication Critical patent/JP2023021234A/en
Application granted granted Critical
Publication of JP7424457B2 publication Critical patent/JP7424457B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、画像形成装置及びプログラムに関し、特にウイルスの有無を検出するためのパターンファイルを更新する技術に関する。 The present invention relates to an image forming apparatus and a program, and particularly to a technique for updating a pattern file for detecting the presence or absence of a virus.

オフィスに設置されるMFP(Multifunction Peripherals)などの情報処理装置は、複数のユーザーによって共有される装置であり、スキャン機能、印刷機能、コピー機能などの複数の機能を備えており、ユーザーによって選択された機能に対応するジョブを実行する。また、情報処理装置は、LAN(Local Area Network)などのネットワークに接続されており、ジョブの実行対象となるデータを外部から取得したり、ジョブの実行によって生成したデータや内部に保持しているデータを外部へ送信したりすることができる。 Information processing devices such as MFPs (Multifunction Peripherals) installed in offices are devices that are shared by multiple users, and are equipped with multiple functions such as scanning, printing, and copying functions. Execute the job corresponding to the specified function. In addition, the information processing device is connected to a network such as a LAN (Local Area Network), and can acquire data that is the target of job execution from the outside, or can store data generated by job execution or internally. Data can be sent externally.

このような情報処理装置が万一コンピュータウイルスに感染してしまうと、ネットワークに接続されている他の機器に対してウイルス感染を蔓延させてしまったり、或いは、顧客情報などの秘密情報を流出させてしまったりする可能性がある。そのため、近年では、MFPなどの情報処理装置においても、一般的なパーソナルコンピュータ(PC)などと同様に、ウイルス感染を防止するためのウイルス検出アプリケーションを常駐させておくことが望まれる。 If such information processing equipment were to become infected with a computer virus, the virus could spread to other devices connected to the network, or confidential information such as customer information could be leaked. There is a possibility that it may be damaged. Therefore, in recent years, it has become desirable for information processing devices such as MFPs to have a resident virus detection application to prevent virus infection, similar to general personal computers (PCs).

ウイルス検出アプリケーションは、ウイルスが定義されたパターンファイルをサーバーからダウンロードしておき、そのパターンファイルを参照することによってウイルス検出処理を実行する。一方、サーバーで管理されるパターンファイルは、新たに出現するウイルスを検出可能とするためにベンダーによって日々更新される。つまり、パターンファイルは、新たなウイルスを定義した情報が追加されることによって逐次バージョンアップされていく。そのため、ウイルス検出アプリケーションは、サーバーに対して定期的にアクセスし、サーバーで管理されているパターンファイルがバージョンアップされているか否かを確認する。その結果、パターンファイルがバージョンアップされている場合、ウイルス検出アプリケーションは、新バージョンのパターンファイルをサーバーからダウンロードし、ウイルス検出処理において参照するパターンファイルを更新する。これにより、ウイルス検出アプリケーションは、ウイルス検出処理において新バージョンのパターンファイルに定義されている新たなウイルスを検出することができるようになる。 The virus detection application downloads a pattern file in which a virus is defined from a server, and executes virus detection processing by referring to the pattern file. On the other hand, pattern files managed by servers are updated daily by vendors in order to detect newly emerging viruses. In other words, the pattern file is successively updated as information defining new viruses is added. Therefore, the virus detection application periodically accesses the server and checks whether the pattern file managed by the server has been updated. As a result, if the pattern file has been updated, the virus detection application downloads the new version of the pattern file from the server and updates the pattern file referred to in the virus detection process. This allows the virus detection application to detect new viruses defined in the new version of the pattern file during virus detection processing.

ところで、従来、旧バージョンのプログラムを新バージョンのプログラムの更新するために2つのメモリを使用する技術が提案されている(例えば特許文献1)。この従来技術では、2つのメモリのうちの一方のメモリをCPUが読み込んで実行するプログラムを格納するためのメモリとして使用し、他方のメモリを新バージョンのプログラムのダウンロード用メモリとして使用する。新バージョンのプログラムのダウンロードが完了すると、ユーザーによるリセット操作で装置を再起動したり、或いは、CPUの自己リセット機能を利用して装置を再起動することにより、新バージョンのプログラムがロードされるようになる。 By the way, conventionally, a technique has been proposed that uses two memories to update an old version of a program with a new version of the program (for example, Patent Document 1). In this conventional technology, one of the two memories is used as a memory for storing a program read and executed by a CPU, and the other memory is used as a memory for downloading a new version of the program. When the download of the new version of the program is completed, the new version of the program can be loaded by restarting the device with a reset operation by the user or by restarting the device using the CPU's self-reset function. become.

また、従来、ファームウェアをバージョンアップするためにメモリ領域を2面構成とする方法が提案されている(例えば特許文献2)。この従来技術では、2面構成の一方のメモリ領域に旧バージョンのファームウェアを記憶しておき、その旧バージョンのファームウェアによる制御の実行中に、新バージョンのファームウェアを他方のメモリ領域にダウンロードする。そして旧バージョンのファームウェアと新バージョンのファームウェアとをマルチタスク処理によって同時並行的に実行し、両バージョンのファームウェアの同期がとれたタイミングで新バージョンのファームウェアへ切り替えることにより、バージョンアップを行う手法が採用されている。 Furthermore, conventionally, a method has been proposed in which a memory area has a two-sided structure in order to upgrade firmware (for example, Patent Document 2). In this conventional technology, an old version of firmware is stored in one memory area of a two-sided configuration, and while control by the old version of the firmware is being executed, a new version of firmware is downloaded to the other memory area. Then, a method is adopted in which the old version of the firmware and the new version of the firmware are executed in parallel using multitasking processing, and the version is updated by switching to the new version of the firmware when both versions of the firmware are synchronized. has been done.

特開平11-103400号公報Japanese Patent Application Publication No. 11-103400 特開平11-7382号公報Japanese Patent Application Publication No. 11-7382

上述の従来技術はいずれも新バージョンのファイルをダウンロードすると、CPUが制御動作中に高速アクセスするメモリに保存するため、メモリ容量として、旧バージョンのファイルと新バージョンのファイルとの双方を記憶するのに十分な容量が必要である。しかしながら、ウイルス検出用のパターンファイルは、新たなウイルスを定義した情報が追加されることによってバージョンアップされるため、新バージョンのパターンファイルの容量が旧バージョンのパターンファイルの容量よりも大きくなるのが一般的である。そのため、新バージョンのパターンファイルを旧バージョンのパターンファイルと共にメモリに保存するようにすると、予め将来のバージョンアップを見込んでメモリを大容量化しておかなければならず、装置コストが上昇するという問題がある。 In all of the above-mentioned conventional technologies, when a new version of a file is downloaded, it is stored in memory that is accessed at high speed during control operations by the CPU, so the memory capacity is limited to store both the old version of the file and the new version of the file. Sufficient capacity is required. However, since the pattern file for virus detection is updated by adding information that defines new viruses, the capacity of the new version of the pattern file may become larger than the capacity of the old version of the pattern file. Common. Therefore, if the new version of the pattern file is stored in the memory along with the old version of the pattern file, the memory capacity must be increased in advance in anticipation of future version upgrades, which raises the problem of increased equipment costs. be.

また、MFPなどの情報処理装置は、ネットワークを介して外部の装置から印刷ジョブを受信すると、その印刷ジョブを実行し、印刷ジョブに含まれるデータに基づいて印刷出力を行う。この場合、ウイルス検出アプリケーションは、情報処理装置において印刷ジョブの実行が開始される前に、印刷ジョブに含まれるデータにウイルスが含まれているか否かを判別するためのウイルス検出処理を実行する。そのため、例えばウイルス検出処理の実行中に新バージョンのパターンファイルのダウンロードが完了し、新バージョンのパターンファイルを適用するためにウイルス検出アプリケーションの再起動が開始すると、現在実行中のウイルス検出処理が途中で停止してしまい、受信したデータに対するウイルス検出処理が未完のまま終了してしまうという問題がある。 Further, when an information processing device such as an MFP receives a print job from an external device via a network, it executes the print job and prints out based on data included in the print job. In this case, the virus detection application executes virus detection processing to determine whether or not data included in the print job contains a virus before execution of the print job is started in the information processing apparatus. Therefore, for example, if the download of a new version of a pattern file is completed while a virus detection process is being executed, and the virus detection application starts restarting to apply the new version of the pattern file, the virus detection process that is currently being executed will be interrupted. There is a problem in that the virus detection process for the received data ends without being completed.

また、ウイルス検出処理が途中で停止した場合にはウイルス検出アプリケーションが再起動した後に再度ウイルス検出処理を行うようにすることも考えられる。しかし、その場合、情報処理装置が印刷ジョブを受信してから印刷ジョブの実行を開始するまでの時間が長くなり、ジョブの実行効率が低下するという問題がある。 Furthermore, if the virus detection process is stopped midway, it may be possible to perform the virus detection process again after the virus detection application is restarted. However, in this case, there is a problem in that the time from when the information processing device receives the print job to when it starts executing the print job becomes long, resulting in a decrease in job execution efficiency.

そこで本発明は、上述した課題を解決するためになされたものであり、装置コストを上昇させることなく、しかもジョブの実行効率を低下させることもなく、旧バージョンのパターンファイルを新バージョンに更新できるようにした画像形成装置及びプログラムを提供することを目的とする。 The present invention has been made to solve the above-mentioned problems, and it is possible to update an old version of a pattern file to a new version without increasing device costs or reducing job execution efficiency. An object of the present invention is to provide an image forming apparatus and a program.

上記目的を達成するため、請求項1に係る発明は、受け取った印刷ジョブに基づいて印刷を行う画像形成装置であって、受け取った印刷ジョブに対してウイルスの有無を検出するためのパターンファイルを記憶する記憶手段と、前記記憶手段に記憶されているパターンファイルを所定の記憶領域に展開し、前記所定の記憶領域に展開されたパターンファイルを参照してウイルス検出処理を実行するウイルス検出手段と、新バージョンのパターンファイルをダウンロードして前記記憶手段に保存するダウンロード手段と、前記ダウンロード手段によるダウンロードが完了した後、前記ウイルス検出手段によるウイルス検出処理が行われていないことを条件として、旧バージョンのパターンファイルが展開されていた前記所定の記憶領域に新バージョンのパターンファイルを展開して更新するファイル更新手段と、を備えることを特徴とする構成である。 In order to achieve the above object, the invention according to claim 1 provides an image forming apparatus that performs printing based on a received print job, and which includes a pattern file for detecting the presence or absence of a virus in the received print job. a storage means for storing; and a virus detection means for expanding a pattern file stored in the storage means into a predetermined storage area, and executing a virus detection process by referring to the pattern file expanded to the predetermined storage area. , a downloading means for downloading a new version of the pattern file and storing it in the storage means; and a downloading means for downloading a new version of the pattern file, on the condition that the virus detection processing is not performed by the virus detection means after the downloading by the downloading means is completed. This configuration is characterized by comprising: file updating means for expanding and updating a new version of the pattern file in the predetermined storage area where the pattern file has been expanded.

請求項2に係る発明は、請求項1の画像形成装置において、前記ファイル更新手段は、前記ウイルス検出手段を再起動させることより、前記記憶手段に記憶されている新バージョンのパターンファイルを前記所定の記憶領域に展開させることを特徴とする構成である。 The invention according to claim 2 is the image forming apparatus according to claim 1, wherein the file updating means updates the new version of the pattern file stored in the storage means to the predetermined by restarting the virus detection means. This configuration is characterized in that it is expanded into a storage area of .

請求項3に係る発明は、請求項1又は2の画像形成装置において、前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に前記ウイルス検出手段によるウイルス検出処理が行われている場合、パターンファイルの更新を保留することを特徴とする構成である。 The invention according to claim 3 is the image forming apparatus according to claim 1 or 2, in which the file updating means updates the pattern file when the virus detection means is performing a virus detection process when the downloading means completes downloading. This configuration is characterized by suspending updates.

請求項4に係る発明は、請求項3の画像形成装置において、前記ファイル更新手段は、パターンファイルの更新を保留している状態において、前記ウイルス検出手段によるウイルス検出処理が終了した後、パターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 4 is the image forming apparatus according to claim 3, wherein the file updating means updates the pattern file after the virus detection process by the virus detection means is completed while the update of the pattern file is pending. This configuration is characterized by starting the update of the .

請求項5に係る発明は、請求項1乃至3のいずれかの画像形成装置において、前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時にパターンファイルの更新を保留し、所定の動作状態へ移行するときにパターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 5 is the image forming apparatus according to any one of claims 1 to 3, wherein the file updating means suspends updating of the pattern file when downloading by the downloading means is completed, and shifts to a predetermined operating state. This configuration is characterized in that it sometimes starts updating the pattern file.

請求項6に係る発明は、請求項5の画像形成装置において、通電状態を通常通電状態から省電力状態に移行させる通電制御手段、を更に備え、前記ファイル更新手段は、前記通電制御手段によって通電状態が前記省電力状態へ移行するときにパターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 6 is the image forming apparatus according to claim 5, further comprising energization control means for shifting the energization state from the normal energization state to the power saving state, and the file updating means is configured to change the energization state by the energization control means. This configuration is characterized in that updating of the pattern file is started when the state shifts to the power saving state.

請求項7に係る発明は、請求項5の画像形成装置において、ユーザーによって指定された印刷ジョブを実行するジョブ制御手段、を更に備え、前記ファイル更新手段は、前記ジョブ制御手段による印刷ジョブの実行状態へ移行するときにパターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 7 is the image forming apparatus according to claim 5, further comprising job control means for executing a print job specified by a user, and the file updating means controls execution of the print job by the job control means. This configuration is characterized in that updating of the pattern file is started when transitioning to the state.

請求項8に係る発明は、請求項5の画像形成装置において、ユーザーによって指定された印刷ジョブを実行するジョブ制御手段、を更に備え、前記ファイル更新手段は、前記ジョブ制御手段による印刷ジョブの実行が中断されるときにパターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 8 is the image forming apparatus according to claim 5, further comprising job control means for executing a print job specified by a user, and the file updating means controls execution of the print job by the job control means. This configuration is characterized in that updating of the pattern file is started when the pattern file is interrupted.

請求項9に係る発明は、請求項8の画像形成装置において、前記ジョブ制御手段は、印刷ジョブの実行中に印刷ジョブの実行を継続させることができないエラーが発生した場合に印刷ジョブの実行を中断することを特徴とする構成である。 The invention according to claim 9 is the image forming apparatus according to claim 8, wherein the job control means stops execution of the print job when an error that prevents the execution of the print job from continuing occurs during execution of the print job. This is a configuration characterized by interruption.

請求項10に係る発明は、請求項1乃至3のいずれかの画像形成装置において、印刷ジョブを受け付けるジョブ受付手段と、前記ジョブ受付手段によって受け付けられた印刷ジョブを実行するジョブ制御手段と、を更に備え、前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に、前記ジョブ受付手段に対して前記ウイルス検出処理を行う印刷ジョブの受け付けを禁止してパターンファイルの更新を行うことを特徴とする構成である。 The invention according to claim 10 is the image forming apparatus according to any one of claims 1 to 3, further comprising: a job accepting means for accepting a print job; and a job controlling means for executing the print job accepted by the job accepting means. Further, the file updating means updates the pattern file by prohibiting the job accepting means from accepting a print job for which the virus detection process is to be performed when the downloading by the downloading means is completed. It is.

請求項11に係る発明は、請求項10の画像形成装置において、前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に前記ウイルス検出手段によるウイルス検出処理が行われている場合、前記ウイルス検出処理を停止させてパターンファイルの更新を行うことを特徴とする構成である。 The invention according to claim 11 is the image forming apparatus according to claim 10, in which the file updating means performs the virus detection processing when the virus detection processing is performed by the virus detection means when the downloading by the downloading means is completed. This configuration is characterized in that the pattern file is updated by stopping the program.

請求項12に係る発明は、請求項11の画像形成装置において、前記ウイルス検出手段は、前記ファイル更新手段によってパターンファイルの更新が行われた後に、停止させた前記ウイルス検出処理を再度実行することを特徴とする構成である。 The invention according to claim 12 is the image forming apparatus according to claim 11, wherein the virus detection means re-executes the stopped virus detection process after the pattern file is updated by the file update means. This is a configuration characterized by the following.

請求項13に係る発明は、請求項10又は11の画像形成装置において、前記ジョブ受付手段は、前記ファイル更新手段によって前記ウイルス検出処理を行う印刷ジョブの受け付けが禁止されているとき、前記ウイルス検出処理を行わない印刷ジョブを受け付けることが可能であり、前記ジョブ制御手段は、前記ファイル更新手段によってパターンファイルの更新が行われているときに前記ジョブ受付手段によって前記ウイルス検出処理を行わない印刷ジョブが受け付けられた場合、前記ファイル更新手段によるパターンファイルの更新と並行して前記ウイルス検出処理を行わない印刷ジョブを実行することを特徴とする構成である。 The invention according to claim 13 is the image forming apparatus according to claim 10 or 11, in which the job accepting means detects the virus when the file updating means is prohibited from accepting a print job for which the virus detection process is performed. It is possible to accept a print job for which no processing is to be performed, and the job control means may accept a print job for which the virus detection processing is not performed by the job reception means when the pattern file is being updated by the file update means. If the virus detection process is accepted, the print job is executed without performing the virus detection process in parallel with the update of the pattern file by the file update means.

請求項14に係る発明は、請求項1乃至13の画像形成装置において、前記ファイル更新手段は、前記ダウンロード手段によるダウンロードが完了した後においてユーザーによるファイル更新指示を検知した場合にパターンファイルの更新を開始することを特徴とする構成である。 The invention according to claim 14 is the image forming apparatus according to any one of claims 1 to 13, wherein the file updating means updates the pattern file when detecting a file updating instruction from a user after the downloading by the downloading means is completed. This is a configuration characterized by starting.

請求項15に係る発明は、受け取った印刷ジョブに基づいて印刷を行う画像形成装置において実行されるプログラムであって、前記画像形成装置に、受け取った印刷ジョブに対してウイルスの有無を検出するためのパターンファイルを予め所定の記憶手段に格納しておくステップと、前記記憶手段に記憶されているパターンファイルを読み出して所定の記憶領域に展開し、前記所定の記憶領域に展開されたパターンファイルを参照してウイルス検出処理を実行するウイルス検出ステップと、新バージョンのパターンファイルをダウンロードして前記記憶手段に保存するダウンロードステップと、前記ダウンロードステップによるダウンロードが完了した後、前記ウイルス検出ステップによるウイルス検出処理が行われていないことを条件として、旧バージョンのパターンファイルが展開されていた前記所定の記憶領域に新バージョンのパターンファイルを展開して更新するファイル更新ステップと、を実行させることを特徴とする構成である。 The invention according to claim 15 is a program executed in an image forming apparatus that performs printing based on a received print job, the program for detecting the presence or absence of a virus in the received print job. a step of storing the pattern file in a predetermined storage means in advance, reading out the pattern file stored in the storage means and developing it in a predetermined storage area, and storing the pattern file expanded in the predetermined storage area. a virus detection step of referencing and executing virus detection processing; a download step of downloading a new version of the pattern file and storing it in the storage means; and after the download by the download step is completed, virus detection by the virus detection step. A file update step of expanding and updating a new version of the pattern file in the predetermined storage area where the old version of the pattern file has been expanded, on the condition that no processing is being performed. It is configured to do this.

本発明によれば、装置コストを上昇させることなく、しかもジョブの実行効率を低下させることもなく、旧バージョンのパターンファイルを新バージョンに更新することができるようになる。 According to the present invention, it is possible to update an old version of a pattern file to a new version without increasing device costs or reducing job execution efficiency.

情報処理システムの外観構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of the external configuration of an information processing system. 情報処理装置のハードウェア構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a hardware configuration of an information processing device. 制御部の機能構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a functional configuration of a control unit. ウイルス検出処理が行われるジョブとウイルス検出処理が行われないジョブとを例示する図である。FIG. 3 is a diagram illustrating a job in which virus detection processing is performed and a job in which virus detection processing is not performed. ダウンロード部による処理の概念を説明する図である。FIG. 3 is a diagram illustrating the concept of processing by a download unit. ファイル更新処理の概念を説明する図である。FIG. 3 is a diagram illustrating the concept of file update processing. ウイルス検出プログラムのインストール時の処理手順を示すフローチャートである。3 is a flowchart showing a processing procedure when installing a virus detection program. ウイルス検出部による処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a processing procedure by a virus detection unit. ダウンロード部による処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a processing procedure by a download unit. ファイル更新部による処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a processing procedure by a file updating unit. ウイルス検出処理とファイル更新処理との関係を示すタイミングチャートである。3 is a timing chart showing the relationship between virus detection processing and file update processing. ジョブ実行処理とファイル更新処理との関係を示すタイミングチャートである。5 is a timing chart showing the relationship between job execution processing and file update processing. 第2実施形態のファイル更新部によるファイル更新処理の例を示すフローチャートである。It is a flow chart which shows an example of file update processing by a file update part of a 2nd embodiment. 第3実施形態のファイル更新部によるファイル更新処理の例を示すフローチャートである。It is a flow chart which shows an example of file update processing by a file update part of a 3rd embodiment. 第4実施形態のファイル更新部によるファイル更新処理の例を示すフローチャートである。It is a flow chart which shows an example of file update processing by a file update part of a 4th embodiment.

以下、本発明に関する好ましい実施形態について図面を参照しつつ詳細に説明する。尚、以下に説明する実施形態において互いに共通する要素には同一符号を付しており、それらについての重複する説明は省略する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In the embodiments described below, common elements are given the same reference numerals, and redundant explanations thereof will be omitted.

(第1実施形態)
図1は、本発明の第1実施形態である情報処理システム1の外観構成の一例を示す図である。情報処理システム1は、情報処理装置2と、外部装置3と、サーバー4とを備えており、これらがLANなどのネットワーク5を介して相互に通信を行うことができる構成である。情報処理装置2と外部装置3とは例えばオフィスなどのローカル環境に設置される。サーバー4は、情報処理装置2と同様のローカル環境に設置されていても良いし、インターネット上のクラウドに設置されていても良い。尚、サーバー4がクラウド上に設置される場合、ネットワーク5は図示を省略するルーターなどを介してインターネットに接続される構成とすれば良い。
(First embodiment)
FIG. 1 is a diagram showing an example of the external configuration of an information processing system 1 according to a first embodiment of the present invention. The information processing system 1 includes an information processing device 2, an external device 3, and a server 4, and is configured such that these can communicate with each other via a network 5 such as a LAN. The information processing device 2 and the external device 3 are installed in a local environment such as an office. The server 4 may be installed in the same local environment as the information processing device 2, or may be installed in a cloud on the Internet. Note that when the server 4 is installed on the cloud, the network 5 may be configured to be connected to the Internet via a router (not shown) or the like.

情報処理装置2は、例えばMFPなどの画像処理装置によって構成され、コピー機能、スキャン機能、印刷機能及びFAX機能など画像処理に関する複数の機能を有している。この情報処理装置2は、ユーザーが操作するための操作パネル7を備えている。情報処理装置2は、操作パネル7に対して行われるユーザーに操作に基づき、上述した複数の機能のうちから一つの機能を選択的に動作させ、ユーザーによって指定されたジョブを実行する。例えば、情報処理装置2は、操作パネル7に対するユーザーの操作に基づき、コピージョブやスキャンジョブ、印刷ジョブ、FAX送信ジョブなどを行うことができる。 The information processing device 2 is configured by an image processing device such as an MFP, and has a plurality of functions related to image processing, such as a copy function, a scan function, a print function, and a FAX function. This information processing device 2 includes an operation panel 7 for user operation. The information processing device 2 selectively operates one function from among the plurality of functions described above based on a user's operation performed on the operation panel 7, and executes a job specified by the user. For example, the information processing device 2 can perform a copy job, a scan job, a print job, a FAX transmission job, etc. based on a user's operation on the operation panel 7.

また、情報処理装置2は、スキャナ部8とプリンタ部9とを備えている。スキャナ部8は、コピージョブ又はスキャンジョブの実行時にユーザーによってセットされた原稿を光学的に読み取って原稿に対応する画像データを生成するものである。プリンタ部9は、コピージョブ又は印刷ジョブの実行時に印刷対象となる画像データに基づいて印刷用紙などのシート材に画像形成を行うことにより印刷出力を行うものである。 The information processing device 2 also includes a scanner section 8 and a printer section 9. The scanner section 8 optically reads a document set by a user when executing a copy job or a scan job, and generates image data corresponding to the document. The printer unit 9 performs print output by forming an image on a sheet material such as printing paper based on image data to be printed when executing a copy job or a print job.

例えば、ユーザーによってコピージョブの実行が指示された場合、情報処理装置2は、スキャナ部8を駆動して原稿を読み取り、原稿の画像データをプリンタ部9へ出力する。そして情報処理装置2は、プリンタ部9を駆動して原稿の画像データに基づく印刷出力を行う。このようなコピージョブでは、情報処理装置2と外部装置3とのデータは行われない。 For example, when a user instructs execution of a copy job, the information processing device 2 drives the scanner unit 8 to read the original, and outputs the image data of the original to the printer unit 9. The information processing device 2 then drives the printer section 9 to perform printout based on the image data of the document. In such a copy job, data is not transferred between the information processing device 2 and the external device 3.

また例えば、情報処理装置2は、ネットワーク5を介して外部装置3から印刷ジョブを受信すると、プリンタ部9を駆動して印刷ジョブを実行することにより、印刷ジョブに含まれるデータに基づく印刷出力を行うことができる。情報処理装置2が外部装置3から受信するデータは印刷ジョブに限られない。例えば、情報処理装置2は、外部装置3からFAX送信用のデータを受信することがある。FAX送信用のデータを受信すると、情報処理装置2は、そのデータに基づきFAX送信ジョブを実行する。また、情報処理装置2は、情報処理装置2において単に保存しておくためのデータを外部装置3から受信することもある。この場合、情報処理装置2は、外部装置3から保存用のデータを受信すると、そのデータを内部に保存する。 For example, when the information processing device 2 receives a print job from the external device 3 via the network 5, it drives the printer unit 9 to execute the print job, thereby producing a print output based on the data included in the print job. It can be carried out. The data that the information processing device 2 receives from the external device 3 is not limited to print jobs. For example, the information processing device 2 may receive data for FAX transmission from the external device 3. Upon receiving the data for FAX transmission, the information processing device 2 executes the FAX transmission job based on the data. The information processing device 2 may also receive data from the external device 3 that is simply to be stored in the information processing device 2 . In this case, upon receiving storage data from the external device 3, the information processing device 2 stores the data internally.

また、情報処理装置2は、ウイルスを検出するウイルス検出機能を備えており、外部装置3からデータを受信すると、その受信データにウイルスが含まれているか否かを判定するためのウイルス検出処理を行う。情報処理装置2は、後述するように、ウイルスの有無を検出するためのパターンファイルを予め記憶しており、そのパターンファイルを参照することによってウイルス検出処理の対象となるデータにウイルスが含まれているか否かを判定する。 The information processing device 2 is also equipped with a virus detection function that detects viruses, and when receiving data from the external device 3, performs virus detection processing to determine whether the received data contains a virus. conduct. As will be described later, the information processing device 2 stores in advance a pattern file for detecting the presence or absence of a virus, and by referring to the pattern file, it is possible to determine whether data to be subjected to virus detection processing contains a virus. Determine whether or not there is.

例えば、情報処理装置2は、外部装置3から印刷ジョブを受信した場合、印刷ジョブの実行を開始する前にその印刷ジョブに含まれているデータを処理対象データとしてウイルス検出処理を行う。そして情報処理装置2は、ウイルス検出処理が終了した後、印刷ジョブに含まれるデータに基づいて印刷出力を行う。 For example, when the information processing device 2 receives a print job from the external device 3, it performs virus detection processing using data included in the print job as processing target data before starting execution of the print job. After the virus detection process is completed, the information processing device 2 prints out data based on the data included in the print job.

ウイルス検出処理においてデータからウイルスが検出された場合、情報処理装置2は、ユーザーに対して警告を行う。ただし、本実施形態では、印刷対象のデータからウイルスが検出されたとしても、情報処理装置2による印刷出力は制限されない。印刷出力は、ウイルスに感染しているデータそのものを外部へ出力するものではなく、描画されたシート材を出力するだけあるので、ウイルス感染を蔓延させる可能性がないからである。尚、印刷対象のデータからウイルスが検出された場合、そのデータに基づく印刷出力が完了した後、そのデータを情報処理装置2から削除するようにしても良い。 If a virus is detected from the data in the virus detection process, the information processing device 2 issues a warning to the user. However, in this embodiment, even if a virus is detected in the data to be printed, the print output by the information processing device 2 is not restricted. This is because the printout does not output the virus-infected data itself to the outside, but only outputs the sheet material on which the drawings are made, so there is no possibility of spreading the virus infection. Note that if a virus is detected in the data to be printed, the data may be deleted from the information processing device 2 after the printout based on the data is completed.

外部装置3は、例えば一般的なパーソナルコンピュータ(PC)で構成され、情報処理装置2に対して印刷ジョブやその他のデータを送信することができる装置である。例えば、外部装置3には情報処理装置2に対応するドライバプログラムが予めインストールされている。外部装置3は、そのドライバプログラムを実行することにより、情報処理装置2に対して印刷ジョブなどのデータを送信することができる。尚、外部装置3は、パーソナルコンピュータに限られず、タブレット端末やスマートフォンなどで構成される装置であっても構わない。 The external device 3 is, for example, a general personal computer (PC), and is a device that can send print jobs and other data to the information processing device 2 . For example, a driver program corresponding to the information processing device 2 is installed in the external device 3 in advance. The external device 3 can transmit data such as a print job to the information processing device 2 by executing its driver program. Note that the external device 3 is not limited to a personal computer, and may be a device such as a tablet terminal or a smartphone.

サーバー4は、ウイルス検出処理において参照されるパターンファイルを管理するサーバーである。サーバー4において管理されるパターンファイルは、新たなウイルスの出現に伴って逐次更新される。そのため、サーバー4は、新たなウイルスを検出可能とするための最新バージョンのパターンファイルを常に保持している。 The server 4 is a server that manages pattern files that are referenced in virus detection processing. The pattern file managed by the server 4 is updated sequentially as new viruses appear. Therefore, the server 4 always maintains the latest version of the pattern file to enable detection of new viruses.

情報処理装置2は、サーバー4との通信を定期的に行い、サーバー4において管理されているパターンファイルのバージョンが更新されているか否かを確認する。情報処理装置2は、サーバー4に保持されているパターンファイルのバージョンが自機で保持しているパターンファイルのバージョンよりも新しい場合、パターンファイルが更新されたことを認識する。そして情報処理装置2は、サーバー4から新バージョンのパターンファイルを自動ダウンロードする。また、情報処理装置2は、新バージョンのパターンファイルのダウンロードが完了すると、自機で保持している旧バージョンのパターンファイルを新バージョンのパターンファイルに更新するファイル更新処理を行う。特に本実施形態の情報処理装置2は、ジョブの実行効率を低下させることがないタイミングでファイル更新処理を行うように構成される。以下、このような情報処理装置2について更に詳しく説明する。 The information processing device 2 periodically communicates with the server 4 to check whether the version of the pattern file managed by the server 4 has been updated. If the version of the pattern file held in the server 4 is newer than the version of the pattern file held in itself, the information processing device 2 recognizes that the pattern file has been updated. The information processing device 2 then automatically downloads the new version of the pattern file from the server 4. Further, when the download of the new version of the pattern file is completed, the information processing device 2 performs a file update process to update the old version of the pattern file held by itself to the new version of the pattern file. In particular, the information processing apparatus 2 of this embodiment is configured to perform file update processing at a timing that does not reduce job execution efficiency. Hereinafter, such an information processing device 2 will be explained in more detail.

図2は、情報処理装置2のハードウェア構成の一例を示す図である。情報処理装置2は、そのハードウェア構成として、操作パネル7、スキャナ部8、プリンタ部9、FAX部10、制御部11、記憶部12、通信インタフェース13、画像メモリ14、通電制御部15、電源供給部16及びジョブ制御部17を備えており、これらがデータバス18を介して相互にデータの入出力を行うことができる構成である。 FIG. 2 is a diagram showing an example of the hardware configuration of the information processing device 2. As shown in FIG. The information processing device 2 has a hardware configuration including an operation panel 7, a scanner section 8, a printer section 9, a FAX section 10, a control section 11, a storage section 12, a communication interface 13, an image memory 14, a power supply control section 15, and a power supply. It includes a supply section 16 and a job control section 17, and is configured to be able to input and output data to and from each other via a data bus 18.

操作パネル7は、表示部7aと操作部7bとを備えている。表示部7aは、例えばカラー液晶ディスプレイなどによって構成され、ユーザーに対して操作を促すための各種の操作画面を表示する。操作部7bは、表示部7aの画面上に配置されるタッチパネルキーや表示部7aの画面周囲に配置される押しボタンキーなどによって構成され、ユーザーによる操作を受け付ける。 The operation panel 7 includes a display section 7a and an operation section 7b. The display section 7a is constituted by, for example, a color liquid crystal display, and displays various operation screens for prompting the user to perform operations. The operation section 7b is configured with touch panel keys arranged on the screen of the display section 7a, push button keys arranged around the screen of the display section 7a, and receives operations by the user.

スキャナ部8及びプリンタ部9は、上述したものである。ここで、プリンタ部9は、定着部9aを備えている。定着部9aは、画像データに基づくトナー像が転写されたシート材に対して加熱処理及び加圧処理を施すことによってトナー像をシート材に定着させる機能を有している。印刷ジョブの実行中に定着部9aがトナー像を確実にシート材に定着させるためには、印刷ジョブの実行開始前に定着部9aを予めウォームアップさせておくことが必要である。このウォームアップにより、定着部9aは、所定温度へ昇温された状態となり、印刷ジョブの実行開始後にシート材に対する加熱処理を良好に行うことができるようになる。 The scanner section 8 and printer section 9 are as described above. Here, the printer section 9 includes a fixing section 9a. The fixing unit 9a has a function of fixing the toner image onto the sheet material by subjecting the sheet material to which the toner image based on the image data has been transferred, to heat treatment and pressure treatment. In order for the fixing section 9a to reliably fix the toner image on the sheet material during execution of a print job, it is necessary to warm up the fixing section 9a in advance before starting execution of the print job. This warm-up brings the fixing unit 9a into a state where the temperature is raised to a predetermined temperature, and it becomes possible to perform heat treatment on the sheet material well after starting execution of the print job.

FAX部10は、図示を省略する公衆電話網を介してFAXデータの送受信を行うためのものである。 The FAX unit 10 is for transmitting and receiving FAX data via a public telephone network (not shown).

制御部11は、情報処理装置2の各部の動作を制御するものである。制御部11は、CPU11aと、メモリ11bとを備えている。CPU11aは、記憶部12に記憶されている基本プログラム20及びウイルス検出プログラム21を読み出して実行する演算処理ユニットである。メモリ11bは、CPU11aが基本プログラム20及びウイルス検出プログラム21を実行することによって発生する一時的なデータを記憶したり、CPU11aが基本プログラム20及びウイルス検出プログラム21の実行中に参照するデータを記憶したりするものである。メモリ11bは記憶部12よりも高速アクセスが可能であるため、CPU11aは、基本プログラム20及びウイルス検出プログラム21の実行中にメモリ11bをワークエリアとして使用することにより、演算処理を効率的に行うことができる。 The control section 11 controls the operation of each section of the information processing device 2 . The control unit 11 includes a CPU 11a and a memory 11b. The CPU 11a is an arithmetic processing unit that reads and executes the basic program 20 and the virus detection program 21 stored in the storage unit 12. The memory 11b stores temporary data generated when the CPU 11a executes the basic program 20 and the virus detection program 21, and stores data that the CPU 11a refers to while executing the basic program 20 and the virus detection program 21. It is something that can be used. Since the memory 11b can be accessed faster than the storage unit 12, the CPU 11a can efficiently perform arithmetic processing by using the memory 11b as a work area while the basic program 20 and virus detection program 21 are being executed. Can be done.

記憶部12は、例えばハードディスクドライブ(HDD)又はソリッドステートドライブ(SSD)で構成される不揮発性の記憶手段である。この記憶部12には、上述した基本プログラム20とウイルス検出プログラム21とが記憶される。基本プログラム20は、情報処理装置2においてジョブを受け付けたり、ジョブを管理したりするための基本的なプログラムである。ウイルス検出プログラム21は、情報処理装置2にウイルス検出機能を付与するプログラムである。 The storage unit 12 is a nonvolatile storage means configured with, for example, a hard disk drive (HDD) or a solid state drive (SSD). The storage unit 12 stores the basic program 20 and virus detection program 21 described above. The basic program 20 is a basic program for accepting jobs and managing jobs in the information processing device 2 . The virus detection program 21 is a program that provides the information processing device 2 with a virus detection function.

また記憶部12には、ウイルスの有無を検出するためのパターンファイルを記憶するためのパターンファイル記憶領域22と、ユーザーによって投入されたジョブを記憶するためのジョブ記憶領域23とが設けられる。パターンファイル記憶領域22には、サーバー4からダウンロードされるパターンファイルが保存される。このパターンファイル記憶領域22には、旧バージョンのパターンファイルと、新バージョンのパターンファイルとを保存することが可能である。また、ジョブ記憶領域23は、情報処理装置2において受け付けられたジョブであって、情報処理装置2において実行待ちのジョブを保存しておくための記憶領域である。 The storage unit 12 is also provided with a pattern file storage area 22 for storing a pattern file for detecting the presence or absence of a virus, and a job storage area 23 for storing jobs submitted by the user. The pattern file storage area 22 stores pattern files downloaded from the server 4. This pattern file storage area 22 can store an old version of a pattern file and a new version of a pattern file. Further, the job storage area 23 is a storage area for storing jobs that have been accepted by the information processing apparatus 2 and are waiting to be executed in the information processing apparatus 2.

通信インタフェース13は、情報処理装置2をネットワーク5に接続するためのインタフェースである。情報処理装置2は、この通信インタフェース13を介して、外部装置3やサーバー4と通信を行う。 The communication interface 13 is an interface for connecting the information processing device 2 to the network 5. The information processing device 2 communicates with the external device 3 and the server 4 via this communication interface 13 .

画像メモリ14は、印刷対象となる画像データや、スキャナ部8によって生成された画像データを記憶するためのメモリである。例えば、コピージョブの場合、スキャナ部8で生成された画像データが画像メモリ14に一旦保存され、その画像データに対して所定の画像処理が施された後、画像メモリ14からプリンタ部9へ画像データが出力される。 The image memory 14 is a memory for storing image data to be printed and image data generated by the scanner unit 8. For example, in the case of a copy job, image data generated by the scanner unit 8 is temporarily stored in the image memory 14, and after predetermined image processing is performed on the image data, the image data is transferred from the image memory 14 to the printer unit 9. Data is output.

電源供給部16は、各部に対して電力を供給するものである。通電制御部15は、情報処理装置2における通電状態を制御する処理部である。例えば通常通電状態のとき、通電制御部15は、電源供給部16に対して各部への電力供給を指示する。また省電力状態へ移行させるとき、通電制御部15は、電源供給部16に対して一部の電力供給を停止させることを指示する。例えば、通電制御部15は、操作パネル7、スキャナ部8、プリンタ部9及びジョブ制御部17への電力供給を停止させることにより、通電状態を省電力状態へ移行させる。 The power supply section 16 supplies power to each section. The energization control unit 15 is a processing unit that controls the energization state in the information processing device 2 . For example, in the normal energization state, the energization control section 15 instructs the power supply section 16 to supply power to each section. Further, when transitioning to the power saving state, the energization control unit 15 instructs the power supply unit 16 to stop supplying a part of the power. For example, the energization control section 15 shifts the energization state to the power saving state by stopping the power supply to the operation panel 7, the scanner section 8, the printer section 9, and the job control section 17.

ジョブ制御部17は、情報処理装置2におけるジョブの実行を制御するものである。すなわち、ジョブ制御部17は、スキャナ部8、プリンタ部9及びFAX部10を駆動して動作させることにより、ユーザーによって指定されたジョブの実行を制御する。このとき、ジョブ制御部17は、画像メモリ14を介してスキャナ部8、プリンタ部9及びFAX部10の相互間で画像データの受け渡しが行われるように制御する。また、ジョブ制御部17は、ジョブの実行に伴って取得されるデータに対するデータ処理を行うことも可能である。例えば、印刷ジョブの場合、ジョブ制御部17は、印刷ジョブに含まれるデータに基づいてRIP(Raster Image Processing)処理などの予め指定された処理を実行することができる。そのため、ジョブ制御部17は、ジョブの実行に伴って取得されるデータに対するデータ処理を行うデータ処理手段としても機能する。 The job control unit 17 controls job execution in the information processing device 2 . That is, the job control section 17 controls the execution of a job designated by the user by driving and operating the scanner section 8, printer section 9, and FAX section 10. At this time, the job control section 17 controls the image data to be exchanged between the scanner section 8 , printer section 9 , and FAX section 10 via the image memory 14 . Further, the job control unit 17 can also perform data processing on data acquired in conjunction with execution of a job. For example, in the case of a print job, the job control unit 17 can execute prespecified processing such as RIP (Raster Image Processing) processing based on data included in the print job. Therefore, the job control unit 17 also functions as a data processing unit that performs data processing on data acquired in conjunction with job execution.

このようなジョブ制御部17によるジョブの実行の制御は、制御部11による動作からは独立して行われる。そのため、制御部11において何らの処理が行われている場合であっても、ジョブ制御部17は、制御部11において行われている処理と並行してジョブの実行を制御することができる。 Such control of job execution by the job control unit 17 is performed independently of the operation by the control unit 11. Therefore, even if any processing is being performed in the control section 11, the job control section 17 can control the execution of the job in parallel with the processing being performed in the control section 11.

次にCPU11aが基本プログラム20及びウイルス検出プログラム21を実行したときの制御部11の機能構成について説明する。図3は、制御部11の機能構成の一例を示すブロック図である。CPU11aが基本プログラム20を実行することにより、制御部11は、ジョブマネージャ30として機能する。また、CPU11aがウイルス検出プログラム21を実行することにより、制御部11は、ウイルス検出アプリケーション40として機能する。ジョブマネージャ30とウイルス検出アプリケーション40とはCPU11aのマルチタスク機能により同時並列的に動作することができる。 Next, the functional configuration of the control unit 11 when the CPU 11a executes the basic program 20 and the virus detection program 21 will be described. FIG. 3 is a block diagram showing an example of the functional configuration of the control section 11. As shown in FIG. The control unit 11 functions as a job manager 30 by the CPU 11a executing the basic program 20. Furthermore, the control unit 11 functions as a virus detection application 40 by executing the virus detection program 21 by the CPU 11a. The job manager 30 and the virus detection application 40 can operate simultaneously in parallel due to the multitasking function of the CPU 11a.

ジョブマネージャ30は、ジョブ受付部31とジョブ管理部32とを備えている。ジョブ受付部31は、情報処理装置2において実行すべきジョブを受け付ける処理部である。例えば、ユーザーが操作パネル7を操作することによってコピージョブやスキャンジョブなどの実行を指示した場合、ジョブ受付部31は、ユーザーによって指定されたジョブを受け付ける。またジョブ受付部31は、通信インタフェース13を介して印刷ジョブを受信した場合、その印刷ジョブを受け付ける。 The job manager 30 includes a job reception section 31 and a job management section 32. The job accepting unit 31 is a processing unit that accepts jobs to be executed in the information processing device 2 . For example, when a user instructs execution of a copy job, a scan job, etc. by operating the operation panel 7, the job accepting unit 31 accepts the job specified by the user. Further, when the job reception unit 31 receives a print job via the communication interface 13, the job reception unit 31 accepts the print job.

ジョブ管理部32は、ジョブ受付部31によって受け付けられたジョブを管理し、ジョブ制御部17に対して実行すべきジョブを指示する処理部である。ジョブ管理部32は、ジョブ受付部31によってジョブが受け付けられると、そのジョブをジョブ記憶領域23に保存する。そしてジョブ管理部32は、ジョブ受付部31によって受け付けられたジョブを待ち行列に登録して管理する。待ち行列には、ジョブ受付部31によって受け付けられた順に複数のジョブを登録しておくことができる。 The job management unit 32 is a processing unit that manages jobs accepted by the job reception unit 31 and instructs the job control unit 17 about jobs to be executed. When a job is accepted by the job accepting unit 31, the job managing unit 32 stores the job in the job storage area 23. The job management unit 32 then registers the jobs accepted by the job reception unit 31 in a queue and manages them. A plurality of jobs can be registered in the queue in the order in which they are received by the job reception unit 31.

例えば、ジョブ制御部17によってジョブが実行されているときにジョブ受付部31によってジョブが受け付けられると、ジョブ管理部32は、そのジョブを待ち行列に登録する。このとき、待ち行列に既にジョブが登録されていれば、ジョブ管理部32は、既に登録されているジョブの次に実行すべきジョブとして、受け付けられたジョブを登録する。そしてジョブ制御部17によって実行されていたジョブが終了し、次のジョブを実行することができる状態になると、ジョブ管理部32は、待ち行列に登録されている次のジョブの実行をジョブ制御部17に指示する。これにより、ジョブ制御部17は、待ち行列に登録されている順にジョブを読み出して実行する。 For example, when a job is accepted by the job receiving unit 31 while the job is being executed by the job control unit 17, the job managing unit 32 registers the job in a queue. At this time, if a job is already registered in the queue, the job management unit 32 registers the accepted job as a job to be executed next to the already registered job. When the job being executed by the job control unit 17 is finished and the next job can be executed, the job management unit 32 causes the job control unit to execute the next job registered in the queue. 17. Thereby, the job control unit 17 reads and executes the jobs in the order in which they are registered in the queue.

ウイルス検出アプリケーション40は、ウイルス検出機能を動作させる処理部である。ウイルス検出アプリケーション40は、ウイルス検出部41と、ダウンロード部42と、ファイル更新部43とを備えている。 The virus detection application 40 is a processing unit that operates a virus detection function. The virus detection application 40 includes a virus detection section 41, a download section 42, and a file update section 43.

ウイルス検出部41は、ウイルス検出の対象となるデータに対してウイルス検出処理を実行する処理部である。ウイルス検出部41は、その起動時に記憶部12のパターンファイル記憶領域22に保存されているパターンファイル22aを読み出し、メモリ11bにおける所定の記憶領域11xにパターンファイル22aを展開する。これにより、ウイルス検出部41は、ウイルス検出処理を行うときにメモリ11bに展開したパターンファイル22aを高速で参照することができるようになる。すなわち、ウイルス検出部41は、ウイルス検出の対象となるデータを取得すると、メモリ11bに展開したパターンファイル22aを参照することにより、そのデータにウイルスが含まれているか否かを判定するウイルス検出処理を実行する。尚、パターンファイル22aは、ウイルスが定義されたブラックリスト形式のファイルであっても良いし、ウイルスが存在しない安全なデータであることが定義されたホワイトリスト形式のファイルであっても構わない。 The virus detection unit 41 is a processing unit that performs virus detection processing on data that is a target of virus detection. When the virus detection unit 41 is activated, it reads the pattern file 22a stored in the pattern file storage area 22 of the storage unit 12, and develops the pattern file 22a in a predetermined storage area 11x in the memory 11b. Thereby, the virus detection unit 41 can refer to the pattern file 22a developed in the memory 11b at high speed when performing virus detection processing. That is, when the virus detection unit 41 acquires data to be detected by a virus, it performs virus detection processing to determine whether or not the data contains a virus by referring to the pattern file 22a developed in the memory 11b. Execute. Note that the pattern file 22a may be a blacklist-type file in which viruses are defined, or a whitelist-type file in which safe data is defined as virus-free.

例えば、ウイルス検出部41は、通信インタフェース13を介して外部装置3から印刷ジョブを受信した場合に、その印刷ジョブに含まれるデータをウイルス検出の対象として、ウイルス検出処理を実行する。このとき、印刷ジョブに含まれるデータは、ウイルス検出処理によって占有される。したがって、ジョブ管理部32は、ウイルス検出部41によるウイルス検出処理が終了するまでジョブ制御部17に印刷ジョブの実行を指示することができない。それ故、ジョブ管理部32は、ウイルス検出処理が終了した後にジョブ制御部17に対して印刷ジョブの実行を指示する。 For example, when the virus detection unit 41 receives a print job from the external device 3 via the communication interface 13, the virus detection unit 41 executes a virus detection process using data included in the print job as a virus detection target. At this time, the data included in the print job is occupied by the virus detection process. Therefore, the job management section 32 cannot instruct the job control section 17 to execute a print job until the virus detection section 41 finishes the virus detection process. Therefore, the job management section 32 instructs the job control section 17 to execute the print job after the virus detection process is completed.

これに対し、ユーザーによってコピージョブやスキャンジョブの実行が指示された場合には、ウイルス検出部41は、ウイルス検出処理を実行しない。なぜなら、コピージョブやスキャンジョブの場合には情報処理装置2に対して外部からウイルスが入り込むことがないからである。そのため、ジョブ管理部32は、ユーザーによってコピージョブやスキャンジョブの実行が指示された場合には、ジョブ制御部17に対して速やかにジョブの実行を指示することができる。 On the other hand, when the user instructs to execute a copy job or a scan job, the virus detection unit 41 does not execute the virus detection process. This is because, in the case of a copy job or a scan job, a virus will not enter the information processing apparatus 2 from the outside. Therefore, when the user instructs the job management section 32 to execute a copy job or scan job, the job management section 32 can promptly instruct the job control section 17 to execute the job.

図4は、ウイルス検出部41によるウイルス検出処理が行われるジョブと、そうでないジョブとを例示する図である。まず図4(a)に示すように、情報処理装置2が外部装置3から印刷ジョブD10を受信するときには、印刷ジョブD10に含まれるデータD11にウイルスが含まれている可能性がある。そのため、ウイルス検出部41は、印刷ジョブD10に含まれるデータD11に対するウイルス検出処理を実行する(プロセスP1)。そしてウイルス検出部41によるウイルス検出処理が終了した後にジョブ制御部17がジョブ実行処理を行い(プロセスP2)、印刷ジョブD10に含まれるデータD11に基づく印刷出力を行う。 FIG. 4 is a diagram illustrating jobs for which virus detection processing is performed by the virus detection unit 41 and jobs for which virus detection processing is not performed. First, as shown in FIG. 4A, when the information processing device 2 receives a print job D10 from the external device 3, there is a possibility that data D11 included in the print job D10 contains a virus. Therefore, the virus detection unit 41 executes virus detection processing on the data D11 included in the print job D10 (process P1). After the virus detection process by the virus detection unit 41 is completed, the job control unit 17 performs job execution processing (process P2) and prints out data based on the data D11 included in the print job D10.

また、図4(b)に示すように、ユーザーが操作パネル7を操作してコピージョブやスキャンジョブの実行を指示した場合(プロセスP5)、情報処理装置2に対してウイルスは入り込まない。そのため、情報処理装置2は、ウイルス検出部41によるウイルス検出処理を行うことなく、ジョブ制御部17にジョブの実行を指示し(プロセスP6)、ユーザーによって指定されたジョブの実行処理を行う(プロセスP7)。尚、ユーザーによってFAX送信ジョブの実行が指示された場合もこれと同様である。 Furthermore, as shown in FIG. 4B, when the user operates the operation panel 7 to instruct execution of a copy job or scan job (process P5), a virus does not enter the information processing apparatus 2. Therefore, the information processing device 2 instructs the job control unit 17 to execute the job (process P6) and executes the job specified by the user (process P7). Note that this also applies when the user instructs execution of a FAX transmission job.

このようにウイルス検出部41は、外部装置3から印刷ジョブを取得した場合にはその印刷ジョブの実行が開始される前にウイルス検出処理を実行する。これに対し、ユーザーによってコピージョブ、スキャンジョブ又はFAX送信ジョブの実行が指示された場合、ウイルス検出部41は、ウイルス検出処理を行わない。 In this way, when the virus detection unit 41 acquires a print job from the external device 3, it executes the virus detection process before the execution of the print job is started. On the other hand, when the user instructs execution of a copy job, scan job, or FAX transmission job, the virus detection unit 41 does not perform virus detection processing.

ダウンロード部42は、定期的にサーバー4にアクセスし、サーバー4から新バージョンのパターンファイルをダウンロードする処理部である。ダウンロード部42は、サーバー4にアクセスすると、メモリ11bに展開されているパターンファイル22aよりも新しいバージョンのパターンファイルがサーバー4に登録されているか否かを判別する。その結果、新バージョンのパターンファイルがサーバー4に登録されていれば、ダウンロード部42は、サーバー4から新バージョンのパターンファイルをダウンロードする。 The download unit 42 is a processing unit that periodically accesses the server 4 and downloads a new version of the pattern file from the server 4. When the download unit 42 accesses the server 4, it determines whether a pattern file of a newer version than the pattern file 22a developed in the memory 11b is registered in the server 4. As a result, if the new version of the pattern file is registered in the server 4, the download unit 42 downloads the new version of the pattern file from the server 4.

図5は、ダウンロード部42による処理の概念を説明する図である。図5に示すように、ダウンロード部42は、サーバー4から新バージョンのパターンファイル22bをダウンロードするとき、そのパターンファイル22bを、記憶部12のパターンファイル記憶領域22へ格納する。このとき、ダウンロード部42は、旧バージョンのパターンファイル22aが保存されている領域とは異なる領域に新バージョンのパターンファイル22bを保存する。これにより、パターンファイル記憶領域22には、旧バージョンのパターンファイル22aと、新バージョンのパターンファイル22bとの2つのパターンファイルが格納されることになる。ただし、これに限られず、ダウンロード部42は、新バージョンのパターンファイル22bを旧バージョンのパターンファイル22aに上書きすることにより、新バージョンのパターンファイル22bだけをパターンファイル記憶領域22に保存するようにしても良い。そして新バージョンのパターンファイル22bの全てがパターンファイル記憶領域22に保存されると、ダウンロード部42によるダウンロード処理が完了する。 FIG. 5 is a diagram illustrating the concept of processing by the download unit 42. As shown in FIG. 5, when downloading a new version of the pattern file 22b from the server 4, the download unit 42 stores the pattern file 22b in the pattern file storage area 22 of the storage unit 12. At this time, the download unit 42 stores the new version of the pattern file 22b in an area different from the area where the old version of the pattern file 22a is stored. As a result, the pattern file storage area 22 stores two pattern files: the old version pattern file 22a and the new version pattern file 22b. However, the present invention is not limited to this, and the download unit 42 saves only the new version of the pattern file 22b in the pattern file storage area 22 by overwriting the old version of the pattern file 22a with the new version of the pattern file 22b. Also good. When all of the new version of the pattern file 22b is saved in the pattern file storage area 22, the download process by the download unit 42 is completed.

ファイル更新部43は、ダウンロード部42による新バージョンのパターンファイル22bのダウンロードが完了した後に、新バージョンのパターンファイル22bを用いてウイルス検出処理を行うことができるように、メモリ11bに展開されているパターンファイル22aを新バージョンのパターンファイル22bに更新するファイル更新処理を行う。ファイル更新部43は、ファイル更新処理を開始すると、ウイルス検出部41を再起動させる。このとき、ファイル更新部43は、ウイルス検出部41に対し、記憶部12から新バージョンのパターンファイル22bを読み出してメモリ11bに展開することを指示する。したがって、ウイルス検出部41は、再起動時に記憶部12から新バージョンのパターンファイル22bを読み出してメモリ11bに展開するので、ウイルス検出処理を行うときには新バージョンのパターンファイル22bを参照することができるようになる。尚、ファイル更新部43は、ファイル更新処理によってウイルス検出部41だけを再起動させるようにしても良いし、ウイルス検出アプリケーション40の全体を再起動させるようにしても良い。 The file update unit 43 is expanded in the memory 11b so that after the download unit 42 completes downloading of the new version of the pattern file 22b, virus detection processing can be performed using the new version of the pattern file 22b. A file update process is performed to update the pattern file 22a to a new version of the pattern file 22b. The file update unit 43 restarts the virus detection unit 41 when starting the file update process. At this time, the file update section 43 instructs the virus detection section 41 to read the new version of the pattern file 22b from the storage section 12 and expand it into the memory 11b. Therefore, since the virus detection unit 41 reads the new version of the pattern file 22b from the storage unit 12 and expands it to the memory 11b when restarting, the new version of the pattern file 22b can be referenced when performing virus detection processing. become. Note that the file update section 43 may restart only the virus detection section 41 or may restart the entire virus detection application 40 through the file update process.

図6は、ファイル更新処理の概念を説明する図である。図6に示すように、ファイル更新部43がファイル更新処理を行うことによってウイルス検出部41を再起動させると、ウイルス検出部41は、記憶部12のパターンファイル記憶領域22から新バージョンのパターンファイル22bを選択的に読み出してメモリ11bの所定の記憶領域11xに展開する。このとき、旧バージョンのパターンファイル22aは、メモリ11bには展開されない。そのため、本実施形態では、パターンファイル22aを更新するときに、メモリ11bに対して旧バージョンのパターンファイル22aと新バージョンのパターンファイル22bとの双方が格納されることはなく、メモリ11bの記憶容量を従来よりも小さくすることができ、装置コストの上昇を抑えることができる。 FIG. 6 is a diagram illustrating the concept of file update processing. As shown in FIG. 6, when the file update unit 43 restarts the virus detection unit 41 by performing file update processing, the virus detection unit 41 downloads a new version of the pattern file from the pattern file storage area 22 of the storage unit 12. 22b is selectively read out and developed in a predetermined storage area 11x of the memory 11b. At this time, the old version of the pattern file 22a is not expanded into the memory 11b. Therefore, in this embodiment, when updating the pattern file 22a, both the old version pattern file 22a and the new version pattern file 22b are not stored in the memory 11b, and the storage capacity of the memory 11b is can be made smaller than before, and an increase in device cost can be suppressed.

ファイル更新部43は、上記のようなファイル更新処理によってメモリ11bに新バージョンのパターンファイル22bが展開されると、記憶部12から旧バージョンのパターンファイル22aを削除するようにしても良い。これにより、記憶部12の記憶可能領域を拡げることができるという利点がある。 The file update unit 43 may delete the old version of the pattern file 22a from the storage unit 12 when the new version of the pattern file 22b is developed in the memory 11b by the file update process as described above. This has the advantage that the storable area of the storage unit 12 can be expanded.

また、本実施形態のファイル更新部43は、ダウンロード部42によるダウンロードが完了した後、ジョブの処理効率が低下しないタイミングを見計らって上述したファイル更新の実行を開始する。具体的に説明すると、ファイル更新部43は、ダウンロード部42によるダウンロードが完了した後、ウイルス検出部41によるウイルス検出処理が行われていないことを条件としてファイル更新処理を実行する。ウイルス検出部41によるウイルス検出処理が行われているときに、ファイル更新処理を開始してウイルス検出部41を再起動させてしまうと、それまでに行われたウイルス検出処理が無駄になる。また、ウイルス検出部41の再起動が完了した後に再び同一データに対するウイルス検出処理がはじめから開始されることになるため、情報処理装置2において印刷ジョブの実行が開始されるまでの時間が長くなり、ジョブの実行効率が低下する。これを防止するため、ファイル更新部43は、ウイルス検出部41によるウイルス検出処理が行われていないことを条件としてファイル更新処理を行うのである。 Furthermore, after the download by the download unit 42 is completed, the file update unit 43 of this embodiment starts executing the above-described file update at a time when the job processing efficiency will not decrease. To be more specific, the file update unit 43 executes the file update process after the download unit 42 completes the download, on the condition that the virus detection unit 41 has not performed the virus detection process. If the file update process is started and the virus detection unit 41 is restarted while the virus detection unit 41 is performing virus detection processing, the virus detection processing performed up to that point will be wasted. In addition, after the virus detection unit 41 has been restarted, the virus detection process for the same data will be restarted from the beginning, which will lengthen the time it takes for the information processing device 2 to start executing the print job. , job execution efficiency decreases. In order to prevent this, the file update unit 43 performs the file update process on the condition that the virus detection unit 41 has not performed the virus detection process.

例えば、ファイル更新部43は、ダウンロード部42によるダウンロード完了時にウイルス検出部41によるウイルス検出処理が行われている場合、ファイル更新処理の実行を一時的に保留する。そしてウイルス検出部41によるウイルス検出処理が終了した後に、ファイル更新部43は、ファイル更新処理の実行を開始する。したがって、印刷ジョブの受信に伴い、印刷ジョブに含まれるデータに対するウイルス検出処理が行われているときに新バージョンのパターンファイル22bのダウンロードが完了した場合には、ファイル更新処理が一時的に保留された状態となり、ウイルス検出処理が終了して印刷ジョブの実行が開始されたタイミングでファイル更新処理が実行されることになる。そのため、ファイル更新部43は、ジョブ制御部17によって印刷ジョブが実行されているときにウイルス検出部41を再起動させて新バージョンのパターンファイル22bをメモリ11bに展開させることができる。つまり、ジョブ制御部17は、ファイル更新部43によるファイル更新処理が行われているときにそれと並行して印刷ジョブを実行するので、効率的に印刷ジョブを実行することができる。 For example, if the virus detection unit 41 is performing a virus detection process when the download unit 42 completes downloading, the file update unit 43 temporarily suspends execution of the file update process. After the virus detection process by the virus detection unit 41 is completed, the file update unit 43 starts executing the file update process. Therefore, if the download of the new version of the pattern file 22b is completed while a virus detection process is being performed on the data included in the print job upon reception of the print job, the file update process will be temporarily suspended. The file update process will be executed at the timing when the virus detection process is finished and the print job execution is started. Therefore, the file update unit 43 can restart the virus detection unit 41 and deploy the new version of the pattern file 22b in the memory 11b while the job control unit 17 is executing the print job. In other words, since the job control unit 17 executes the print job in parallel with the file update process performed by the file update unit 43, it is possible to efficiently execute the print job.

また、ダウンロード部42によるダウンロード完了時にウイルス検出部41によるウイルス検出処理が行われていない場合、ファイル更新部43は、ダウンロード完了時にファイル更新処理の実行を開始する。すなわち、ダウンロード完了時にウイルス検出処理が行われていなければその直後に印刷ジョブが開始されることはない。そのため、ファイル更新部43は、ダウンロード部42によるダウンロードが完了したタイミングでファイル更新処理の実行を開始するのである。この場合も、ジョブの実行効率を低下させることなく、ファイル更新処理を行うことができる。 Furthermore, if the virus detection unit 41 has not performed the virus detection process when the download unit 42 completes the download, the file update unit 43 starts executing the file update process when the download completes. That is, if the virus detection process is not performed when the download is completed, the print job will not be started immediately after the download is completed. Therefore, the file update unit 43 starts executing the file update process at the timing when the download by the download unit 42 is completed. In this case as well, file update processing can be performed without reducing job execution efficiency.

次に本実施形態の情報処理装置2において行われる処理手順について説明する。図7は、情報処理装置2がウイルス検出プログラム21をインストールする処理手順を示すフローチャートである。この処理は、例えば制御部11のCPU11aがウイルス検出プログラム21のインストーラを起動することによって行われる処理である。情報処理装置2は、この処理を開始すると、ウイルス検出プログラム21を記憶部12にインストールする(ステップS1)。例えば情報処理装置2は、通信インタフェース13を介してサーバー4にアクセスし、サーバー4からウイルス検出プログラム21をダウンロードしてインストールする。また、この他にも、例えば情報処理装置2は、CD-ROMやUSBメモリなどのコンピュータ読み取り可能な記録媒体からウイルス検出プログラム21を読み出して記憶部12にインストールするようにしても良い。 Next, the processing procedure performed in the information processing device 2 of this embodiment will be explained. FIG. 7 is a flowchart showing a processing procedure for the information processing device 2 to install the virus detection program 21. This process is performed by, for example, the CPU 11a of the control unit 11 activating the installer of the virus detection program 21. When the information processing device 2 starts this process, it installs the virus detection program 21 into the storage unit 12 (step S1). For example, the information processing device 2 accesses the server 4 via the communication interface 13, downloads the virus detection program 21 from the server 4, and installs it. In addition, for example, the information processing device 2 may read the virus detection program 21 from a computer-readable recording medium such as a CD-ROM or a USB memory, and install it in the storage unit 12.

情報処理装置2は、ウイルス検出プログラム21をインストールすると、次にサーバー4にアクセスし(ステップS2)、サーバー4に保存されている最新バージョンのパターンファイル22aをダウンロードする(ステップS3)。そして情報処理装置2は、そのパターンファイル22aを記憶部12のパターンファイル記憶領域22に保存する(ステップS4)。以上で、ウイルス検出プログラム21のインストール時の処理が終了する。 After installing the virus detection program 21, the information processing device 2 then accesses the server 4 (step S2) and downloads the latest version of the pattern file 22a stored in the server 4 (step S3). The information processing device 2 then stores the pattern file 22a in the pattern file storage area 22 of the storage unit 12 (step S4). With this, the process for installing the virus detection program 21 is completed.

上記のようにウイルス検出プログラム21がインストールされると、情報処理装置2は、ウイルス検出プログラム21を自動的に起動する。また、情報処理装置2は、その後、電源投入時に、ウイルス検出プログラム21を自動的に起動するようになる。すなわち、CPU11aがウイルス検出プログラム21を実行することにより、制御部11をウイルス検出アプリケーション40として機能させるのである。そして情報処理装置2は、ウイルス検出アプリケーション40を制御部11に常駐させた状態で稼働する。制御部11においてウイルス検出アプリケーション40が機能すると、上述したウイルス検出部41、ダウンロード部42及びファイル更新部43のそれぞれが動作し始める。 When the virus detection program 21 is installed as described above, the information processing device 2 automatically starts the virus detection program 21. Further, the information processing device 2 will then automatically start the virus detection program 21 when the power is turned on. That is, the CPU 11a executes the virus detection program 21, thereby causing the control unit 11 to function as the virus detection application 40. The information processing device 2 operates with the virus detection application 40 resident in the control unit 11. When the virus detection application 40 functions in the control unit 11, each of the above-mentioned virus detection unit 41, download unit 42, and file update unit 43 starts operating.

図8は、ウイルス検出部41による処理手順の一例を示すフローチャートである。この処理は、ウイルス検出部41が起動されることに伴って開始される処理である。ここでは、記憶部12のパターンファイル記憶領域22に旧バージョンのパターンファイル22aのみが記憶されている場合について説明する。ウイルス検出部41は、図8のフローチャートに基づく処理を開始すると、記憶部12のパターンファイル記憶領域22からパターンファイル22aを読み出し(ステップS10)、そのパターンファイル22aをメモリ11bに展開する(ステップS11)。これにより、パターンファイル22aに基づいてウイルス検出処理を行うことができる状態となる。 FIG. 8 is a flowchart illustrating an example of a processing procedure by the virus detection unit 41. This process is a process that is started when the virus detection unit 41 is activated. Here, a case will be described in which only the old version of the pattern file 22a is stored in the pattern file storage area 22 of the storage unit 12. When the virus detection unit 41 starts processing based on the flowchart of FIG. 8, it reads the pattern file 22a from the pattern file storage area 22 of the storage unit 12 (step S10), and expands the pattern file 22a in the memory 11b (step S11). ). This makes it possible to perform virus detection processing based on the pattern file 22a.

ウイルス検出部41は、パターンファイル22aをメモリ11bに展開すると、ウイルス検出の対象となるデータが存在するか否かを判断する(ステップS12)。例えば、通信インタフェース13を介して印刷ジョブを受信している場合、ウイルス検出部41は、ウイルス検出の対象となるデータが存在すると判断する。ウイルス検出の対象となるデータが存在する場合(ステップS12でYES)、ウイルス検出部41は、ウイルス検出の対象となるデータに対するウイルス検出処理を実行する(ステップS13)。このとき、ウイルス検出部41は、起動時にメモリ11bに展開したパターンファイル22aを参照し、パターンファイル22aにおいて定義されている情報に基づき、ウイルス検出の対象であるデータにウイルスが含まれているか否かを判別する。 After expanding the pattern file 22a into the memory 11b, the virus detection unit 41 determines whether or not there is data to be detected as a virus (step S12). For example, when a print job is received via the communication interface 13, the virus detection unit 41 determines that there is data subject to virus detection. If there is data to be detected as a virus (YES in step S12), the virus detection unit 41 executes virus detection processing on the data to be detected as a virus (step S13). At this time, the virus detection unit 41 refers to the pattern file 22a developed in the memory 11b at the time of startup, and determines whether the data to be detected contains a virus based on the information defined in the pattern file 22a. Determine whether

ウイルス検出処理が終了すると、ウイルス検出部41は、ウイルスを検出したか否かを判断し(ステップS14)、ウイルスを検出していれば(ステップS14でYES)、警告処理を行う(ステップS15)。この警告処理では、例えば操作パネル7の表示部7aに、ウイルスを検出した旨の警告表示を行ったり、或いは、図示を省略するスピーカーから警告音を出力したりする。これに対し、ウイルスを検出しなかった場合(ステップS14でNO)、ウイルス検出部41は、警告処理を行わない。 When the virus detection process is completed, the virus detection unit 41 determines whether or not a virus has been detected (step S14), and if a virus has been detected (YES in step S14), performs a warning process (step S15). . In this warning process, for example, a warning display to the effect that a virus has been detected is displayed on the display section 7a of the operation panel 7, or a warning sound is output from a speaker (not shown). On the other hand, if no virus is detected (NO in step S14), the virus detection unit 41 does not perform the warning process.

そしてウイルス検出部41は、ウイルス検出処理の終了したデータをジョブ管理部32へ出力する(ステップS16)。このとき、ウイルス検出部41は、ジョブ管理部32に対してウイルス検出処理が終了したことを通知する。これにより、ウイルス検出部41において印刷ジョブに含まれるデータに対するウイルス検出処理が行われた場合は、ジョブ管理部32に印刷ジョブの実行が可能な状態となったことを通知することができる。 The virus detection unit 41 then outputs the data for which the virus detection process has been completed to the job management unit 32 (step S16). At this time, the virus detection unit 41 notifies the job management unit 32 that the virus detection process has been completed. As a result, when the virus detection unit 41 performs virus detection processing on data included in a print job, it is possible to notify the job management unit 32 that the print job can be executed.

その後、ウイルス検出部41による処理はステップS12に戻る。そして上述した処理を繰り返す。したがって、ウイルス検出部41は、起動後、ウイルス検出の対象となるデータがあれば、その都度、メモリ11bに展開したパターンファイル22aを参照しながらウイルス検出処理を実行する。 Thereafter, the process by the virus detection unit 41 returns to step S12. Then, the above-described process is repeated. Therefore, after startup, the virus detection unit 41 executes virus detection processing while referring to the pattern file 22a developed in the memory 11b each time there is data to be detected.

次に図9は、ダウンロード部42による処理手順の一例を示すフローチャートである。この処理は、ダウンロード部42が起動されることに伴って開始される処理である。ダウンロード部42は、図9のフローチャートに基づく処理を開始すると、まずダウンロードフラグをオフにセットする(ステップS20)。ダウンロードフラグは、新バージョンのパターンファイル22bのダウンロードが完了した場合にオンにセットされるフラグであり、ダウンロード部42の起動時にオフにセットされる。 Next, FIG. 9 is a flowchart showing an example of a processing procedure by the download unit 42. This process is a process that is started when the download unit 42 is activated. When the download unit 42 starts the process based on the flowchart of FIG. 9, it first sets the download flag to OFF (step S20). The download flag is a flag that is set on when the download of the new version of the pattern file 22b is completed, and is set off when the download section 42 is started.

ダウンロードフラグをオフにして起動すると、ダウンロード部42は、サーバー4に新バージョンのパターンファイル22bが保存されているか否かを確認するタイミングであるか否かを判断する(ステップS21)。サーバー4に新バージョンのパターンファイル22bが保存されているか否かを確認するタイミングである場合(ステップS21でYES)、ダウンロード部42は、サーバー4にアクセスし(ステップS22)、新バージョンのパターンファイル22bが保存されているか否かを判断する(ステップS23)。その結果、新バージョンのパターンファイル22bが保存されている場合(ステップS23でYES)、ダウンロード部42は、新バージョンのパターンファイル22bをサーバー4からダウンロードし(ステップS24)、その新バージョンのパターンファイル22bを記憶部12へ保存する(ステップS25)。そして新バージョンのパターンファイル22bのダウンロードが完了すると、ダウンロード部42は、ダウンロードフラグをオンにセットする(ステップS26)。一方、サーバー4に新バージョンのパターンファイル22bが保存されているか否かを確認するタイミングでなかった場合(ステップS21でNO)、ステップS22~S26の処理はスキップする。また、サーバー4に新バージョンのパターンファイル22bが保存されていない場合(ステップS23でNO)、ステップS24~S26の処理はスキップする。 When activated with the download flag turned off, the download unit 42 determines whether it is time to check whether a new version of the pattern file 22b is stored in the server 4 (step S21). If it is time to check whether the new version of the pattern file 22b is stored in the server 4 (YES in step S21), the download unit 42 accesses the server 4 (step S22) and downloads the new version of the pattern file 22b. 22b is saved (step S23). As a result, if the new version of the pattern file 22b is saved (YES in step S23), the download unit 42 downloads the new version of the pattern file 22b from the server 4 (step S24), and downloads the new version of the pattern file 22b from the server 4 (step S24). 22b is stored in the storage unit 12 (step S25). When the download of the new version of the pattern file 22b is completed, the download unit 42 sets the download flag to ON (step S26). On the other hand, if it is not the timing to check whether the new version of the pattern file 22b is stored in the server 4 (NO in step S21), the processing in steps S22 to S26 is skipped. Furthermore, if the new version of the pattern file 22b is not stored in the server 4 (NO in step S23), the processes in steps S24 to S26 are skipped.

次にダウンロード部42は、ダウンロードフラグがオンであるか否かを判断する(ステップS27)。ダウンロードフラグがオンである場合(ステップS27でYES)、ダウンロード部42は、更新完了フラグがオンにセットされているか否かを更に判断する(ステップS28)。更新完了フラグは、ウイルス検出処理において参照されるパターンファイルが新バージョンのパターンファイル22bに更新された場合にオンにセットされるフラグであり、更新されていない場合にはオフにセットされているフラグである。更新完了フラグがオンにセットされている場合(ステップS28)、ダウンロードした新バージョンのパターンファイル22bが既にウイルス検出処理において参照可能な状態に反映されていることになる。したがって、ダウンロード部42は、ダウンロードフラグをオフにセットする(ステップS29)。尚、ダウンロードフラグがオフであった場合(ステップS27でNO)、或いは、更新完了フラグがオフであった場合(ステップS28でNO)、ステップS29の処理はスキップする。 Next, the download unit 42 determines whether the download flag is on (step S27). If the download flag is on (YES in step S27), the download unit 42 further determines whether the update completion flag is set on (step S28). The update completion flag is a flag that is set on when the pattern file referenced in the virus detection process has been updated to a new version of the pattern file 22b, and is set off when the pattern file 22b has not been updated. It is. If the update completion flag is set on (step S28), this means that the downloaded new version of the pattern file 22b has already been reflected in a state that can be referenced in the virus detection process. Therefore, the download unit 42 sets the download flag to OFF (step S29). Note that if the download flag is off (NO in step S27) or if the update completion flag is off (NO in step S28), the process of step S29 is skipped.

その後、ダウンロード部42による処理はステップS21に戻る。そして上述した処理を繰り返す。したがって、ダウンロード部42は、起動後、サーバー4において新バージョンのパターンファイル22bが保存されていれば、その新バージョンのパターンファイル22bをサーバー4からダウンロードして取得する処理を実行する。 Thereafter, the process by the download unit 42 returns to step S21. Then, the above-described process is repeated. Therefore, after startup, if the new version of the pattern file 22b is stored in the server 4, the download unit 42 executes a process of downloading and acquiring the new version of the pattern file 22b from the server 4.

次に図10は、ファイル更新部43による処理手順の一例を示すフローチャートである。この処理は、ファイル更新部43が起動されることに伴って開始される処理である。ファイル更新部43は、図10のフローチャートに基づく処理を開始すると、まず更新完了フラグをオフにセットする(ステップS30)。つまり、ファイル更新部43は、その起動時に更新完了フラグをオフにセットしておくのである。 Next, FIG. 10 is a flowchart showing an example of a processing procedure by the file update unit 43. This process is a process that is started when the file update unit 43 is activated. When the file update unit 43 starts processing based on the flowchart of FIG. 10, it first sets the update completion flag to OFF (step S30). In other words, the file update unit 43 sets the update completion flag to OFF when it is started.

ファイル更新部43は、起動が完了すると、ダウンロードフラグがオンであるか否かを判断する(ステップS31)。ダウンロードフラグがオンである場合(ステップS31でYES)、ファイル更新部43は、ウイルス検出部41によるウイルス検出処理の実行中であるか否かを判断する(ステップS32)。その結果、ウイルス検出部41によるウイルス検出処理の実行中である場合(ステップS32でYES)、ファイル更新部43は、ファイル更新処理を保留する(ステップS33)。したがって、現在実行中のウイルス検出処理は、旧バージョンのパターンファイル22aを参照しながら行われることになる。 When the startup is completed, the file update unit 43 determines whether the download flag is on (step S31). If the download flag is on (YES in step S31), the file update unit 43 determines whether the virus detection unit 41 is currently executing virus detection processing (step S32). As a result, if the virus detection process is being executed by the virus detection unit 41 (YES in step S32), the file update unit 43 suspends the file update process (step S33). Therefore, the virus detection process currently being executed is performed while referring to the old version of the pattern file 22a.

ファイル更新処理を保留すると、ファイル更新部43は、ウイルス検出処理が終了するまで待機する状態となる(ステップS34)。そしてウイルス検出処理が終了すると(ステップS34でYES)、ファイル更新部43は、ファイル更新処理の保留状態を解除し、ファイル更新処理を開始する(ステップS35)。すなわち、ファイル更新部43は、新バージョンのパターンファイル22bをメモリ11bに展開することを指定したうえでウイルス検出部41を再起動させるのである。これにより、ウイルス検出部41は、再起動を開始し、その再起動時において上述したステップS10,S11で新バージョンのパターンファイル22bを読み出してメモリ11bに展開する。そして再起動後には、新バージョンのパターンファイル22bを参照してウイルス検出処理を行うことができるようになる。 When the file update process is suspended, the file update unit 43 enters a standby state until the virus detection process is completed (step S34). When the virus detection process ends (YES in step S34), the file update unit 43 releases the pending state of the file update process and starts the file update process (step S35). That is, the file update section 43 restarts the virus detection section 41 after specifying that the new version of the pattern file 22b is to be expanded into the memory 11b. As a result, the virus detecting unit 41 starts restarting, and at the time of restarting, the new version of the pattern file 22b is read out and expanded in the memory 11b in steps S10 and S11 described above. After restarting, the virus detection process can be performed by referring to the new version of the pattern file 22b.

一方、ダウンロードフラグがオンであることを確認したタイミングでウイルス検出処理が行われていない場合(ステップS32でNO)、ファイル更新部43は、そのタイミングでファイル更新処理を開始する(ステップS35)。 On the other hand, if the virus detection process is not performed at the timing when it is confirmed that the download flag is on (NO in step S32), the file update unit 43 starts the file update process at that timing (step S35).

ファイル更新処理を行うと、ファイル更新部43は、ウイルス検出部41の再起動が完了したことを確認し(ステップS36でYES)、更新完了フラグをオンにセットする(ステップS37)。そしてファイル更新部43は、ダウンロードフラグがオフにセットされたことを確認すると(ステップS38)、更新完了フラグをオフにセットする(ステップS39)。その後、ファイル更新部43による処理は、ステップS31に戻り、上述した処理を繰り返す。 After performing the file update process, the file update unit 43 confirms that the restart of the virus detection unit 41 has been completed (YES in step S36), and sets the update completion flag to ON (step S37). When the file update unit 43 confirms that the download flag is set to OFF (step S38), it sets the update completion flag to OFF (step S39). After that, the process by the file update unit 43 returns to step S31 and repeats the process described above.

上記のような処理が行われることにより、情報処理装置2においてウイルス検出処理が行われていないときにファイル更新処理を行うことができるようになる。図11は、ウイルス検出処理とファイル更新処理との関係を示すタイミングチャートである。まず、図11(a)に示すように、新バージョンのパターンファイル22bのダウンロードが完了したタイミングT10においてウイルス検出処理が行われていないとき、ファイル更新部43は、そのタイミングT10でファイル更新処理を開始する。このファイル更新処理は、例えばタイミングT10から数十秒程度経過後のタイミングT11で終了する。したがって、ファイル更新部43によるファイル更新処理は、ウイルス検出処理を途中で停止させてしまうことがない。 By performing the above-described processing, the file update processing can be performed when the virus detection processing is not performed in the information processing device 2. FIG. 11 is a timing chart showing the relationship between virus detection processing and file update processing. First, as shown in FIG. 11(a), when the virus detection process is not performed at timing T10 when the download of the new version of the pattern file 22b is completed, the file updating unit 43 performs the file updating process at timing T10. Start. This file update process ends, for example, at timing T11, which is about several tens of seconds after timing T10. Therefore, the file update process by the file update unit 43 does not stop the virus detection process midway.

また図11(b)に示すように、新バージョンのパターンファイル22bのダウンロード中であるタイミングT20においてウイルス検出処理が開始され、ダウンロードが完了したタイミングT21においてウイルス検出処理が継続して行われているとき、ファイル更新部43は、ダウンロードが完了したタイミングT21でファイル更新処理を開始せず、ウイルス検出処理が終了するまでファイル更新処理を保留する。そしてタイミングT22においてウイルス検出処理が終了すると、ファイル更新部43は、そのタイミングT22でファイル更新処理を開始する。この場合のファイル更新処理は、タイミングT23で終了する。したがって、この場合も、ファイル更新部43によるファイル更新処理は、ウイルス検出処理を途中で停止させてしまうことがない。 Further, as shown in FIG. 11(b), the virus detection process is started at timing T20 when the new version of the pattern file 22b is being downloaded, and is continued at timing T21 when the download is completed. In this case, the file update unit 43 does not start the file update process at timing T21 when the download is completed, but suspends the file update process until the virus detection process is completed. When the virus detection process ends at timing T22, the file update unit 43 starts the file update process at timing T22. The file update process in this case ends at timing T23. Therefore, in this case as well, the file update process by the file update unit 43 does not stop the virus detection process midway.

次に図12は、ジョブ実行処理とファイル更新処理との関係を示すタイミングチャートである。例えば図12(a)に示すように、ジョブ制御部17によってジョブが実行されているときに、そのジョブの実行と並行して新バージョンのパターンファイル22bのダウンロードが行われている場合を想定する。この場合、ジョブの実行が終了していないタイミングT10でダウンロードが完了すると、ファイル更新部43は、そのタイミングT10でファイル更新処理を開始する。このファイル更新処理は、ジョブ制御部17によるジョブの実行と並行して行われることになる。したがって、ファイル更新部43によるファイル更新処理は、ジョブ制御部17によるジョブの実行効率を低下させることなく行われる。 Next, FIG. 12 is a timing chart showing the relationship between job execution processing and file update processing. For example, as shown in FIG. 12A, assume that when a job is being executed by the job control unit 17, a new version of the pattern file 22b is being downloaded in parallel with the execution of the job. . In this case, if the download is completed at timing T10 before the execution of the job has finished, the file updating unit 43 starts the file updating process at timing T10. This file update process is performed in parallel with job execution by the job control unit 17. Therefore, the file update process by the file update unit 43 is performed without reducing the job execution efficiency by the job control unit 17.

また、例えば図12(b)に示すように、新バージョンのパターンファイル22bのダウンロード中であるタイミングT20において印刷ジョブが受信され、その印刷ジョブに含まれるデータに対するウイルス検出処理が開始された場合を想定する。この場合、ウイルス検出処理が終了していないタイミングT21でダウンロードが完了すると、ファイル更新部43は、ダウンロードが完了したタイミングT21でファイル更新処理を開始せず、ウイルス検出処理が終了するまでファイル更新処理を保留する。そしてタイミングT22においてウイルス検出処理が終了し、ジョブ制御部17による印刷ジョブの実行が開始されると、ファイル更新部43は、そのタイミングT22でファイル更新処理を開始する。このファイル更新処理は、ジョブ制御部17による印刷ジョブの実行と並行して行われることになる。したがって、ファイル更新部43によるファイル更新処理は、ジョブ制御部17による印刷ジョブの実行効率を低下させることなく行われる。 Further, as shown in FIG. 12B, for example, a print job is received at timing T20 when a new version of the pattern file 22b is being downloaded, and virus detection processing is started for data included in the print job. Suppose. In this case, if the download is completed at timing T21 before the virus detection process is finished, the file update unit 43 does not start the file update process at timing T21 when the download is completed, and continues to process the file update process until the virus detection process is finished. will be put on hold. Then, when the virus detection process ends at timing T22 and the job control unit 17 starts executing the print job, the file update unit 43 starts the file update process at timing T22. This file update process is performed in parallel with execution of the print job by the job control unit 17. Therefore, the file update process by the file update unit 43 is performed without reducing the execution efficiency of the print job by the job control unit 17.

また、ジョブ制御部17は、ファイル更新部43によるファイル更新処理と並行してジョブを実行することができる。そのため、ファイル更新部43によるファイル更新処理が行われているときにジョブ受付部31によってウイルス検出処理を行わないジョブ(例えばコピージョブ)が受け付けられた場合、ジョブ制御部17は、ファイル更新部43によるファイル更新処理と並行してウイルス検出処理を行わないジョブを実行することができる。この場合も、ファイル更新処理は、ジョブの実行効率を低下させることがない。 Further, the job control unit 17 can execute a job in parallel with the file update process by the file update unit 43. Therefore, if the job accepting unit 31 accepts a job (for example, a copy job) that does not perform virus detection processing while the file updating unit 43 is performing file updating processing, the job control unit 17 It is possible to execute a job that does not perform virus detection processing in parallel with file update processing. In this case as well, the file update process does not reduce job execution efficiency.

以上のように本実施形態の情報処理装置2は、ウイルス検出部41の起動時にウイルス検出処理で参照するパターンファイルを1つだけメモリ11bに展開するようにしているので、メモリ11bを大容量化する必要がなく、装置コストの上昇を抑えることができる。また、本実施形態の情報処理装置2は、ファイル更新処理によって新バージョンのパターン22bを反映させるとき、ウイルス検出処理を途中で停止さないので受信したデータに対するウイルス検出処理が未完のまま終了してしまうという問題を解決することもできる。さらに、本実施形態の情報処理装置2は、ファイル更新処理を行うことによって、印刷ジョブを受信してから印刷ジョブの実行を開始するまでの時間が長くなることはない。そのため、ジョブの実行効率を低下させることなく、新バージョンのパターンファイル22bに更新することができるという利点がある。 As described above, the information processing device 2 of the present embodiment expands only one pattern file to be referenced in the virus detection process in the memory 11b when the virus detection unit 41 is activated, so that the memory 11b has a large capacity. There is no need to do so, and increases in device costs can be suppressed. Furthermore, when the information processing device 2 of this embodiment reflects the new version of the pattern 22b through the file update process, the virus detection process is not stopped midway, so the virus detection process for the received data ends without being completed. It can also solve the problem of storage. Furthermore, by performing the file update process, the information processing apparatus 2 of this embodiment does not increase the time from receiving a print job to starting execution of the print job. Therefore, there is an advantage that the pattern file 22b can be updated to a new version without reducing job execution efficiency.

(第2実施形態)
次に本発明の第2実施形態について説明する。上述した第1実施形態では、新バージョンのパターンファイル22bのダウンロードが完了したとき、ウイルス検出処理が行われていなければ、ダウンロードが完了したタイミングでファイル更新処理の実行を開始する形態について説明した。ところが、第1実施形態では、ファイル更新部43によるファイル更新処理が行われているときに情報処理装置2が印刷ジョブを受信するケースが起こり得る。その場合、第1実施形態では、ファイル更新処理によるウイルス検出部41の再起動が完了するまで印刷ジョブに含まれるデータに対するウイルス検出処理を開始することができず、印刷ジョブの実行が開始されるまでの時間が長くなってしまう可能性がある。本実施形態では、そのような事態が生じないようにジョブの実行中にファイル更新処理を完了できるようにした動作について説明する。尚、本実施形態における情報処理システム1及び情報処理装置2のハードウェア構成及び機能構成は第1実施形態で説明したものと同様である。
(Second embodiment)
Next, a second embodiment of the present invention will be described. In the first embodiment described above, when the download of the new version of the pattern file 22b is completed, if the virus detection process is not performed, the execution of the file update process is started at the timing when the download is completed. However, in the first embodiment, there may be a case where the information processing device 2 receives a print job while the file update unit 43 is performing file update processing. In this case, in the first embodiment, the virus detection process for the data included in the print job cannot be started until the restart of the virus detection unit 41 due to the file update process is completed, and the execution of the print job is started. It is possible that it will take a long time. In this embodiment, an operation will be described in which file update processing can be completed during job execution to prevent such a situation from occurring. Note that the hardware configuration and functional configuration of the information processing system 1 and the information processing device 2 in this embodiment are the same as those described in the first embodiment.

図13は、第2実施形態のファイル更新部43によるファイル更新処理の例を示すフローチャートである。この処理は、ファイル更新部43が起動されることに伴って開始される処理である。ファイル更新部43は、図13のフローチャートに基づく処理を開始すると、まず更新完了フラグをオフにセットする(ステップS40)。そしてファイル更新部43は、ダウンロードフラグがオンであるか否かを判断し(ステップS41)、ダウンロードフラグがオンであれば(ステップS31でYES)、ファイル更新処理を保留する(ステップS42)。つまり、ファイル更新部43は、新バージョンのパターンファイル22bのダウンロードが完了すると、直ぐにはファイル更新処理を実行せず、ファイル更新処理の実行を保留する。 FIG. 13 is a flowchart illustrating an example of file update processing by the file update unit 43 of the second embodiment. This process is a process that is started when the file update unit 43 is activated. When the file update unit 43 starts processing based on the flowchart of FIG. 13, it first sets the update completion flag to OFF (step S40). The file update unit 43 then determines whether the download flag is on (step S41), and if the download flag is on (YES in step S31), the file update process is suspended (step S42). That is, upon completion of downloading the new version of the pattern file 22b, the file update unit 43 does not immediately execute the file update process, but suspends the execution of the file update process.

そしてファイル更新部43は、ジョブ制御部17によってジョブの実行が開始されたか否かを判断する(ステップS43)。このとき、ジョブ制御部17によって実行されるジョブの種類は問わない。すなわち、ファイル更新部43は、ジョブ制御部17によってコピージョブ、スキャンジョブ、印刷ジョブ及びFAX送信ジョブのいずれかの実行が開始されたか否かを判断する。ジョブ制御部17によってジョブの実行が開始されると(ステップS43でYES)、ファイル更新部43は、そのジョブの実行を終了するまでに所定時間以上を要するか否かを判断する。この場合の所定時間は、ファイル更新処理に要する時間である。すなわち、ファイル更新部43は、ジョブ制御部17によって実行されるジョブが終了するまでの所要時間が、ファイル更新処理に要する時間以上であるか否かを判断するのである。 The file update unit 43 then determines whether execution of the job has been started by the job control unit 17 (step S43). At this time, the type of job executed by the job control unit 17 does not matter. That is, the file update unit 43 determines whether the job control unit 17 has started execution of any one of the copy job, scan job, print job, and FAX transmission job. When the job control unit 17 starts executing a job (YES in step S43), the file updating unit 43 determines whether a predetermined time or more is required to finish executing the job. The predetermined time in this case is the time required for file update processing. That is, the file update unit 43 determines whether the time required to complete the job executed by the job control unit 17 is equal to or longer than the time required for file update processing.

例えば、ジョブ制御部17によって実行されるジョブが印刷ジョブである場合、ジョブの所要時間はシート材のサイズや印刷枚数などに基づいて算出することができる。これに対し、コピージョブやスキャンジョブ、FAX送信ジョブの場合は、スキャナ部8による原稿の読み取り動作が終了しない限り、ジョブの所要時間を正確に算出することができない。そのため、ファイル更新部43は、コピージョブやスキャンジョブ、FAX送信ジョブである場合には原稿枚数が所定枚数(例えば1枚)であると仮定してジョブの所要時間を算出する。また、ファイル更新部43は、新バージョンのパターンファイル22bのデータ量に応じてファイル更新処理に要する時間を算出することができる。したがって、ファイル更新部43は、ジョブの所要時間とファイル更新処理に要する時間とを比較することにより、ジョブの所要時間が、ファイル更新処理に要する時間以上であるか否かを判断する。 For example, when the job executed by the job control unit 17 is a print job, the time required for the job can be calculated based on the size of the sheet material, the number of sheets to be printed, and the like. On the other hand, in the case of a copy job, a scan job, or a FAX transmission job, the time required for the job cannot be accurately calculated unless the scanner unit 8 finishes reading the document. Therefore, in the case of a copy job, scan job, or FAX transmission job, the file update unit 43 calculates the time required for the job on the assumption that the number of original sheets is a predetermined number (for example, one sheet). Further, the file update unit 43 can calculate the time required for file update processing according to the data amount of the new version of the pattern file 22b. Therefore, the file update unit 43 compares the time required for the job and the time required for the file update process to determine whether the time required for the job is equal to or longer than the time required for the file update process.

ステップS44における判断の結果、ジョブの所要時間がファイル更新処理に要する時間よりも短い場合、ファイル更新部43による処理はステップS43に戻る。これに対し、ジョブの所要時間がファイル更新処理に要する時間以上である場合(ステップS44でYES)、ファイル更新部43は、ファイル更新処理を開始する(ステップS45)。この場合、ファイル更新処理は、ジョブ制御部17によるジョブの実行が完了するまでに終了する。 As a result of the determination in step S44, if the time required for the job is shorter than the time required for the file update process, the process by the file update unit 43 returns to step S43. On the other hand, if the time required for the job is equal to or longer than the time required for the file update process (YES in step S44), the file update unit 43 starts the file update process (step S45). In this case, the file update process ends before the job control unit 17 completes execution of the job.

ファイル更新処理を行うと、ファイル更新部43は、ウイルス検出部41の再起動が完了したことを確認し(ステップS46でYES)、更新完了フラグをオンにセットする(ステップS47)。そしてファイル更新部43は、ダウンロードフラグがオフにセットされたことを確認すると(ステップS48)、更新完了フラグをオフにセットする(ステップS49)。その後、ファイル更新部43による処理は、ステップS41に戻り、上述した処理を繰り返す。 After performing the file update process, the file update unit 43 confirms that the restart of the virus detection unit 41 has been completed (YES in step S46), and sets the update completion flag to ON (step S47). When the file update unit 43 confirms that the download flag is set to OFF (step S48), it sets the update completion flag to OFF (step S49). Thereafter, the process by the file update unit 43 returns to step S41 and repeats the process described above.

上記のような処理が行われることにより、情報処理装置2は、ジョブの実行が開始されるときにファイル更新処理の実行を開始すると共に、ジョブの実行が完了するまでの間にファイル更新処理を終了させることができる。それ故、ファイル更新部43によるファイル更新処理が行われているときに情報処理装置2が新たな印刷ジョブを受信したとしても、その受信時には情報処理装置2において先のジョブが実行されているため、ユーザーに対して次の印刷ジョブの実行が開始されるまでの時間が長くなったという印象を与えることがない。また、本実施形態の情報処理装置2は、ジョブの実行中にファイル更新処理を完了させることができるため、ジョブの実行効率を低下させることなく、新バージョンのパターンファイル22bに更新することができる。 By performing the above-described processing, the information processing device 2 starts executing the file update process when the job execution starts, and also executes the file update process until the job execution is completed. It can be terminated. Therefore, even if the information processing device 2 receives a new print job while the file update process is being performed by the file update unit 43, the previous job is already being executed in the information processing device 2 at the time of reception. , the user is not given the impression that the time until execution of the next print job starts is longer. Furthermore, since the information processing device 2 of this embodiment can complete the file update process while a job is being executed, it is possible to update to a new version of the pattern file 22b without reducing job execution efficiency. .

上記においては、新バージョンのパターンファイル22bのダウンロードが完了すると、ファイル更新部43は、ファイル更新処理を保留し、ジョブ制御部17によってジョブの実行が開始されるときにファイル更新処理を開始する場合を例示した。しかし、ファイル更新処理を開始する条件はこれに限られるものではない。例えば、ファイル更新部43は、ウイルス検出部41によるウイルス検出処理が行われていないことを条件とし、その条件が成立している状態でジョブの実行が開始されるときに、ファイル更新処理を開始するようにしても良い。 In the above case, when the download of the new version of the pattern file 22b is completed, the file update unit 43 suspends the file update process and starts the file update process when the job control unit 17 starts executing the job. Illustrated as an example. However, the conditions for starting the file update process are not limited to this. For example, the file update unit 43 sets the condition that the virus detection process is not performed by the virus detection unit 41, and starts the file update process when execution of the job is started with this condition satisfied. You may also do this.

尚、本実施形態において上述した点以外については、第1実施形態で説明したものと同様であるため、説明を省略する。 Note that the points other than those mentioned above in this embodiment are the same as those described in the first embodiment, and therefore the explanation will be omitted.

(第3実施形態)
次に本発明の第3実施形態について説明する。本実施形態では、新バージョンのパターンファイル22bのダウンロードが完了すると、ファイル更新処理を保留し、情報処理装置2が所定の動作状態へ移行するときにファイル更新部43がファイル更新処理を開始する動作の例について説明する。尚、本実施形態における情報処理システム1及び情報処理装置2のハードウェア構成及び機能構成についても第1実施形態で説明したものと同様である。
(Third embodiment)
Next, a third embodiment of the present invention will be described. In this embodiment, when the download of the new version of the pattern file 22b is completed, the file update process is put on hold, and the file update unit 43 starts the file update process when the information processing device 2 transitions to a predetermined operating state. An example will be explained. Note that the hardware configuration and functional configuration of the information processing system 1 and the information processing device 2 in this embodiment are also the same as those described in the first embodiment.

図14は、第3実施形態のファイル更新部43によるファイル更新処理の例を示すフローチャートである。この処理は、ファイル更新部43が起動されることに伴って開始される処理である。ファイル更新部43は、図14のフローチャートに基づく処理を開始すると、まず更新完了フラグをオフにセットする(ステップS50)。続いて、ファイル更新部43は、ダウンロードフラグがオンであるか否かを判断し(ステップS51)、ダウンロードフラグがオンであれば(ステップS51でYES)、ファイル更新処理を保留する(ステップS52)。つまり、ファイル更新部43は、ダウンロード完了後に直ぐにはファイル更新処理を実行せず、ファイル更新処理の実行を保留する。 FIG. 14 is a flowchart illustrating an example of file update processing by the file update unit 43 of the third embodiment. This process is a process that is started when the file update unit 43 is activated. When the file update unit 43 starts processing based on the flowchart of FIG. 14, it first sets the update completion flag to OFF (step S50). Subsequently, the file update unit 43 determines whether or not the download flag is on (step S51), and if the download flag is on (YES in step S51), the file update process is suspended (step S52). . In other words, the file update unit 43 does not immediately execute the file update process after the download is completed, but suspends the execution of the file update process.

そしてファイル更新部43は、情報処理装置2が省電力状態へ移行するか否かを判断する(ステップS53)。例えば、ジョブ制御部17によってジョブの実行が行われておらず、しかも操作パネル7においてユーザーの操作が検知されない状態が所定時間以上継続すると、ジョブマネージャ30が通電制御部15に対して通電状態を省電力状態へ切り替えるように指示する。ファイル更新部43は、その指示を検知し、情報処理装置2が省電力状態へ移行することを検知する。 Then, the file update unit 43 determines whether the information processing device 2 shifts to the power saving state (step S53). For example, if the job control unit 17 is not executing a job and no user operation is detected on the operation panel 7 for a predetermined period of time or more, the job manager 30 changes the energization state to the energization control unit 15. Instructs to switch to power saving state. The file update unit 43 detects the instruction and detects that the information processing device 2 shifts to the power saving state.

通電状態が省電力状態へ移行しない場合(ステップS53でNO)、ファイル更新部43は、ジョブ制御部17によるジョブの実行中であるか否かを判断する(ステップS54)。そしてジョブの実行中である場合(ステップS54でYES)、ファイル更新部43は、そのジョブの実行中にジョブの実行を継続させることができないエラーが発生したか否かを判断し(ステップS55)、エラーが発生した場合には(ステップS55でYES)、そのエラーによってジョブの実行が中断したか否かを判断する(ステップS56)。この場合のエラーとしては、例えばシート材やトナーのエンプティエラーや、紙詰まりエラーなどがある。 If the energization state does not shift to the power saving state (NO in step S53), the file updating unit 43 determines whether a job is being executed by the job control unit 17 (step S54). If the job is being executed (YES in step S54), the file update unit 43 determines whether an error that prevents the job from continuing execution has occurred during the execution of the job (step S55). If an error occurs (YES in step S55), it is determined whether or not execution of the job is interrupted due to the error (step S56). Errors in this case include, for example, sheet material or toner empty errors, paper jam errors, and the like.

そしてファイル更新部43は、通電状態が省電力状態へ移行すると判断した場合(ステップS53でYES)、又は、ジョブの実行中にエラーが発生してジョブの実行が中断したと判断した場合(ステップS56でYES)、ファイル更新処理を開始する(ステップS57)。これに対し、通電状態が省電力状態へ移行せず(ステップS53でNO)、しかも、実行中のジョブが中断しない場合(ステップS56でNO)、ファイル更新部43は、ファイル更新処理の実行を保留した状態を継続させる。 Then, if the file update unit 43 determines that the energization state will transition to the power saving state (YES in step S53), or if it determines that an error has occurred during job execution and the job execution is interrupted (step (YES in S56), file update processing is started (step S57). On the other hand, if the power supply state does not shift to the power saving state (NO in step S53) and the job being executed is not interrupted (NO in step S56), the file update unit 43 stops the execution of the file update process. Continue the suspended state.

通電状態が省電力状態へ移行すると、上述したように操作パネル7、スキャナ部8、プリンタ部9及びジョブ制御部17への電力供給が停止するため、情報処理装置2は、ジョブを実行することができない状態となる。そのため、情報処理装置2が省電力状態において印刷ジョブを受信すると、通電状態を通常通電状態へ復帰させる処理を行う。この復帰処理によってプリンタ部9への電力供給が再開され、定着部9aのウォームアップが開始される。そして定着部9aのウォームアップが完了した後に、印刷ジョブの実行が開始される。つまり、情報処理装置2は、省電力状態のときに印刷ジョブを受信したとしても、その印刷ジョブを直ぐに実行することはできないのである。そのため、ファイル更新部43は、省電力状態へ移行するときにファイル更新処理を開始することにより、ジョブの実行効率を低下させることなく、旧バージョンのパターンファイル22aを新バージョンのパターンファイル22bに更新することができる。 When the energization state shifts to the power saving state, as described above, the power supply to the operation panel 7, scanner section 8, printer section 9, and job control section 17 is stopped, so the information processing device 2 is unable to execute the job. becomes unable to do so. Therefore, when the information processing device 2 receives a print job in the power saving state, it performs a process of returning the energization state to the normal energization state. Through this return process, power supply to the printer section 9 is restarted, and warm-up of the fixing section 9a is started. After the fixing section 9a has been warmed up, execution of the print job is started. In other words, even if the information processing device 2 receives a print job while in the power saving state, it cannot immediately execute the print job. Therefore, the file update unit 43 updates the old version of the pattern file 22a to the new version of the pattern file 22b without reducing job execution efficiency by starting the file update process when transitioning to the power saving state. can do.

また、ジョブの実行途中でシート材やトナーのエンプティエラーや、紙詰まりエラーなどが発生してジョブの実行が中断すると、ユーザーによるメンテナンス作業が行われる。すなわち、シート材の補充や、トナーボトルの交換、紙詰まりしたシート材を取り除く作業などが行われる。ユーザーによってそのような作業が行われ、エラーが解消されるまでには一定の時間を要する。そのため、ファイル更新部43は、エラーが解消されるまでの期間中にファイル更新処理を行うのである。これにより、ジョブの実行効率に影響を与えることなく、旧バージョンのパターンファイル22aを新バージョンのパターンファイル22bに更新することができる。 Furthermore, if a job is interrupted due to an empty sheet or toner error, paper jam error, etc. during job execution, maintenance work is performed by the user. That is, operations such as replenishing sheet materials, replacing toner bottles, and removing jammed sheet materials are performed. It takes a certain amount of time for the user to perform such work and for the error to be resolved. Therefore, the file update unit 43 performs the file update process during the period until the error is resolved. Thereby, the old version of the pattern file 22a can be updated to the new version of the pattern file 22b without affecting job execution efficiency.

ファイル更新部43は、ファイル更新処理を行うと、ウイルス検出部41の再起動が完了したことを確認し(ステップS58でYES)、更新完了フラグをオンにセットする(ステップS59)。そしてファイル更新部43は、ダウンロードフラグがオフにセットされたことを確認すると(ステップS60)、更新完了フラグをオフにセットする(ステップS61)。その後、ファイル更新部43による処理は、ステップS51に戻り、上述した処理を繰り返す。 After performing the file update process, the file update unit 43 confirms that the restart of the virus detection unit 41 has been completed (YES in step S58), and sets the update completion flag to ON (step S59). When the file update unit 43 confirms that the download flag is set to OFF (step S60), it sets the update completion flag to OFF (step S61). Thereafter, the process by the file update unit 43 returns to step S51 and repeats the process described above.

上記のような処理が行われることにより、情報処理装置2は、通電状態が省電力状態へ移行するときに、又は、実行中のジョブがエラーによって中断した状態となるときに、ファイル更新処理の実行を開始し、ジョブの実行に影響を与えることなく、ファイル更新処理を終了させることができる。 By performing the above-mentioned processing, the information processing device 2 can perform file update processing when the power-on state shifts to the power-saving state or when a job being executed is interrupted due to an error. File update processing can be started and completed without affecting job execution.

上記においては、新バージョンのパターンファイル22bのダウンロードが完了すると、ファイル更新部43は、ファイル更新処理を保留し、省電力状態やエラーによるジョブ中断状態などの所定の動作状態へ移行するときにファイル更新処理を開始する場合を例示した。しかし、ファイル更新処理を開始する条件はこれに限られるものではない。例えば、ファイル更新部43は、ウイルス検出部41によるウイルス検出処理が行われていないことを条件とし、その条件が成立しているときに所定の動作状態へ移行する場合に、ファイル更新処理を開始するようにしても良い。 In the above, when the download of the new version of the pattern file 22b is completed, the file update unit 43 suspends the file update process and updates the file when transitioning to a predetermined operating state such as a power saving state or a job interruption state due to an error. An example of starting the update process is shown below. However, the conditions for starting the file update process are not limited to this. For example, the file update unit 43 starts the file update process on the condition that the virus detection process is not performed by the virus detection unit 41, and when transitioning to a predetermined operating state when that condition is satisfied. You may also do this.

尚、本実施形態において上述した点以外については、第1又は第2実施形態で説明したものと同様であるため、説明を省略する。 Note that the points other than those mentioned above in this embodiment are the same as those described in the first or second embodiment, and therefore the description thereof will be omitted.

(第4実施形態)
次に本発明の第4実施形態について説明する。本実施形態では、新バージョンのパターンファイル22bのダウンロードが完了すると、ウイルス検出処理を行わないジョブを優先的に実行し、ウイルス検出処理を行わないジョブを実行しているときに当該ジョブと並行してファイル更新処理を開始する動作の例について説明する。尚、本実施形態における情報処理システム1及び情報処理装置2のハードウェア構成及び機能構成についても第1実施形態で説明したものと同様である。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described. In this embodiment, when the download of the new version of the pattern file 22b is completed, a job that does not perform virus detection processing is executed with priority, and when a job that does not perform virus detection processing is being executed, a job that does not perform virus detection processing is executed in parallel with the job. An example of the operation of starting file update processing will be explained below. Note that the hardware configuration and functional configuration of the information processing system 1 and the information processing device 2 in this embodiment are also the same as those described in the first embodiment.

図15は、第4実施形態のファイル更新部43によるファイル更新処理の例を示すフローチャートである。この処理は、ファイル更新部43が起動されることに伴って開始される処理である。ファイル更新部43は、図15のフローチャートに基づく処理を開始すると、まず更新完了フラグをオフにセットする(ステップS70)。続いて、ファイル更新部43は、ダウンロードフラグがオンであるか否かを判断し(ステップS71)、ダウンロードフラグがオンであれば(ステップS71でYES)、ファイル更新処理を保留する(ステップS72)。 FIG. 15 is a flowchart illustrating an example of file update processing by the file update unit 43 of the fourth embodiment. This process is a process that is started when the file update unit 43 is activated. When the file update unit 43 starts processing based on the flowchart of FIG. 15, it first sets the update completion flag to OFF (step S70). Subsequently, the file update unit 43 determines whether the download flag is on (step S71), and if the download flag is on (YES in step S71), the file update process is suspended (step S72). .

続いてファイル更新部43は、ウイルス検出部41によるウイルス検出処理の実行中であるか否かを判断する(ステップS73)。ウイルス検出処理の実行中である場合(ステップS73でYES)、ファイル更新部43は、ウイルス検出部41によるウイルス検出処理を途中で停止させる(ステップS74)。尚、ウイルス検出処理が実行されていない場合(ステップS73でNO)、ステップS74はスキップする。 Subsequently, the file update unit 43 determines whether the virus detection unit 41 is currently executing virus detection processing (step S73). If the virus detection process is being executed (YES in step S73), the file update unit 43 stops the virus detection process by the virus detection unit 41 midway (step S74). Note that if the virus detection process is not being executed (NO in step S73), step S74 is skipped.

次にファイル更新部43は、待ち行列に少なくとも1つのジョブが登録されているか否かを判断する(ステップS75)。待ち行列に少なくとも1つのジョブが登録されている場合(ステップS75でYES)、ファイル更新部43は、待ち行列に登録されている少なくとも1つのジョブの中にウイルス検出処理を行わないジョブ(コピージョブ、スキャンジョブ又はFAX送信ジョブ)が含まれているか否かを判断する(ステップS76)。その結果、ウイルス検出処理を行わないジョブが登録されている場合(ステップS76でYES)、ファイル更新部43は、ジョブ管理部32に対してウイルス検出処理を行わないジョブの優先実行を指示する(ステップS77)。これにより、待ち行列にウイルス検出を行うジョブ(印刷ジョブ)とウイルス検出処理を行わないジョブ(例えばコピージョブ)とが登録されている場合、ジョブの受け付け順序にかかわらず、ウイルス検出処理を行わないジョブ(例えばコピージョブ)がウイルス検出処理を行うジョブよりも優先的に実行されるようになる。 Next, the file update unit 43 determines whether at least one job is registered in the queue (step S75). If at least one job is registered in the queue (YES in step S75), the file update unit 43 selects a job for which virus detection processing is not performed (copy job) among the at least one job registered in the queue. , scan job, or FAX transmission job) is included (step S76). As a result, if a job that does not perform virus detection processing is registered (YES in step S76), the file update unit 43 instructs the job management unit 32 to prioritize execution of the job that does not perform virus detection processing ( Step S77). As a result, if a job that is subject to virus detection (print job) and a job that is not subject to virus detection processing (for example, a copy job) are registered in the queue, virus detection processing will not be performed regardless of the order in which the jobs are accepted. Jobs (for example, copy jobs) are executed with priority over jobs that perform virus detection processing.

一方、待ち行列にジョブが登録されていない場合(ステップS75でNO)、ファイル更新部43は、ジョブ受付部31に対し、ウイルス検出処理を行うジョブ(印刷ジョブ)の受け付け禁止を指示する(ステップS78)。これにより、情報処理装置2は、ウイルス検出処理を行わないジョブ(コピージョブ、スキャンジョブ又はFAX送信ジョブ)だけを受け付ける状態となる。また、待ち行列に登録されているジョブの中にウイルス検出処理を行わないジョブ(コピージョブ、スキャンジョブ又はFAX送信ジョブ)が含まれていない場合(ステップS76でNO)、ファイル更新部43は、待ち行列に登録されているジョブの実行を禁止し、上述したステップS78の処理を行う。したがって、情報処理装置2は、ウイルス検出処理を行わないジョブ(コピージョブ、スキャンジョブ又はFAX送信ジョブ)だけを受け付けて実行する状態となる。 On the other hand, if no job is registered in the queue (NO in step S75), the file updating unit 43 instructs the job accepting unit 31 to prohibit acceptance of jobs (print jobs) that perform virus detection processing (step S75). S78). As a result, the information processing apparatus 2 enters a state in which it accepts only jobs that do not perform virus detection processing (copy jobs, scan jobs, or FAX transmission jobs). Further, if the jobs registered in the queue do not include any jobs (copy jobs, scan jobs, or fax transmission jobs) that do not perform virus detection processing (NO in step S76), the file update unit 43 Execution of the jobs registered in the queue is prohibited, and the process of step S78 described above is performed. Therefore, the information processing device 2 is in a state where it accepts and executes only jobs that do not perform virus detection processing (copy jobs, scan jobs, or FAX transmission jobs).

次にファイル更新部43は、ジョブ制御部17によってジョブの実行が開始されたか否かを判断する(ステップS79)。ジョブ制御部17によってジョブの実行が開始されると(ステップS79でYES)、ファイル更新部43は、ファイル更新処理の実行を開始する(ステップS81)。つまり、ファイル更新部43は、ウイルス検出処理を行わないジョブの実行が開始されることに伴い、そのジョブと並行してファイル更新処理の実行を開始するのである。そしてファイル更新部43は、ウイルス検出処理を行わないジョブが優先的に実行されている間にファイル更新処理を終えることができる。 Next, the file update unit 43 determines whether execution of the job has been started by the job control unit 17 (step S79). When the job control unit 17 starts executing the job (YES in step S79), the file update unit 43 starts executing the file update process (step S81). In other words, when the execution of a job that does not perform virus detection processing is started, the file updating unit 43 starts executing the file updating processing in parallel with the job. Then, the file update unit 43 can finish the file update process while a job that does not perform virus detection process is being executed preferentially.

またファイル更新部43は、ジョブの実行が開始されない場合(ステップS79)、ユーザーによるファイル更新指示の有無を確認する(ステップS80)。例えば、ファイル更新指示は、操作パネル7に対してユーザーによって入力されるものであっても良いし、ネットワーク5を介して外部装置3から電子メールなどによって入力されるものであっても良い。そしてユーザーによるファイル更新指示を検出すると(ステップS80でYES)、ファイル更新部43は、ファイル更新処理の実行を開始する(ステップS81)。つまり、ファイル更新部43は、ウイルス検出処理を行わないジョブの実行が開始されない状態であってもユーザーによってファイル更新処理の実行が指示されれば、その指示に基づいてファイル更新処理の実行を開始するのである。この場合、ジョブの実行の有無にかかわらず、旧バージョンのパターンファイル22aを新バージョンのパターンファイル22bに更新することが可能であり、早期に新バージョンのパターンファイル22bを適用することができるようになる。そして早期に新バージョンのパターンファイル22aを適用することにより、情報処理装置2のウイルス感染リスクを早期に低減することができ、セキュリティを向上させることができる。 Further, if the execution of the job is not started (step S79), the file update unit 43 checks whether there is a file update instruction from the user (step S80). For example, the file update instruction may be input by the user to the operation panel 7, or may be input via e-mail from the external device 3 via the network 5. When a file update instruction from the user is detected (YES in step S80), the file update unit 43 starts executing the file update process (step S81). In other words, even if the execution of a job that does not perform virus detection processing has not started, if the user instructs the file update processing to be executed, the file update unit 43 starts executing the file update processing based on the instruction. That's what I do. In this case, it is possible to update the old version of the pattern file 22a to the new version of the pattern file 22b regardless of whether or not the job is executed, so that the new version of the pattern file 22b can be applied at an early stage. Become. By applying the new version of the pattern file 22a at an early stage, the risk of virus infection of the information processing device 2 can be reduced at an early stage, and security can be improved.

ファイル更新部43は、ファイル更新処理を行うと、ウイルス検出部41の再起動が完了したことを確認し(ステップS82でYES)、更新完了フラグをオンにセットする(ステップS83)。そしてファイル更新部43は、ダウンロードフラグがオフにセットされたことを確認すると(ステップS84)、更新完了フラグをオフにセットする(ステップS85)。またファイル更新部43は、ファイル更新処理を終了すると、ウイルス検出処理を行うジョブの受け付け禁止状態を解除する(ステップS86)。これにより、情報処理装置2は、ウイルス検出処理を行うジョブを再び受け付けることができる状態に戻る。尚、このとき、ウイルス検出処理を行わないジョブの優先実行設定を解除するようにしても良い。その後、ファイル更新部43による処理は、ステップS71に戻り、上述した処理を繰り返す。 After performing the file update process, the file update unit 43 confirms that the restart of the virus detection unit 41 has been completed (YES in step S82), and sets the update completion flag to ON (step S83). When the file update unit 43 confirms that the download flag is set to OFF (step S84), it sets the update completion flag to OFF (step S85). Further, upon finishing the file update process, the file update unit 43 releases the state in which acceptance of a job that performs the virus detection process is prohibited (step S86). As a result, the information processing device 2 returns to a state in which it can again accept a job for performing virus detection processing. Note that, at this time, the priority execution settings for jobs that do not perform virus detection processing may be canceled. After that, the process by the file update unit 43 returns to step S71 and repeats the process described above.

また、ステップS74において停止されたウイルス検出処理は、新バージョンのパターンファイル22bに更新された後に再開されることになる。このとき、ウイルス検出部41は、新バージョンのパターンファイル22bを参照してウイルス検出処理をはじめから実行するため、新バージョンのパターンファイル22bに定義されている新たなウイルスを検出することができるようになる。 Further, the virus detection process stopped in step S74 will be restarted after being updated to the new version of the pattern file 22b. At this time, the virus detection unit 41 refers to the new version of the pattern file 22b and executes the virus detection process from the beginning, so that it is possible to detect a new virus defined in the new version of the pattern file 22b. become.

上記のような処理が行われることにより、情報処理装置2は、新バージョンのパターンファイル22bのダウンロード完了時に、待ち行列にウイルス検出処理を行わないジョブが登録されていれば、ウイルス検出処理を行わないジョブを優先的にジョブ制御部17に実行させ、ウイルス検出処理を行わないジョブが実行されているときにパターンファイルの更新を行うができる。 By performing the above processing, the information processing device 2 performs virus detection processing if a job that does not perform virus detection processing is registered in the queue when the download of the new version of the pattern file 22b is completed. The pattern file can be updated by having the job control unit 17 execute jobs that do not include virus detection processing preferentially, and when jobs that do not perform virus detection processing are being executed.

また本実施形態では、ダウンロード完了時にウイルス検出部41によるウイルス検出処理が行われている場合、ファイル更新部43が、ウイルス検出処理を停止させ、ジョブ制御部17によってウイルス検出処理を行わないジョブが実行されているときにパターンファイルの更新を行う。そのため、第1実施形態よりも早期にパターンファイルの更新を行うことができるようになる。 Further, in this embodiment, if the virus detection unit 41 is performing virus detection processing at the time of download completion, the file update unit 43 stops the virus detection processing, and the job control unit 17 selects a job that does not perform virus detection processing. Update the pattern file while it is being executed. Therefore, it becomes possible to update the pattern file earlier than in the first embodiment.

また本実施形態では、ファイル更新部43が、ダウンロードの完了後においてユーザーによるファイル更新指示を検知した場合に、ファイル更新処理を開始する。そのため、ユーザーが情報処理装置2に対して予めファイル更新指示を入力しておけば、ダウンロードの完了後直ぐにファイル更新処理を実行させることも可能である。尚、このような手法は、本実施形態だけではなく、上述した第1乃至第3実施形態のいずれにも適用可能な手法である。 Further, in this embodiment, the file update unit 43 starts the file update process when it detects a file update instruction from the user after the download is completed. Therefore, if the user inputs a file update instruction to the information processing device 2 in advance, it is possible to have the file update process executed immediately after the download is completed. Note that such a method is applicable not only to this embodiment but also to any of the first to third embodiments described above.

尚、本実施形態において上述した点以外については、第1乃至第3実施形態において説明したものと同様であるため、説明を省略する。 Note that the points other than those mentioned above in this embodiment are the same as those described in the first to third embodiments, and therefore the explanation will be omitted.

(変形例)
以上、本発明に関する好ましい実施形態について説明した。しかし、本発明は、上記実施形態において説明した内容のものに限られるものではなく、種々の変形例が適用可能である。
(Modified example)
The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the content described in the above embodiments, and various modifications are applicable.

例えば上記実施形態では、情報処理装置2がMFPなどの画像処理装置によって構成される場合を例示したが、それに限られるものではない。すなわち、情報処理装置2は、画像処理装置以外の他の情報機器であっても構わない。そのような情報機器として、例えばパーソナルコンピュータやタブレット端末、スマートフォン、OA機器、FA機器などが挙げられる。 For example, in the above embodiment, the information processing device 2 is configured by an image processing device such as an MFP, but the information processing device 2 is not limited thereto. That is, the information processing device 2 may be another information device other than the image processing device. Examples of such information devices include personal computers, tablet terminals, smartphones, OA devices, FA devices, and the like.

2 情報処理装置
4 サーバー
11b メモリ
12 記憶部(記憶手段)
15 通電制御部(通電制御手段)
17 ジョブ制御部(データ処理手段、ジョブ制御手段)
22a,22b パターンファイル
31 ジョブ受付部(ジョブ受付手段)
32 ジョブ管理部(ジョブ管理手段)
41 ウイルス検出部(ウイルス検出手段)
42 ダウンロード部(ダウンロード手段)
43 ファイル更新部(ファイル更新手段)
2 Information processing device 4 Server 11b Memory 12 Storage unit (storage means)
15 Energization control section (energization control means)
17 Job control unit (data processing means, job control means)
22a, 22b pattern file 31 job reception unit (job reception means)
32 Job management section (job management means)
41 Virus detection unit (virus detection means)
42 Download section (download means)
43 File update unit (file update means)

Claims (15)

受け取った印刷ジョブに基づいて印刷を行う画像形成装置であって、
受け取った印刷ジョブに対してウイルスの有無を検出するためのパターンファイルを記憶する記憶手段と、
前記記憶手段に記憶されているパターンファイルを所定の記憶領域に展開し、前記所定の記憶領域に展開されたパターンファイルを参照してウイルス検出処理を実行するウイルス検出手段と、
新バージョンのパターンファイルをダウンロードして前記記憶手段に保存するダウンロード手段と、
前記ダウンロード手段によるダウンロードが完了した後、前記ウイルス検出手段によるウイルス検出処理が行われていないことを条件として、旧バージョンのパターンファイルが展開されていた前記所定の記憶領域に新バージョンのパターンファイルを展開して更新するファイル更新手段と、
を備えることを特徴とする画像形成装置。
An image forming apparatus that performs printing based on a received print job,
a storage means for storing a pattern file for detecting the presence or absence of a virus in a received print job;
Virus detection means for expanding a pattern file stored in the storage means into a predetermined storage area, and executing a virus detection process by referring to the pattern file expanded to the predetermined storage area;
downloading means for downloading a new version of the pattern file and storing it in the storage means;
After the downloading by the downloading means is completed, the new version of the pattern file is loaded into the predetermined storage area where the old version of the pattern file was expanded, provided that the virus detection process is not performed by the virus detection means. A file update means to expand and update;
An image forming apparatus comprising:
前記ファイル更新手段は、前記ウイルス検出手段を再起動させることより、前記記憶手段に記憶されている新バージョンのパターンファイルを前記所定の記憶領域に展開させることを特徴とする請求項1に記載の画像形成装置。 2. The file updating means deploys a new version of the pattern file stored in the storage means in the predetermined storage area by restarting the virus detection means. Image forming device. 前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に前記ウイルス検出手段によるウイルス検出処理が行われている場合、パターンファイルの更新を保留することを特徴とする請求項1又は2に記載の画像形成装置。 3. The image forming unit according to claim 1, wherein the file updating unit suspends updating of the pattern file if the virus detecting unit is performing virus detection processing when the downloading unit completes downloading. Device. 前記ファイル更新手段は、パターンファイルの更新を保留している状態において、前記ウイルス検出手段によるウイルス検出処理が終了した後、パターンファイルの更新を開始することを特徴とする請求項3に記載の画像形成装置。 4. The image according to claim 3, wherein the file updating means starts updating the pattern file after the virus detection process by the virus detection means is completed while the update of the pattern file is on hold. Forming device. 前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時にパターンファイルの更新を保留し、所定の動作状態へ移行するときにパターンファイルの更新を開始することを特徴とする請求項1乃至3のいずれかに記載の画像形成装置。 4. The file updating means suspends updating of the pattern file when downloading by the downloading means is completed, and starts updating the pattern file when transitioning to a predetermined operating state. The image forming apparatus described in . 通電状態を通常通電状態から省電力状態に移行させる通電制御手段、
を更に備え、
前記ファイル更新手段は、前記通電制御手段によって通電状態が前記省電力状態へ移行するときにパターンファイルの更新を開始することを特徴とする請求項5に記載の画像形成装置。
energization control means for shifting the energization state from the normal energization state to the power saving state;
further comprising;
6. The image forming apparatus according to claim 5, wherein the file updating unit starts updating the pattern file when the energization state is changed to the power saving state by the energization control unit.
ユーザーによって指定された印刷ジョブを実行するジョブ制御手段、
を更に備え、
前記ファイル更新手段は、前記ジョブ制御手段による印刷ジョブの実行状態へ移行するときにパターンファイルの更新を開始することを特徴とする請求項5に記載の画像形成装置。
job control means for executing a print job specified by a user;
further comprising;
6. The image forming apparatus according to claim 5, wherein the file updating unit starts updating the pattern file when the job control unit enters a print job execution state.
ユーザーによって指定された印刷ジョブを実行するジョブ制御手段、
を更に備え、
前記ファイル更新手段は、前記ジョブ制御手段による印刷ジョブの実行が中断されるときにパターンファイルの更新を開始することを特徴とする請求項5に記載の画像形成装置。
job control means for executing a print job specified by a user;
further comprising;
6. The image forming apparatus according to claim 5, wherein the file updating unit starts updating the pattern file when execution of the print job by the job control unit is interrupted.
前記ジョブ制御手段は、印刷ジョブの実行中に印刷ジョブの実行を継続させることができないエラーが発生した場合に印刷ジョブの実行を中断することを特徴とする請求項8に記載の画像形成装置。 9. The image forming apparatus according to claim 8, wherein the job control unit interrupts execution of the print job if an error that prevents the execution of the print job from continuing occurs during execution of the print job. 印刷ジョブを受け付けるジョブ受付手段と、
前記ジョブ受付手段によって受け付けられた印刷ジョブを実行するジョブ制御手段と、
を更に備え、
前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に、前記ジョブ受付手段に対して前記ウイルス検出処理を行う印刷ジョブの受け付けを禁止してパターンファイルの更新を行うことを特徴とする請求項1乃至3のいずれかに記載の画像形成装置。
a job reception means for accepting print jobs;
job control means for executing the print job accepted by the job reception means;
further comprising;
2. The file updating means updates the pattern file by prohibiting the job receiving means from accepting a print job for which the virus detection process is to be performed when the downloading by the downloading means is completed. 3. The image forming apparatus according to any one of 3.
前記ファイル更新手段は、前記ダウンロード手段によるダウンロード完了時に前記ウイルス検出手段によるウイルス検出処理が行われている場合、前記ウイルス検出処理を停止させてパターンファイルの更新を行うことを特徴とする請求項10に記載の画像形成装置。 10. The file updating means stops the virus detection processing and updates the pattern file when the virus detection means is performing virus detection processing when the downloading by the downloading means completes. The image forming apparatus described in . 前記ウイルス検出手段は、前記ファイル更新手段によってパターンファイルの更新が行われた後に、停止させた前記ウイルス検出処理を再度実行することを特徴とする請求項11に記載の画像形成装置。 12. The image forming apparatus according to claim 11, wherein the virus detection means re-executes the stopped virus detection process after the pattern file is updated by the file update means. 前記ジョブ受付手段は、前記ファイル更新手段によって前記ウイルス検出処理を行う印刷ジョブの受け付けが禁止されているとき、前記ウイルス検出処理を行わない印刷ジョブを受け付けることが可能であり、
前記ジョブ制御手段は、前記ファイル更新手段によってパターンファイルの更新が行われているときに前記ジョブ受付手段によって前記ウイルス検出処理を行わない印刷ジョブが受け付けられた場合、前記ファイル更新手段によるパターンファイルの更新と並行して前記ウイルス検出処理を行わない印刷ジョブを実行することを特徴とする請求項10又は11に記載の画像形成装置。
The job accepting unit is capable of accepting a print job that does not undergo the virus detection process when the file update unit prohibits acceptance of a print job that performs the virus detection process,
The job control means is configured to update the pattern file by the file update means when the job reception means receives a print job that does not perform the virus detection process while the file update means is updating the pattern file. 12. The image forming apparatus according to claim 10, wherein the image forming apparatus executes a print job in which the virus detection process is not performed in parallel with the update.
前記ファイル更新手段は、前記ダウンロード手段によるダウンロードが完了した後においてユーザーによるファイル更新指示を検知した場合にパターンファイルの更新を開始することを特徴とする請求項1乃至13のいずれかに記載の画像形成装置。 The image according to any one of claims 1 to 13, wherein the file update unit starts updating the pattern file when detecting a file update instruction from a user after the download by the download unit is completed. Forming device. 受け取った印刷ジョブに基づいて印刷を行う画像形成装置において実行されるプログラムであって、
前記画像形成装置に、
受け取った印刷ジョブに対してウイルスの有無を検出するためのパターンファイルを予め所定の記憶手段に格納しておくステップと、
前記記憶手段に記憶されているパターンファイルを読み出して所定の記憶領域に展開し、前記所定の記憶領域に展開されたパターンファイルを参照してウイルス検出処理を実行するウイルス検出ステップと、
新バージョンのパターンファイルをダウンロードして前記記憶手段に保存するダウンロードステップと、
前記ダウンロードステップによるダウンロードが完了した後、前記ウイルス検出ステップによるウイルス検出処理が行われていないことを条件として、旧バージョンのパターンファイルが展開されていた前記所定の記憶領域に新バージョンのパターンファイルを展開して更新するファイル更新ステップと、
を実行させることを特徴とするプログラム。
A program executed in an image forming apparatus that performs printing based on a received print job, the program comprising:
In the image forming apparatus,
storing in advance a pattern file for detecting the presence or absence of a virus in a received print job in a predetermined storage means;
a virus detection step of reading a pattern file stored in the storage means and expanding it in a predetermined storage area, and performing a virus detection process by referring to the pattern file expanded in the predetermined storage area;
a downloading step of downloading a new version of the pattern file and storing it in the storage means;
After the download in the download step is completed, the new version of the pattern file is stored in the predetermined storage area where the old version of the pattern file was expanded, provided that the virus detection process in the virus detection step is not performed. a file update step that deploys and updates;
A program characterized by executing.
JP2022194010A 2018-11-20 2022-12-05 Image forming device and program Active JP7424457B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022194010A JP7424457B2 (en) 2018-11-20 2022-12-05 Image forming device and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018217009A JP7196556B2 (en) 2018-11-20 2018-11-20 Image forming device, information processing device and program
JP2022194010A JP7424457B2 (en) 2018-11-20 2022-12-05 Image forming device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018217009A Division JP7196556B2 (en) 2018-11-20 2018-11-20 Image forming device, information processing device and program

Publications (2)

Publication Number Publication Date
JP2023021234A JP2023021234A (en) 2023-02-10
JP7424457B2 true JP7424457B2 (en) 2024-01-30

Family

ID=70908109

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018217009A Active JP7196556B2 (en) 2018-11-20 2018-11-20 Image forming device, information processing device and program
JP2022194010A Active JP7424457B2 (en) 2018-11-20 2022-12-05 Image forming device and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018217009A Active JP7196556B2 (en) 2018-11-20 2018-11-20 Image forming device, information processing device and program

Country Status (1)

Country Link
JP (2) JP7196556B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004259060A (en) 2003-02-26 2004-09-16 Canon Inc Data receiving method and image forming apparatus
JP2006277004A (en) 2005-03-28 2006-10-12 Canon Inc Network device management server
JP2006293557A (en) 2005-04-07 2006-10-26 Ntt Docomo Inc Mobile machine, pattern file updating method, and communication system
US20110032567A1 (en) 2009-08-06 2011-02-10 Tetsuya Ishida Job processing system and image processing apparatus
JP2011065483A (en) 2009-09-17 2011-03-31 Konica Minolta Business Technologies Inc Job processing system and image processing apparatus

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032258A (en) 2000-07-13 2002-01-31 Hitachi Ltd Job operation system
JP2002196942A (en) 2000-12-26 2002-07-12 Okiden Joho Service Kk Pattern file renewal system
JP4426736B2 (en) 2001-04-27 2010-03-03 株式会社日立製作所 Program correction method and program
CN100412803C (en) 2003-03-17 2008-08-20 精工爱普生株式会社 Method and system for acquiring particular data upon start of a particular program
JP2007006081A (en) 2005-06-23 2007-01-11 Nec System Technologies Ltd Portable communication terminal and its program and file transfer method and system used for its program
CN100485700C (en) 2006-08-11 2009-05-06 珠海金山软件股份有限公司 Device for preventing and treating computer virus by real-time monitoring for file and its upgrading method
JP2010009474A (en) 2008-06-30 2010-01-14 Canon Inc Peripheral device
US20100083381A1 (en) 2008-09-30 2010-04-01 Khosravi Hormuzd M Hardware-based anti-virus scan service
JP5369715B2 (en) 2009-01-28 2013-12-18 船井電機株式会社 Network equipment
JP5843637B2 (en) 2012-02-01 2016-01-13 キヤノン株式会社 Image forming apparatus, image forming apparatus control method, and program
JP2015127887A (en) 2013-12-27 2015-07-09 キヤノン株式会社 Image forming apparatus, control method of the same, and program
JP6221972B2 (en) 2014-07-10 2017-11-01 スター精密株式会社 Firmware update system and update control method
JP5914616B1 (en) 2014-10-23 2016-05-11 西日本電信電話株式会社 Network system, firmware update method, station side termination device, and subscriber side termination device
JP6606852B2 (en) 2015-04-20 2019-11-20 ブラザー工業株式会社 Image forming apparatus, firmware update method, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004259060A (en) 2003-02-26 2004-09-16 Canon Inc Data receiving method and image forming apparatus
JP2006277004A (en) 2005-03-28 2006-10-12 Canon Inc Network device management server
JP2006293557A (en) 2005-04-07 2006-10-26 Ntt Docomo Inc Mobile machine, pattern file updating method, and communication system
US20090240738A1 (en) 2005-04-07 2009-09-24 Ntt Docomo, Inc Mobile device, pattern file update method, and communication system
US20110032567A1 (en) 2009-08-06 2011-02-10 Tetsuya Ishida Job processing system and image processing apparatus
JP2011065483A (en) 2009-09-17 2011-03-31 Konica Minolta Business Technologies Inc Job processing system and image processing apparatus

Also Published As

Publication number Publication date
JP7196556B2 (en) 2022-12-27
JP2023021234A (en) 2023-02-10
JP2020086687A (en) 2020-06-04

Similar Documents

Publication Publication Date Title
JP5343647B2 (en) Information processing apparatus, image forming apparatus, data restoration method, program, and storage medium
JP7069826B2 (en) Information processing equipment, firmware update method, program
US10970023B2 (en) Printing system for directly transmitting a print job to printer when a server is unavailable and printer driver program
US20110093839A1 (en) Image forming apparatus including firmware, method of controlling image forming apparatus, and storage medium
US8922805B2 (en) Image processing apparatus having updatable firmware, method for controlling image processing apparatus, and program
JP7424457B2 (en) Image forming device and program
JP7134670B2 (en) IMAGE FORMING APPARATUS AND CONTROL METHOD FOR IMAGE FORMING APPARATUS
US20190187878A1 (en) Icon display control apparatus that prevents messed-up display of icons, method of controlling same, and storage medium
JP4802607B2 (en) Image processing device
US11797292B2 (en) Information processing apparatus using swap file, control method therefor, and storage medium
JP2006099187A (en) Information processor
JP6953828B2 (en) Information processing equipment and programs
US11977801B2 (en) Image processing apparatus, control method, and storage medium
JP2013250911A (en) Image formation device, control method of image formation device and computer program
US11048451B2 (en) Image forming device having additional operation mode for additional module
US10992834B2 (en) Image processing apparatus, method for controlling the same, and computer-readable storage medium
JP2019144960A (en) Update management server and program
JP5932511B2 (en) Information processing apparatus, software update method, and computer program
JP2003330655A (en) Image forming device and method for controlling the same device and computer readable storage medium and its program
JP6464657B2 (en) Image processing apparatus, program update method, and computer program
JP6873772B2 (en) Information processing device, information processing device control method and application management method
JP2016178499A (en) Image processing apparatus and information processing apparatus
JP2024000305A (en) Image forming apparatus, vitus quarantine system, and virus quarantine method
JP2022187302A (en) Information processing device, control method thereof, and program
JP2016193582A (en) Job processing device and program for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240101

R150 Certificate of patent or registration of utility model

Ref document number: 7424457

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150