JP3686620B2 - Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus - Google Patents

Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus Download PDF

Info

Publication number
JP3686620B2
JP3686620B2 JP2002082237A JP2002082237A JP3686620B2 JP 3686620 B2 JP3686620 B2 JP 3686620B2 JP 2002082237 A JP2002082237 A JP 2002082237A JP 2002082237 A JP2002082237 A JP 2002082237A JP 3686620 B2 JP3686620 B2 JP 3686620B2
Authority
JP
Japan
Prior art keywords
control code
terminal
image forming
application
forming apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002082237A
Other languages
Japanese (ja)
Other versions
JP2003283716A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002082237A priority Critical patent/JP3686620B2/en
Publication of JP2003283716A publication Critical patent/JP2003283716A/en
Application granted granted Critical
Publication of JP3686620B2 publication Critical patent/JP3686620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、コピー、プリンタ、スキャナあるいはファクシミリなどの画像形成処理にかかるユーザサービスを提供する画像形成装置のオペレーションパネルに描画処理やイベント処理機能を持たせる端末表示アプリを移植する画像形成装置用端末エミュレータにおける制御コード判別処理方法、その方法をコンピュータに実行させるプログラムおよびこれらを実行することができる画像形成装置に関するものである。
【0002】
【従来の技術】
従来、プリンタ、コピー、ファクシミリ、あるいは、スキャナなどいずれかの機能を備えた画像形成装置が一般的に知られている。さらに、近年では、プリンタ、コピー、ファクシミリ、スキャナなどの各装置の機能を1つの筐体内に収納した画像形成装置(以下、「複合機」という。)が知られている。この複合機は、1つの筐体内に表示部、印刷部および撮像部などを設けるとともに、プリンタ、コピーおよびファクシミリ装置にそれぞれ対応した3種類のソフトウェアを設け、これらのソフトウェアを切り替えることによって、当該装置をプリンタ、コピー、スキャナまたはファクシミリ装置として動作させるものである。
【0003】
このような従来の画像形成装置におけるオペレーションパネルとしては、操作を行うための操作キーと、操作表示やエラー表示を行うための小さなディスプレイが設けられたもの、あるいは、画面上に操作表示やエラー表示を行うとともに、操作キーを表示パネル上に表示し、これに直接触れて操作することができるタッチパネルタイプのものなどがあった。
【0004】
【発明が解決しようとする課題】
しかしながら、このような従来の画像形成装置にあっては、ワークステーションやパーソナルコンピュータのようなキーボードやディスプレイに対応する端末を具備していなかったため、例えば、画像形成装置のオペレーションパネルの表示部を使ってブラウジング画面などのデータを描画表示させようとして、Webブラウザなど汎用の端末表示アプリケーションを移植しても標準入出力の対応がとれず、そのままではオペレーションパネルの表示部に画面表示することができなかった。もちろん、端末表示アプリケーションを移植先の画像形成装置に合うように、アプリケーション内部に大幅な変更を加えれば描画表示も可能となるが、アプリケーション内部を変更するには、時間、手間およびコストがかかるという問題があった。
【0005】
また、従来の複合機では、プリンタ、コピー、スキャナおよびファクシミリ装置に対応するソフトウェアをそれぞれ別個に設けているため、各ソフトウェアの開発に多大の時間を要していた。このため、出願人は、表示部、印刷部および撮像部などの画像形成処理で使用されるハードウェア資源を有し、プリンタ、コピーまたはファクシミリなどの各ユーザサービスにそれぞれ固有の処理を行うアプリケーションを複数搭載し、これらのアプリケーションとハードウェア資源との間に介在して、ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行う各種コントロールサービスからなるプラットホームを備えた画像形成装置(複合機)を発明した。この複合機によれば、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行うプラットホームを備えた構成とすることによって、ソフトウェア開発の効率化を図るとともに、装置全体としての生産性を向上させることが可能となる。
【0006】
このように、出願人が発明をした新規な複合機では、アプリケーションとコントロールサービスとを別個に設けているため、複合機の出荷後にユーザもしくは第三者であるサードベンダーが新規なアプリケーションを開発して複合機に搭載可能な構成となっている。しかし、この複合機に新規なアプリケーションを搭載する場合も上記と同様であり、複合機側にアプリケーションの標準入出力に対応する端末が無い場合は、そのまま搭載することができず、アプリケーション内部に変更を加える必要があった。特に、複合機の場合、少なくともプリンタ、コピー、スキャナおよびファクシミリ装置に対応するアプリケーションはそれぞれ別個に開発しなければならないため、各ソフトウェアの開発に多大の時間を要する上、汎用の端末表示アプリケーションを追加移植しようとすると、アプリケーション内部に変更を加えなければならず、開発期間がさらに延びてソフトウェアの開発効率が低下するという問題があった。
【0007】
また、これまで画像形成装置や複合機などのオペレーションパネルの表示部に表示されていたのは、操作情報やエラー表示などの静止画であるが、Webブラウザなどの端末表示アプリが搭載できれば、ブラウジング画面なども見られるようになる。しかし、オペレーションパネルの表示部は、表示能力が低く(画面サイズや描画速度など)、表示に関する制約がある上、端末機能に対応した汎用のアプリを画像形成装置へ搭載しようとすると、アプリの内容に変更を加えなくてはならず、また、標準出力からの受信データに含まれているテキスト情報やイメージデータ毎に分けて、各データに応じた表示処理を行う必要があるが、容易ではなかった。
【0008】
この発明は上記に鑑みてなされたもので、画像形成装置のオペレーションパネルの表示部を用いて種々のデータをそれぞれ画面上に表示させることができるとともに、端末表示を行うための端末表示アプリケーションの内部を大幅に変更することなく、容易に移植することができる画像形成装置用端末エミュレータにおける制御コード判別処理方法、その方法をコンピュータに実行させるプログラムおよび画像形成装置を得ることを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、画像形成処理で使用されるハードウェア資源を有し、画像形成処理にかかるユーザサービスを行うアプリケーションを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法であって、前記端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップと、を含んだことを特徴とする画像形成装置用端末エミュレータにおける制御コード判別処理方法。
【0010】
この請求項1にかかる発明によれば、アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法として、端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップとを含んでいるため、常にデータに応じた適切な端末表示処理を行うことができる。
【0011】
また、請求項2にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションのプロセスと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスのプロセスと、操作入力および描画情報出力を行うオペレーションパネルとを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法であって、前記端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップと、を含んだことを特徴とする。
【0012】
この請求項2にかかる発明によれば、アプリケーションの1つである端末表示アプリケーションを搭載可能にする複合機上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法として、端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップとを含んでいるため、常にデータに応じた適切な端末表示処理を行うことができる。
【0013】
また、請求項3にかかる発明は、請求項1または2に記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法において、前記端末表示処理呼出ステップは、適切な端末表示処理を呼び出す制御コードとして、端末制御コードまたは拡張制御コードを判別することを特徴とする。
【0014】
この請求項3にかかる発明によれば、端末表示処理呼出ステップにおける適切な端末表示処理を呼び出す制御コードとして、端末制御コードと拡張制御コードとを判別するため、端末表示処理の異なる受信データを明確に区別することができる。
【0015】
また、請求項4にかかる発明は、請求項1〜3のいずれか一つに記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法において、前記端末表示処理呼出ステップは、制御コードが端末制御コードの場合、テキスト情報に基づく描画処理を呼び出し、制御コードが拡張制御コードの場合、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すことを特徴とする。
【0016】
この請求項4にかかる発明によれば、端末表示処理呼出ステップで制御コードが端末制御コードの場合は、テキスト情報に基づく描画処理を呼び出すようにし、制御コードが拡張制御コードの場合は、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すようにしたため、制御コードが端末制御コードか拡張制御コードかに応じて、適切な端末表示処理を呼び出すことができる。
【0017】
また、請求項5にかかる発明は、請求項1〜4のいずれか一つに記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法において、前記構文解析ステップは、その前段に前記端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持処理ステップが設けられていることを特徴とする。
【0018】
この請求項5にかかる発明によれば、構文解析ステップの前段に端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持処理ステップを設けたため、受信データがバッファリングされて構文解析処理を容易に行うことができる。
【0019】
また、請求項6にかかる発明は、請求項5に記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法において、前記データ保持処理ステップは、さらに前記受信データ内の制御コードの不定長ブロックを比較し、制御コードの長さに応じてストリーム位置を更新することを特徴とする。
【0020】
この請求項6にかかる発明によれば、データ保持処理ステップで受信データ内の制御コードの不定長ブロックを比較し、制御コードの長さに応じてストリーム位置を更新するようにしたため、制御コードの長さに応じた解析処理が行えることから、一層容易に構文解析処理を行うことができる。
【0021】
また、この請求項7にかかる発明は、請求項1〜6のいずれか一つに記載された方法をコンピュータに実行させるプログラムとしたため、いずれか一つの動作をコンピュータに実行させることができる。
【0022】
また、請求項8にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスを行うアプリケーションと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、前記端末エミュレータには、前記端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じた適切な端末表示処理を呼び出す構文解析手段を備えていることを特徴とする。
【0023】
この請求項8にかかる発明によれば、端末エミュレータを介して端末表示を行うアプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、端末エミュレータの構文解析手段により、端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じ適切な端末表示処理を呼び出すようにしたため、常にデータに応じた適切な端末表示処理を行うことができる。
【0024】
また、請求項9にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスと、操作入力および描画情報出力を行うオペレーションパネルと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、前記端末エミュレータには、前記端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じた適切な端末表示処理を呼び出す構文解析手段を備えていることを特徴とする。
【0025】
この請求項9にかかる発明によれば、端末エミュレータを介して端末表示を行うアプリケーションの1つである端末表示アプリケーションを搭載可能にする複合機の画像形成装置であって、端末エミュレータの構文解析手段により、端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じ適切な端末表示処理を呼び出すようにしたため、常にデータに応じた適切な端末表示処理を行うことができる。
【0026】
また、請求項10にかかる発明は、請求項8または9に記載の画像形成装置において、前記構文解析手段は、適切な端末表示処理を呼び出す制御コードとして、端末制御コードまたは拡張制御コードを判別することを特徴とする。
【0027】
この請求項10にかかる発明によれば、構文解析手段により適切な端末表示処理を呼び出す制御コードとして、端末制御コードと拡張制御コードとを判別するようにしたため、端末表示処理の異なる受信データを明確に区別することができる。
【0028】
また、請求項11にかかる発明は、請求項8〜10のいずれか一つに記載の画像形成装置において、前記構文解析手段は、制御コードが端末制御コードの場合、テキスト情報に基づく描画処理を呼び出し、制御コードが拡張制御コードの場合、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すことを特徴とする。
【0029】
この請求項11にかかる発明によれば、構文解析手段により制御コードが端末制御コードの場合は、テキスト情報に基づく描画処理を呼び出し、拡張制御コードの場合は、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すようにしたため、制御コードが端末制御コードか拡張制御コードかによって適切な端末表示処理を呼び出すことができる。
【0030】
また、請求項12にかかる発明は、請求項8〜11のいずれか一つに記載の画像形成装置において、前記構文解析手段は、その前段に前記端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持手段を備えていることを特徴とする。
【0031】
この請求項12にかかる発明によれば、構文解析手段の前段に端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持手段を備えているため、受信データがバッファリングされてより構文解析処理を容易に行うことができる。
【0032】
また、請求項13にかかる発明は、請求項12に記載の画像形成装置において、前記データ保持手段は、さらに前記受信データ内の制御コードの不定長ブロックを比較し、制御コードの長さに応じてストリーム位置を更新することを特徴とする。
【0033】
この請求項13にかかる発明によれば、データ保持手段により受信データ内の制御コードの不定長ブロックを比較して、制御コードの長さに応じてストリーム位置を更新するようにしたため、制御コードの長さに応じた解析処理が行えることから、一層容易に構文解析処理を行うことができる。
【0034】
【発明の実施の形態】
以下に添付図面を参照して、この発明にかかる画像形成装置用端末エミュレータにおける制御コード判別処理方法、その方法をコンピュータに実行させるプログラムおよび画像形成装置の好適な実施の形態を詳細に説明する。
【0035】
(実施の形態1)
(画像形成装置の構成)
図1は、この発明の実施の形態である画像形成装置(以下、「複合機」という)の機能的構成を示すブロック図である。図1に示すように、複合機100は、白黒ラインプリンタ(B&W LP)101と、カラーラインプリンタ(Color LP)102と、スキャナ、ファクシミリ、ハードディスク、メモリ、ネットワークインタフェースなどのハードウェアリソース103を有するとともに、プラットホーム120とアプリケーション130とから構成されるソフトウェア群110とを備えている。
【0036】
プラットホーム120は、アプリケーション130からの処理要求を解釈してハードウェア資源の獲得要求を発生させるコントロールサービスと、一または複数のハードウェア資源の管理を行い、コントロールサービスからの獲得要求を調停するシステムリソースマネージャ(SRM)123と、汎用OS121とを有する。
【0037】
コントロールサービスは、複数のサービスモジュールにより形成され、SCS(システムコントロールサービス)122、ECS(エンジンコントロールサービス)124、MCS(メモリコントロールサービス)125、OCS(オペレーションパネルコントロールサービス)126、FCS(ファックスコントロールサービス)127、およびNCS(ネットワークコントロールサービス)128などで構成されている。なお、このプラットホーム120は、あらかじめ定義された関数によって前記アプリケーション130からの処理要求を受信可能とするアプリケーションプログラムインタフェース(API)を有している。
【0038】
汎用OS121は、UNIX(登録商標)などの汎用オペレーティングシステムであり、プラットホーム120並びにアプリケーション130の各ソフトウェアをそれぞれプロセスとして並列実行する。
【0039】
SRM123のプロセスは、SCS122とともにシステムの制御およびリソースの管理を行うものである。SRM123のプロセスは、スキャナ部やプリンタ部などのエンジン、メモリ、HDDファイル、ホストI/O(セントロI/F、ネットワークI/F、IEEE1394 I/F、RS232C I/Fなど)のハードウェア資源を利用する上位層からの要求にしたがって調停を行い、実行制御する。
【0040】
具体的には、このSRM123は、要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判断し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に伝える。また、SRM123は、上位層からの要求に対してハードウェア資源の利用スケジューリングを行い、要求内容(例えば、プリンタエンジンにより紙搬送と作像動作、メモリ確保、ファイル生成など)を直接実施している。
【0041】
SCS122のプロセスは、アプリ管理、操作部制御、システム画面表示、LED表示、リソース管理、割り込みアプリ制御などを行う。
【0042】
ECS124のプロセスは、白黒ラインプリンタ(B&W LP)101、カラーラインプリンタ(Color LP)102、スキャナ、ファクシミリなどからなるハードウェアリソース103のエンジンの制御を行う。
【0043】
MCS125のプロセスは、画像メモリの取得および解放、ハードディスク装置(HDD)の利用、画像データの圧縮および伸張などを行う。
【0044】
FCS127のプロセスは、システムコントローラの各アプリ層からPSTN/ISDN網を利用したファクシミリ送受信、BKM(バックアップSRAM)で管理されている各種ファクシミリデータの登録/引用、ファクシミリ読みとり、ファクシミリ受信印刷、融合送受信を行うためのAPIを提供する。
【0045】
NCS128のプロセスは、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するためのプロセスであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、アプリケーションからデータをネットワーク側に送信する際の仲介を行う。
【0046】
OCS126のプロセスは、オペレータ(ユーザ)と本体制御間の情報伝達手段となる後述のオペレーションパネル(操作パネル)を制御するプロセスであり、不図示のオペレーションパネルの表示部からのキー押下をキーイベントとして取得し、取得したキーに対応するキーイベント関数をSCS122へ送信するものである。また、上記アプリケーション130の端末表示アプリ113からOCS126に対して要求を行う場合は、オペレーションパネルの表示部に各種画像を描画出力する描画関数やその他オペレーションパネルに対する制御を行う関数などがあらかじめ登録された後述のOCS関数ライブラリを具備している。このOCS関数ライブラリは、アプリケーション130およびコントロールサービスの各モジュールにリンクされて実装されている。なお、OCS126のすべてをプロセスとして動作させるように構成しても良く、あるいはOCS126のすべてをOCS関数ライブラリとして構成しても良い。
【0047】
アプリケーション130は、ページ記述言語(PDL)、PCLおよびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ111と、コピー用アプリケーションであるコピーアプリ112と、端末表示用のアプリケーションである端末表示アプリ(例えば、汎用のWebブラウザなど)113と、ファクシミリ用アプリケーションであるファックスアプリ115と、スキャナ用アプリケーションであるスキャナアプリ116と、ネットワークファイル用アプリケーションであるネットファイルアプリ117と、工程検査用アプリケーションである工程検査アプリ118とを有している。
【0048】
端末表示アプリ113は、本実施の形態1の複合機100に移植するための汎用アプリ、あるいは、開発されたアプリの一例であって、API上のアプリケーションレベルに設けられた本発明の端末エミュレータ114を介して実装されている。この端末表示アプリ113は、本発明の必須要件ではないが、後述する端末エミュレータ114がエミュレーションすることによって、アプリ内部に変更を加えなくても搭載が可能となる。すなわち、コピー機、プリンタ、ファクシミリ装置、あるいは、それらの機能を併せ持つ複合機100は、キーボードやディスプレイに相当する端末を具備していないため、それらの端末を前提とする(標準入出力)汎用の端末表示アプリをそのまま移植しても動作しないが、端末エミュレータ114のエミュレーション機能により、端末表示アプリ113の標準入出力を端末エミュレータ114が移植先の複合機などのオペレーションパネルで扱えるデータに変換処理(リダイレクション)するからである。
【0049】
(端末エミュレータの構成)
図2は、図1の画像形成装置用端末エミュレータの機能的構成とデータの流れを示すブロック図である。図2に示す端末エミュレータ114は、端末表示アプリ(汎用のWebブラウザなど)113からの標準出力の受信データを処理する受信FIFOキュー140、本発明の特徴的な構成要素である構文解析部141、端末機能処理部142、テキストメモリ143、描画処理部144、OCS関数ライブラリ145および関数呼出部146などを備えている。また、この端末エミュレータ114は、オペレーションパネル160の入力部に表示されたボタンやキーボードに対して入力操作が行われるとイベントメッセージを発し、これをマウスイベントやキーイベントの標準入力に変換して、端末表示アプリ(汎用のWebブラウザなど)113に通知するイベント解析部147、マウス入力変換部148、キー操作入力変換部149、および送信FIFOキュー150などを備えている。
【0050】
まず、本実施の形態1では、画像形成装置に搭載された端末表示アプリ113のテキスト情報にかかる標準出力を端末エミュレータ114によりエミュレーションされて、オペレーションパネル160の表示部に描画表示されるまでの流れと各構成部について説明する。
【0051】
(受信FIFOキュー)
受信FIFOキュー140は、端末表示アプリ113からの標準出力の受信データを受け取って蓄積するとともに、受け取った順序にしたがって受信データを出力するFIFO(先入れ先出し)メモリである。また、この受信FIFOキュー140は、受信データに含まれる不定長の制御コードに対して不定長ブロックの比較を行い、該当する制御コードと認識した場合に、ストリーム位置を更新する機能を備えている。これは、端末表示アプリ113からの受信ストリームを次段の本発明の構文解析部141に直接解析させようとすると、その受信データには不定長の制御コードが含まれているため、そのままでは容易に解析することができないからである。このように、受信FIFOキュー140は、端末表示アプリ113からの標準出力の受信データ(制御コードを含むデータ)をバッファリングするとともに、制御コードの不定長ブロックを比較してストリーム位置を更新することにより、次段の構文解析部141で制御コードの長さに応じた構文解析を容易に行うことができる。なお、受信FIFOキュー140の受信ストリームオブジェクトの関数群の一例としては、文字列比較(IsCmpString)、文字比較(IsCmpChar)、文字評価取得(IsGetChar)、文字取得(GetChar)、数値取得(GetNum)、および、ストリーム位置変更(SetOffset)などを用いている。
【0052】
また、受信FIFOキュー140は、後述する描画処理部144に対して、オペレーションパネル160の表示部へ描画タイミングを指示する機能を有している。すなわち、図2に示すように、受信FIFOキュー140が描画処理部144に対して描画指示信号154(破線矢印)を送信すると、描画処理部144は、そのタイミングに合わせて、端末表示アプリケーション用に加工した描画情報をまとめてオペレーションパネル160の表示部上に描画することにより、画面がチラツクなど不自然な表示画面になるのを防いでいる。
【0053】
(構文解析部)
次の構文解析部141は、本発明の特徴的な構成要素であり、上記した受信FIFOキュー140の後段に配置され、端末表示アプリ113の標準出力からの受信データの解析を行い、その制御コードに応じて適切な表示処理を呼び出す構文解析手段であって、パーサー(parser)とも称される。
【0054】
図3は、構文解析部における処理動作を説明するフローチャートである。まず、構文解析部141では、図3に示すように、標準出力の受信データが入ってくると構文解析処理が行われ(ステップS90)、その受信データに含まれる制御コードが端末制御コードか否かを判断し(ステップS91)、YESであれば次に述べる端末機能処理部142で行われる処理が呼び出される(ステップS92)。また、ステップS91において制御コードが端末制御コードでない場合は、ステップS93に移って拡張制御コード(ESCコード)か否かが判断される。ここで、拡張制御コード(ESCコード)と判断されると、後述する関数呼出部146の処理が呼び出される(ステップS94)。
【0055】
このように、構文解析部141では、標準出力の受信データの構文解析を行い、受信データに含まれる制御コードに応じて2種類の表示処理に分けて処理が行われるため、オペレーションパネル160の表示部上において種々の画像を表示することができる。例えば、制御コードが端末制御コードであって、端末機能処理部142を呼び出す場合は、テキスト情報に基づく描画処理を行うことができる。また、制御コードが拡張制御コード(ESCコード)であって、関数呼出部146を呼び出す場合は、端末機能処理部142だけでは処理できないソフトキーボード処理やイメージ貼り付け処理などを行うことができるため、オペレーションパネル160の描画表示機能を一層多機能化することができる。
【0056】
(端末機能処理部)
次に、図2の端末機能処理部142は、タームキャップ(termcap )処理部とも称され、端末表示アプリ113からの標準出力の受信データに含まれる制御コードとテキスト情報(文字コード)とを用いて、制御コードに基づく描画に関する属性(描画属性)をテキスト情報に付加する機能を有している。この属性としては、キー入力かマウス入力かの区別、座標位置、下線情報、文字属性情報(色指定情報に相当)、あるいは、シングルクリックをダブルクリックに読み替えるなどの入力形態情報等があり、文字コードに属性が付加された状態で次段のテキストメモリ143に格納される。また、この端末機能処理部142は、端末の仕様に合わせて画面制御情報を設定する機能を有している。画面制御情報としては、行数、コラム数、バックスペースの使用の可否など端末仕様に合わせるための情報、あるいは、画面消去、カーソル移動、アンダーライン等の画面の制御を行う情報が含まれていて、次段のテキストメモリ143に格納する画面表示用のテキスト情報を制御することができる。
【0057】
(テキストメモリ)
テキストメモリ143は、テキストRAMなどで構成されており、画面表示を行う描画属性が付加された状態のテキスト情報を格納するとともに、基本的な画面制御を行うことができる。
【0058】
図4は、描画属性が付加された文字コードがテキストメモリに格納されている状態を示す図である。図4に示すように、オペレーショパネル160の表示領域が16列×79行で構成されており、1文字毎に文字コード(char ch )と属性(int attr)が付加され、これを書き込むテキストメモリ(テキストRAM)143には、文字コード、文字の表示位置を示す行(line)と列(row )、および行単位で表示内容の変更の有無をチェックするためのチェックビット(*check)などが格納されている。このため、表示内容に変更があった場合は、チェックビットの有無を確認するだけで容易に変更行を識別することができるので、変更された行のデータだけを効率的に書き換えることができる。
【0059】
(描画処理部)
次に、図2の描画処理部144は、テキストメモリ143に格納されたテキスト情報を端末表示アプリ113用に加工して、オペレーションパネル160の表示部に描画処理を行うものである。描画処理を行う際は、描画処理部144からボタンや文字列などの画像を描画する描画関数が登録されたOCS関数ライブラリ145に対して描画関数を呼び出すことにより描画情報が生成され、OCS関数ライブラリ145内に一時的に保持される。そして、上記したように、描画処理部144は、受信FIFOキュー140から描画指示信号154を受信する度にOCS関数ライブラリ145内に加工して保持されている描画情報をまとめてオペレーションパネル160の表示部に描画される。ここでは、端末表示アプリ113としてWebブラウザのアプリケーションを用いているため、ブラウジング画面中に表示されるハイパーリンクやFORM入力などの画面に対する操作が必要になってくる。本実施の形態1では、複合機100のオペレーションパネル160の表示部にタッチパネル入力が可能なLCD画面を採用しているが、LCD画面にはタッチパネル入力の座標を取得する機構がないため、タッチパネル入力が必要な部分(ハイパーリンクやFORM入力部分)をボタン形式などで予め表示しておく必要がある。
【0060】
図5は、端末エミュレータ上で端末表示アプリを実行した場合のブラウジング画面の一例を示す図である。描画処理部144では、図5に示すように、ハイパーリンク画像151の場合、文字に青色(図には色表示しない)の下線を付加したボタンを生成し、FORM入力画像152の場合、赤色(色表示しない)の反転文字ボタンを生成し、インライン画像153の場合、緑色(色表示しない)の反転文字ボタンを生成することができる。しかし、このようなボタンを生成し、ボタンから画面操作を行っても、そのままでは端末表示アプリ113側に操作内容を通知することができない。そこで、後述するように特定の文字列に対してボタン表示を行うようにし、このボタンが操作された場合は、その入力をマウスのダブルクリックに変換して端末表示アプリ113へ通知する機構を採用している。
【0061】
次に、図6は、端末表示アプリからの端末表示要求によってオペレーションパネルの表示部に表示されるまでの動作を説明するフローチャートである。図6に示すように、端末表示アプリ113から行表示要求(wd_putline)があると(ステップS100)、これから表示する行を削除し(ステップS102)、文字属性を含む文字列を1文字目から順に調査を行い(ステップS104)、文字属性を含む文字列が一つ前の文字と比較して変化した場合は(ステップS106)、ステップS108で文字属性の調査(attr)が行われる。
【0062】
文字属性調査は、ここでは文字色(色指定情報)に応じて次のような仕様に変更して表示するように設定(文字属性情報)されている。つまり、ハイパーリンクは、青色文字に下線を付加したボタンとして表示し、インライン画像は、緑色の反転文字ボタンとして表示し、通常の文字は黒色の文字として表示するようにする。
【0063】
ステップS108において文字属性を調査した結果、黒の場合は、ステップS110に示すように、所定の(x,y)座標位置(xは列位置、yは行位置)に文字列をメッセージ形式で表示する。
【0064】
また、ステップS108における文字属性調査の結果、青の場合は、ステップS112に示すように、所定の(x,y)座標位置に文字列をボタン形式で表示し、表示位置情報を格納するとともに、そのボタンが押下された時に通知するタッチコードとして登録する。
【0065】
次に、ステップS108における文字属性調査の結果、緑の場合は、ステップS114に示すように、所定の(x,y)座標位置に文字列を反転文字ボタン形式で表示し、表示位置情報を格納するとともに、そのボタンが押下された時に通知を行うタッチコードとして登録する。
【0066】
そして、これらの文字属性の調査結果に基づいて、OCS関数ライブラリに関数を呼び出して、オペレーションパネルのLCD画面上に表示する(ステップS116)。その後、ステップS118で文字属性を含む文字列の終端まで調査したか否かが判断され、最後まで調査していなければステップS104に戻って上記処理が繰り返される。また、ステップS106で文字属性が1文字前の文字と比べて変化していない場合も上記と同様にステップS118で判断される。ステップS118で文字列の終端まで調査した場合は、処理が終了する。このように、端末エミュレータ114の描画処理部144によって、端末表示アプリ113が想定している画面をオペレーションパネル160の表示部上に描画表示し、その表示の少なくとも一部をボタン形式にて表示することにより、ブラウジング画面と同様にハイパーリンクなどが使える表示画面を得ることができる。
【0067】
以上説明したように、本実施の形態1によれば、複合機などの画像形成装置であっても端末機能に対応した汎用の端末表示アプリを端末エミュレータを介して搭載することにより、アプリ内部を殆ど変更することなく容易に移植することができる。また、本実施の形態1では、その端末エミュレータ114内に構文解析部141を配置したことにより、受信FIFOキュー140を介して入力される端末表示アプリ113の標準出力からの受信データを解析し、制御コードが端末制御コードか拡張制御コード(ESCコード)かに応じて、最も適切な端末表示処理を呼び出すことができる。このように、制御コードに応じて適切な端末表示処理を呼び出すため、オペレーションパネル160の表示部を使って種々の画像を表示することができる。
【0068】
(実施の形態2)
本実施の形態2では、上記した構文解析部141によって標準出力の受信データに含まれる制御コードが拡張制御コードの場合には、関数呼出部146における処理が呼び出される。
【0069】
(関数呼出部)
関数呼出部146は、受信データの中に拡張制御コード(ESCコード)があった場合、オペレーションパネル160の表示部上にソフトキーボード表示したり、イメージ貼り付け等を行うことができる。ここで、ソフトキーボードとは、オペレーションパネル160のLCD画面上にキーボードを表示し、タッチパネルなどを使ってハードウェアのキーボードと同様のキー入力操作が行えるものである。
【0070】
関数呼出部146によるソフトキーボード制御は、端末制御コードを用いることにより、ソフトキーボードをオペレーションパネルの表示部上に容易に表示することができ、また、表示されたソフトキーボードからの入力を標準入力として端末表示アプリ113に通知することができる。以下、ソフトキーボードの表示動作と、その表示されたソフトキーボードからのキー入力動作について、図2および図7〜図10を用いて説明する。
【0071】
図7は、ソフトキーボードを表示するために端末表示アプリ113から標準出力として出力される制御コード書式の一例を示す図であり、図8は、オペレーションパネルの表示部上に表示されたソフトキーボードの表示例を示す図であり、図9は、ソフトキーボードを表示するための標準出力動作を説明するフローチャートであり、図10は、ソフトキーボードからの入力を標準入力に変換する動作を説明するフローチャートである。
【0072】
(ソフトキーボード処理)
まず、ソフトキーボードを表示するためには、図7に示すように、制御コードが図2の端末表示アプリ113から標準出力として出力される(図9のステップS140)。この制御コードは、図7の(a)〜(g)に示されるように、関数呼出を行う関数呼出部146の指定コードから始まり、入力エリア終端文字コードまでの7つの部分で構成されている。
【0073】
このソフトキーボードの制御コードを用いて、関数呼出部146からOCS関数ライブラリ145に対して関数呼び出しを行うことにより、ソフトキーボード要求関数に変換され(図9のステップS142)、オペレーションパネル160のLCD画面にソフトキーボードが表示される(図9のステップS144)。これは、ソフトキーボードの制御コードがソフトキーボード要求関数(SysSoftOpen)を実行するための制御コードだからである。
【0074】
また、オペレーションパネル160には、図8に示すようにソフトキーボードが表示され、パネル表面にはタッチパネルが採用されている。このため、オペレータは、オペレーションパネル160の表示部上のソフトキーボードを見て、入力したいキー位置のパネル部分にタッチするだけでキー入力を行うことができる(図10のステップS150)。
【0075】
キー入力があると、ステップS152でキー入力判定を行い、取り消しボタンやOKボタン以外のボタンが押下されたと判定されると、ステップS150に戻る。また、ステップS152で図8のソフトキーボードのOKボタン160aが押下されたと判定されると、入力文字列が図2のキー操作入力変換部149にてキー入力に変換され(ステップS154)、ソフトキーボードから入力されたデータの末尾には、リターンコード0x0aが付加される。
【0076】
また、ステップS152で図8のソフトキーボードの取り消しボタン160bが押下されたと判定されると、入力が無効となり、Control-C コードに対応した0x03が通知される(ステップS158)。
【0077】
上記ステップS154で変換されたキー入力と、ステップS158でのControl-C(0x03)の通知は、図2の送信FIFOキュー150を介して端末表示アプリ113の標準入力となる(ステップS156)。すなわち、ソフトキーボードから入力されたデータは、端末表示アプリ113の標準入力としてリダイレクトされたことになる。
【0078】
(イメージ貼り付け処理)
次に、これまでのコピー機、プリンタ、ファクシミリ装置、あるいは、複合機などの画像形成装置には、イメージ表示可能なイメージウィンドウ(オペレーションパネルの表示部など)が存在しなかった。このため、本実施の形態3では、上記した拡張制御コード処理の一つとして、イメージ画像を表示するためのイメージ貼り付け処理を行うことができる。
【0079】
図11は、イメージ表示を行う場合のESCコード書式の一例を示す図であり、図12は、イメージ表示するGIFファイルの一例を示す図であり、図13は、図12のGIFファイルを画面に表示するためのプログラム例を説明する図であり、図14は、図13のプログラムを実行してオペレーションパネルの表示部上に表示したイメージ表示例を示す図である。
【0080】
まず、オペレーションパネルの表示画面の所定位置に所望のイメージ表示を行うため、図11に示すESCコードが図2の端末表示アプリ113から標準出力として出力される。このESCコードは、図11の(a)〜(e)に示されるように、関数呼出を行う関数呼出部146の指定コードから始まり、終端文字コードまでの5つの部分で構成されている。
【0081】
次に、GIFファイルとして、図12のabc.gif を表示するためのプログラム(図13)は、イメージ表示を指示する図11のESCコードを用いて、図12のabc.gif イメージをオペレーションパネル160の表示部の座標(x,y)=(50,50)位置に表示されるよう、イメージ表示位置およびイメージファイルを図13中の▲1▼のように指定している。また、図13中▲2▼のプログラムは、標準入力からQ文字を受信した場合にプログラムが終了することを意味し、図13中の▲3▼は、イメージ表示がアイコン登録機能を使用して擬似的にイメージウィンドウを実現していることから、イメージ表示を終了する場合は、イメージウィンドウおよびイメージ登録を破棄する必要があることを示している。
【0082】
このように、図13に示すプログラムを実行することにより、図14に示すようなオペレーションパネル160の表示部上の所定位置に、図12に示したようなGIFファイルのイメージを貼り付けて表示させることができる。
【0083】
なお、上記のようにして、オペレーションパネル160の表示部に表示された種々の画像に対してタッチパネルなどから入力が行われると、そのイベントが端末エミュレータ114を介して標準入力に変換され、端末表示アプリ113に入力される。これを図2を用いて簡単に説明すると、例えば、オペレーションパネル160の表示部には、パネル面に触れるとその座標値が入力される入力部を兼ねたタッチパネルを採用していて、オペレーションパネル160の所定位置に下線やボタン、あるいは、後述するようなソフトキーボードを表示させ、それらのボタン位置やキー位置に対応する座標値が入力された場合に、当該ボタンやキーが押下されたとするイベントメッセージを発生させることができる。すなわち、図2に示すOCS126は、オペレーションパネル160の入力部からキーイベントメッセージを取得すると、取得したキーに対応したイベント関数をSCS122のプロセスに送信する。そして、SCS122のプロセスでは、OCS126から受信したイベント関数が端末エミュレータ114のイベント解析部147に送信される。マウスイベントの場合もほぼこれと同様である。
【0084】
イベント解析部147では、入力されたイベント関数がキー入力かマウス入力かを受信イベントによって解析し、キー入力の場合はそのイベントをキー操作入力変換部149へ、マウス入力の場合はそのイベントをマウス入力変換部148に送られる。
【0085】
マウス入力変換部148は、イベント解析部147により振り分けられたマウスイベントを端末表示アプリ113の標準入力に変換処理され、また、キー操作入力変換部149は、イベント解析部147により振り分けられたキーイベントを端末表示アプリ113の標準入力に変換処理されて、送信FIFOキュー150を介して端末表示アプリ113に送られる。
【0086】
このように、本実施の形態2によれば、実施の形態1の効果に加えて、端末表示アプリ113からの標準出力の受信データが受信FIFOキュー140を介して、構文解析部141により制御コードの構文解析が行われ、拡張制御コードに応じた適切な描画処理を呼び出して処理することができるため、実施の形態1で説明した端末機能処理部142では処理することのできないソフトキーボード処理やイメージ貼り付け処理などを行うことができる。
【0087】
(実施の形態3)
次に、本実施の形態3では、複合機などの画像形成装置に汎用の端末表示アプリを移植して、オペレーションパネルの表示部にブラウジング画面等を描画表示する場合、端末表示アプリには殆ど変更を加えずに移植できるようにするため、以下に示すような方法を用いている。
【0088】
(端末表示アプリの移植形態)
図15は、端末機能対応のアプリを端末デバイスのない機器に移植した場合の図であり、(a)はアプリ内容を変更した場合の図、(b)は端末エミュレータを介在させた場合の図である。端末機能対応のアプリを端末デバイス(キーボードやディスプレイ)が接続された機器に移植する場合、アプリケーションを変更することなく移植することができる。しかし、本実施の形態のように端末機能対応のアプリを端末デバイスが存在しない機器(コピー機、プリンタ、ファクシミリ装置あるいは複合機など)に移植しようとすると、データの入出力先としてはオペレーションパネルの表示部や入力部程度しかなく、そのまま端末機能対応のアプリを移植しても動作しない。このため、図15(a)に示すように、端末機能対応アプリ173の内部に端末デバイスにアクセスする個所をAPI176を使って端末デバイスに代替するようにアプリ自身に変更を加える必要がある(アプリ変更部分173a)。
【0089】
しかし、本実施の形態3では、アプリケーションを移植する際にアプリ内部に変更を加える手間を省くため、図15(b)に示すように、端末エミュレータ175を端末機能対応アプリ173とAPI176との間に介在させて、端末機能対応アプリ173の標準入出力をキーボードやディスプレイを持たない複合機に移植したとしても適合するように、標準入出力の変換処理(エミュレーション)を行うようにしている。これにより、端末機能対応アプリ173であっても殆どアプリ内部に変更を加えることなく画像形成装置などに移植することが可能となる。
【0090】
(GUI機能の追加方法)
また、図16は、端末機能対応のアプリを端末デバイスのない機器に移植し、さらにGUI機能を追加する場合の図であり、(a)はアプリ内にGUI機能を追加した図、(b)は端末エミュレータ内にGUI機能を追加した図である。端末機能対応のアプリは、テキスト操作を行うインターフェース(CUI:キャラクタ・ユーザ・インターフェース)であるが、テキスト表示以外にも拡張された機能として、ボタン操作やイメージ表示、タッチパネルなど多くの機能が搭載されている。そこで、このような様々な機能を使ってGUI(グラフィック・ユーザ・インターフェース)に対応したアプリに変更する場合、アプリに対してAPIを直接操作し、グラフィック用のユーザ・インターフェース(GUI)を追加する必要がある。そこでこの追加形態としては、例えば図16(a)に示すように、▲1▼端末機能対応アプリ173内にAPI176を直接操作する部分を付加することによりGUI173bを追加する方法と、図16(b)に示すように、▲2▼端末エミュレータ内に端末機能に対応したアプリに応じたGUI175aを追加する方法の2通りが考えられる。図16(a)の追加方法は、端末機能に対応したアプリケーション内部の動作を把握して変更を加える必要がある上、API176の操作も把握しなければならないため、移植が大変困難となる。これに対して、図16(b)の追加方法は、端末機能対応アプリ173を変更する必要がないため、移植が容易に行えるという利点がある。
【0091】
そこで、本実施の形態3では、端末機能に対応した汎用アプリを移植する場合、GUIにも対応可能なアプリケーションに変更するようにする。この場合の具体的なGUI機能の追加方法を図2を用いて説明する。
【0092】
図2において、GUI機能を追加する場合の特徴的な構成としては、個別のアプリに対応したCUIをGUIに変更するための動的なグラフィック変換ライブラリ180を備えている点にある。このグラフィック変換ライブラリ180は、端末表示アプリ113とAPI(図示省略)との間に介在していて、CUIをGUIに変更する機能を有している。
【0093】
また、図2に示すグラフィック変換ライブラリ180内には、端末表示アプリ113に特化したOCS関数ライブラリ145への表示画面を管理する表示画面管理部181を備えている。この表示画面管理部181は、端末表示アプリ113の操作コマンドをボタンに変更することにより、端末表示アプリ113に対する標準入力をストリームデータに変換して通知するものであり、さらに、端末表示アプリ113が表示するブラウザ画面などの子ウィンドウのハンドルの管理も行っている。
【0094】
図2のグラフィック変換ライブラリ180内の描画処理部144は、テキストメモリ143が管理するテキスト情報を端末表示アプリ用に加工してオペレーションパネル160のLCD画面に描画する。描画処理部144の機能は、上記実施の形態1で説明しているため、ここでは説明を省略する。
【0095】
また、図2のグラフィック変換ライブラリ180内のキー操作入力変換部149は、オペレーションパネル160のLCD画面の表示レイアウトを管理するオブジェクトを生成するものであり、上記実施の形態2で説明しているため、ここでは説明を省略する。
【0096】
また、図2のグラフィック変換ライブラリ180内のマウス入力変換部148は、オペレーションパネル160のLCD画面上のタッチ入力をマウス入力に変換処理するものであり、上記実施の形態2で説明しているため、ここでは説明を省略する。
【0097】
以上説明したように、本実施の形態3によれば、アプリケーションを移植する際に、端末エミュレータを端末機能対応アプリとAPIとの間に介在させることにより、端末機能対応アプリの標準入出力を変換処理(エミュレーション)することができるため、アプリ内部に変更を加えることなく容易に移植することができる。
【0098】
また、本実施の形態3によれば、端末機能対応のアプリはテキスト操作を行うインターフェース(CUI)であるが、テキスト表示以外にも拡張された機能としてボタン操作、イメージ表示、タッチパネルといった多くの機能が搭載されているので、端末機能対応アプリ内にGUIを追加する方法を用いれば(図16(b)参照)、アプリ内部を変更することなく容易に移植することができ、さらにGUI機能も追加することができる。
【0099】
なお、上記した実施の形態1〜3では、端末表示アプリケーションを搭載する機器として複合機を用いた例で説明したが、本発明は必ずしも複合機に限定されるものではなく、コピー機、プリンタ、ファクシミリ装置、あるいはスキャナ装置などオペレーションパネルを備えた単体の画像形成装置についても適用することが可能であり、上記と同様に好適な効果を得ることができる。
【0100】
【発明の効果】
以上説明したように、請求項1にかかる発明によれば、常に標準出力からの受信データに応じた適切な端末表示処理を行うことができる。
【0101】
また、請求項2にかかる発明によれば、複合機の場合も常に標準出力からの受信データに応じた適切な端末表示処理を行うことができる。
【0102】
また、請求項3にかかる発明によれば、端末表示処理が異なる受信データを明確に区別することができる。
【0103】
また、請求項4にかかる発明によれば、制御コードが端末制御コードか拡張制御コードかに応じて、適切な端末表示処理を呼び出すことができる。
【0104】
また、請求項5にかかる発明によれば、受信データがバッファリングされて構文解析処理を容易に行うことができる。
【0105】
また、請求項6にかかる発明によれば、制御コードの長さに応じた解析処理が行えることから、一層容易に構文解析処理を行うことができる。
【0106】
また、この請求項7にかかる発明によれば、請求項1〜6のいずれか一つの動作をコンピュータに実行させることができる。
【0107】
また、この請求項8にかかる発明によれば、常に標準出力からの受信データに応じた適切な端末表示処理を行うことができる。
【0108】
また、この請求項9にかかる発明によれば、複合機の場合も常に標準出力からの受信データに応じた適切な端末表示処理を行うことができる。
【0109】
また、この請求項10にかかる発明によれば、端末表示処理が異なる受信データを明確に区別することができる。
【0110】
また、この請求項11にかかる発明によれば、制御コードが端末制御コードか拡張制御コードかによって適切な端末表示処理を呼び出すことができる。
【0111】
また、この請求項12にかかる発明によれば、受信データがバッファリングされてより構文解析処理を容易に行うことができる。
【0112】
また、この請求項13にかかる発明によれば、制御コードの長さに応じた解析処理が行えることから、一層容易に構文解析処理を行うことができる。
【図面の簡単な説明】
【図1】この発明の実施の形態である画像形成装置の機能的構成を示すブロック図である。
【図2】図1の画像形成装置用端末エミュレータの機能的構成とデータの流れを示すブロック図である。
【図3】構文解析部における処理動作を説明するフローチャートである。
【図4】属性が付加された文字コードがテキストメモリに格納されている状態を示す図である。
【図5】端末エミュレータ上で端末表示アプリを実行した場合のブラウジング画面の一例を示す図である。
【図6】端末表示アプリからの端末表示要求によってオペレーションパネルに表示されるまでの動作を説明するフローチャートである。
【図7】ソフトキーボードを表示するために端末表示アプリから標準出力として出力される制御コード書式の一例を示す図である。
【図8】オペレーションパネル上に表示されたソフトキーボードの表示例を示す図である。
【図9】ソフトキーボードを表示するための標準出力動作を説明するフローチャートである。
【図10】ソフトキーボードからの入力を標準入力に変換する動作を説明するフローチャートである。
【図11】イメージ表示を行う場合のESCコード書式の一例を示す図である。
【図12】イメージ表示するGIFファイルの一例を示す図である。
【図13】図12のGIFファイルを画面に表示するためのプログラム例を説明する図である。
【図14】図13のプログラムを実行してオペレーションパネル上に表示したイメージ表示例を示す図である。
【図15】端末機能対応のアプリを端末デバイスのない機器に移植した場合の図であり、(a)はアプリ内容を変更した場合の図、(b)は端末エミュレータを介在させた場合の図である。
【図16】端末機能対応のアプリを端末デバイスのない機器に移植するとともにGUI機能を追加した場合の図であり、(a)はアプリ内にGUI機能を追加した図、(b)は端末エミュレータ内にGUI機能を追加した図である。
【符号の説明】
100 複合機
101 白黒ラインプリンタ(B&W LP)
102 カラーラインプリンタ(Color LP)
103 その他ハードウェアリソース
110 ソフトウェア群
111 プリンタアプリ
112 コピーアプリ
113 端末表示アプリ
114 端末エミュレータ
115 ファックスアプリ
116 スキャナアプリ
117 ネットファイルアプリ
118 工程検査アプリ
120 プラットホーム
121 汎用OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
130 アプリケーション
140 受信FIFOキュー
141 構文解析部
142 端末機能処理部
143 テキストメモリ
144 描画処理部
145 OCS関数ライブラリ
146 関数呼出部
147 イベント解析部
148 マウス入力変換部
149 キー操作入力変換部
150 送信FIFOキュー
154 描画指示信号
160 オペレーションパネル
180 グラフィック変換ライブラリ
181 表示画面管理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus terminal for transplanting a terminal display application for providing a drawing process and an event processing function to an operation panel of an image forming apparatus that provides a user service for image forming processing such as a copy, a printer, a scanner, or a facsimile. The present invention relates to a control code determination processing method in an emulator, a program for causing a computer to execute the method, and an image forming apparatus capable of executing the program.
[0002]
[Prior art]
Conventionally, an image forming apparatus having any function such as a printer, a copy, a facsimile, or a scanner is generally known. Further, in recent years, there has been known an image forming apparatus (hereinafter referred to as “multifunction machine”) in which functions of apparatuses such as a printer, a copy, a facsimile, and a scanner are housed in one casing. This multifunction device is provided with a display unit, a printing unit, an imaging unit, and the like in one casing, and is provided with three types of software respectively corresponding to a printer, a copy machine, and a facsimile machine, and by switching these software, Are operated as a printer, a copy, a scanner, or a facsimile machine.
[0003]
As an operation panel in such a conventional image forming apparatus, an operation key for performing an operation and a small display for performing an operation display or an error display, or an operation display or an error display on a screen are provided. In addition, there are touch panel types that display operation keys on a display panel and can be operated by directly touching them.
[0004]
[Problems to be solved by the invention]
However, since such a conventional image forming apparatus does not include a terminal corresponding to a keyboard or a display such as a workstation or a personal computer, for example, the display unit of the operation panel of the image forming apparatus is used. Even if a general-purpose terminal display application such as a web browser is ported to display data such as a browsing screen, the standard input / output cannot be supported, and the screen cannot be displayed on the display section of the operation panel as it is. It was. Of course, if the terminal display application is adapted to the image forming apparatus of the transplantation destination, drawing display is possible if a large change is made inside the application, but it takes time, labor and cost to change the inside of the application. There was a problem.
[0005]
Further, in the conventional multi-function peripheral, software corresponding to the printer, the copy, the scanner, and the facsimile apparatus is separately provided, so that it takes a lot of time to develop each software. For this reason, the applicant has hardware resources used in image forming processing such as a display unit, a printing unit, and an imaging unit, and has an application that performs processing specific to each user service such as a printer, copy, or facsimile. When a user service is provided by interposing between these applications and hardware resources, hardware resource management, execution control, and image formation processing that are commonly required by at least two of the applications are provided. Invented an image forming apparatus (multifunction machine) equipped with a platform comprising various control services. According to this multi-function peripheral, it is possible to improve the efficiency of software development by providing a platform for performing management, execution control, and image formation processing of hardware resources commonly required by at least two applications. As a result, the productivity of the entire apparatus can be improved.
[0006]
In this way, in the new multifunction device invented by the applicant, the application and the control service are provided separately. Therefore, after the multifunction device is shipped, a user or a third party who is a third party develops a new application. Therefore, it can be installed in multifunction devices. However, when a new application is installed in this multifunction device, the same applies as above. If there is no terminal that supports standard input / output of the application on the multifunction device side, it cannot be installed as it is, and it is changed inside the application. Needed to be added. In particular, in the case of multi-function devices, at least applications that correspond to printers, copiers, scanners, and facsimile machines must be developed separately, so it takes a lot of time to develop each software, and a general-purpose terminal display application is added. When trying to port, changes must be made inside the application, which further increases the development period and lowers the efficiency of software development.
[0007]
Also, what has been displayed on the display of operation panels of image forming apparatuses and multifunction devices until now is still images such as operation information and error displays. If a terminal display application such as a Web browser can be installed, browsing will be possible. You can also see the screen. However, the display part of the operation panel has a low display capability (screen size, drawing speed, etc.), and there are restrictions on display, and if you try to install a general-purpose application that supports terminal functions on the image forming device, the contents of the application However, it is necessary to divide each text information and image data included in the received data from the standard output and perform display processing according to each data. It was.
[0008]
The present invention has been made in view of the above. Various types of data can be displayed on the screen using the display unit of the operation panel of the image forming apparatus, and the inside of the terminal display application for performing terminal display. An object of the present invention is to obtain a control code discrimination processing method in a terminal emulator for an image forming apparatus that can be easily transplanted without significantly changing the above, a program for causing a computer to execute the method, and an image forming apparatus.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 includes an application having hardware resources used in the image forming process and performing a user service related to the image forming process. One of the applications A control code discrimination processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus capable of mounting a terminal display application, the terminal display application Output from Parse received data To determine the type of control code included in the received data. Depending on the parsing step to be performed and the type of control code included in the parsed received data The A control code discrimination processing method in a terminal emulator for an image forming apparatus, comprising: a terminal display process calling step for calling an appropriate terminal display process.
[0010]
According to the invention of claim 1, One of the applications A terminal display application as a control code discrimination processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus capable of mounting a terminal display application Output from Parse received data To determine the type of control code included in the received data. Depending on the parsing step to be performed and the type of control code included in the parsed received data The Since the terminal display process calling step for calling an appropriate terminal display process is included, an appropriate terminal display process corresponding to data can always be performed.
[0011]
According to a second aspect of the present invention, there is provided a hardware resource used in the image forming process, an application process for performing a process specific to the user service related to the image forming process, the application and the hardware resource. Control service process and operation for performing acquisition request, management, execution control and image formation processing of the hardware resources commonly required by at least two applications when providing the user service. With an operation panel for input and drawing information output, One of the applications A control code discrimination processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus capable of mounting a terminal display application, the terminal display application Output from Parse received data To determine the type of control code included in the received data. Depending on the parsing step to be performed and the type of control code included in the parsed received data The And a terminal display process calling step for calling an appropriate terminal display process.
[0012]
According to the invention of claim 2, One of the applications A terminal display application as a control code discrimination processing method in a terminal emulator for an image forming apparatus that operates on a multi-function peripheral that can be equipped with a terminal display application Output from Parse received data To determine the type of control code included in the received data. Depending on the parsing step to be performed and the type of control code included in the parsed received data The Since the terminal display process calling step for calling an appropriate terminal display process is included, an appropriate terminal display process corresponding to data can always be performed.
[0013]
According to a third aspect of the present invention, in the control code discrimination processing method in the terminal emulator for an image forming apparatus according to the first or second aspect, the terminal display process calling step is a control code for calling an appropriate terminal display process. The terminal control code or the extended control code is discriminated.
[0014]
According to the third aspect of the present invention, in order to discriminate between the terminal control code and the extended control code as the control code for calling the appropriate terminal display process in the terminal display process calling step, the received data different in the terminal display process is clarified. Can be distinguished.
[0015]
According to a fourth aspect of the present invention, in the control code discrimination processing method in the terminal emulator for an image forming apparatus according to any one of the first to third aspects, the terminal display processing calling step includes a terminal control code. In the case of a code, a drawing process based on text information is called, and when the control code is an extended control code, at least one of an image display process and a soft keyboard display process is called.
[0016]
According to the invention of claim 4, when the control code is the terminal control code in the terminal display process calling step, the drawing process based on the text information is called, and when the control code is the extended control code, the image display is performed. Alternatively, since at least one process of soft keyboard display is called, an appropriate terminal display process can be called according to whether the control code is a terminal control code or an extended control code.
[0017]
According to a fifth aspect of the present invention, in the control code discrimination processing method for a terminal emulator for an image forming apparatus according to any one of the first to fourth aspects, the syntax analysis step is preceded by the terminal display application. Output from A data holding process step is provided for temporarily holding the received data in the memory and outputting the data in the order of reception.
[0018]
According to the invention of claim 5, the terminal display application is provided before the syntax analysis step. Output from Since the data holding processing step for temporarily holding the received data in the memory and outputting the data in the order of reception is provided, the received data is buffered and the parsing process can be easily performed.
[0019]
According to a sixth aspect of the present invention, in the control code determination processing method in the terminal emulator for an image forming apparatus according to the fifth aspect, the data holding processing step further includes an indefinite length block of the control code in the received data. In comparison, the stream position is updated according to the length of the control code.
[0020]
According to the sixth aspect of the present invention, the indefinite-length block of the control code in the received data is compared in the data holding processing step, and the stream position is updated according to the length of the control code. Since the parsing process can be performed according to the length, the parsing process can be performed more easily.
[0021]
Moreover, since the invention concerning Claim 7 was made into the program which makes a computer perform the method as described in any one of Claims 1-6, it can make a computer perform any one operation | movement.
[0022]
The invention according to claim 8 provides hardware resources used in the image forming process, an application for performing a user service related to the image forming process, and an operation panel at the application level. Enter A terminal emulator for emulating output, and performing terminal display via the terminal emulator One of the applications An image forming apparatus capable of mounting a terminal display application, wherein the terminal emulator includes the terminal display application Output from Receiving Shin Data The Parsing do it , The type of control code included in the received data According to the type of control code It is characterized by having a syntax analysis means for calling an appropriate terminal display process.
[0023]
According to the eighth aspect of the present invention, terminal display is performed via the terminal emulator. One of the applications An image forming apparatus capable of mounting a terminal display application, wherein the terminal display application is analyzed by means of syntax analysis of a terminal emulator. Output from Receiving Shin Data The Parsing do it ,That Included in received data Control code type Determine the type of control code According to The Since an appropriate terminal display process is called, an appropriate terminal display process corresponding to data can always be performed.
[0024]
According to a ninth aspect of the present invention, there is provided a hardware resource used in the image forming process, an application for performing a process specific to the user service related to the image forming process, and the application and the hardware resource. A control service for performing acquisition request, management, execution control and image formation processing, operation input and drawing information which are commonly required by at least two applications when providing the user service. Output operation panel and operation panel at application level Enter A terminal emulator for emulating output, and performing terminal display via the terminal emulator One of the applications An image forming apparatus capable of mounting a terminal display application, wherein the terminal emulator includes the terminal display application Output from Receiving Shin Data The Parsing do it , The type of control code included in the received data According to the type of control code It is characterized by having a syntax analysis means for calling an appropriate terminal display process.
[0025]
According to the ninth aspect of the present invention, terminal display is performed via the terminal emulator. One of the applications An image forming apparatus of a multi-function machine that enables a terminal display application to be installed, and the terminal display application is analyzed by means of syntax analysis of a terminal emulator. Output from Receiving Shin Data The Parsing do it , The type of control code included in the received data Determine the type of control code According to The Since an appropriate terminal display process is called, an appropriate terminal display process corresponding to data can always be performed.
[0026]
According to a tenth aspect of the present invention, in the image forming apparatus according to the eighth or ninth aspect, the syntax analysis unit determines a terminal control code or an extended control code as a control code for calling an appropriate terminal display process. It is characterized by that.
[0027]
According to the tenth aspect of the present invention, the terminal control code and the extended control code are discriminated as the control code for calling the appropriate terminal display process by the syntax analysis means. Can be distinguished.
[0028]
The invention according to claim 11 is the image forming apparatus according to any one of claims 8 to 10, wherein when the control code is a terminal control code, the syntax analysis unit performs a drawing process based on text information. When the call and control code is an extended control code, at least one of image display and soft keyboard display is called.
[0029]
According to the eleventh aspect of the present invention, when the control code is a terminal control code by the syntax analysis means, a drawing process based on the text information is called, and when the control code is an extended control code, at least one of image display and soft keyboard display Thus, the appropriate terminal display process can be called depending on whether the control code is the terminal control code or the extended control code.
[0030]
According to a twelfth aspect of the present invention, in the image forming apparatus according to any one of the eighth to eleventh aspects, the syntax analysis unit includes the terminal display application in the preceding stage. Output from It is characterized by comprising data holding means for temporarily holding received data in a memory and outputting the data in the order received.
[0031]
According to the twelfth aspect of the present invention, the terminal display application is provided before the syntax analysis means. Output from Since the data holding means for temporarily holding the received data in the memory and outputting the data in the order of reception is provided, the received data is buffered and the parsing process can be performed more easily.
[0032]
According to a thirteenth aspect of the present invention, in the image forming apparatus according to the twelfth aspect, the data holding unit further compares an indefinite length block of the control code in the received data, and according to the length of the control code. The stream position is updated.
[0033]
According to the thirteenth aspect of the invention, the data holding means compares the indefinite-length block of the control code in the received data and updates the stream position according to the length of the control code. Since the parsing process can be performed according to the length, the parsing process can be performed more easily.
[0034]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of a control code discrimination processing method in a terminal emulator for an image forming apparatus according to the present invention, a program for causing a computer to execute the method, and an image forming apparatus will be described below in detail with reference to the accompanying drawings.
[0035]
(Embodiment 1)
(Configuration of image forming apparatus)
FIG. 1 is a block diagram showing a functional configuration of an image forming apparatus (hereinafter referred to as “multifunction machine”) according to an embodiment of the present invention. As shown in FIG. 1, the multi-function device 100 includes a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, and hardware resources 103 such as a scanner, a facsimile, a hard disk, a memory, and a network interface. A software group 110 including a platform 120 and an application 130 is also provided.
[0036]
The platform 120 interprets a processing request from the application 130 and generates a hardware resource acquisition request, and a system resource that manages one or a plurality of hardware resources and arbitrates the acquisition request from the control service. A manager (SRM) 123 and a general-purpose OS 121 are included.
[0037]
The control service is formed by a plurality of service modules, and includes an SCS (system control service) 122, an ECS (engine control service) 124, an MCS (memory control service) 125, an OCS (operation panel control service) 126, and an FCS (fax control service). ) 127, NCS (Network Control Service) 128, and the like. The platform 120 has an application program interface (API) that can receive a processing request from the application 130 by a predefined function.
[0038]
The general-purpose OS 121 is a general-purpose operating system such as UNIX (registered trademark), and executes the software of the platform 120 and the application 130 in parallel as processes.
[0039]
The process of the SRM 123 performs system control and resource management together with the SCS 122. The SRM123 process uses hardware resources such as engines such as a scanner unit and printer unit, memory, HDD file, and host I / O (Centro I / F, network I / F, IEEE 1394 I / F, RS232C I / F, etc.). Arbitration is performed according to the request from the upper layer to be used, and execution control is performed.
[0040]
Specifically, the SRM 123 determines whether the requested hardware resource is available (whether it is not used by another request), and if it is available, the requested hardware resource is used. Tell the upper layer that it is possible. In addition, the SRM 123 performs use scheduling of hardware resources in response to a request from an upper layer, and directly executes request contents (for example, paper conveyance and image forming operation, memory allocation, file generation, etc. by a printer engine). .
[0041]
The process of the SCS 122 performs application management, operation unit control, system screen display, LED display, resource management, interrupt application control, and the like.
[0042]
The process of the ECS 124 controls the engine of the hardware resource 103 including a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, a scanner, a facsimile, and the like.
[0043]
The MCS 125 process acquires and releases an image memory, uses a hard disk device (HDD), compresses and decompresses image data, and the like.
[0044]
The process of FCS127 includes facsimile transmission / reception using PSTN / ISDN network from each application layer of the system controller, registration / quotation of various facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile reception printing, and fusion transmission / reception. Provides an API to do.
[0045]
The NCS 128 process is a process for providing a service that can be commonly used for applications that require network I / O. Data received from the network side according to each protocol is distributed to each application, and data from the application. Mediation when sending to the network side.
[0046]
The process of the OCS 126 is a process for controlling an operation panel (operation panel), which will be described later, as information transmission means between the operator (user) and the main body control, and a key press from a display unit of an operation panel (not shown) is used as a key event. The key event function corresponding to the acquired key is transmitted to the SCS 122. In addition, when a request is made from the terminal display application 113 of the application 130 to the OCS 126, a drawing function for drawing and outputting various images on the operation panel display unit and other functions for controlling the operation panel are registered in advance. An OCS function library described later is provided. This OCS function library is implemented by being linked to each module of the application 130 and the control service. Note that all of the OCS 126 may be configured to operate as a process, or all of the OCS 126 may be configured as an OCS function library.
[0047]
The application 130 includes a printer application 111 that is a printer application having a page description language (PDL), PCL, and postscript (PS), a copy application 112 that is a copy application, and a terminal display that is a terminal display application. An application (for example, a general-purpose Web browser) 113, a fax application 115 as a facsimile application, a scanner application 116 as a scanner application, a net file application 117 as a network file application, and a process inspection application. And a certain process inspection application 118.
[0048]
The terminal display application 113 is an example of a general-purpose application to be ported to the MFP 100 of the first embodiment or a developed application, and the terminal emulator 114 of the present invention provided at the application level on the API. Has been implemented through. Although this terminal display application 113 is not an indispensable requirement of the present invention, it can be installed without changing the application by emulating a terminal emulator 114 described later. That is, the copier, printer, facsimile apparatus, or multifunction device 100 having these functions does not have a terminal corresponding to a keyboard or a display, and therefore is based on these terminals (standard input / output). Even if the terminal display application is ported as it is, it does not operate, but the terminal emulator 114's emulation function converts the standard input / output of the terminal display application 113 into data that the terminal emulator 114 can handle on the operation panel of the ported multifunction device or the like ( (Redirection).
[0049]
(Terminal emulator configuration)
FIG. 2 is a block diagram showing a functional configuration and a data flow of the terminal emulator for the image forming apparatus of FIG. A terminal emulator 114 shown in FIG. 2 includes a reception FIFO queue 140 that processes reception data of standard output from a terminal display application (such as a general-purpose Web browser) 113, a syntax analysis unit 141 that is a characteristic component of the present invention, A terminal function processing unit 142, a text memory 143, a drawing processing unit 144, an OCS function library 145, a function calling unit 146, and the like are provided. Further, the terminal emulator 114 generates an event message when an input operation is performed on a button or a keyboard displayed on the input unit of the operation panel 160, and converts the event message into a standard input of a mouse event or a key event. An event analysis unit 147 that notifies a terminal display application (such as a general-purpose Web browser) 113, a mouse input conversion unit 148, a key operation input conversion unit 149, and a transmission FIFO queue 150 are provided.
[0050]
First, in the first embodiment, the standard output related to the text information of the terminal display application 113 installed in the image forming apparatus is emulated by the terminal emulator 114 and is drawn and displayed on the display unit of the operation panel 160. Each component will be described.
[0051]
(Receive FIFO queue)
The reception FIFO queue 140 is a FIFO (first-in first-out) memory that receives and accumulates standard output reception data from the terminal display application 113 and outputs the reception data in the order received. The reception FIFO queue 140 has a function of comparing an indefinite length block with an indefinite length control code included in the received data and updating the stream position when it is recognized as the corresponding control code. . This is because if the received stream from the terminal display application 113 is directly analyzed by the syntax analysis unit 141 of the present invention of the next stage, the received data includes an indefinite length control code, so it is easy as it is. This is because it cannot be analyzed. As described above, the reception FIFO queue 140 buffers the standard output reception data (data including the control code) from the terminal display application 113 and updates the stream position by comparing the indefinite length block of the control code. Thus, the syntax analysis unit 141 in the next stage can easily perform the syntax analysis according to the length of the control code. As an example of a function group of the reception stream object of the reception FIFO queue 140, character string comparison (IsCmpString), character comparison (IsCmpChar), character evaluation acquisition (IsGetChar), character acquisition (GetChar), numerical value acquisition (GetNum), Also, stream position change (SetOffset) or the like is used.
[0052]
The reception FIFO queue 140 has a function of instructing the drawing processing unit 144 (described later) to the drawing timing to the display unit of the operation panel 160. That is, as shown in FIG. 2, when the reception FIFO queue 140 transmits a drawing instruction signal 154 (broken arrow) to the drawing processing unit 144, the drawing processing unit 144 uses the timing for the terminal display application in accordance with the timing. By drawing the processed drawing information together on the display unit of the operation panel 160, the screen is prevented from becoming an unnatural display screen such as a flicker.
[0053]
(Syntax analyzer)
The next syntax analysis unit 141 is a characteristic component of the present invention, and is arranged in the subsequent stage of the reception FIFO queue 140 described above, analyzes received data from the standard output of the terminal display application 113, and its control code. This is a syntax analysis means for calling an appropriate display process according to the above, and is also called a parser.
[0054]
FIG. 3 is a flowchart for explaining the processing operation in the syntax analysis unit. First, as shown in FIG. 3, the syntax analysis unit 141 performs syntax analysis processing when standard output received data is received (step S90), and whether or not the control code included in the received data is a terminal control code. (YES in step S91), if YES, a process performed by the terminal function processing unit 142 described below is called (step S92). If the control code is not a terminal control code in step S91, the process moves to step S93 to determine whether or not it is an extended control code (ESC code). Here, if it is determined that the control code is an extended control code (ESC code), processing of a function call unit 146 described later is called (step S94).
[0055]
In this manner, the syntax analysis unit 141 performs syntax analysis of the standard output received data, and the processing is divided into two types of display processing according to the control code included in the received data. Various images can be displayed on the part. For example, when the control code is a terminal control code and the terminal function processing unit 142 is called, a drawing process based on text information can be performed. When the control code is an extended control code (ESC code) and the function call unit 146 is called, a soft keyboard process or an image pasting process that cannot be processed only by the terminal function processing unit 142 can be performed. The drawing display function of the operation panel 160 can be made more multifunctional.
[0056]
(Terminal function processor)
Next, the terminal function processing unit 142 in FIG. 2 is also referred to as a termcap processing unit, and uses a control code and text information (character code) included in the standard output received data from the terminal display application 113. Thus, it has a function of adding an attribute (drawing attribute) related to drawing based on the control code to the text information. These attributes include distinction between key input and mouse input, coordinate position, underline information, character attribute information (corresponding to color designation information), or input form information such as single click replaced with double click, etc. The attribute is added to the code and stored in the text memory 143 in the next stage. The terminal function processing unit 142 has a function of setting screen control information in accordance with the specifications of the terminal. The screen control information includes information for adjusting the terminal specifications such as the number of lines, the number of columns, the availability of backspace, or information for screen control such as screen erasure, cursor movement, underline, etc. The text information for screen display stored in the text memory 143 in the next stage can be controlled.
[0057]
(Text memory)
The text memory 143 is composed of a text RAM or the like, and stores text information with a drawing attribute added to perform screen display and can perform basic screen control.
[0058]
FIG. 4 is a diagram illustrating a state in which the character code to which the drawing attribute is added is stored in the text memory. As shown in FIG. 4, the display area of the operation panel 160 is composed of 16 columns × 79 rows, and a character code (char ch) and an attribute (int attr) are added to each character, and a text memory for writing this The (text RAM) 143 includes a character code, a line (row) indicating the display position of the character, a row (row), and a check bit (* check) for checking whether or not the display contents are changed in units of lines. Stored. For this reason, when the display content is changed, the changed line can be easily identified simply by confirming the presence or absence of the check bit, so that only the data of the changed line can be efficiently rewritten.
[0059]
(Drawing processing part)
Next, the drawing processing unit 144 in FIG. 2 processes the text information stored in the text memory 143 for the terminal display application 113 and performs drawing processing on the display unit of the operation panel 160. When drawing processing is performed, drawing information is generated by calling the drawing function from the drawing processing unit 144 to the OCS function library 145 in which drawing functions for drawing images such as buttons and character strings are registered, and the OCS function library. 145 is temporarily held. Then, as described above, the drawing processing unit 144 collects drawing information processed and stored in the OCS function library 145 every time the drawing instruction signal 154 is received from the reception FIFO queue 140, and is displayed on the operation panel 160. Drawn in the part. Here, since a Web browser application is used as the terminal display application 113, an operation on a screen such as a hyperlink displayed on the browsing screen or a FORM input becomes necessary. In the first embodiment, an LCD screen capable of touch panel input is used for the display unit of the operation panel 160 of the multifunction peripheral 100. However, since there is no mechanism for acquiring the coordinates of touch panel input on the LCD screen, touch panel input is possible. It is necessary to display in advance in a button format the part that requires (hyperlink and FORM input part).
[0060]
FIG. 5 is a diagram illustrating an example of a browsing screen when a terminal display application is executed on a terminal emulator. As shown in FIG. 5, in the case of the hyperlink image 151, the drawing processing unit 144 generates a button with a blue (not shown in the figure) underline added to the character, and in the case of the FORM input image 152, the red ( In the case of the inline image 153, a green (non-color display) reverse text button can be generated. However, even if such a button is generated and a screen operation is performed from the button, the operation content cannot be notified to the terminal display application 113 as it is. Therefore, as will be described later, a button is displayed for a specific character string, and when this button is operated, a mechanism for converting the input into a double click of the mouse and notifying the terminal display application 113 is adopted. doing.
[0061]
Next, FIG. 6 is a flowchart for explaining the operation until the terminal display request from the terminal display application is displayed on the display unit of the operation panel. As shown in FIG. 6, when there is a line display request (wd_putline) from the terminal display application 113 (step S100), the line to be displayed is deleted (step S102), and character strings including character attributes are sequentially from the first character. An investigation is performed (step S104), and if the character string including the character attribute changes compared to the previous character (step S106), the character attribute is investigated (attr) in step S108.
[0062]
Here, the character attribute investigation is set (character attribute information) so as to be changed to the following specifications according to the character color (color designation information). That is, the hyperlink is displayed as a button in which a blue character is underlined, the inline image is displayed as a green inverted character button, and a normal character is displayed as a black character.
[0063]
As a result of investigating the character attribute in step S108, if it is black, as shown in step S110, the character string is displayed in a message format at a predetermined (x, y) coordinate position (x is a column position, y is a row position). To do.
[0064]
If the result of the character attribute investigation in step S108 is blue, as shown in step S112, a character string is displayed in a button format at a predetermined (x, y) coordinate position, and display position information is stored. Register as a touch code to be notified when the button is pressed.
[0065]
Next, if the result of the character attribute check in step S108 is green, as shown in step S114, the character string is displayed in a reverse character button format at a predetermined (x, y) coordinate position, and display position information is stored. At the same time, it is registered as a touch code for notifying when the button is pressed.
[0066]
Then, based on these character attribute investigation results, a function is called into the OCS function library and displayed on the LCD screen of the operation panel (step S116). Thereafter, in step S118, it is determined whether or not the end of the character string including the character attribute has been checked. If the check has not been made to the end, the process returns to step S104 and the above processing is repeated. Further, in the case where the character attribute is not changed in step S106 as compared with the character one character before, it is determined in step S118 similarly to the above. If the end of the character string has been examined in step S118, the process ends. As described above, the drawing processing unit 144 of the terminal emulator 114 draws and displays the screen assumed by the terminal display application 113 on the display unit of the operation panel 160, and displays at least a part of the display in a button format. As a result, it is possible to obtain a display screen in which hyperlinks can be used in the same manner as the browsing screen.
[0067]
As described above, according to the first embodiment, a general-purpose terminal display application corresponding to a terminal function can be installed via a terminal emulator even in an image forming apparatus such as a multi-function peripheral. It can be easily implanted with little change. In the first embodiment, the syntax analysis unit 141 is arranged in the terminal emulator 114, so that the received data from the standard output of the terminal display application 113 input via the reception FIFO queue 140 is analyzed. Depending on whether the control code is a terminal control code or an extended control code (ESC code), the most appropriate terminal display process can be called. Thus, in order to call an appropriate terminal display process according to the control code, various images can be displayed using the display unit of the operation panel 160.
[0068]
(Embodiment 2)
In the second embodiment, when the control code included in the standard output reception data is the extended control code by the syntax analysis unit 141, the process in the function call unit 146 is called.
[0069]
(Function call part)
When there is an extended control code (ESC code) in the received data, the function calling unit 146 can display a soft keyboard on the display unit of the operation panel 160 or paste an image. Here, the soft keyboard is one that displays a keyboard on the LCD screen of the operation panel 160 and can perform key input operations similar to those of a hardware keyboard using a touch panel or the like.
[0070]
The soft keyboard control by the function calling unit 146 can easily display the soft keyboard on the display unit of the operation panel by using a terminal control code, and the input from the displayed soft keyboard can be used as a standard input. The terminal display application 113 can be notified. Hereinafter, the display operation of the soft keyboard and the key input operation from the displayed soft keyboard will be described with reference to FIGS. 2 and 7 to 10.
[0071]
FIG. 7 is a diagram illustrating an example of a control code format output as a standard output from the terminal display application 113 in order to display the soft keyboard. FIG. 8 illustrates the soft keyboard displayed on the display unit of the operation panel. FIG. 9 is a flowchart for explaining a standard output operation for displaying a soft keyboard, and FIG. 10 is a flowchart for explaining an operation for converting an input from the soft keyboard into a standard input. is there.
[0072]
(Soft keyboard processing)
First, in order to display the soft keyboard, as shown in FIG. 7, a control code is output as a standard output from the terminal display application 113 in FIG. 2 (step S140 in FIG. 9). As shown in FIGS. 7A to 7G, the control code is composed of seven parts starting from a designation code of the function call unit 146 that performs a function call and ending with an input area end character code. .
[0073]
By using this soft keyboard control code, a function call is made from the function calling unit 146 to the OCS function library 145 to convert it into a soft keyboard request function (step S142 in FIG. 9), and the LCD screen of the operation panel 160 A soft keyboard is displayed (step S144 in FIG. 9). This is because the control code of the soft keyboard is a control code for executing the soft keyboard request function (SysSoftOpen).
[0074]
In addition, a soft keyboard is displayed on the operation panel 160 as shown in FIG. 8, and a touch panel is adopted on the surface of the panel. Therefore, the operator can perform key input only by looking at the soft keyboard on the display unit of the operation panel 160 and touching the panel portion at the key position to be input (step S150 in FIG. 10).
[0075]
If there is a key input, the key input is determined in step S152. If it is determined that a button other than the cancel button or the OK button is pressed, the process returns to step S150. If it is determined in step S152 that the OK button 160a of the soft keyboard in FIG. 8 has been pressed, the input character string is converted into key input by the key operation input conversion unit 149 in FIG. 2 (step S154), and the soft keyboard Return code 0x0a is added to the end of the data input from.
[0076]
If it is determined in step S152 that the cancel button 160b of the soft keyboard in FIG. 8 has been pressed, the input becomes invalid and 0x03 corresponding to the Control-C code is notified (step S158).
[0077]
The key input converted in step S154 and the notification of Control-C (0x03) in step S158 are standard inputs of the terminal display application 113 via the transmission FIFO queue 150 of FIG. 2 (step S156). That is, the data input from the soft keyboard is redirected as the standard input of the terminal display application 113.
[0078]
(Image pasting process)
Next, conventional image forming apparatuses such as copiers, printers, facsimile machines, and multi-function machines have no image window (such as an operation panel display unit) capable of displaying images. Therefore, in the third embodiment, an image pasting process for displaying an image can be performed as one of the above-described extended control code processes.
[0079]
FIG. 11 is a diagram showing an example of an ESC code format when performing image display, FIG. 12 is a diagram showing an example of a GIF file for image display, and FIG. 13 is a diagram showing the GIF file of FIG. 12 on the screen. FIG. 14 is a diagram illustrating an example of a program for displaying, and FIG. 14 is a diagram illustrating an example of an image displayed on the display unit of the operation panel by executing the program of FIG.
[0080]
First, in order to display a desired image at a predetermined position on the display screen of the operation panel, the ESC code shown in FIG. 11 is output as a standard output from the terminal display application 113 of FIG. As shown in FIGS. 11A to 11E, the ESC code is composed of five parts starting from a designation code of a function call unit 146 that performs a function call and ending with a character code.
[0081]
Next, a program (FIG. 13) for displaying abc.gif in FIG. 12 as a GIF file uses the ESC code in FIG. 11 to instruct the image display, and converts the abc.gif image in FIG. The image display position and the image file are designated as indicated by (1) in FIG. 13 so that the image is displayed at the coordinate (x, y) = (50, 50) position. The program (2) in FIG. 13 means that the program ends when a Q character is received from the standard input, and (3) in FIG. 13 indicates that the image display uses the icon registration function. Since a pseudo image window is realized, it is indicated that the image window and the image registration need to be discarded when the image display is ended.
[0082]
Thus, by executing the program shown in FIG. 13, the GIF file image as shown in FIG. 12 is pasted and displayed at a predetermined position on the display unit of the operation panel 160 as shown in FIG. be able to.
[0083]
As described above, when various images displayed on the display unit of the operation panel 160 are input from the touch panel or the like, the event is converted to the standard input via the terminal emulator 114 and displayed on the terminal display. Input to the application 113. This will be briefly described with reference to FIG. 2. For example, the display unit of the operation panel 160 employs a touch panel that also serves as an input unit for inputting coordinate values when the panel surface is touched. An event message indicating that the button or key has been pressed when an underline or button or a soft keyboard as described later is displayed at a predetermined position and coordinate values corresponding to the button position or key position are input. Can be generated. That is, when the OCS 126 shown in FIG. 2 acquires a key event message from the input unit of the operation panel 160, the OCS 126 transmits an event function corresponding to the acquired key to the process of the SCS 122. In the SCS 122 process, the event function received from the OCS 126 is transmitted to the event analysis unit 147 of the terminal emulator 114. The same is true for mouse events.
[0084]
The event analysis unit 147 analyzes whether the input event function is a key input or a mouse input based on the received event. If the input is a key input, the event is sent to the key operation input conversion unit 149. The data is sent to the input conversion unit 148.
[0085]
The mouse input conversion unit 148 converts the mouse event distributed by the event analysis unit 147 into the standard input of the terminal display application 113, and the key operation input conversion unit 149 performs the key event distributed by the event analysis unit 147. Is converted to the standard input of the terminal display application 113 and sent to the terminal display application 113 via the transmission FIFO queue 150.
[0086]
As described above, according to the second embodiment, in addition to the effects of the first embodiment, the standard output received data from the terminal display application 113 is transmitted to the control code by the syntax analysis unit 141 via the reception FIFO queue 140. Can be processed by calling an appropriate drawing process according to the extended control code, and the soft keyboard process and image that cannot be processed by the terminal function processing unit 142 described in the first embodiment. A pasting process or the like can be performed.
[0087]
(Embodiment 3)
Next, in the third embodiment, when a general-purpose terminal display application is ported to an image forming apparatus such as a multifunction peripheral and a browsing screen is drawn and displayed on the display unit of the operation panel, the terminal display application is almost changed. The following method is used so that transplantation can be performed without adding.
[0088]
(Porting form of terminal display application)
FIGS. 15A and 15B are diagrams in a case where an application corresponding to a terminal function is ported to a device without a terminal device, where FIG. 15A is a diagram when the contents of the application are changed, and FIG. 15B is a diagram when a terminal emulator is interposed. It is. When a terminal function compatible application is ported to a device to which a terminal device (keyboard or display) is connected, the application can be ported without change. However, if an application corresponding to a terminal function is ported to a device (such as a copier, a printer, a facsimile machine, or a multifunction device) that does not have a terminal device as in this embodiment, the data input / output destination is the operation panel. There are only a display part and an input part, and even if it transplants the application corresponding to the terminal function as it is, it does not work. For this reason, as shown in FIG. 15 (a), it is necessary to change the application itself so that the location where the terminal device is accessed inside the terminal function compatible application 173 is replaced with the terminal device using the API 176 (application). Changed portion 173a).
[0089]
However, in the third embodiment, in order to save the trouble of making changes inside the application when the application is ported, the terminal emulator 175 is connected between the terminal function compatible application 173 and the API 176 as shown in FIG. Therefore, standard input / output conversion processing (emulation) is performed so that even if the standard input / output of the terminal function compatible application 173 is ported to a multi-function device having no keyboard or display. As a result, even the terminal function compatible application 173 can be ported to an image forming apparatus or the like with almost no change inside the application.
[0090]
(How to add GUI function)
FIG. 16 is a diagram in a case where a terminal function compatible application is transplanted to a device without a terminal device and a GUI function is further added. FIG. 16A is a diagram in which a GUI function is added in the application. FIG. 4 is a diagram in which a GUI function is added to a terminal emulator. The terminal function compatible application is an interface (CUI: character user interface) for performing text operations. In addition to text display, many functions such as button operation, image display, and touch panel are installed. ing. Therefore, when changing to an application corresponding to a GUI (graphic user interface) using such various functions, an API is directly operated on the application, and a graphic user interface (GUI) is added. There is a need. Therefore, as this additional form, for example, as shown in FIG. 16A, (1) a method of adding the GUI 173b by adding a part for directly operating the API 176 in the terminal function compatible application 173, and FIG. As shown in (2), (2) two methods of adding a GUI 175a corresponding to the application corresponding to the terminal function in the terminal emulator are conceivable. The addition method in FIG. 16A needs to grasp the internal operation of the application corresponding to the terminal function and make a change, and also needs to grasp the operation of the API 176, so that porting becomes very difficult. On the other hand, the adding method of FIG. 16B has an advantage that it is not necessary to change the terminal function compatible application 173 and can be easily transplanted.
[0091]
Therefore, in the third embodiment, when a general-purpose application corresponding to the terminal function is ported, the application is changed to an application that can also support the GUI. A specific method of adding a GUI function in this case will be described with reference to FIG.
[0092]
In FIG. 2, a characteristic configuration when adding a GUI function is that a dynamic graphic conversion library 180 for changing a CUI corresponding to an individual application to a GUI is provided. The graphic conversion library 180 is interposed between the terminal display application 113 and an API (not shown), and has a function of changing the CUI to a GUI.
[0093]
Further, the graphic conversion library 180 shown in FIG. 2 includes a display screen management unit 181 that manages a display screen to the OCS function library 145 specialized for the terminal display application 113. This display screen management unit 181 converts the standard input to the terminal display application 113 into stream data by changing the operation command of the terminal display application 113 to a button, and further notifies the terminal display application 113. It also manages child window handles such as browser screens to be displayed.
[0094]
The drawing processing unit 144 in the graphic conversion library 180 of FIG. 2 processes the text information managed by the text memory 143 for the terminal display application and draws it on the LCD screen of the operation panel 160. Since the function of the drawing processing unit 144 has been described in the first embodiment, description thereof is omitted here.
[0095]
Also, the key operation input conversion unit 149 in the graphic conversion library 180 in FIG. 2 generates an object for managing the display layout of the LCD screen of the operation panel 160, and has been described in the second embodiment. The description is omitted here.
[0096]
The mouse input conversion unit 148 in the graphic conversion library 180 of FIG. 2 converts touch input on the LCD screen of the operation panel 160 into mouse input, and is described in the second embodiment. The description is omitted here.
[0097]
As described above, according to the third embodiment, when porting an application, a terminal emulator is interposed between the terminal function compatible application and the API, thereby converting the standard input / output of the terminal function compatible application. Since it can be processed (emulated), it can be easily ported without any changes inside the app.
[0098]
In addition, according to the third embodiment, the terminal function compatible application is an interface (CUI) for performing a text operation, but there are many functions such as a button operation, an image display, and a touch panel as functions expanded in addition to the text display. Is installed, if you use the method of adding GUI in the terminal function compatible application (see Fig. 16 (b)), you can easily port without changing the inside of the application, and also add GUI function can do.
[0099]
In the first to third embodiments described above, an example in which a multifunction device is used as a device on which a terminal display application is mounted has been described. However, the present invention is not necessarily limited to a multifunction device, and a copier, printer, The present invention can also be applied to a single image forming apparatus having an operation panel such as a facsimile apparatus or a scanner apparatus, and a suitable effect can be obtained as described above.
[0100]
【The invention's effect】
As described above, according to the first aspect of the invention, it is possible to always perform appropriate terminal display processing according to the received data from the standard output.
[0101]
According to the second aspect of the present invention, appropriate terminal display processing corresponding to the received data from the standard output can always be performed even in the case of a multifunction machine.
[0102]
Moreover, according to the invention concerning Claim 3, the reception data from which a terminal display process differs can be distinguished clearly.
[0103]
According to the invention of claim 4, an appropriate terminal display process can be called according to whether the control code is a terminal control code or an extended control code.
[0104]
According to the fifth aspect of the present invention, the received data is buffered and the parsing process can be easily performed.
[0105]
According to the sixth aspect of the invention, the parsing process can be performed more easily because the parsing process according to the length of the control code can be performed.
[0106]
According to the seventh aspect of the invention, the computer can execute any one of the first to sixth operations.
[0107]
Further, according to the eighth aspect of the invention, it is possible to always perform appropriate terminal display processing according to the received data from the standard output.
[0108]
According to the ninth aspect of the present invention, appropriate terminal display processing corresponding to the received data from the standard output can always be performed even in the case of a multifunction machine.
[0109]
Further, according to the invention of claim 10, received data having different terminal display processes can be clearly distinguished.
[0110]
According to the invention of claim 11, it is possible to call an appropriate terminal display process depending on whether the control code is a terminal control code or an extended control code.
[0111]
According to the invention of claim 12, the received data is buffered, so that the parsing process can be performed more easily.
[0112]
According to the thirteenth aspect of the present invention, the parsing process can be performed more easily because the parsing process according to the length of the control code can be performed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a functional configuration of an image forming apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a functional configuration and a data flow of the terminal emulator for the image forming apparatus in FIG. 1; FIG.
FIG. 3 is a flowchart illustrating a processing operation in a syntax analysis unit.
FIG. 4 is a diagram illustrating a state in which a character code to which an attribute is added is stored in a text memory.
FIG. 5 is a diagram illustrating an example of a browsing screen when a terminal display application is executed on a terminal emulator.
FIG. 6 is a flowchart illustrating an operation until a terminal display request from a terminal display application is displayed on an operation panel.
FIG. 7 is a diagram illustrating an example of a control code format output as a standard output from a terminal display application in order to display a soft keyboard.
FIG. 8 is a diagram showing a display example of a soft keyboard displayed on the operation panel.
FIG. 9 is a flowchart illustrating a standard output operation for displaying a soft keyboard.
FIG. 10 is a flowchart illustrating an operation for converting an input from a soft keyboard into a standard input.
FIG. 11 is a diagram illustrating an example of an ESC code format when performing image display.
FIG. 12 is a diagram illustrating an example of a GIF file for image display.
13 is a diagram illustrating an example of a program for displaying the GIF file of FIG. 12 on a screen.
14 is a diagram showing an image display example displayed on the operation panel by executing the program of FIG. 13;
FIGS. 15A and 15B are diagrams when a terminal function compatible application is ported to a device without a terminal device, where FIG. 15A is a diagram when the application content is changed, and FIG. 15B is a diagram when a terminal emulator is interposed; It is.
FIGS. 16A and 16B are diagrams when a terminal function compatible application is transplanted to a device without a terminal device and a GUI function is added; FIG. 16A is a diagram in which a GUI function is added in the application; It is the figure which added the GUI function in the inside.
[Explanation of symbols]
100 MFP
101 Monochrome line printer (B & W LP)
102 Color line printer (Color LP)
103 Other hardware resources
110 Software group
111 Printer app
112 Copy application
113 Terminal display app
114 terminal emulator
115 Fax application
116 Scanner app
117 Net file application
118 Process inspection app
120 platform
121 General-purpose OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
130 applications
140 Receive FIFO queue
141 Parsing section
142 Terminal function processor
143 text memory
144 Drawing processing unit
145 OCS function library
146 Function call part
147 Event Analysis Department
148 Mouse input converter
149 Key operation input converter
150 Send FIFO queue
154 Drawing instruction signal
160 Operation Panel
180 graphic conversion library
181 Display screen manager

Claims (13)

画像形成処理で使用されるハードウェア資源を有し、画像形成処理にかかるユーザサービスを行うアプリケーションを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法であって、
前記端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、
構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップと、
を含んだことを特徴とする画像形成装置用端末エミュレータにおける制御コード判別処理方法。
An image operating on an image forming apparatus having hardware resources used in the image forming process, including an application for performing a user service related to the image forming process, and capable of mounting a terminal display application which is one of the applications. A control code determination processing method in a terminal emulator for a forming apparatus,
Parsing received data output from the terminal display application, and a syntax analyzing step for determining the type of control code included in the received data ;
A terminal display process call step for calling an appropriate terminal display process according to the type of control code included in the parsed received data;
A control code discrimination processing method in a terminal emulator for an image forming apparatus, comprising:
画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションのプロセスと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスのプロセスと、操作入力および描画情報出力を行うオペレーションパネルとを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける制御コード判別処理方法であって、
前記端末表示アプリケーションから出力された受信データを構文解析して、その受信データに含まれる制御コードの種類を判別する構文解析ステップと、
構文解析した受信データに含まれる制御コードの種類に応じ適切な端末表示処理を呼び出す端末表示処理呼出ステップと、
を含んだことを特徴とする画像形成装置用端末エミュレータにおける制御コード判別処理方法。
The hardware resource used in the image forming process, the application process for performing the process specific to the user service related to the image forming process, and the user service provided between the application and the hardware resource. A process of a control service that performs acquisition request, management, execution control, and image formation processing of the hardware resources commonly required by at least two of the applications, and an operation panel that performs operation input and drawing information output A control code determination processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus that enables mounting of a terminal display application that is one of the applications,
Parsing received data output from the terminal display application, and a syntax analyzing step for determining the type of control code included in the received data ;
A terminal display process call step for calling an appropriate terminal display process according to the type of control code included in the parsed received data;
A control code discrimination processing method in a terminal emulator for an image forming apparatus, comprising:
前記端末表示処理呼出ステップは、適切な端末表示処理を呼び出す制御コードとして、端末制御コードまたは拡張制御コードを判別することを特徴とする請求項1または2に記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法。The control in the terminal emulator for an image forming apparatus according to claim 1, wherein the terminal display process calling step determines a terminal control code or an extended control code as a control code for calling an appropriate terminal display process. Code discrimination processing method. 前記端末表示処理呼出ステップは、制御コードが端末制御コードの場合、テキスト情報に基づく描画処理を呼び出し、制御コードが拡張制御コードの場合、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すことを特徴とする請求項1〜3のいずれか一つに記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法。The terminal display process calling step calls a drawing process based on text information when the control code is a terminal control code, and calls at least one process of image display or soft keyboard display when the control code is an extended control code. The control code discrimination processing method in the terminal emulator for an image forming apparatus according to any one of claims 1 to 3. 前記構文解析ステップは、その前段に前記端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持処理ステップが設けられていることを特徴とする請求項1〜4のいずれか一つに記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法。The parsing step includes a data holding processing step for temporarily holding the received data output from the terminal display application in the memory and outputting the data in the order received. The control code discrimination | determination processing method in the terminal emulator for image forming apparatuses as described in any one of Claims 1-4. 前記データ保持処理ステップは、さらに前記受信データ内の制御コードの不定長ブロックを比較し、制御コードの長さに応じてストリーム位置を更新することを特徴とする請求項5に記載の画像形成装置用端末エミュレータにおける制御コード判別処理方法。6. The image forming apparatus according to claim 5, wherein the data holding processing step further compares an indefinite-length block of a control code in the received data, and updates a stream position according to the length of the control code. Control code discrimination processing method in a terminal emulator for a computer. 請求項1〜6のいずれか一つに記載された方法をコンピュータに実行させるプログラム。The program which makes a computer perform the method as described in any one of Claims 1-6. 画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスを行うアプリケーションと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、
前記端末エミュレータには、前記端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じた適切な端末表示処理を呼び出す構文解析手段
を備えていることを特徴とする画像形成装置。
Comprising hardware resources used in image forming processing, and application for user services for image forming processes, a terminal emulator for emulating input output against the operation panel at the application level, and through the terminal emulator An image forming apparatus capable of mounting a terminal display application which is one of the applications for performing terminal display,
Wherein the terminal emulator, parsing the outputted received Shinde over data from the terminal display application determines the type of control code included in the received data, the appropriate terminal display in accordance with the type of control code An image forming apparatus comprising: a syntax analysis unit that invokes processing.
画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスと、操作入力および描画情報出力を行うオペレーションパネルと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、
前記端末エミュレータには、前記端末表示アプリケーションから出力された信データ構文解析して、その受信データに含まれる制御コードの種類を判別し、制御コードの種類に応じた適切な端末表示処理を呼び出す構文解析手段
を備えていることを特徴とする画像形成装置。
When providing the user service by interposing between the hardware resource used in the image forming process, an application for performing a process specific to the user service related to the image forming process, and the application and the hardware resource A control service for performing acquisition, management, execution control and image formation processing of the hardware resources commonly required by at least two of the applications, an operation panel for performing operation input and drawing information output, and an application level comprising a terminal emulator for emulating input output against the operation panel, and an image forming apparatus which enables mounting the terminal display application, which is one of the application for terminal display through the terminal emulator,
Wherein the terminal emulator, parsing the outputted received Shinde over data from the terminal display application determines the type of control code included in the received data, the appropriate terminal display in accordance with the type of control code An image forming apparatus comprising: a syntax analysis unit that invokes processing.
前記構文解析手段は、適切な端末表示処理を呼び出す制御コードとして、端末制御コードまたは拡張制御コードを判別することを特徴とする請求項8または9に記載の画像形成装置。The image forming apparatus according to claim 8, wherein the syntax analysis unit determines a terminal control code or an extended control code as a control code for calling an appropriate terminal display process. 前記構文解析手段は、制御コードが端末制御コードの場合、テキスト情報に基づく描画処理を呼び出し、制御コードが拡張制御コードの場合、イメージ表示またはソフトキーボード表示の少なくとも一方の処理を呼び出すことを特徴とする請求項8〜10のいずれか一つに記載の画像形成装置。When the control code is a terminal control code, the syntax analysis means calls a drawing process based on text information, and when the control code is an extended control code, calls at least one of an image display process and a soft keyboard display process. The image forming apparatus according to claim 8. 前記構文解析手段は、その前段に前記端末表示アプリケーションから出力された受信データを一時的にメモリに保持し、受信した順序でデータを出力するデータ保持手段を備えていることを特徴とする請求項8〜11のいずれか一つに記載の画像形成装置。The syntax analysis means includes data holding means for temporarily holding received data output from the terminal display application in a preceding stage in a memory and outputting the data in the order received. The image forming apparatus according to any one of 8 to 11. 前記データ保持手段は、さらに前記受信データ内の制御コードの不定長ブロックを比較し、制御コードの長さに応じてストリーム位置を更新することを特徴とする請求項12に記載の画像形成装置。13. The image forming apparatus according to claim 12, wherein the data holding unit further compares an indefinite length block of a control code in the received data, and updates a stream position according to the length of the control code.
JP2002082237A 2002-03-25 2002-03-25 Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus Expired - Fee Related JP3686620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002082237A JP3686620B2 (en) 2002-03-25 2002-03-25 Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002082237A JP3686620B2 (en) 2002-03-25 2002-03-25 Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2003283716A JP2003283716A (en) 2003-10-03
JP3686620B2 true JP3686620B2 (en) 2005-08-24

