JP5939377B2 - Communication device and program - Google Patents
Communication device and program Download PDFInfo
- Publication number
- JP5939377B2 JP5939377B2 JP2011286075A JP2011286075A JP5939377B2 JP 5939377 B2 JP5939377 B2 JP 5939377B2 JP 2011286075 A JP2011286075 A JP 2011286075A JP 2011286075 A JP2011286075 A JP 2011286075A JP 5939377 B2 JP5939377 B2 JP 5939377B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- program
- registration
- daemon program
- communication daemon
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
- Facsimiles In General (AREA)
- Computer And Data Communications (AREA)
Description
この発明は、各種のプロトコルによって外部装置と通信する機能を備えた通信装置とプログラムに関する。 The present invention relates to a communication device and a program having a function of communicating with an external device using various protocols.
ファクシミリ装置、プリンタ、複写機、並びにそれらの機能を備えた複合機等のネットワークを介した外部装置との通信機能を備えた通信装置では、通信の各種のプロトコルを実現するための通信プログラムを実行することにより、例えば、ウェブサーバとクライアントがデータを送受信するのに使われるプロトコルであるHTTP(HyperText Transfer Protocol)、LPR(Line PRinter daemon protocol)を受け付けるTCP/IP上の印刷プロトコルであるLPD、インターネットなどのTCP/IPネットワークを通じて印刷データの送受信や印刷機器の制御を行うプロトコルであるIPP(Internet Printing Protocol)等の各種の通信を実行することができる。
従来、装置に搭載されたHTTPサーバプログラムを含むデーモンプログラムの環境設定が変更された場合、装置を再起動させずに変更後の設定でデーモンプログラムを動作させる装置(例えば、特許文献1参照)があった。
A communication device having a communication function with an external device via a network, such as a facsimile machine, a printer, a copier, and a multifunction device having those functions, executes a communication program for realizing various protocols of communication. By doing so, for example, HTTP (Hyper Text Transfer Protocol), which is a protocol used for transmitting and receiving data between a web server and a client, LPD which is a print protocol on TCP / IP that accepts LPR (Line Printer Interprotocol), the Internet Various types of communication such as IPP (Internet Printing Protocol), which is a protocol for transmitting and receiving print data and controlling printing devices, is performed through a TCP / IP network such as You can.
Conventionally, when an environment setting of a daemon program including an HTTP server program installed in a device is changed, a device that operates the daemon program with the changed setting without restarting the device (for example, see Patent Document 1). there were.
しかしながら、従来の通信装置では、新たなプロトコルの通信プログラムを追加(「搭載」ともいう)したり既に搭載されている通信プログラムを削除(「非搭載」ともいう)したりする場合、その通信プログラムを実行するネットワーク制御部が実行すべき通信プログラムを認識できるように、ネットワーク制御部のソースコードを修正しなければならなかった。
したがって、通信装置に対する通信プログラムの追加や削除が容易にできないという問題があった。
この発明は上記の点に鑑みてなされたものであり、通信装置に対する通信のプロトコルを実現するための通信プログラムの追加や削除が容易にできるようにすることを目的とする。
However, in a conventional communication apparatus, when a communication program of a new protocol is added (also referred to as “installed”) or an already installed communication program is deleted (also referred to as “non-installed”), the communication program The source code of the network control unit had to be modified so that the network control unit executing the program can recognize the communication program to be executed.
Therefore, there is a problem that it is not easy to add or delete a communication program to / from the communication device.
The present invention has been made in view of the above points, and an object thereof is to make it easy to add or delete a communication program for realizing a communication protocol for a communication apparatus.
この発明は上記の目的を達成するため、外部装置との間の通信を制御する通信制御手段を備えた通信装置であって、上記通信制御手段が、その通信制御手段にネットワーク通信のプロトコルを実行させるための通信プログラムの参照先情報と設定情報とを登録する登録手段と、上記通信プログラムの実行を指示する実行指示手段と、その実行指示手段によって実行が指示された場合、上記登録手段に登録された参照先情報と設定情報とに基づいて前記通信プログラムを参照して実行させる実行手段と、上記通信プログラムの機能により上記通信装置の起動時に行われる登録要求に応じて、上記登録手段に、その登録要求と共に受け取ったその通信プログラムの参照先情報と設定情報とを登録する登録制御手段とを有する通信装置を提供する。 In order to achieve the above object, the present invention is a communication device comprising a communication control means for controlling communication with an external device , wherein the communication control means executes a network communication protocol on the communication control means. Registration means for registering reference destination information and setting information of the communication program to be executed, execution instruction means for instructing execution of the communication program, and registration in the registration means when the execution instruction means instructs execution Execution means for referring to and executing the communication program based on the reference destination information and setting information, and in response to a registration request made when the communication device is activated by the function of the communication program , Provided is a communication apparatus having registration control means for registering reference destination information and setting information of the communication program received together with the registration request .
この発明による通信装置とプログラムは、通信装置に対する通信のプロトコルを実現するための通信プログラムの追加や削除が容易にできる。 The communication device and the program according to the present invention can easily add or delete a communication program for realizing a communication protocol for the communication device.
以下、この発明を実施するための形態を図面に基づいて具体的に説明する。
図2は、この発明の一実施形態であるプリンタ1のハードウェア構成例を示すブロック図である。
プリンタ1(以下「機器」ともいう)は、オペレーションパネル2、CPU3、ASIC(Application Specific Integrated Circuit)4、RAM5、ROM6、ネットワーク制御部7、HDD8、及びエンジン部9を備えた画像形成装置である。
それらのうち、CPU3、ASIC4、RAM5、ROM6、ネットワーク制御部7、およびHDD8が、印刷用の画像データを作成する画像処理装置であるコントローラを構成する。
Hereinafter, embodiments for carrying out the present invention will be specifically described with reference to the drawings.
FIG. 2 is a block diagram illustrating a hardware configuration example of the printer 1 according to the embodiment of the present invention.
The printer 1 (hereinafter also referred to as “device”) is an image forming apparatus that includes an
Among them, the
オペレーションパネル2は、ユーザがプリンタ1に対して各種の動作要求(印刷要求、送信要求等)を入力するための各種の操作キー(操作スイッチ又は操作ボタンともいう)、及びユーザに各種の情報や作業画面を表示するLCD又はCRT等の表示器を有する操作部である。
CPU3は、後述するプログラムに従ってプリンタ1の全体を統括的に制御する中央処理装置である。
このCPU3は、自己に内蔵されているモジュール及び自己にASIC4を介して接続されている各種デバイスの入出力を制御したり、エンジン部9による印刷処理を実現するためのプリンタアプリを実行することができる。
The
The
The
ASIC4は、オペレーションパネル2、CPU3、RAM5、ROM6、及びネットワーク制御部7をそれぞれ接続するための複数のインタフェース(I/F)等からなる多機能デバイスボードであり、CPU3の制御対象となるデバイスの共有化を図り、アーキテクチャの面からアプリケーション等の開発の高効率化を支援するICである。
このASIC4は、ここでは画像処理用のハードウェア要素を備えている。
The ASIC 4 is a multi-function device board including a plurality of interfaces (I / F) for connecting the
Here, the ASIC 4 includes hardware elements for image processing.
RAM5は、CPU3が実行するプログラムを展開するプログラムメモリや、CPU3がプログラムを実行するために作業するワークメモリ、ページ記述言語(Page Description Language:PDL)を含む印刷データに基づいてエンジン部9によって用紙に可視画像を印刷するための印刷用の画像データ(ラスタ画像データ)を展開する際に使用する画像メモリ等として使用する読み書き可能なメモリ(記憶手段)である。
The RAM 5 is a sheet of paper generated by the engine unit 9 based on print data including a program memory for developing a program executed by the
ROM6は、プリンタ1を制御する際の各種制御プログラム及びデータなどを格納している読み出し専用メモリである。
ネットワーク制御部7は、ネットワークを介して外部の情報処理装置(PC)からの印刷データ又は通信デーモンプログラム(詳細は後述する)を受信するためのインタフェースである。
HDD8は、このプリンタ1で使用するOS、各種通信プロトコルによる通信を実行する通信デーモンプログラムの登録等の各種制御を実現するための各種プログラム、画像処理及び印刷制御を含む各種制御を実現するための各種プログラム、及び印刷設定(実際には印刷設定の内容を示すデータ)を含む各種データや、PCで使用するプリンタドライバ等の各種制御プログラムを格納している補助記憶装置(記憶手段)である。
The
The
The HDD 8 implements various controls including various programs such as an OS used in the printer 1, various programs such as registration of a communication daemon program that executes communication using various communication protocols, and image processing and print control. It is an auxiliary storage device (storage means) that stores various programs and various data including print settings (actually data indicating the contents of print settings) and various control programs such as a printer driver used in the PC.
エンジン部9は、このプリンタ1においてプリント機能を実現するため、画像データ(印刷描画データ)に基づいて、用紙上にレーザ方式、LED方式、又はインクジェット方式等の作像方式や他の方式を用いて画像を印刷して出力するプロッタ(画像形成手段)を構成している。
なお、このプリンタ1の構成を複合機の構成にするのであれば、スキャナ機能やコピー機能を実現するため、エンジン部9がスキャナとプロッタとを含めて構成する。
また、そのプロッタは、用紙の両面に印刷を行うための両面ユニットや印刷後の用紙をパンチ加工や表紙成型等の製版過程が可能な機能を付加するフィニッシャなどの周辺機を備えることができる。
The engine unit 9 uses an image forming method such as a laser method, an LED method, an ink jet method, or other methods on a sheet based on image data (print drawing data) in order to realize a printing function in the printer 1. Thus, a plotter (image forming means) that prints and outputs an image is configured.
If the configuration of the printer 1 is a configuration of a multifunction device, the engine unit 9 includes a scanner and a plotter in order to realize a scanner function and a copy function.
In addition, the plotter can include a peripheral unit such as a duplexer for performing printing on both sides of a sheet and a finisher for adding a function capable of performing a plate making process such as punching or cover sheet forming on the printed sheet.
次に、上記プリンタ1のネットワーク制御部7の機能構成を図1によって説明する。
図1は、図2に示したプリンタ1のネットワーク制御部7の機能構成を示すブロック図である。
このネットワーク制御部7は、プリンタ1において通信を制御する通信制御手段に相当し、図2のCPU3が、プログラムを実行することによって実現される通信デーモンプログラム実行指示部11、通信デーモンプログラム操作部12、及び登録テーブル13の各機能部を備えている。
Next, the functional configuration of the
FIG. 1 is a block diagram showing a functional configuration of the
The
また、HDD8には、それぞれ異なる種類の通信のプロトコルを実行させるための通信プログラムである第1通信デーモンプログラム14〜第4通信デーモンプログラム17の4種類の通信デーモンプログラムを予め記憶している。
上記第1通信デーモンプログラム14〜第4通信デーモンプログラム17は、プリンタ1に常駐させ、バックグラウンドで動作させるプログラムである。
The
The first
登録テーブル13は、通信デーモンプログラム操作部12が、ネットワーク制御部7において通信のプロトコルを実行させるための通信プログラムを登録する書き換え可能なメモリである記憶部である。ここには、例えば、HTTPプロトコル、LPDプロトコル、IDプロトコル、及びIPPプロトコル等の各種のプロトコル通信をそれぞれ実行する複数の通信プロトコルを登録することができる。
The registration table 13 is a storage unit that is a rewritable memory in which the communication daemon
この実施形態では、例えば、第1通信デーモンプログラム14〜第4通信デーモンプログラム17の4種類の通信プログラムを登録した場合を説明するが、さらに他の通信プロトコルの通信プログラムを登録することもできるし、第1通信デーモンプログラム14〜第4通信デーモンプログラム17のいずれか1種類を、または、第1通信デーモンプログラム14〜第4通信デーモンプログラム17のいずれか複数個の組み合わせで登録することもできる。
この登録テーブル13への登録では、第1通信デーモンプログラム14〜第4通信デーモンプログラム17の参照先情報と設定情報とを登録する。
In this embodiment, for example, a case where four types of communication programs of the first
In the registration to the registration table 13, reference destination information and setting information of the first
上記参照先情報は、HDD8の記憶先アドレスなどの情報であり、上記設定情報は、第1通信デーモンプログラム14〜第4通信デーモンプログラム17のそれぞれを動かすための関数値と、それぞれの起動、停止、起動時の各種のモード等の動作を規定する各種の情報である。例えば、IPv4とIPv6の両方を使用できるように動作させる設定や、IPv4とIPv6のいずれか一方を使用できるように動作させる設定ができる。
すなわち、登録テーブル13は、ネットワーク制御部7に通信のプロトコルを実行させるための通信プログラムの参照先情報と設定情報とを登録する登録手段の機能を果たす。
The reference destination information is information such as a storage destination address of the
That is, the registration table 13 serves as a registration unit that registers reference destination information and setting information of a communication program for causing the
通信デーモンプログラム実行指示部11は、CPU3からプリンタ1の起動時、又は再起動時に送られる指示を受け取った場合、それをタイミングを検知した場合とし、通信デーモンプログラム操作部12に通信プログラムの実行を指示する。すなわち、上記通信プログラムの実行を指示する実行指示手順の処理を実行し、実行指示手段の機能を果たす。
When the communication daemon program
通信デーモンプログラム操作部12は、通信デーモンプログラム実行指示部11から実行が指示された場合、登録テーブル13に登録された参照先情報と設定情報とに基づいて第1通信デーモンプログラム14〜第4通信デーモンプログラム17を参照し、その各設定情報に応じて実行する。すなわち、通信デーモンプログラム実行指示部11によって実行が指示された場合、登録テーブル13に登録された参照先情報と設定情報とに基づいて通信プログラムを参照して実行させる実行手順の処理を実行し、実行手段の機能を果たす。また、上記登録テーブル13への登録手順も実行する。
The communication daemon
また、通信デーモンプログラム操作部12は、第1通信デーモンプログラム14〜第4通信デーモンプログラム17がHDD8に記憶された後、最初の起動時にそれぞれの登録要求と共に自プログラムの参照先情報と設定情報とを通信デーモンプログラム操作部12に送信するので、それらを受け取り、登録テーブル13に登録し、さらに、その登録数と第1通信デーモンプログラム14〜第4通信デーモンプログラム17の登録完了を通信デーモンプログラム実行指示部11へ通知する。
Further, the communication daemon
したがって、通信デーモンプログラム実行指示部11は、登録テーブル13に第1通信デーモンプログラム14〜第4通信デーモンプログラム17の4個の通信プログラムが登録されていることを認識することができ、CPU3に対して第1通信デーモンプログラム14〜第4通信デーモンプログラム17の起動を通知することができる。
さらに、通信デーモンプログラム操作部12は、CPU3からHDD8に記憶された第1通信デーモンプログラム14〜第4通信デーモンプログラム17のいずれか1つ、複数個の参照先情報の登録解除要求があった場合、登録テーブル13から登録解除要求があった参照先情報と設定情報とを削除する。
Therefore, the communication daemon program
Further, the communication daemon
上記登録テーブル13に第1通信デーモンプログラム14〜第4通信デーモンプログラム17を登録することをプリンタ1への搭載と呼び、また、上記登録テーブル13から第1通信デーモンプログラム14〜第4通信デーモンプログラム17のいずれか1つ、複数、又は全てを削除することをプリンタ1の非搭載とも呼び、それらの搭載と非搭載をコンフィグレーションという。
Registering the first
すなわち、通信デーモンプログラム操作部12は、外部から通信のプロトコルを実行させるための通信プログラムの登録要求と共にその通信プログラムの参照先情報と設定情報とを受け取った場合、登録テーブル13に上記受け取った参照先情報と設定情報とを登録し、外部から登録テーブル13に登録された参照先情報の登録解除要求があった場合、登録テーブル13から上記登録解除要求があった参照先情報と設定情報とを削除する登録削除制御手順の処理を実行し、登録削除制御手段の機能も果たす。
That is, when the communication daemon
さらに、通信デーモンプログラム操作部12は、第1通信デーモンプログラム14〜第4通信デーモンプログラム17の通信プログラムのいずれか1つ又は複数を実行させた場合、その実行の開始又は終了で発生した異常を検知する検知手順の処理を実行し、その検知手順によって異常を検知した場合、その異常に対して予め決められた処理を実行する手順も実行する。
すなわち、上記通信デーモンプログラム操作部12は、上記通信プログラムを実行させた場合、その実行の開始又は終了で発生した異常を検知する検知手段と、その検知手段によって異常を検知した場合、その異常に対して予め決められた処理を実行する手段の機能も果たす。
Furthermore, when any one or more of the communication programs of the first
That is, when the communication daemon
次に、上記通信デーモンプログラム操作部12の登録テーブル13への登録処理と登録テーブル13からの削除処理を図3によって説明する。
図3は、図1に示した通信デーモンプログラム操作部12の登録テーブル13への登録処理と登録テーブル13からの削除処理を示すフローチャート図である。
図1に示したHDD8の第1通信デーモンプログラム14〜第4通信デーモンプログラム17は、それぞれが記憶された後のプリンタ1の最初の起動時にCPU3によって起動される。
Next, the registration process to the registration table 13 and the deletion process from the registration table 13 of the communication daemon
FIG. 3 is a flowchart showing the registration process to the registration table 13 and the deletion process from the registration table 13 of the communication daemon
The first
そして、第1通信デーモンプログラム14〜第4通信デーモンプログラム17は、それぞれ最初の起動時にそれぞれの登録要求と共に参照先情報と設定情報とを通信デーモンプログラム操作部12へ送る。
図1に示した通信デーモンプログラム操作部12は、ステップ(図3で「S」と記載する)1で、第1通信デーモンプログラム〜第4通信デーモンプログラム(図3中では「第1通信DP〜第4通信DP」と省略して記載する)から登録要求と参照先情報と設定情報を受信したか否かを判断し、受信した場合(「Y」の場合)はステップ3へ進み、受信しなかった場合(「N」の場合)はステップ2へ進む。
Then, the first
The communication daemon
ステップ3では、登録テーブルへの登録処理を実行し、この処理を終了する。
上記登録テーブル13への登録処理では、第1通信デーモンプログラム14〜第4通信デーモンプログラム17からそれぞれ受け取った参照先情報と設定情報を登録テーブル13に登録し、その登録数(この場合4つ)と第1通信デーモンプログラム14〜第4通信デーモンプログラム17の登録完了との通知を通信デーモンプログラム実行指示部11に送信する。
In
In the registration process to the registration table 13, reference destination information and setting information received from the first
こうして、ネットワーク制御部7は、登録テーブル13に登録された参照先情報と設定情報に基いて第1通信デーモンプログラム14〜第4通信デーモンプログラム17を実行させることができ、その実行のためにネットワーク制御部7のソースコードを大幅に変更するような手間のかかる作業が不要になる。
したがって、プリンタ1に対する通信のプロトコルを実現するための通信プログラムの追加が容易にできるようになる。
In this way, the
Therefore, a communication program for realizing a communication protocol for the printer 1 can be easily added.
また、通信デーモンプログラム実行指示部11は、登録テーブル13に第1通信デーモンプログラム14〜第4通信デーモンプログラム17の4個の通信プログラムが登録されていることを認識することができ、CPU3に対して第1通信デーモンプログラム14〜第4通信デーモンプログラム17の起動を通知することができる。
一方、ステップ2では、図2のCPU3から通信デーモンプログラム(図3中では「DP」と省略して記載する)の登録解除要求を受信したか否かを判断し、受信した場合(「Y」の場合)はステップ4へ進み、受信しなかった場合(「N」の場合)はこの処理を終了する。
Further, the communication daemon program
On the other hand, in
ステップ4では、登録テーブルからの削除処理を実行し、この処理を終了する。
上記登録テーブル13からの削除処理では、CPU3から登録解除要求のあったDP、例えば、第1通信デーモンプログラム14の登録解除要求があったら、登録テーブル13から第1通信デーモンプログラム14の参照先情報と設定情報を削除し、その削除について通信デーモンプログラム実行指示部11に通知する。
こうして、ネットワーク制御部7は、登録テーブル13によって登録された通信デーモンプログラムを非搭載にすることができ、そのためにネットワーク制御部7のソースコードを大幅に変更するような手間のかかる作業が不要になる。
In
In the deletion process from the registration table 13, if there is a DP request for deregistration from the
In this way, the
したがって、プリンタ1に登録された通信のプロトコルを実現するための通信プログラムの削除が容易にできるようになる。
また、通信デーモンプログラム実行指示部11は、登録テーブル13に登録された通信デーモンプログラムの変更を認識することができ、CPU3に対して起動可能な通信デーモンプログラムを通知することができる。
Therefore, it is possible to easily delete the communication program for realizing the communication protocol registered in the printer 1.
Further, the communication daemon program
次に、上記通信デーモンプログラム操作部12の通信デーモンプログラムの起動又は停止の処理を図1、図2、及び図4によって説明する。
図4は、図1に示した通信デーモンプログラム操作部12の通信デーモンプログラムの起動又は停止の処理を示すシーケンス図である。
ここでは、プリンタ1に第1通信デーモンプログラム14と第2通信デーモンプログラム15を搭載した場合を説明するが、第3通信デーモンプログラム16と第4通信デーモンプログラム17を搭載した場合についても後述の説明と同様の処理を実行する。
Next, the processing for starting or stopping the communication daemon program of the communication daemon
FIG. 4 is a sequence diagram showing processing for starting or stopping the communication daemon program of the communication daemon
Here, the case where the first
ステップ(図4中では「S」と記載する)11で、第1通信デーモンプログラム14は、CPU3からの起動指示によって最初に起動すると、自通信デーモンプログラムをネットワーク制御部7に登録する。
また、ステップ12で、第2通信デーモンプログラム15は、CPU3からの起動指示によって最初に起動すると、自通信デーモンプログラムをネットワーク制御部7に登録する。これらの登録処理では、図3によって説明した処理を行う。
In step (described as “S” in FIG. 4) 11, the first
In
次に、ステップ13で、ネットワーク制御部7は、登録された第1通信デーモンプログラム14を起動させる。その後のステップ14は、第1通信デーモンプログラム14がネットワーク制御部7に対して起動成功又は起動失敗の結果通知の処理である。
さらに、ステップ15で、ネットワーク制御部7は、登録された第2通信デーモンプログラム15を起動させる。その後のステップ16は、第2通信デーモンプログラム15がネットワーク制御部7に対して起動成功又は起動失敗の結果通知の処理である。
Next, in
Further, in
ステップ13と15の処理では、ネットワーク制御部7の通信デーモンプロクラム実行指示部11が、CPU3からのプリンタ1の起動時に送られる指示を受け取った場合、通信デーモンプログラム操作部12に第1通信デーモンプログラム14と第2通信デーモンプログラム15の実行を指示する。
なお、この処理では、第1通信デーモンプログラム14と第2通信デーモンプログラム15の実行を指示する所定のタイミングとして、プリンタ1の起動時の場合を説明するが、それ以外のタイミングの場合でもよい。例えば、プリンタ1の再起動時の場合でも良い。
In
In this process, the case of starting the printer 1 will be described as the predetermined timing for instructing the execution of the first
通信デーモンプログラム操作部12は、第1通信デーモンプログラム14と第2通信デーモンプログラム15の実行の指示を受け取ると、登録テーブル13を参照し、登録テーブル13に登録された第1通信デーモンプログラム14と第2通信デーモンプログラム15の各参照先情報に基づいてそれぞれのHDD8におけるそれぞれの記憶場所を参照し、第1通信デーモンプログラム14と第2通信デーモンプログラム15の各設定情報(この場合は起動)に基づいて第1通信デーモンプログラム14と第2通信デーモンプログラム15を起動させる。
When the communication daemon
また、第1通信デーモンプログラム14と第2通信デーモンプログラム15には、それぞれネットワーク制御部7に実行させる手順として、通信デーモンプログラム操作部12から処理開始を受けて第1通信デーモンプログラム14と第2通信デーモンプログラム15をそれぞれ実行させた場合、その実行の開始である起動処理又はその実行の終了である停止処理で発生した異常を検知する検知手順と、その検知手順によって異常を検知した場合、その異常に対して予め決められた処理として、例えば、通信デーモンプログラム操作部12(所定の通知先に相当する)に異常を通知する処理を実行する手順を含んでいる。
In addition, the first
したがって、ネットワーク制御部7は、第1通信デーモンプログラム14又は第2通信デーモンプログラム15を起動させたときに異常があった場合、又は終了させたときに異常があった場合にその異常を認識することができ、その異常に対して予め決められた処理であるエラー処理を実行することができる。
Therefore, the
上述のエラー処理としては、例えば、起動処理で異常が発生した場合は再度起動を指示する処理と、停止処理で異常が発生した場合は再度停止を指示する処理がある。また、上記異常に対して予め決められた処理として、異常の発生を検知した場合に、ネットワーク制御部7の通信デーモンプログラム操作部12は、図2のオペレーションパネル2へ異常発生の旨の通知を表示する処理を実行するようにしても良い。さらに、通信デーモンプログラム操作部12は、このプリンタ1とネットワークを介して外部に接続された管理装置に異常発生の旨の通知を送信するようにしても良い。
As the error process described above, for example, there is a process for instructing start again when an abnormality occurs in the start process, and a process for instructing stop again when an abnormality occurs in the stop process. In addition, as a predetermined process for the abnormality, when the occurrence of an abnormality is detected, the communication daemon
なお、第3通信デーモンプログラム16と第4通信デーモンプログラム17についても、プリンタ1の起動時又はプリンタ1の再起動時に実行を指示することができる。
また、第3通信デーモンプログラム16と第4通信デーモンプログラム17にも、上述と同様の検知手順と予め決められた処理を実行する手順を含んでおり、それぞれプリンタ1に搭載されて実行したときに異常を検知した場合に上述と同様の予め決められた処理を実行することができる。
次に、ステップ17で、ネットワーク制御部7は、第1通信デーモンプログラム14を停止させる。その後のステップ18は、第1通信デーモンプログラム14がネットワーク制御部7に対して停止成功又は停止失敗の結果通知の処理である。
Note that execution of the third
Further, the third
Next, in
さらに、ステップ19で、ネットワーク制御部7は、第2通信デーモンプログラム15を停止させる。その後のステップ20は、第2通信デーモンプログラム15がネットワーク制御部7に対して停止成功又は停止失敗の結果通知の処理である。
ステップ17と19の処理では、ネットワーク制御部7の通信デーモンプログラム操作部12が、起動中の第1通信デーモンプログラム14と第2通信デーモンプログラム15について、登録テーブル13の各設定情報(この場合は停止)を参照し、第1通信デーモンプログラム14と第2通信デーモンプログラム15をそれぞれ停止させる。
Further, in step 19, the
In the processing of
また、例えば、第2通信デーモンプログラム15を再起動させる場合、ステップ15の処理で、ネットワーク制御部7は、第2通信デーモンプログラム15を起動させる。その後のステップ22は、第2通信デーモンプログラム15がネットワーク制御部7に対して起動成功又は起動失敗の結果通知の処理である。
上記ステップ21の処理では、ネットワーク制御部7の通信デーモンプログラム実行指示部11が、CPU3から第2通信デーモンプログラム15の再起動の指示を受け取った場合(所定のタイミングの検知に該当する)、通信デーモンプログラム操作部12に第2通信デーモンプログラム15の起動の実行を指示する。
For example, when the second
In the process of step 21, when the communication daemon program
通信デーモンプログラム操作部12は、第2通信デーモンプログラム15の起動の実行の指示を受け取ると、登録テーブル13を参照し、登録テーブル13に登録された第2通信デーモンプログラム15の各参照先情報に基づいてHDD8における記憶場所を参照し、第2通信デーモンプログラム15を起動させる。
こうして、第2通信デーモンプログラム15を再起動させることができる。
なお、上述の実施形態では、バックグラウンドで動作させる通信プログラムである第1通信デーモンプログラム14〜第4通信デーモンプログラム17を使用する場合を説明したが、ユーザが直接制御する通信プログラムについても上述と同様に実施することができる。
When the communication daemon
Thus, the second
In the above-described embodiment, the case of using the first
例えば、ユーザが操作するSMTP(Simple Mail Transfer Protocol)クライアントや、POP(Post Office Protocol)3クライアントについても実施できる。
上記SMTPは、インターネット等のネットワーク上でメールを送信するためのプロトコルである。また、上記POP3は、インターネット等のネットワーク上でメールを保存しているサーバからメールを受信するためのプロトコルである。
For example, the present invention can be implemented for an SMTP (Simple Mail Transfer Protocol) client or a POP (Post Office Protocol) 3 client operated by the user.
The SMTP is a protocol for transmitting mail over a network such as the Internet. The POP3 is a protocol for receiving mail from a server that stores mail on a network such as the Internet.
以上で実施形態の説明を終了するが、この発明において、各部の具体的な構成、処理の内容、データの形式等は、実施形態で説明したものに限るものではない。
また、上述の実施形態では、この発明を通信機能を備えたプリンタに適用した例について説明した。
しかし、この発明は、通信機能を備えたものならば、任意の画像形成装置、情報処理装置に適用可能である。
Although the description of the embodiment has been completed above, in the present invention, the specific configuration of each unit, the content of processing, the data format, and the like are not limited to those described in the embodiment.
In the above-described embodiment, the example in which the present invention is applied to a printer having a communication function has been described.
However, the present invention can be applied to any image forming apparatus and information processing apparatus as long as they have a communication function.
さらに、この発明のプログラムは、コンピュータに各種デバイスを制御させ、上述した通信装置の各機能を実現させるためのプログラムとして構成することができる。
このようなプログラムは、予め通信装置のメモリに記憶させておく他、記録媒体であるCD、あるいはフレキシブルディスク、SRAM、EEPROM、メモリカード等の不揮発性記録媒体に記録したり、ネットワークを介してダウンロードできるようにしたりして提供することもできる。そして、そのプログラムをインストールしてCPUに実行させるか、CPUにメモリあるいはダウンロードサーバからこのプログラムを取得させて実行させることにより、上述した実施形態のプリンタ1の各機能を実現させることができる。
また、以上説明してきた実施形態の構成は、相互に矛盾しない限り任意に組み合わせて実施可能であることは勿論である。
Furthermore, the program of the present invention can be configured as a program for causing a computer to control various devices and realizing the functions of the communication apparatus described above.
Such a program is stored in advance in the memory of the communication device, and is also recorded on a recording medium such as a CD, a non-volatile recording medium such as a flexible disk, SRAM, EEPROM, memory card, or downloaded via a network. It can also be provided. Each function of the printer 1 according to the above-described embodiment can be realized by installing the program and causing the CPU to execute the program, or causing the CPU to acquire and execute the program from a memory or a download server.
Further, it goes without saying that the configurations of the embodiments described above can be implemented in any combination as long as they do not contradict each other.
1:プリンタ 2:オペレーションパネル 3:CPU 4:ASIC
5:RAM 6:ROM 7:ネットワーク制御部 8:HDD
9:エンジン部 11:通信デーモンプログラム実行指示部
12:通信デーモンプログラム操作部 13:登録テーブル
14:第1通信デーモンプログラム 15:第2通信デーモンプログラム
16:第3通信デーモンプログラム 17:第4通信デーモンプログラム
1: Printer 2: Operation panel 3: CPU 4: ASIC
5: RAM 6: ROM 7: Network control unit 8: HDD
9: Engine unit 11: Communication daemon program execution instruction unit 12: Communication daemon program operation unit 13: Registration table 14: First communication daemon program 15: Second communication daemon program 16: Third communication daemon program 17: Fourth communication daemon program
Claims (4)
前記通信制御手段が、
該通信制御手段にネットワーク通信のプロトコルを実行させるための通信プログラムの参照先情報と設定情報とを登録する登録手段と、
前記通信プログラムの実行を指示する実行指示手段と、
該実行指示手段によって実行が指示された場合、前記登録手段に登録された参照先情報と設定情報とに基づいて前記通信プログラムを参照して実行させる実行手段と、
前記通信プログラムの機能により前記通信装置の起動時に行われる登録要求に応じて、前記登録手段に、該登録要求と共に受け取った該通信プログラムの参照先情報と設定情報とを登録する登録制御手段とを有することを特徴とする通信装置。 A communication device comprising communication control means for controlling communication with an external device ,
The communication control means is
Registration means for registering the reference destination information of the communication programs and setting information for executing the network communication protocol to the communication control means,
Execution instruction means for instructing execution of the communication program;
An execution unit that, when instructed to execute by the execution instruction unit, causes the communication program to be referred to and executed based on reference destination information and setting information registered in the registration unit;
In response to a registration request made when the communication device is activated by the function of the communication program, registration control means for registering the reference information and setting information of the communication program received together with the registration request in the registration means A communication device comprising:
前記登録手段に登録された参照先情報の登録解除要求があった場合、前記登録手段から前記登録解除要求があった参照先情報と設定情報とを削除する削除制御手段をさらに備えることを特徴とする請求項1記載の通信装置。 The communication control means is
When there is a request for deregistration of the reference destination information registered in the registration means, further comprising a deletion control means for deleting the reference destination information and the setting information for which the deregistration request has been made from the registration means , The communication device according to claim 1.
外部装置との間のネットワーク通信のプロトコルを実行させるための通信プログラムの参照先情報と設定情報とを登録する登録手順と、
所定のタイミングを検知した場合に通信プログラムの実行を指示する実行指示手順と、
該実行指示手順によって実行が指示された場合、前記登録手順によって登録した参照先情報と設定情報とに基づいて前記通信プログラムを参照して実行させる実行手順と、
前記通信プログラムの機能により前記通信装置の起動時に行われる登録要求に応じて、前記登録手順によって、該登録要求と共に受け取った該通信プログラムの参照先情報と設定情報とを登録する登録制御手順とを実行させるためのプログラム。 In a computer that controls communication of a communication device,
A registration procedure for registering reference information and setting information of a communication program for executing a protocol for network communication with an external device ;
An execution instruction procedure for instructing execution of the communication program when a predetermined timing is detected;
When execution is instructed by the execution instruction procedure, an execution procedure for referring to and executing the communication program based on reference destination information and setting information registered by the registration procedure;
A registration control procedure for registering reference destination information and setting information of the communication program received together with the registration request by the registration procedure in response to a registration request made when the communication device is activated by the function of the communication program. A program to be executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011286075A JP5939377B2 (en) | 2011-12-27 | 2011-12-27 | Communication device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011286075A JP5939377B2 (en) | 2011-12-27 | 2011-12-27 | Communication device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013134693A JP2013134693A (en) | 2013-07-08 |
JP5939377B2 true JP5939377B2 (en) | 2016-06-22 |
Family
ID=48911323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011286075A Active JP5939377B2 (en) | 2011-12-27 | 2011-12-27 | Communication device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5939377B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7100260B2 (en) * | 2018-11-21 | 2022-07-13 | 富士通株式会社 | Information processing equipment and information processing programs |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3482103B2 (en) * | 1997-07-29 | 2003-12-22 | シャープ株式会社 | Infrared communication control device and method |
JPH11306101A (en) * | 1998-04-20 | 1999-11-05 | Mitsubishi Electric Corp | Electronic mail terminal device |
JP2002287990A (en) * | 2001-03-26 | 2002-10-04 | Canon Inc | Application managing device, application managing method, recording medium, and program |
JP2005044000A (en) * | 2003-07-23 | 2005-02-17 | Canon Inc | Remote uninstallation system, server device, client device, remote uninstallation method, program, remote installation system, and remote installation method |
JP2009137165A (en) * | 2007-12-06 | 2009-06-25 | Ricoh Co Ltd | Image formation device, information processing method and program |
-
2011
- 2011-12-27 JP JP2011286075A patent/JP5939377B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013134693A (en) | 2013-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090066989A1 (en) | Image forming apparatus and method, computer program product, and image forming system | |
JP6117165B2 (en) | Image forming apparatus, image forming system, and job management program | |
JP2019005969A (en) | Printing system and program | |
KR101219432B1 (en) | Image forming apparatus and firmware history information offering method thereof | |
US8867071B2 (en) | Printer for requiring terminal device to supply target data and terminal device for supplying target data in response to requirement from printer | |
WO2013115188A1 (en) | Network-based event notification system | |
US20130054744A1 (en) | Information processing apparatus capable of generating url, method of controlling the information processing apparatus, and storage medium | |
JP6137076B2 (en) | TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD, AND TERMINAL DEVICE CONTROL PROGRAM | |
JP2007318686A (en) | Information processing system, electronic apparatus, information processing method, and image processing program | |
JP5939377B2 (en) | Communication device and program | |
JP2012018524A (en) | Information processor and method for controlling the same | |
JP5065805B2 (en) | Electronic device, service providing method and program | |
US10277765B2 (en) | Information processing device, control method, and program | |
JP6123109B2 (en) | Image forming apparatus | |
JP2007028423A (en) | Image processor, setting reporting method and program | |
JP2005352698A (en) | Network print system, and grid network structuring method in network print system | |
JP2021043547A (en) | Information processing device and control method for information processing device, and program | |
US8499310B2 (en) | Information processing apparatus, device setup method and storage medium for carrying out a device setup on a network | |
US11809764B2 (en) | Information processing device having reporting function for device settings, method of controlling information processing device, and recording medium | |
JP6188664B2 (en) | Image forming system | |
JP2019084768A (en) | Image forming apparatus, control method, and program | |
JP5787715B2 (en) | Image forming apparatus and application program for image forming apparatus | |
JP2014059715A (en) | Request transmission device, apparatus, request transmission system, request transmission method, and program | |
JP2012010284A (en) | Processing information management device, image formation device, and processing information management program | |
JP2011098444A (en) | Printer, program and server apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141118 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150729 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150908 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151109 |
|
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: 20160420 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160503 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5939377 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |