JP2001273098A - Image forming apparatus, control method therefor, and storage medium - Google Patents
Image forming apparatus, control method therefor, and storage mediumInfo
- Publication number
- JP2001273098A JP2001273098A JP2000082559A JP2000082559A JP2001273098A JP 2001273098 A JP2001273098 A JP 2001273098A JP 2000082559 A JP2000082559 A JP 2000082559A JP 2000082559 A JP2000082559 A JP 2000082559A JP 2001273098 A JP2001273098 A JP 2001273098A
- Authority
- JP
- Japan
- Prior art keywords
- protocol
- data
- image forming
- forming apparatus
- network protocol
- 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.)
- Withdrawn
Links
Landscapes
- Facsimiles In General (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
(57)【要約】
【課題】 対応可能なプロトコルを、精度よく自動的に
設定をすることが可能な画像形成装置及びその制御方法
並びに記憶媒体を提供すること。
【解決手段】 所定時間内にネットワーク上を流れるデ
ータについて、その使用されるプロトコル毎の頻度を計
算する頻度計算処理を行い(ステップS303)、計算
されたプロトコル別の受信頻度に基づいてプロトコル設
定処理を自動的に行う(ステップS304)。
(57) [Problem] To provide an image forming apparatus capable of automatically setting a compatible protocol with high accuracy, a control method thereof, and a storage medium. SOLUTION: For data flowing on a network within a predetermined time, a frequency calculation process for calculating a frequency for each used protocol is performed (step S303), and a protocol setting process is performed based on the calculated reception frequency for each protocol. Is automatically performed (step S304).
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ネットワークを介
して、複数の異なるプロトコルのデータに対応して画像
形成処理を行うことが可能な画像形成装置及びその制御
方法並びに記憶媒体に関するものである。[0001] 1. Field of the Invention [0002] The present invention relates to an image forming apparatus capable of performing image forming processing in accordance with data of a plurality of different protocols via a network, a control method thereof, and a storage medium.
【0002】[0002]
【従来の技術】近年のネットワーク技術の発達に伴い、
プリンタ等の画像形成装置は、一台のパーソナルコンピ
ュータ(PC)に直接接続して使用されるだけではな
く、ネットワークに接続して複数のPCが共用可能な形
態で使用されることが一般的になっている。2. Description of the Related Art With the recent development of network technology,
An image forming apparatus such as a printer is generally used not only by being directly connected to a single personal computer (PC) but also by being connected to a network so that a plurality of PCs can be shared. Has become.
【0003】ところで、LAN等のネットワーク環境に
おいては、そのネットワーク全体を管理するネットワー
クOS(NOS)が必要であるが、現在ではNOSにも
数多くの種類が存在し、例えば同じ企業内であっても部
署毎に異なるNOSが使用されている場合もある。NO
Sは特有のプロトコルを有することから、複数のプロト
コルに対応してプリントを行うことが可能な、マルチプ
ロトコル対応ネットワークプリンタが開発されている。In a network environment such as a LAN, a network OS (NOS) for managing the entire network is required. At present, however, there are many types of NOSs, for example, even within the same company. A different NOS may be used for each department. NO
Since S has a specific protocol, a multi-protocol network printer capable of printing in accordance with a plurality of protocols has been developed.
【0004】この明細書において、「プロトコル」とい
う用語は、データ通信を行うために必要な通信規約のこ
とをいう。[0004] In this specification, the term "protocol" refers to a communication protocol necessary for performing data communication.
【0005】LAN等のコンピュータネットワークは、
ISO(国際標準化機構)が定めたOSI(Open Syste
ms Interconnection:解放型システム間相互接続)参照
モデルに代表されるように階層(レイヤ)構造を採って
いる。OSIには、最下層である物理層を始め最上位層
のアプリケーション層までの7つの層があり、各層内の
通信に用いるプロトコルが存在する。[0005] Computer networks such as LANs
OSI (Open Syste) defined by ISO (International Organization for Standardization)
ms Interconnection: A hierarchical (layer) structure is adopted as represented by a reference model. The OSI has seven layers from a physical layer, which is the lowest layer, to an application layer, which is the highest layer, and there are protocols used for communication in each layer.
【0006】また、この明細書では説明の便宜上、LA
Nを構成するプロトコルを、接続プロトコル、ネットワ
ークプロトコル、アプリケーションプロトコルの3つに
大別することにし、単に「プロトコル」というときは、
これら3つのプロトコルの総称を意味するものとする。In this specification, for convenience of explanation, LA
The protocols that make up N are roughly divided into connection protocols, network protocols, and application protocols.
It means a generic term for these three protocols.
【0007】接続プロトコルは一般に、OSI参照モデ
ルの第1層である物理層と第2層であるデータリンク層
とによって実現される。例えば、伝送媒体や伝送方式、
アクセス方式等を定めた伝送規格であるイーサネット
(登録商標)(Ethernet(登録商標))は、代
表的な接続プロトコルとして広く知られている。このイ
ーサネットの場合、上位層から渡されたデータにデータ
リンク層でフレームタイプに応じたパケットヘッダが付
加されたうえで伝送が行われる。ここで、フレームタイ
プとは、パケットの構造を定義したものであり、機器間
で通信を行うためには、同じネットワークプロトコルを
使用した上で、フレームタイプも同じものを使用する必
要がある。データに付加されるパケットヘッダは、フレ
ームタイプによって異なるが、少なくとも宛先アドレ
ス、送信元アドレスを含む。LAN上の各機器は、届い
たパケットのパケットヘッダの宛先アドレスを確認して
自分宛であれば取り込むという判断ができる。また、送
信元アドレスを確認すれば、どこから送信されたものか
を知ることもできる。接続プロトコルは第3層より上位
層には影響を与えないため、構築されたLAN上では複
数のネットワークプロトコル、アプリケーションプロト
コルを使用することが可能である。[0007] The connection protocol is generally realized by the physical layer which is the first layer and the data link layer which is the second layer of the OSI reference model. For example, transmission media and transmission methods,
Ethernet (registered trademark), which is a transmission standard that defines an access method and the like, is widely known as a typical connection protocol. In the case of Ethernet, transmission is performed after a data link layer adds a packet header corresponding to a frame type to data passed from an upper layer. Here, the frame type defines the structure of the packet. In order to perform communication between devices, it is necessary to use the same network protocol and the same frame type. The packet header added to the data differs depending on the frame type, but includes at least a destination address and a source address. Each device on the LAN can check the destination address of the packet header of the received packet and determine that the packet is to be taken if it is addressed to itself. Also, by confirming the source address, it is possible to know from where the message was transmitted. Since the connection protocol does not affect layers higher than the third layer, a plurality of network protocols and application protocols can be used on the constructed LAN.
【0008】ネットワークプロトコルは、第3層である
ネットワーク層と第4層であるトランスポート層とに相
当する。また、アプリケーションプロトコルは、第5層
であるセッション層以上の層に相当する。[0008] The network protocol corresponds to the third layer, the network layer, and the fourth layer, the transport layer. Further, the application protocol corresponds to a layer above the session layer which is the fifth layer.
【0009】上記したマルチプロトコル対応ネットワー
クプリンタにおいては、使用したいネットワークプロト
コルを有効にしたり、使用予定がないネットワークプロ
トコルを無効にするといった設定や、使用するネットワ
ークプロトコルに対応するフレームタイプの設定を正し
く行う必要がある。このような設定は、ユーザにとって
は煩わしいものであるが、これらの設定が間違っている
と、LAN通信を正常に行うことが不可能となる。そこ
で、このような設定の煩わしさを軽減するために、プロ
トコルを自動的に設定することが可能なネットワークプ
リンタの開発も進められている。In the above-described multi-protocol compatible network printer, settings such as enabling a desired network protocol, disabling a network protocol not to be used, and setting a frame type corresponding to the used network protocol are correctly performed. There is a need. Such settings are troublesome for the user, but if these settings are incorrect, LAN communication cannot be performed normally. Therefore, in order to reduce such troublesome setting, a network printer capable of automatically setting a protocol has been developed.
【0010】[0010]
【発明が解決しようとする課題】ところで、上記したよ
うな従来のネットワークプリンタにおいては、ユーザが
使用しないプロトコルに関しては、その設定が間違って
いても気が付かない場合が多かった。また、プロトコル
の自動設定が可能なプリンタにおいても、なんらかの理
由により正しくフレームタイプの設定が行われず、間違
った設定のまま動作してしまう場合があった。このよう
な場合、ネットワークOSの種類によっては、ルーティ
ング情報等の制御用パケットを定期的に同報するものも
あることから、ユーザの気が付かないところでプリンタ
がネットワークに対して不要なデータを送出してしまう
といった問題が発生する。このように、ネットワークプ
リンタのプロトコル設定を間違えたままにしておくと、
ネットワーク負荷が増大し、通信効率が低下してしまう
場合がある。By the way, in the above-mentioned conventional network printer, it is often the case that the user does not notice that the protocol not used by the user is incorrectly set. Further, even in a printer capable of automatically setting a protocol, the frame type may not be set correctly for some reason, and the printer may operate with the wrong setting. In such a case, some types of network OSs periodically broadcast control packets such as routing information, so the printer sends unnecessary data to the network without the user's knowledge. This causes a problem such as that. Thus, if you leave the network printer protocol setting wrong,
In some cases, the network load increases and the communication efficiency decreases.
【0011】本発明はかかる問題点に鑑みてなされたも
のであり、対応可能なプロトコルを、精度よく自動的に
設定をすることが可能な画像形成装置及びその制御方法
並びに記憶媒体を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides an image forming apparatus capable of automatically setting an applicable protocol with high accuracy, a control method thereof, and a storage medium. With the goal.
【0012】[0012]
【課題を解決するための手段】上記目的を達成するため
に本発明の画像形成装置は、複数の異なるプロトコルの
データに対応して画像形成処理を行うことが可能な画像
形成装置であって、受信したデータが使用するプロトコ
ルを識別するプロトコル識別手段と、所定時間内に受信
したデータについて、プロトコル別の受信頻度を計算す
る頻度計算手段と、前記計算されたプロトコル別の受信
頻度に基づいて、対応可能なプロトコルを設定するプロ
トコル設定手段と、を有することを特徴とする。In order to achieve the above object, an image forming apparatus according to the present invention is an image forming apparatus capable of performing an image forming process corresponding to data of a plurality of different protocols, Protocol identification means for identifying the protocol used by the received data, for data received within a predetermined time, frequency calculation means for calculating the reception frequency for each protocol, based on the calculated reception frequency for each protocol, And a protocol setting means for setting a compatible protocol.
【0013】[0013]
【発明の実施の形態】以下、図面を参照して実施形態に
ついて詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0014】図1に示すように、実施形態に係る画像形
成装置101は、3台のワークステーション(WS)1
02、103、104とともにLAN100に接続され
ている。画像形成装置101は、ネットワークプロトコ
ルA、B、Cのいずれのネットワークプロトコルにも対
応して、受信したプリントデータをラスタライズして用
紙に出力する。WS102、WS103、WS104は
各々、ネットワークプロトコルA、ネットワークプロト
コルB、ネットワークプロトコルCに則ってデータ通信
を行う。As shown in FIG. 1, an image forming apparatus 101 according to the embodiment has three workstations (WS) 1.
02, 103, and 104 are connected to the LAN 100. The image forming apparatus 101 rasterizes the received print data and outputs the rasterized print data in accordance with any of the network protocols A, B, and C. The WS 102, WS 103, and WS 104 perform data communication in accordance with the network protocol A, the network protocol B, and the network protocol C, respectively.
【0015】図2は、画像形成装置101の機能ブロッ
ク図である。同図において、データ受信部201はLA
N100を流れるデータを受信して、その受信データが
画像形成装置101宛てのデータであるか、またはブロ
ードキャスト(一斉同報)データであるかどうかを識別
する。具体的には、受信データのパケットヘッダに記録
されている送信先アドレスが画像形成装置101のアド
レスであった場合、もしくはブロードキャストであった
場合には受信したデータをプロトコル識別部202に渡
す。それ以外の場合は受信データを破棄する。FIG. 2 is a functional block diagram of the image forming apparatus 101. In the figure, a data receiving unit 201 is an LA
Data flowing through N100 is received, and it is determined whether the received data is data addressed to image forming apparatus 101 or broadcast (broadcast) data. More specifically, if the destination address recorded in the packet header of the received data is the address of the image forming apparatus 101 or is broadcast, the received data is passed to the protocol identifying unit 202. Otherwise, the received data is discarded.
【0016】プロトコル識別部202は、まず、データ
受信部201から渡されたデータのパケットヘッダか
ら、フレームタイプを識別する。そして、識別されたフ
レームタイプが規定する所定のフィールドから上位層が
使用するネットワークプロトコルを識別するコードを読
み出して、ネットワークプロトコルを識別する。識別の
結果、そのデータが使用するネットワークプロトコルが
ネットワークプロトコルAであった場合は、そのデータ
をネットワークプロトコルA処理部203に送信する。
そのデータが使用するネットワークプロトコルがネット
ワークプロトコルBであった場合は、そのデータをネッ
トワークプロトコルB処理部204に送信する。そのデ
ータが使用するネットワークプロトコルがネットワーク
プロトコルCであった場合は、そのデータをネットワー
クプロトコルC処理部205に送信する。また、そのデ
ータが使用するネットワークプロトコルがネットワーク
プロトコルA、B、Cのいずれでもなかった場合は、そ
のデータを破棄する。さらに、このときの識別情報は記
憶部206に送信することが可能である。記憶部206
は受信した識別情報を記憶し、プロトコル別の受信デー
タ数の統計をとることが可能である。この動作について
は後で詳細に説明する。The protocol identifying unit 202 first identifies the frame type from the packet header of the data passed from the data receiving unit 201. Then, a code for identifying a network protocol used by an upper layer is read from a predetermined field defined by the identified frame type, and the network protocol is identified. As a result of the identification, if the network protocol used by the data is the network protocol A, the data is transmitted to the network protocol A processing unit 203.
If the network protocol used by the data is the network protocol B, the data is transmitted to the network protocol B processing unit 204. If the network protocol used by the data is the network protocol C, the data is transmitted to the network protocol C processing unit 205. If the network protocol used by the data is not any of the network protocols A, B, and C, the data is discarded. Further, the identification information at this time can be transmitted to the storage unit 206. Storage unit 206
Can store the received identification information and take statistics on the number of data received for each protocol. This operation will be described later in detail.
【0017】ネットワークプロトコルA処理部203
は、受信したデータ(本実施形態ではWS102から送
信されたデータ)をネットワークプロトコルAに則って
データ処理を行いプリントデータを抽出し、図示はしな
いがネットワークプロトコルAに対応するアプリケーシ
ョンプロトコルを経由して、画像生成部207へ送信す
る。ネットワークプロトコルB処理部204は、受信し
たデータ(本実施形態ではWS103から送信されたデ
ータ)をネットワークプロトコルBに則ってデータ処理
を行いプリントデータを抽出し、図示はしないがネット
ワークプロトコルBに対応するアプリケーションプロト
コルを経由して、画像生成部207へ送信する。ネット
ワークプロトコルC処理部205は、受信したデータ
(本実施形態ではWS104から送信されたデータ)を
ネットワークプロトコルCに則ってデータ処理を行いプ
リントデータを抽出し、図示はしないがネットワークプ
ロトコルCに対応するアプリケーションプロトコルを経
由して、画像生成部207へ送信する。画像生成部20
7は、ネットワークプロトコルA処理部203、ネット
ワークプロトコルB処理部204、ネットワークプロト
コルC処理部205のいずれかから受信したプリントデ
ータをラスタライズして用紙に印字した後、用紙を排出
する。Network protocol A processing unit 203
Performs data processing on received data (in this embodiment, data transmitted from the WS 102) in accordance with the network protocol A to extract print data, and, though not shown, via an application protocol corresponding to the network protocol A (not shown). , To the image generation unit 207. The network protocol B processing unit 204 performs data processing on the received data (the data transmitted from the WS 103 in the present embodiment) in accordance with the network protocol B to extract print data. The data is transmitted to the image generation unit 207 via the application protocol. The network protocol C processing unit 205 performs data processing on the received data (the data transmitted from the WS 104 in the present embodiment) in accordance with the network protocol C to extract print data. The data is transmitted to the image generation unit 207 via the application protocol. Image generation unit 20
Reference numeral 7 rasterizes print data received from any of the network protocol A processing unit 203, the network protocol B processing unit 204, and the network protocol C processing unit 205, prints the rasterized data on paper, and then discharges the paper.
【0018】なお、ネットワークプロトコル処理部20
3〜205は各々、記憶部206に記憶されたネットワ
ークプロトコルに関する設定値を読み出し、各ネットワ
ークプロトコルの設定を変更することが可能である。The network protocol processing unit 20
Each of 3 to 205 can read out a setting value related to a network protocol stored in the storage unit 206 and change the setting of each network protocol.
【0019】図3は、画像形成装置101の電源投入時
等の初期化時に行われるネットワークプロトコル処理部
203〜205の初期設定の概略処理手順を示すフロー
チャートである。ここでは、プロトコルの設定モードと
して、自動的に設定する「自動モード」と、設定スイッ
チ等をユーザが操作して設定する「手動モード」とを任
意に選択することができるものとし、あらかじめその選
択情報が記憶部206に記憶されているものとする。FIG. 3 is a flowchart showing a schematic processing procedure for initial setting of the network protocol processing units 203 to 205 performed at the time of initialization such as when the power of the image forming apparatus 101 is turned on. Here, as the protocol setting mode, “automatic mode” that is automatically set, and “manual mode” that is set by the user operating a setting switch or the like can be arbitrarily selected. It is assumed that information is stored in the storage unit 206.
【0020】まず、記憶部206から設定モードの選択
情報を読み出して(ステップS301)、「自動モー
ド」であるかどうかを判断する(ステップS302)。
「自動モード」であれば、ステップS303に進み、後
述する頻度計算処理を行い、ステップS304で、頻度
計算処理の結果に基づいてプロトコル自動設定処理を行
う。ステップS302で、読み出した設定モードの選択
情報が「自動モード」でなければ、「手動モード」と判
断してステップS305に進み、通常のユーザの設定操
作によるプロトコル設定処理を行う。First, the setting mode selection information is read from the storage unit 206 (step S301), and it is determined whether or not the mode is the "auto mode" (step S302).
If the mode is the "automatic mode", the process proceeds to step S303, where a frequency calculation process described later is performed. In step S304, a protocol automatic setting process is performed based on the result of the frequency calculation process. If the read setting mode selection information is not “automatic mode” in step S302, it is determined that the mode is “manual mode”, and the process proceeds to step S305 to perform a protocol setting process by a normal user setting operation.
【0021】次に、上記のステップS303の頻度計算
処理の内容について詳細に説明する。Next, the contents of the frequency calculation processing in step S303 will be described in detail.
【0022】図4は、頻度計算処理の内容を示すフロー
チャートである。ここではその一例として、ネットワー
クプロトコルA、B、Cは各々、フレームタイプa、b
の2つのネットワークプロトコルをサポートするものと
する。FIG. 4 is a flowchart showing the contents of the frequency calculation process. Here, as an example, the network protocols A, B, and C are frame types a and b, respectively.
Are supported.
【0023】まず、ステップS401で、所定時間(例
えば10秒間)のタイマーを開始する。なお、このタイ
マーの開始に伴って、ネットワークプロトコルとネット
ワークプロトコルとの組み合わせによるデータを受信し
た回数をカウントするためのカウンタAa、Ab、B
a、Bb、Ca、Cbの内容をリセットしておく。ステ
ップS402では、タイマーが終了したかどうかを判断
する。このタイマーは、所定時間(10秒間)が経過し
たときにイベントを発生するものであり、このイベント
の有無を調べることによりタイマーが終了したかどうか
を判断することができる。タイマーが終了していなけれ
ば、ステップS403に進み、ネットワーク上のいずれ
かのワークステーションから印刷ジョブデータを受信し
ているか否かの判断を行う。ここで、印刷ジョブデータ
を受信していなかった場合はステップS402に戻る。
印刷ジョブデータを受信した場合は、ステップS404
に進み、その受信データのパケットヘッダからデータの
フレームタイプを識別し、さらにそのフレームタイプが
規定する所定のフィールドから、上位層が使用するネッ
トワークプロトコルの識別コードを読み出して、ネット
ワークプロトコルを識別する。そして、ステップS40
5で、識別したネットワークプロトコルがネットワーク
プロトコルAであるかどうかを判断する。First, in step S401, a timer for a predetermined time (for example, 10 seconds) is started. Note that, with the start of the timer, counters Aa, Ab, and B for counting the number of times data is received by a combination of the network protocol and the network protocol.
The contents of a, Bb, Ca, and Cb are reset. In step S402, it is determined whether the timer has expired. The timer generates an event when a predetermined time (10 seconds) elapses, and it is possible to determine whether the timer has ended by checking for the presence or absence of the event. If the timer has not expired, the process advances to step S403 to determine whether print job data has been received from any workstation on the network. If the print job data has not been received, the process returns to step S402.
If print job data has been received, step S404 follows.
To identify the frame type of the data from the packet header of the received data, read the identification code of the network protocol used by the upper layer from a predetermined field defined by the frame type, and identify the network protocol. Then, step S40
At 5, it is determined whether the identified network protocol is the network protocol A.
【0024】ネットワークプロトコルAであった場合
は、ステップS406に進み、ステップS404で識別
されたフレームタイプがフレームタイプaかどうかを判
定する。フレームタイプaであった場合には、ステップ
S407に進み、ネットワークプロトコルA-フレーム
タイプa用カウンタAaをカウントアップした後ステッ
プS402に戻る。一方、ステップS406で、フレー
ムタイプaではないと判定された場合には、フレームタ
イプbと判断してステップS408に進み、ネットワー
クプロトコルA-フレームタイプb用カウンタAbをカ
ウントアップした後ステップS402に戻る。If it is the network protocol A, the flow advances to step S406 to determine whether the frame type identified in step S404 is the frame type a. If the frame type is a, the flow advances to step S407 to increment the network protocol A-frame type a counter Aa, and then returns to step S402. On the other hand, if it is determined in step S406 that the frame type is not the frame type a, it is determined that the frame type is b, the process proceeds to step S408, the network protocol A-frame type b counter Ab is counted up, and the process returns to step S402. .
【0025】ステップS405で、ネットワークプロト
コルAではないと判定された場合は、ステップS409
に進み、そのデータが使用するネットワークプロトコル
がネットワークプロトコルBであるかどうかを判断す
る。ネットワークプロトコルBであった場合は、ステッ
プS410に進み、ステップS404で識別されたフレ
ームタイプがフレームタイプaかどうかを判定する。フ
レームタイプaであった場合には、ステップS411に
進み、ネットワークプロトコルB-フレームタイプa用
カウンタBaをカウントアップした後ステップS402
に戻る。一方、ステップS410で、フレームタイプa
ではないと判定された場合には、フレームタイプbと判
断してステップS412に進み、ネットワークプロトコ
ルB-フレームタイプb用カウンタBbをカウントアッ
プした後ステップS402に戻る。If it is determined in step S405 that the protocol is not the network protocol A, step S409
To determine whether the network protocol used by the data is the network protocol B. If it is the network protocol B, the process proceeds to step S410, and it is determined whether the frame type identified in step S404 is the frame type a. If the frame type is a, the flow advances to step S411 to increment the network protocol B-frame type a counter Ba, and then to step S402.
Return to On the other hand, in step S410, the frame type a
If it is determined that the frame type is not the frame type b, the flow advances to step S412 to increment the network protocol B-frame type b counter Bb, and then returns to step S402.
【0026】ステップS409で、ネットワークプロト
コルBではないと判定された場合は、ステップS413
に進み、そのデータが使用するネットワークプロトコル
がネットワークプロトコルCであるかどうかを判断す
る。ネットワークプロトコルCであった場合は、ステッ
プS414に進み、ステップS404で識別されたフレ
ームタイプがフレームタイプaかどうかを判定する。フ
レームタイプaであった場合には、ステップS415に
進み、ネットワークプロトコルC-フレームタイプa用
カウンタCaをカウントアップした後ステップS402
に戻る。一方、ステップS414で、フレームタイプa
ではないと判定された場合には、フレームタイプbと判
断してステップS416に進み、ネットワークプロトコ
ルC-フレームタイプb用カウンタCbをカウントアッ
プした後ステップS402に戻る。If it is determined in step S409 that the protocol is not the network protocol B, step S413
To determine whether the network protocol used by the data is the network protocol C. If it is the network protocol C, the process advances to step S414 to determine whether the frame type identified in step S404 is the frame type a. If the frame type is a, the flow advances to step S415 to increment the network protocol C-frame type a counter Ca, and then to step S402.
Return to On the other hand, in step S414, the frame type a
If it is determined that the frame type is not the frame type b, the flow advances to step S416 to increment the counter Cb for the network protocol C-frame type b, and then returns to step S402.
【0027】そして、ステップS402でタイマーが終
了したと判断されたところで、この処理を抜ける。以上
の処理によって、ネットワークプロトコルとフレームタ
イプとの組み合わせ毎のカウンタのカウント値を調べれ
ば、各組み合わせによるデータを所定時間内に受信した
頻度が分かる。When it is determined in step S402 that the timer has expired, the process exits. By checking the count value of the counter for each combination of the network protocol and the frame type by the above processing, the frequency of receiving data of each combination within a predetermined time can be determined.
【0028】図5は、上記した頻度計算処理の結果とし
て得られる、ネットワークプロトコルとフレームタイプ
との組み合わせのカウント値の一例を示す図である。こ
れは、所定時間(10秒間)に、ネットワークプロトコ
ルAとフレームタイプaとの組み合わせによるデータを
30回、ネットワークプロトコルAとフレームタイプb
との組み合わせによるデータを20回、ネットワークプ
ロトコルBとフレームタイプaとの組み合わせによるデ
ータを8回、ネットワークプロトコルbとフレームタイ
プbとの組み合わせによるデータを17回、ネットワー
クプロトコルCとフレームタイプaとの組み合わせによ
るデータを3回受信したことを示している。また、ネッ
トワークプロトコルCとフレームタイプbとの組み合わ
せによるデータは1回も受信されず、0と表示されてい
る。このような表示を、画像形成装置101に設けられ
た表示画面(図示せず)に表示するようにしてもよい。FIG. 5 is a diagram showing an example of a count value of a combination of a network protocol and a frame type obtained as a result of the above-described frequency calculation processing. This means that, in a predetermined time (10 seconds), data of a combination of the network protocol A and the frame type a is transmitted 30 times,
20 times, the data by the combination of the network protocol B and the frame type a eight times, the data by the combination of the network protocol b and the frame type b 17 times, the data of the network protocol C and the frame type a This indicates that the combination data has been received three times. Further, data based on a combination of the network protocol C and the frame type b is not received even once, and is displayed as 0. Such a display may be displayed on a display screen (not shown) provided in the image forming apparatus 101.
【0029】図3のステップS304におけるプロトコ
ル自動設定処理は、図6のフローチャートに示すよう
に、まず、カウント値が0であるカウンタにかかるネッ
トワークプロトコルとフレームタイプの組み合わせによ
るデータは、所定時間内に1度も受信されなかったので
あるから、その組み合わせを「無効(disable)」に設定
する(ステップS601)。図5に示した例において
は、ネットワークプロトコルCとフレームタイプbとの
組み合わせが「無効(disable)」とされることになる。
そして、その他のカウンタ、すなわち、カウント値が1
以上であるカウンタ、にかかるネットワークプロトコル
とフレームタイプの組み合わせを「有効(enable)」に設
定する(ステップS602)。As shown in the flowchart of FIG. 6, in the protocol automatic setting process in step S304 of FIG. 3, first, data according to a combination of a network protocol and a frame type for a counter having a count value of 0 is set within a predetermined time. Since it has never been received, the combination is set to "disable" (step S601). In the example shown in FIG. 5, the combination of the network protocol C and the frame type b is "disabled".
Then, the other counter, that is, the count value is 1
The combination of the network protocol and the frame type according to the above counter is set to "enable" (step S602).
【0030】以上説明した実施形態においては、各ネッ
トワークプロトコルがサポートするフレームタイプはフ
レームタイプa、bの2種類である場合について説明し
たが、これに限定されるものではないことはいうまでも
ない。In the embodiment described above, a case has been described where the frame types supported by each network protocol are two types of frame types a and b, but it is needless to say that the present invention is not limited to this. .
【0031】また、図3に示した設定処理の実行タイミ
ングは、画像形成装置101の電源投入後のプロトコル
処理部初期化時に限定されるものではなく、たとえば一
定時間周期で実行するように構成することも可能であ
る。The execution timing of the setting process shown in FIG. 3 is not limited to the time when the protocol processing unit is initialized after the power of the image forming apparatus 101 is turned on, and is configured to be executed, for example, at regular time intervals. It is also possible.
【0032】なお、図2に示した機能ブロック図をプロ
セッサによってプログラムを実行することで実現するた
めのハードウェア構成は、図7のようになる。同図に示
すように、画像形成装置101を構成する各デバイス
は、システムバス702に接続されている。CPU70
1は、中央演算処理装置としてのマイクロプロセッサで
あり、画像形成装置101全体の処理をつかさどる。R
AM703は、CPU701の主メモリとしてプログラ
ムを格納するとともに、CPU701による制御実行
時、ワークエリアとして使用される各種データの一時記
憶領域を備える読み出し書き込み可能なメモリである。
このRAM703は、カウンタAa、Ab、Ba、B
b、Ca、Cbのためのカウンタ領域703aと、図2
の記憶部206のためのプロトコル記憶領域703bと
が確保されている。外部記憶装置704は、各種データ
を記憶する記憶媒体である。ROM705は、この画像
形成装置の制御プログラムの他、画像形成処理に必要な
フォントやデータ等を記憶する読み出し専用のメモリで
ある。画像形成処理部706は、記録媒体に画像形成処
理を行う。入力部707は、LAN100を介して送信
されてきた印刷ジョブデータを入力する。FIG. 7 shows a hardware configuration for realizing the functional block diagram shown in FIG. 2 by executing a program by a processor. As shown in the figure, each device constituting the image forming apparatus 101 is connected to a system bus 702. CPU 70
Reference numeral 1 denotes a microprocessor as a central processing unit, which controls processing of the entire image forming apparatus 101. R
The AM 703 is a readable and writable memory that stores a program as a main memory of the CPU 701 and has a temporary storage area for various data used as a work area when the CPU 701 executes control.
The RAM 703 includes counters Aa, Ab, Ba, B
FIG. 2 shows a counter area 703a for b, Ca, and Cb.
And a protocol storage area 703b for the storage unit 206. The external storage device 704 is a storage medium for storing various data. The ROM 705 is a read-only memory that stores fonts, data, and the like necessary for image forming processing in addition to the control program of the image forming apparatus. The image forming processing unit 706 performs an image forming process on a recording medium. The input unit 707 inputs the print job data transmitted via the LAN 100.
【0033】以上説明したように、本発明の画像形成装
置は、ネットワーク上を流れるデータから自動的にプロ
トコル設定を行い、不必要なプロトコルは使用しないよ
うにするので、画像形成装置がネットワークに不要なデ
ータを送出してしまうといった問題を回避することが可
能となる。As described above, the image forming apparatus of the present invention automatically sets a protocol from data flowing on the network and does not use an unnecessary protocol. It is possible to avoid the problem of sending unnecessary data.
【0034】[0034]
【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).
【0035】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータ形成装置が読み出したプログラムコ
ードを実行することにより、前述した実施形態の機能が
実現されるだけでなく、そのプログラムコードの指示に
基づき、コンピュータ上で稼働しているオペレーティン
グシステム(OS)などが実際の処理の一部または全部
を行い、その処理によって前述した実施形態の機能が実
現される場合も含まれることは言うまでもない。An object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (a computer) of the system or the apparatus. Or a CPU or MPU) reads out and executes the program code stored in the storage medium,
Needless to say, this is achieved. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
The functions of the above-described embodiments are realized by executing the program code read by the computer forming apparatus, and the operating system (OS) running on the computer based on the instruction of the program code. It is needless to say that a case in which the functions of the above-described embodiments are implemented by performing part or all of the actual processing.
【0036】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。Further, after the program code read from the storage medium is written into the memory provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.
【0037】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した(図3、図4および図6
に示す)フローチャートに対応するプログラムコードが
格納されることになる。When the present invention is applied to the above-mentioned storage medium, the storage medium has been described previously (FIGS. 3, 4 and 6).
The program code corresponding to the flowchart shown in FIG.
【0038】[0038]
【発明の効果】以上説明したように、本発明によれば、
対応可能なプロトコルを、精度よく自動的に設定をする
ことが可能な画像形成装置及びその制御方法並びに記憶
媒体を提供することができる。As described above, according to the present invention,
It is possible to provide an image forming apparatus capable of automatically setting a compatible protocol with high accuracy, a control method thereof, and a storage medium.
【図1】実施形態の画像形成装置が接続されるネットワ
ークの形態を表す図である。FIG. 1 is a diagram illustrating a form of a network to which an image forming apparatus according to an embodiment is connected.
【図2】実施形態に係る画像形成装置の機能ブロック図
である。FIG. 2 is a functional block diagram of the image forming apparatus according to the embodiment.
【図3】ネットワークプロトコル処理部203〜205
の初期設定の処理手順を示すフローチャートである。FIG. 3 shows network protocol processing units 203 to 205
6 is a flowchart showing a processing procedure of the initial setting.
【図4】頻度計算処理の内容を示すフローチャートであ
る。FIG. 4 is a flowchart showing the contents of a frequency calculation process.
【図5】頻度計算処理の結果として得られるプロトコル
情報の一例を示す図である。FIG. 5 is a diagram illustrating an example of protocol information obtained as a result of a frequency calculation process.
【図6】プロトコル自動設定処理の内容を示すフローチ
ャートである。FIG. 6 is a flowchart showing the contents of a protocol automatic setting process.
【図7】画像形成装置101の内部構成を示すブロック
図である。FIG. 7 is a block diagram illustrating an internal configuration of the image forming apparatus 101.
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B021 AA01 BB01 BB10 NN06 5B089 GA16 GB01 KA07 KA14 KF06 LB12 MC03 MD04 5C062 AA35 AB42 AB46 AC23 AC58 AE14 BA00 5K033 AA01 AA03 BA04 DA13 5K034 AA02 AA07 CC02 HH63 JJ24 KK27 ──────────────────────────────────────────────────の Continued on the front page F-term (reference)
Claims (4)
して画像形成処理を行うことが可能な画像形成装置であ
って、 受信したデータが使用するプロトコルを識別するプロト
コル識別手段と、 所定時間内に受信したデータについて、プロトコル別の
受信頻度を計算する頻度計算手段と、 前記計算されたプロトコル別の受信頻度に基づいて、対
応可能なプロトコルを設定するプロトコル設定手段と、 を有することを特徴とする画像形成装置。1. An image forming apparatus capable of performing an image forming process in response to data of a plurality of different protocols, comprising: protocol identification means for identifying a protocol used by received data; For received data, a frequency calculation unit that calculates a reception frequency for each protocol, and a protocol setting unit that sets a compatible protocol based on the calculated reception frequency for each protocol, Image forming device.
いプロトコルを無効に設定することを特徴とする請求項
1に記載の画像形成装置。2. The image forming apparatus according to claim 1, wherein the protocol setting unit invalidates a protocol whose reception frequency for each of the calculated protocols is lower than a predetermined value.
して画像形成処理を行うことが可能な画像形成装置の制
御方法であって、 受信したデータが使用するプロトコルを識別するプロト
コル識別工程と、 所定時間内に受信したデータについて、プロトコル別の
受信頻度を計算する頻度計算工程と、 前記計算されたプロトコル別の受信頻度に基づいて、対
応可能なプロトコルを設定するプロトコル設定工程と、 を有することを特徴とする画像形成装置の制御方法。3. A method for controlling an image forming apparatus capable of performing an image forming process corresponding to data of a plurality of different protocols, comprising: a protocol identifying step of identifying a protocol used by received data; For data received within the time, a frequency calculation step of calculating a reception frequency for each protocol, and a protocol setting step of setting a compatible protocol based on the calculated reception frequency for each protocol. A method for controlling an image forming apparatus.
して画像形成処理を行うことが可能な画像形成装置用の
制御プログラムを格納した記憶媒体であって、 受信したデータが使用するプロトコルを識別するプロト
コル識別工程のプログラムコードと、 所定時間内に受信したデータについて、プロトコル別の
受信頻度を計算する頻度計算工程のプログラムコード
と、 前記計算されたプロトコル別の受信頻度に基づいて、対
応可能なプロトコルを設定するプロトコル設定工程のプ
ログラムコードと、 を有することを特徴とする記憶媒体。4. A storage medium storing a control program for an image forming apparatus capable of performing an image forming process corresponding to data of a plurality of different protocols, and identifying a protocol used by the received data. A program code for a protocol identification step, a program code for a frequency calculation step for calculating a reception frequency for each protocol with respect to data received within a predetermined time, and a protocol that can be supported based on the calculated reception frequency for each protocol. And a program code for a protocol setting step of setting the following.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000082559A JP2001273098A (en) | 2000-03-23 | 2000-03-23 | Image forming apparatus, control method therefor, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000082559A JP2001273098A (en) | 2000-03-23 | 2000-03-23 | Image forming apparatus, control method therefor, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001273098A true JP2001273098A (en) | 2001-10-05 |
Family
ID=18599348
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000082559A Withdrawn JP2001273098A (en) | 2000-03-23 | 2000-03-23 | Image forming apparatus, control method therefor, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001273098A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8305625B2 (en) | 2008-06-19 | 2012-11-06 | Ricoh Company, Ltd. | Image forming apparatus, log control method, and program product |
| JP2016208503A (en) * | 2015-04-14 | 2016-12-08 | エルエス産電株式会社Lsis Co., Ltd. | Method of automatically setting protocol in plc system |
-
2000
- 2000-03-23 JP JP2000082559A patent/JP2001273098A/en not_active Withdrawn
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8305625B2 (en) | 2008-06-19 | 2012-11-06 | Ricoh Company, Ltd. | Image forming apparatus, log control method, and program product |
| JP2016208503A (en) * | 2015-04-14 | 2016-12-08 | エルエス産電株式会社Lsis Co., Ltd. | Method of automatically setting protocol in plc system |
| US10044838B2 (en) | 2015-04-14 | 2018-08-07 | Lsis Co., Ltd. | Method of automatically setting protocol in programmable logic controller system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3937478B2 (en) | Interface device and interface method | |
| JP3834452B2 (en) | Device management system, management server, and computer-readable recording medium | |
| CA2197383C (en) | Method and apparatus for providing print job buffering for a printer on a fast data path | |
| US20110051192A1 (en) | Printing system and printer with setting switch | |
| US20180046235A1 (en) | Information processing apparatus method for controlling the same and storage medium | |
| JP2002140184A (en) | Printer, print system, recording medium and server | |
| JP3501611B2 (en) | Image forming method and apparatus | |
| JP2003188900A (en) | Address estimation system, network device, address estimation method, and address estimation program | |
| US6615297B1 (en) | System and method for manipulating device settings across different types of devices | |
| EP1624616A1 (en) | Information processing apparatus and information notification method therefor, and control program | |
| JP3963057B2 (en) | Printer system | |
| JP2001273098A (en) | Image forming apparatus, control method therefor, and storage medium | |
| JP4360058B2 (en) | Image forming apparatus and power management method used therefor | |
| JP3261233B2 (en) | Printing apparatus and processing method | |
| JP4273053B2 (en) | Information processing apparatus and method, and program | |
| JP3503291B2 (en) | Output device, network system and terminal name changing method | |
| JP2002055795A (en) | Print management apparatus, control method thereof, and storage medium | |
| JPH1098504A (en) | Data processor | |
| WO2000014929A1 (en) | Real-time communication device and system | |
| JP2006163568A (en) | Port monitor | |
| JPH01264865A (en) | Printer print output control device | |
| JPH11232069A (en) | Printer with banner / page printing function | |
| JP3416616B2 (en) | Image forming apparatus and control method | |
| JPH0713708A (en) | Printer server | |
| JP2577377Y2 (en) | Printing control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070605 |