Family

ID=29230497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002082237A Expired - Fee Related JP3686620B2 (en) 2002-03-25 2002-03-25 Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP3686620B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4769515B2 (en) 2004-09-07 2011-09-07 株式会社リコー Application execution method, information processing apparatus, image forming apparatus, application execution program, recording medium, and information processing system

Also Published As

Publication number Publication date
JP2003283716A (en) 2003-10-03

Similar Documents

Publication Publication Date Title
US7554685B2 (en) Image forming apparatus, information processing apparatus, program execution method and program producing method
JP4939046B2 (en) Image processing apparatus and control method thereof
US20050044248A1 (en) User authentication method, image forming apparatus, and user authentication program
US20130194628A1 (en) Image processing system, information terminal apparatus, image displaying method, and program
US20130219261A1 (en) Apparatus, information processing system, and information processing method
US20110010642A1 (en) Image processing apparatus, display control method, and computer-readable recording medium
US20080307428A1 (en) Image forming apparatus, application execution method, and storage medium
JP2004185595A (en) Information processor and program therefor
US8014014B2 (en) Status information processor
JP4198551B2 (en) Image forming apparatus and program execution method
US8782512B2 (en) Controller, method, and program product for controlling job information display, and recording medium
JP3699412B2 (en) Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus
JP3689380B2 (en) Drawing processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus
JP2004185593A (en) Image forming apparatus and application execution method
JP3686620B2 (en) Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus
JP3683863B2 (en) Drawing processing method and input event processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus
JP2003167715A (en) Method for displaying communication history among processes, program for making computer execute the same, image formation device, and image formation system
JP4405132B2 (en) Terminal emulator for image information processing apparatus and terminal application for image information processing apparatus
JP4133085B2 (en) Image forming apparatus and customized program test method
JP4542180B2 (en) Image forming apparatus, program, and recording medium
JP3920893B2 (en) Information processing apparatus, inter-process communication history display method, and program for causing computer to execute the method
JP3677474B2 (en) Image forming apparatus, interprocess communication history display method, and program causing computer to execute the method
JP2004005700A (en) Management device, network system, client system, and management method
CN100468332C (en) Program running method
JP2009043078A (en) Simulation program and recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050603

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3686620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080610

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090610

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090610

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100610

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110610

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110610

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120610

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130610

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees