JPH11119927A - Printer system - Google Patents

Printer system

Info

Publication number
JPH11119927A
JPH11119927A JP9283435A JP28343597A JPH11119927A JP H11119927 A JPH11119927 A JP H11119927A JP 9283435 A JP9283435 A JP 9283435A JP 28343597 A JP28343597 A JP 28343597A JP H11119927 A JPH11119927 A JP H11119927A
Authority
JP
Japan
Prior art keywords
virus
language
program language
unit
input
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.)
Pending
Application number
JP9283435A
Other languages
Japanese (ja)
Inventor
Kenichiro Oka
賢一郎 岡
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9283435A priority Critical patent/JPH11119927A/en
Publication of JPH11119927A publication Critical patent/JPH11119927A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer system for preventing data held in the system from being destroyed by virus which has contaminated into a programming language, even if the programming language to be used for various kinds of processing has been fetched from the outside. SOLUTION: Page description language(PDL) data and applet inputted via an interface 4 connected to a host computer 1 are discriminated by a language discriminating part 5 and the applet confirms no virus is mixed through a virus infection detecting means 6 for detecting the mixture of the virus, is translated into a machine word suitable for its own CPU through a Java interpreter 7 and used for processing the PDL data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、装置内部の動作
プログラムを外部から書き換えできるプリンタ装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer capable of externally rewriting an operation program in the apparatus.

【0002】[0002]

【従来の技術】プログラミング言語Javaが登場し、
中央演算処理ユニット(以下CPUという)に依存せず
に動作するプログラムを作成することが可能になった。
Javaは、ソースプログラムをコンパイルしてバイト
コードと呼ばれる中間言語を生成し、バイトコードはO
SやCPU環境に関わりなく動作させることができる。
バイトコードはCPUに対応するインタープリタによ
り、リアルタイムに機械語に変換されてプログラムを実
行する。
2. Description of the Related Art The programming language Java has appeared,
It has become possible to create a program that operates independently of a central processing unit (hereinafter referred to as a CPU).
Java compiles a source program to generate an intermediate language called bytecode, and the bytecode is
It can be operated irrespective of S or CPU environment.
The bytecode is converted into a machine language in real time by an interpreter corresponding to the CPU and executes the program.

【0003】Java言語で記述されたJavaプログ
ラムは、自己完結型の一般的なアプリケーションの他
に、アプレット(applet)と呼ばれるバイトコー
ドの小プログラムが利用される。アプレットは、Web
環境で使用されることが多い。WWWブラウザは、We
bサーバ上にあるHTML(Hyper Text M
akeup Language)ファイルをダウンロー
ドし、ホームページなどを表示するが、HTMLファイ
ル中にアプレットの埋込を記述しておくと、WWWブラ
ウザはアプレットをWebサーバからダウンロードし、
そのアプレットを実行する。
As a Java program described in the Java language, a small program of byte code called an applet is used in addition to a general self-contained application. Applet is Web
Often used in environments. WWW browser is We
b (Hyper Text M) on the server
akeup Language) Download the file and display the homepage etc. If the embedding of the applet is described in the HTML file, the WWW browser downloads the applet from the Web server,
Run the applet.

【0004】アプレットは、コンピュータ上のWWWブ
ラウザ以外に、プリンタ装置にダウンロードして利用す
ることも考えられる。この考え方は、例えば“The
Hard−copy Observer,March
1996,pp.22−23”にJavaプリンタとし
て示されている。Javaプリンタでは、ネットワーク
を介してアプレットをダウンロードすることにより、プ
リンタ装置の柔軟度を増すことができる。アプレットと
しては、印刷用のファイルそのものの他に、印刷処理、
画像処理などプリンタ制御に関わるプログラムも考えら
れる。また、アプレットをプリンタ装置にダウンロード
することで、ROM交換を必要とせずにプリンタ装置を
アップグレードすることも可能である。
[0004] In addition to a WWW browser on a computer, an applet may be used by downloading it to a printer. The idea is, for example, "The
Hard-copy Observer, March
1996, pp. 22-23 "as a Java printer. In a Java printer, the flexibility of the printer device can be increased by downloading an applet via a network. The applet may be a file other than the print file itself. , Printing process,
A program related to printer control such as image processing is also conceivable. Further, by downloading the applet to the printer device, it is possible to upgrade the printer device without requiring ROM exchange.

【0005】[0005]

【発明が解決しようとする課題】上記のようなJava
プリンタでは、サードパーティから入手したアプレット
をプリンタ装置に取り込むと、コンピュータウイルスが
混入し、プリンタ装置内部のハードディスクなどに保持
されたフォントデータ、プログラムなどを破壊する恐れ
がある。
SUMMARY OF THE INVENTION Java as described above
In a printer, if an applet obtained from a third party is taken into a printer device, a computer virus may be mixed in the printer device, which may destroy font data and programs stored in a hard disk or the like inside the printer device.

【0006】この発明は、このような課題を解決するた
めになされたもので、種々の処理を行なうのに用いられ
るプログラミング言語を外部から取込んでも、プログラ
ミング言語に混入したウイルスにより、装置内部に保持
するデータが、破壊されることを防止するプリンタ装置
を得ることを目的とする。
The present invention has been made in order to solve such a problem. Even if a programming language used for performing various processes is fetched from the outside, the virus mixed in the programming language may cause the virus to enter the inside of the device. It is an object of the present invention to obtain a printer device that prevents stored data from being destroyed.

【0007】[0007]

【課題を解決するための手段】この発明に係わるプリン
タ装置においては、入力部に入力され、判別部で判別さ
れたプログラム用言語に混入するウイルスを検出するウ
イルス検出部で、ウイルスが混入されていないことが確
認されたプログラム用言語を用いて入力部に入力される
印刷用データを処理する処理部を備えたものである。ま
た、ウイルス検出部は、ウイルス検出部でウイルスが混
入されていないことが確認されたプログラム用言語を用
いてウイルスの検出を行なうものである。
In the printer device according to the present invention, a virus is detected by a virus detection unit that detects a virus that is input to an input unit and is mixed in a program language determined by a determination unit. A processing unit is provided for processing print data input to the input unit using a program language that has been confirmed not to exist. The virus detection unit detects a virus using a program language for which it has been confirmed that the virus has not been mixed in the virus detection unit.

【0008】また、入力部に入力され、判別部で判別さ
れたプログラム用言語に混入するウイルスを検出するウ
イルス検出部で、混入が検出されたウイルスを除去する
ウイルス除去部を有し、ウイルス検出部でウイルスが混
入されていないことが確認されたプログラム用言語また
はウイルス除去部によってウイルスが除去されたプログ
ラム用言語を用いて入力部に入力される印刷用データを
処理する処理部を備えたものである。さらに、ウイルス
検出部は、ウイルス検出部でウイルスが混入されていな
いことが確認されたプログラム用言語またはウイルス除
去部によってウイルスが除去されたプログラム用言語を
用いてウイルスの検出を行なうものである。
A virus detection unit for detecting a virus which is input to the input unit and which is mixed in the program language determined by the determination unit; A processing unit that processes print data that is input to the input unit using a program language that has been confirmed to be free of viruses at the unit or a program language from which viruses have been removed by the virus removal unit It is. Further, the virus detection unit detects a virus using a program language in which it has been confirmed by the virus detection unit that no virus has been contaminated, or a program language in which the virus has been removed by the virus removal unit.

【0009】また、プログラム用言語には、ウイルス情
報が含まれるものである。また、ウイルス除去部は、ウ
イルス検出部でウイルスが混入されていないことが確認
されたプログラム用言語またはウイルス除去部によって
ウイルスが除去されたプログラム用言語を用いてウイル
スの除去を行なうものである。さらにまた、入力部に入
力されるプログラム用言語は、中間言語であり、この中
間言語を機械語に翻訳するインタープリタを備えたもの
である。
[0009] The programming language contains virus information. The virus removal unit removes a virus using a program language in which a virus has not been contaminated by the virus detection unit or a program language in which the virus has been removed by the virus removal unit. Furthermore, the program language input to the input unit is an intermediate language, and includes an interpreter that translates the intermediate language into a machine language.

【0010】また、入力部に入力されるプログラム用言
語は、機械語であるものである。また、ウイルス検出部
は、中間言語に混入するウイルスを検出するものであ
る。加えて、ウイルス検出部は、機械語に混入するウイ
ルスを検出するものである。また、プログラム用言語を
格納する記憶部を備えたものである。また、ウイルス検
出部は、記憶部に格納されたプログラム用言語に混入し
ているウイルスを検出するものである。
[0010] The programming language input to the input unit is a machine language. The virus detection unit detects a virus mixed in the intermediate language. In addition, the virus detection unit detects a virus mixed in the machine language. In addition, a storage unit for storing a program language is provided. Further, the virus detection unit detects a virus mixed in the program language stored in the storage unit.

【0011】[0011]

【発明の実施の形態】 実施の形態1.図1は、この発明の実施の形態1による
Javaに対応したプリンタ装置の内部構成を示す図
で、データの流れを中心に示している。図において、1
はホストコンピュータ、2はプリンタ、3はプリンタ2
の内部のコントローラ部、4はホストコンピュータ1と
の間のインターフェースで、入力部を形成する。5は言
語判定部、6はウイルス感染検出手段、7はJavaイ
ンタープリタ、8はPDL(Page Descrip
tion Language、ページ記述言語)インタ
ープリタ、9は種々の処理を制御するCPU、10はコ
ントローラ部3のCPUプログラムを記憶するROM
(Read Only Memory)、11は書き込
み可能メモリ、12はコントローラ回路であり、4〜1
2でコントローラ部3を構成する。13はプリンタ2内
部にあって印刷を行うプリンタエンジン部である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1 FIG. 1 is a diagram showing the internal configuration of a printer device compatible with Java according to Embodiment 1 of the present invention, mainly showing the flow of data. In the figure, 1
Is a host computer, 2 is a printer, 3 is a printer 2
Is an interface with the host computer 1 and forms an input unit. 5 is a language determination unit, 6 is a virus infection detecting means, 7 is a Java interpreter, 8 is a PDL (Page Descriptor).
Tion Language, page description language) Interpreter 9, CPU for controlling various processes, 10 ROM for storing CPU program of controller unit 3
(Read Only Memory), 11 is a writable memory, 12 is a controller circuit, and
2 constitutes the controller unit 3. Reference numeral 13 denotes a printer engine unit that performs printing in the printer 2.

【0012】このように構成されたプリンタ装置では、
プリンタ2に通常の印刷を行わせる場合は、ホストコン
ピュータ1はPDLデータを出力する。プリンタ2は、
インターフェース4を介してPDLデータを入力する
と、言語判定部5でPDLデータと判断し、PDLイン
タープリタ8にPDLデータを送る。PDLインタープ
リタ8で、PDLデータは解読されてページ画像データ
とされ、コントローラ回路12でページ画像データがビ
ットマップデータに変換され、プリンタエンジン部13
にそのビットマップデータが渡される。プリンタエンジ
ン部13は、受け取ったビットマップデータを用紙など
に印刷する。
In the printer device configured as described above,
To cause the printer 2 to perform normal printing, the host computer 1 outputs PDL data. Printer 2
When PDL data is input via the interface 4, the language determination unit 5 determines that the data is PDL data, and sends the PDL data to the PDL interpreter 8. The PDL interpreter 8 decodes the PDL data into page image data, and the controller circuit 12 converts the page image data into bitmap data.
Is passed the bitmap data. The printer engine unit 13 prints the received bitmap data on paper or the like.

【0013】また、ホストコンピュータ1からプリンタ
2に、Javaのアプレットとして、プリンタ2の制御
プログラムを送ることができる。この場合、インターフ
ェース4から入力したアプレットは、言語判定部5でア
プレットと判定されてJavaインタープリタ7へ送ら
れる。この段階で、アプレットにウイルスが混入してい
るか否かをウイルス感染検出手段6で判断する。実施の
形態1では、ウイルス感染検出手段6は、CPU9制御
の管理下にあり、ウイルス情報は、ROM10又は書込
み可能メモリ11に登録されている。ウイルス感染検出
手段6がウイルスを検出しなかった場合は、中間言語で
あるアプレットをJavaインタープリタ7に通し、機
械語に変換する。機械語はCPU9が実行するためのプ
ログラムとして、一旦書込み可能メモリ11に保存さ
れ、順次読み出されてCPU9により実行される。
Further, a control program of the printer 2 can be sent from the host computer 1 to the printer 2 as a Java applet. In this case, the applet input from the interface 4 is determined as an applet by the language determination unit 5 and sent to the Java interpreter 7. At this stage, the virus infection detection means 6 determines whether or not a virus is mixed in the applet. In the first embodiment, the virus infection detection means 6 is under the control of the CPU 9, and the virus information is registered in the ROM 10 or the writable memory 11. If the virus infection detecting means 6 does not detect a virus, the applet as an intermediate language is passed through a Java interpreter 7 and converted into a machine language. The machine language is temporarily stored in the writable memory 11 as a program to be executed by the CPU 9, read out sequentially, and executed by the CPU 9.

【0014】なお、アプレットを書込み可能メモリ11
に保存し、CPUにより実行時に機械語に変換すること
も可能である。書込み可能メモリ11としては、揮発性
のRAMの他に、不揮発性のメモリやハードディスクな
ども考えられる。アプレットによっては、一時的に使用
するものと、継続的に使用するものがある。継続的に使
用する場合は、アプレットから変換した機械語を不揮発
性メモリに保存する必要がある。このように、ウイルス
感染検出手段6の働きにより、アプレットに混入したウ
イルスを検出し、プリンタ内部の書込み可能メモリ11
の内容が壊されるのを防ぐことができる。また、インタ
ーフェース4に入力するプログラミング言語を機械語と
することも可能である。この場合は、Javaインター
プリタ7を設ける必要はなくなる。
The applet-writable memory 11
, And can be converted into a machine language at the time of execution by the CPU. As the writable memory 11, in addition to the volatile RAM, a nonvolatile memory, a hard disk, or the like can be considered. Some applets are used temporarily and others are used continuously. For continuous use, the machine language converted from the applet must be stored in non-volatile memory. In this manner, the virus infection detecting means 6 detects the virus mixed in the applet and writes the virus into the writable memory 11 inside the printer.
Can be prevented from being destroyed. Further, the programming language input to the interface 4 can be a machine language. In this case, there is no need to provide the Java interpreter 7.

【0015】実施の形態2.ウイルス感染検出手段6が
利用するウイルス情報は、既知のものについてはROM
10に固定データとして用意しておくことができるが、
新種のウイルス情報を追加して登録していくことが必要
になる。このために、ウイルス情報をアプレットとし
て、ホストコンピュータ1からプリンタ2にダウンロー
ドする方法が有効である。ダウンロードされたウイルス
情報は、不揮発性の書込み可能メモリ11に登録され、
ウイルス感染検出手段6が参照する。このウイルス情報
についても、ウイルスの混入がないことをウイルス感染
検出手段6で確認することは勿論である。
Embodiment 2 The virus information used by the virus infection detection means 6 is ROM information for known virus information.
10 can be prepared as fixed data,
It is necessary to add and register new virus information. For this purpose, a method of downloading virus information as an applet from the host computer 1 to the printer 2 is effective. The downloaded virus information is registered in the nonvolatile writable memory 11,
The virus infection detecting means 6 refers to this. As for this virus information, it is a matter of course that the virus infection detecting means 6 confirms that there is no virus contamination.

【0016】図2は、実施の形態2によるハードディス
クなどの不揮発性書込み可能メモリ11にウイルス情報
を登録している状態を示している。図において、書込み
可能メモリ11は、フォントデータ14、アプレットか
ら登録した処理プログラム1、2であるアプレット1
5、16、アプレットから登録したウイルス情報1、2
であるアプレット17、18、作業領域19などに区分
されている。書込み可能メモリ11に記憶されたデータ
のうち、フォントデータ14、処理プログラムであるア
プレット15、16は、プリンタ2が印刷するときに利
用される。ウイルス情報であるアプレット17、18
は、ROM10にあらかじめ登録されているウイルス情
報とともに、ウイルス感染検出手段6で利用される。
FIG. 2 shows a state in which virus information is registered in a nonvolatile writable memory 11 such as a hard disk according to the second embodiment. In the figure, a writable memory 11 stores an applet 1 which is processing programs 1 and 2 registered from font data 14 and an applet.
5, 16, virus information registered from applet 1,2
, And a work area 19. Among the data stored in the writable memory 11, the font data 14, and the applets 15 and 16, which are processing programs, are used when the printer 2 performs printing. Applets 17 and 18 that are virus information
Are used by the virus infection detecting means 6 together with the virus information registered in the ROM 10 in advance.

【0017】このように、既知のウイルス情報は、RO
M10に、新種のウイルス情報は、アプレットとして入
力して書込み可能メモリ11に登録することにより、不
特定多種のウイルスに適宜対応でき、プリンタ装置が被
る被害を防ぐことができる。なお、ウイルス感染検出手
段6で使用される検出プログラムも、アプレットとして
インターフェース4から入力し、ウイルスの混入がない
ことを確認したのち、使用することができる。
As described above, the known virus information is stored in the RO
By inputting the new type of virus information to M10 as an applet and registering it in the writable memory 11, it is possible to appropriately deal with unspecified various types of viruses, and to prevent damage to the printer device. The detection program used by the virus infection detection means 6 can also be used after being input from the interface 4 as an applet and confirming that there is no virus contamination.

【0018】実施の形態3.図3は、この発明の実施の
形態3によるJavaに対応したプリンタ装置の内部構
成を示す図である。図において、1〜13は図1におけ
るものと同一のものであり、その説明を省略する。実施
の形態1では、ウイルス感染検出手段6が、Javaイ
ンタープリタ7の前段にあり、アプレットの段階でウイ
ルス判定をしているが、ウイルス感染検出手段6は、図
3のように、Javaインタープリタ7の後段に配置し
てもよく、この場合は機械語に対してウイルス判定し、
結果的に実施の形態1と同様の効果を奏する。ROM1
0あるいは書込み可能メモリ11に保持するウイルス情
報は、ウイルス判定をアプレットで行うか機械語で行う
かに対応させる必要がある。
Embodiment 3 FIG. 3 is a diagram showing an internal configuration of a printer device compatible with Java according to Embodiment 3 of the present invention. In the figure, reference numerals 1 to 13 are the same as those in FIG. In the first embodiment, the virus infection detecting means 6 is located at a stage prior to the Java interpreter 7 and makes a virus determination at the stage of an applet. However, as shown in FIG. It may be placed at the later stage, in this case, virus is determined for machine language,
As a result, an effect similar to that of the first embodiment is obtained. ROM1
The virus information held in 0 or the writable memory 11 needs to correspond to whether the virus determination is performed by an applet or a machine language.

【0019】実施の形態4.図4は、この発明の実施の
形態4によるJavaに対応したプリンタ装置の内部構
成を示す図である。図において、1〜5、7〜13は図
1におけるものと同一のものである。20はウイルス感
染を検出するとともに、ウイルスを除去することができ
るウイルス感染検出/除去手段である。図4は、図1と
比較して、ウイルス感染検出手段6がウイルス感染検出
/除去手段20に置換わっている。実施の形態4では、
アプレットにウイルスが検出された場合は、ワクチンプ
ログラムによりウイルスを除去してから、アプレットを
取り込んで利用することを想定している。ワクチンプロ
グラムは、ROM10または書込み可能メモリ11から
読み出す。ROM10内のワクチンプログラムは、あら
かじめ登録してあるものであり、書込み可能メモリ11
内のワクチンプログラムは、アプレットとして入力して
ウイルスが混入していないことを確認したのち、追加登
録されるものである。ウイルス感染検出/除去手段20
により、ウイルスに感染したアプレットが入力された場
合でも、ワクチンプログラムでウイルスを取り除き、無
害にすることができる。
Embodiment 4 FIG. 4 is a diagram showing an internal configuration of a printer device compatible with Java according to Embodiment 4 of the present invention. In the figure, reference numerals 1 to 5 and 7 to 13 are the same as those in FIG. Reference numeral 20 denotes a virus infection detection / removal means capable of detecting a virus infection and removing the virus. FIG. 4 is different from FIG. 1 in that the virus infection detection means 6 is replaced with a virus infection detection / removal means 20. In the fourth embodiment,
When a virus is detected in an applet, it is assumed that the virus is removed by a vaccine program and then the applet is imported and used. The vaccine program is read from the ROM 10 or the writable memory 11. The vaccine program in the ROM 10 is registered in advance and has a writable memory 11
The vaccine program inside is to be registered as an applet after confirming that the virus is not contaminated. Virus infection detection / removal means 20
Thus, even if an applet infected with a virus is input, the virus can be removed and rendered harmless by a vaccine program.

【0020】実施の形態5.実施の形態4では、ウイル
ス感染検出/除去手段20が、Javaインタープリタ
7の前段に配置されてアプレットに作用するが、ウイル
ス感染検出/除去手段20はJavaインタープリタ7
の後段にあってもよい。この場合は、ウイルス検出と除
去動作は機械語に作用する。また、書込み可能メモリ1
1に取り込まれているウイルスを検出して除去すること
もできる。
Embodiment 5 In the fourth embodiment, the virus infection detection / removal unit 20 is disposed in front of the Java interpreter 7 and acts on the applet.
May be in the subsequent stage. In this case, the virus detection and removal operation operates on the machine language. Also, writable memory 1
It is also possible to detect and remove the virus incorporated in the sample.

【0021】[0021]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。入力部
に入力され、判別部で判別されたプログラム用言語に混
入するウイルスを検出するウイルス検出部で、ウイルス
が混入されていないことが確認されたプログラム用言語
を用いて入力部に入力される印刷用データを処理する処
理部を備えたので、入力部に入力されるプログラム用言
語を用いて印刷用データを処理することができると共
に、ウイルスの混入により装置内部のデータが破壊され
るのを防ぐことができる。また、ウイルス検出部は、ウ
イルス検出部でウイルスが混入されていないことが確認
されたプログラム用言語を用いてウイルスの検出を行な
うので、新しいプログラムによって新種のウイルスの検
出を行なうことができる。
Since the present invention is configured as described above, it has the following effects. A virus detection unit that detects a virus that is input to the input unit and is mixed in the program language determined by the determination unit, and that is input to the input unit using the program language that is confirmed to be free of virus A processing unit for processing print data is provided, so that print data can be processed using the programming language input to the input unit, and that the data inside the device is destroyed due to virus contamination. Can be prevented. In addition, the virus detection unit detects a virus using a program language for which it has been confirmed that the virus has not been contaminated by the virus detection unit. Therefore, a new program can detect a new type of virus.

【0022】また、入力部に入力され、判別部で判別さ
れたプログラム用言語に混入するウイルスを検出するウ
イルス検出部で、混入が検出されたウイルスを除去する
ウイルス除去部を有し、ウイルス検出部でウイルスが混
入されていないことが確認されたプログラム用言語また
はウイルス除去部によってウイルスが除去されたプログ
ラム用言語を用いて入力部に入力される印刷用データを
処理する処理部を備えたので、入力部に入力されるプロ
グラム用言語を用いて印刷用データを処理することがで
きると共に、ウイルスの混入により装置内部のデータが
破壊されるのを防ぐことができる。さらに、ウイルス検
出部は、ウイルス検出部でウイルスが混入されていない
ことが確認されたプログラム用言語またはウイルス除去
部によってウイルスが除去されたプログラム用言語を用
いてウイルスの検出を行なうので、新しいプログラムに
よって新種のウイルスの検出を行なうことができる。
A virus detection unit for detecting a virus which is input to the input unit and which is mixed in the program language determined by the determination unit; A processing unit that processes print data that is input to the input unit using a program language that has been confirmed to be free of viruses at the unit or a program language from which viruses have been removed by the virus removal unit. In addition, it is possible to process the print data using the program language input to the input unit, and to prevent the data inside the apparatus from being destroyed due to the entry of a virus. Furthermore, the virus detection unit detects a virus using a program language in which the virus detection unit has confirmed that no virus has been contaminated or a program language in which the virus has been removed by the virus removal unit. Thus, a new kind of virus can be detected.

【0023】また、プログラム用言語には、ウイルス情
報が含まれるので、新種のウイルスにも対応できる。ま
た、ウイルス除去部は、ウイルス検出部でウイルスが混
入されていないことが確認されたプログラム用言語また
はウイルス除去部によってウイルスが除去されたプログ
ラム用言語を用いてウイルスの除去を行なうので、新し
いプログラムによって新種のウイルスの除去を行なうこ
とができる。
Further, since the program language contains virus information, it can cope with a new kind of virus. In addition, the virus removal unit removes the virus using the program language for which the virus detection unit has confirmed that no virus has been contaminated or the program language from which the virus has been removed by the virus removal unit. Thus, a new kind of virus can be removed.

【0024】さらにまた、入力部に入力されるプログラ
ム用言語は、中間言語であり、この中間言語を機械語に
翻訳するインタープリタを備えたので、環境に拘りなく
動作できる中間言語のプログラムを入力させることがで
きる。また、入力部に入力されるプログラム用言語は、
機械語であるので、インタープリタを必要としない。
Further, the program language input to the input unit is an intermediate language, and an interpreter for translating the intermediate language into a machine language is provided, so that an intermediate language program that can operate regardless of the environment is input. be able to. The programming language input to the input unit is
Since it is a machine language, it does not require an interpreter.

【0025】また、ウイルス検出部は、中間言語に混入
するウイルスを検出するので、環境に拘りなく動作する
中間言語によるプログラムの入力が行なえ、しかもウイ
ルスによる装置内部のデータの破壊も起こらない。加え
て、ウイルス検出部は、機械語に混入するウイルスを検
出するので、インタープリタを必要としないプログラム
の入力が行なえ、しかもウイルスによる装置内部のデー
タの破壊も起こらない。
Further, since the virus detecting section detects a virus mixed in the intermediate language, it can input a program in an intermediate language that operates irrespective of the environment, and the virus does not destroy data in the device. In addition, since the virus detection unit detects a virus mixed in a machine language, a program that does not require an interpreter can be input, and the virus does not destroy data inside the device.

【0026】また、プログラム用言語を格納する記憶部
を備えたので、随時呼出して利用することができる。ま
た、ウイルス検出部は、記憶部に格納されたプログラム
用言語に混入しているウイルスを検出するので、検出プ
ログラムを更新した場合などにすでに混入しているウイ
ルスにも対応することができる。
Further, since a storage unit for storing a program language is provided, it can be called and used at any time. Further, since the virus detection unit detects a virus mixed in the program language stored in the storage unit, the virus detection unit can cope with a virus already mixed when the detection program is updated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1によるJavaに対
応したプリンタ装置の内部構成を示す図である。
FIG. 1 is a diagram showing an internal configuration of a printer device compatible with Java according to a first embodiment of the present invention.

【図2】 この発明の実施の形態2による不揮発性書込
み可能メモリの構成を示す図である。
FIG. 2 is a diagram showing a configuration of a nonvolatile writable memory according to a second embodiment of the present invention.

【図3】 この発明の実施の形態3によるJavaに対
応したプリンタ装置の内部構成を示す図である。
FIG. 3 is a diagram showing an internal configuration of a printer device compatible with Java according to a third embodiment of the present invention.

【図4】 この発明の実施の形態4によるJavaに対
応したプリンタ装置の内部構成を示す図である。
FIG. 4 is a diagram showing an internal configuration of a printer device compatible with Java according to a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

2 プリンタ、 4 インターフェース、 5 言語判
定部、6 ウイルス感染検出手段、 7 Javaイン
タープリタ、8 PDLインタープリタ、 9 CP
U、 11 書込み可能メモリ、20 ウイルス感染検
出/除去手段。
2 printer, 4 interface, 5 language determination unit, 6 virus infection detection means, 7 Java interpreter, 8 PDL interpreter, 9 CP
U, 11 writable memory, 20 virus infection detection / removal means.

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 印刷用データとプログラム用言語が入力
される入力部、この入力部に入力される印刷用データと
プログラム用言語を判別する判別部、この判別部で判別
されたプログラム用言語に混入するウイルスを検出する
ウイルス検出部、このウイルス検出部でウイルスが混入
されていないことが確認されたプログラム用言語を用い
て印刷用データを処理する処理部を備えたことを特徴と
するプリンタ装置。
1. An input section for inputting print data and a program language, a determination section for determining print data and a program language input to the input section, and a program language determined by the determination section. A printer device comprising: a virus detection unit that detects a virus to be mixed; and a processing unit that processes print data using a program language for which it has been confirmed that the virus has not been mixed by the virus detection unit. .
【請求項2】 ウイルス検出部は、ウイルス検出部でウ
イルスが混入されていないことが確認されたプログラム
用言語を用いてウイルスの検出を行なうことを特徴とす
る請求項1記載のプリンタ装置。
2. The printer device according to claim 1, wherein the virus detection unit detects the virus using a program language for which it has been confirmed that the virus has not been mixed in the virus detection unit.
【請求項3】 印刷用データとプログラム用言語が入力
される入力部、この入力部に入力される印刷用データと
プログラム用言語を判別する判別部、この判別部で判別
されたプログラム用言語に混入するウイルスを検出する
ウイルス検出部、このウイルス検出部で混入が検出され
たウイルスを除去するウイルス除去部、上記ウイルス検
出部でウイルスが混入されていないことが確認されたプ
ログラム用言語または上記ウイルス除去部によってウイ
ルスが除去されたプログラム用言語を用いて印刷用デー
タを処理する処理部を備えたことを特徴とするプリンタ
装置。
3. An input section for inputting print data and a program language, a determination section for determining print data and a program language input to the input section, and a program language determined by the determination section. A virus detection unit that detects a virus to be contaminated, a virus removal unit that removes a virus that has been contaminated by the virus detection unit, a program language or a virus that has been confirmed by the virus detection unit to be free of a virus A printer device, comprising: a processing unit that processes print data using a program language from which a virus has been removed by a removal unit.
【請求項4】 ウイルス検出部は、ウイルス検出部でウ
イルスが混入されていないことが確認されたプログラム
用言語またはウイルス除去部によってウイルスが除去さ
れたプログラム用言語を用いてウイルスの検出を行なう
ことを特徴とする請求項3記載のプリンタ装置。
4. The virus detection unit detects a virus using a program language for which it has been confirmed by the virus detection unit that no virus has been contaminated or a program language from which the virus has been removed by the virus removal unit. 4. The printer according to claim 3, wherein:
【請求項5】 プログラム用言語には、ウイルス情報が
含まれることを特徴とする請求項2または請求項4記載
のプリンタ装置。
5. The printer according to claim 2, wherein the program language includes virus information.
【請求項6】 ウイルス除去部は、ウイルス検出部でウ
イルスが混入されていないことが確認されたプログラム
用言語または上記ウイルス除去部によってウイルスが除
去されたプログラム用言語を用いてウイルスの除去を行
なうことを特徴とする請求項3または請求項4記載のプ
リンタ装置。
6. The virus removing unit removes a virus using a program language for which it has been confirmed by the virus detecting unit that no virus has been contaminated or a program language from which the virus has been removed by the virus removing unit. The printer device according to claim 3 or 4, wherein
【請求項7】 入力部に入力されるプログラム用言語
は、中間言語であり、この中間言語を機械語に翻訳する
インタープリタを備えたことを特徴とする請求項1〜請
求項6のいずれか一項記載のプリンタ装置。
7. The program language input to the input unit is an intermediate language, and an interpreter for translating the intermediate language into a machine language is provided. A printer device according to claim 1.
【請求項8】 入力部に入力されるプログラム用言語
は、機械語であることを特徴とする請求項1〜請求項6
のいずれか一項記載のプリンタ装置。
8. The program language input to the input unit is a machine language.
The printer device according to any one of the preceding claims.
【請求項9】 ウイルス検出部は、中間言語に混入する
ウイルスを検出することを特徴とする請求項7記載のプ
リンタ装置。
9. The printer device according to claim 7, wherein the virus detection unit detects a virus mixed in the intermediate language.
【請求項10】 ウイルス検出部は、機械語に混入する
ウイルスを検出することを特徴とする請求項8または請
求項9記載のプリンタ装置。
10. The printer device according to claim 8, wherein the virus detection unit detects a virus mixed in a machine language.
【請求項11】 プログラム用言語を格納する記憶部を
備えたことを特徴とする請求項1〜請求項10のいずれ
か一項記載のプリンタ装置。
11. The printer device according to claim 1, further comprising a storage unit for storing a program language.
【請求項12】 ウイルス検出部は、記憶部に格納され
たプログラム用言語に混入しているウイルスを検出する
ことを特徴とする請求項11記載のプリンタ装置。
12. The printer device according to claim 11, wherein the virus detection unit detects a virus mixed in the program language stored in the storage unit.
JP9283435A 1997-10-16 1997-10-16 Printer system Pending JPH11119927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9283435A JPH11119927A (en) 1997-10-16 1997-10-16 Printer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9283435A JPH11119927A (en) 1997-10-16 1997-10-16 Printer system

Publications (1)

Publication Number Publication Date
JPH11119927A true JPH11119927A (en) 1999-04-30

Family

ID=17665513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9283435A Pending JPH11119927A (en) 1997-10-16 1997-10-16 Printer system

Country Status (1)

Country Link
JP (1) JPH11119927A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2382893A (en) * 2001-09-07 2003-06-11 Hewlett Packard Co Method of virus filtering for use in peripherals having embedded controller devices.
JP2006041740A (en) * 2004-07-23 2006-02-09 Fuji Xerox Co Ltd Image processing apparatus
JP2008538638A (en) * 2005-04-21 2008-10-30 マイクロソフト コーポレーション How to protect computers that provide web services from malware
US7571481B2 (en) 2002-11-11 2009-08-04 Canon Kabushiki Kaisha Computer peripheral apparatus and method of controlling the same
US8373874B2 (en) 2004-03-26 2013-02-12 Canon Kabushiki Kaisha Using a web browser on a client to enable and disable a filter program on a printer
JP2013152497A (en) * 2012-01-24 2013-08-08 Nec System Technologies Ltd Black list extraction device, extraction method and extraction program
US8582137B2 (en) 2008-12-12 2013-11-12 Konica Minolta Business Technologies, Inc. Method and system for managing security of a remote device using a multifunction peripheral

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2382893A (en) * 2001-09-07 2003-06-11 Hewlett Packard Co Method of virus filtering for use in peripherals having embedded controller devices.
US7571481B2 (en) 2002-11-11 2009-08-04 Canon Kabushiki Kaisha Computer peripheral apparatus and method of controlling the same
US8373874B2 (en) 2004-03-26 2013-02-12 Canon Kabushiki Kaisha Using a web browser on a client to enable and disable a filter program on a printer
JP2006041740A (en) * 2004-07-23 2006-02-09 Fuji Xerox Co Ltd Image processing apparatus
JP4539212B2 (en) * 2004-07-23 2010-09-08 富士ゼロックス株式会社 Image processing device
JP2008538638A (en) * 2005-04-21 2008-10-30 マイクロソフト コーポレーション How to protect computers that provide web services from malware
JP4880674B2 (en) * 2005-04-21 2012-02-22 マイクロソフト コーポレーション How to protect computers that provide web services from malware
US8582137B2 (en) 2008-12-12 2013-11-12 Konica Minolta Business Technologies, Inc. Method and system for managing security of a remote device using a multifunction peripheral
JP2013152497A (en) * 2012-01-24 2013-08-08 Nec System Technologies Ltd Black list extraction device, extraction method and extraction program

Similar Documents

Publication Publication Date Title
JP4372228B2 (en) System, apparatus and method for detection and removal of viruses in macros
EP1653318B1 (en) Document stamping antivirus manifest
TW538376B (en) Analytical virtual machine
JP4950902B2 (en) Pre-emptive computer malware protection with dynamic translation
US5257381A (en) Method of intercepting a global function of a network operating system and calling a monitoring function
US20090307774A1 (en) Computer peripheral apparatus and method of controlling the same
KR970007677A (en) Data processing method and apparatus
JP2001514411A (en) Improved security for untrusted executable code
EP2985716B1 (en) Information processing device and identifying method
JPH11119927A (en) Printer system
US8484232B2 (en) Method, computer arrangement, computer program and computer program product for checking for the presence of control statements in a data value
US7246348B1 (en) Method and apparatus for using print jobs for downloading and executing printer controller code
JP2005092564A (en) Filtering device
JP4232431B2 (en) Browser-related security check program
JP2006106939A (en) Hacking detection method, hacking detection apparatus, and program
JP5243111B2 (en) Vulnerability countermeasure system, vulnerability countermeasure server, vulnerability countermeasure method, and program
JP2005134995A (en) System, method and program for security management
JP2005032182A (en) Program, attack code extracting apparatus, and its method
JP3554053B2 (en) Printing method and apparatus
JP2001508895A (en) Computer system
JP6827244B1 (en) Auditing equipment, auditing methods, auditing programs and auditing systems
JP4091528B2 (en) Unauthorized access countermeasure rule generation method, unauthorized access countermeasure method, unauthorized access countermeasure rule generation apparatus, unauthorized access countermeasure apparatus, and stack smashing attack countermeasure system
McMillan A platform independent computer virus
JPH09288595A (en) Arithmetic processing unit
JPH11110219A (en) Program execution control device and computer readable storage medium for recording program execution control program