JPH096705A - Printer system with multichannel switching function - Google Patents

Printer system with multichannel switching function

Info

Publication number
JPH096705A
JPH096705A JP7154777A JP15477795A JPH096705A JP H096705 A JPH096705 A JP H096705A JP 7154777 A JP7154777 A JP 7154777A JP 15477795 A JP15477795 A JP 15477795A JP H096705 A JPH096705 A JP H096705A
Authority
JP
Japan
Prior art keywords
print
host
priority level
channel
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7154777A
Other languages
Japanese (ja)
Inventor
Keiichi Ito
敬一 伊藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7154777A priority Critical patent/JPH096705A/en
Publication of JPH096705A publication Critical patent/JPH096705A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: To prevent channel selection unsuitable for a current priority level with the slight difference of print request generation timing and to improve the operational efficiency of a host. CONSTITUTION: This system is provided with a priority level storage part 24 on which the priority levels of respective hosts from 10-1 to 10-n are registered, and a selection enable storage part 25, on which selection enable periods are registered, and corresponding to print requests from the hosts from 10-1 to 10-n generated within the selection enable periods, a channel selection switching part 22 performs the selection switching of channel ports from 21-1 to 21-n so that the usage right of a printer part 23 can be applied to the host having the highest priority level. At the same time, a control part 26 successively changes and controls the priority levels and selection enable periods in the priority level storage part 24 and selection enable storage part 25 based on the information such as the number of hosts, the number of jobs charged for the hosts and the amount of data to be printed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数の中央処理装置に
接続し、これら中央処理装置(以下、ホストという)の
共有する1つの出力端末装置として利用可能なマルチチ
ャネル切換え機能付きプリンタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device having a multi-channel switching function, which is connected to a plurality of central processing units and can be used as one output terminal device shared by these central processing units (hereinafter referred to as a host). .

【0002】[0002]

【従来の技術】近年、ホストとプリンタ等の周辺装置を
含めたプリントシステムにおいては、処理データの急激
な増加に伴って処理能力の高速化が求められており、そ
の処理能力の高速化のための対策として、ホストを複数
台使用する分散処理システムとして構築するケースが多
くなってきている。この種の従来の分散処理システムで
は、当初、プリンタがホスト毎に複数台用意されものが
一般的であったが、今日では、経済的な理由、設置上の
問題あるいはシステム管理の容易さ等への配慮から、1
台のプリンタを複数のホストで共有する構成方法へと移
行しつつある。
2. Description of the Related Art In recent years, in a print system including a peripheral device such as a host and a printer, there has been a demand for speeding up of processing capacity with a rapid increase in processing data. As a countermeasure, there are many cases where a distributed processing system using multiple hosts is constructed. In the conventional distributed processing system of this kind, it was general that a plurality of printers were prepared for each host at the beginning, but nowadays, due to economical reasons, installation problems, and ease of system management, etc. From consideration of 1
One printer is in the process of being shared by multiple hosts.

【0003】図5は、この種の従来のプリンタ装置の一
例を示す機能ブロック図であり、複数のホスト10-1〜
10-n、該ホスト10-1〜10-n毎に設けられたチャネ
ルポート21-1〜21-n、該チャネルポート21-1〜2
1-nのうちのいずれか1つを有効チャネルとして選択的
に切り換えるチャネル選択切換え部22、有効チャネル
を通じて対応するホスト10-1〜10-nから送られてく
るプリントデータをプリントするプリント部23とを具
備して構成される。
FIG. 5 is a functional block diagram showing an example of a conventional printer device of this type. A plurality of hosts 10-1 to 10-1.
10-n, channel ports 21-1 to 21-n provided for each of the hosts 10-1 to 10-n, and channel ports 21-1 to 2
A channel selection switching unit 22 that selectively switches any one of 1-n as an effective channel, and a printing unit 23 that prints print data sent from the corresponding hosts 10-1 to 10-n through the effective channel. And is configured.

【0004】このプリント装置20aでは、各ホスト1
0-1〜10-nのプリント要求信号から該当するチャネル
ポート21-1〜21-nを自動で判断し、その切り換えを
行っている。もし、ホスト10-1と10-2のプリント要
求が競合した場合、予め設定してあるこれら各ホストの
プリント優先レベルに従って、その競合したうちのより
優先レベルの高いホストをある1点のタイミングで判別
してプリント部23の使用権を与え、優先レベルの低い
ホストにはBusyステータスを返す。このような装置
においては、接続ホスト数が多くなる程、プリント部2
3の使用権をめぐっての競合発生が多くなってくるが、
こうした状況下でも、上記方法と同様、1点のタイミン
グで、予め設定してあるプリント優先レベルに従い、競
合した中で一番優先レベルの高いチャネルポート21-1
〜21-nに切り換えてプリント部23の使用権を与える
点には変わりはなかった。
In this printing apparatus 20a, each host 1
The corresponding channel ports 21-1 to 21-n are automatically determined from the print request signals of 0-1 to 10-n and the switching is performed. If the print requests of the hosts 10-1 and 10-2 conflict with each other, according to the preset print priority level of each host, the host with the higher priority level among the conflicts is set at a certain timing. It is determined that the right to use the print unit 23 is given, and the Busy status is returned to the host having a low priority level. In such a device, as the number of connected hosts increases, the printing unit 2
Although there will be more competition for the usage rights of item 3,
Even in such a situation, similar to the above method, the channel port 21-1 having the highest priority level among the competing ones at one timing according to the preset print priority level.
There was no change in giving the right to use the print section 23 by switching to ~ 21-n.

【0005】これにより、例えば、3台のホスト10-1
〜10-3を接続し、これら各ホスト10-1〜10-3が1
JOBをプリントする時間とプリント優先順位の関係
が、以下に示す表1の関係にあり、各ホスト10-1〜1
0-3から、図6に示す如くのタイミングでプリント要求
が発生した場合におけるプリンタ装置20aのプリント
動作は次のようになる。
Thus, for example, three hosts 10-1
-10-3 are connected to each host 10-1-10-3
The relationship between the print time of the JOB and the print priority is as shown in Table 1 below, and each host 10-1 to 10-1
From 0-3, when the print request is generated at the timing shown in FIG. 6, the printing operation of the printer device 20a is as follows.

【0006】 すなわち、上記条件下では、ホスト10-1とホスト10
-2が図6におけるポイントAでプリント要求の競合関係
を生じ、チャネル選択切換え部22では、予め設定して
ある表1の優先順位に従って、ホスト10-1に対してプ
リント部23の使用権を与えるべく、Readyステー
タスを返し〔同図(a)〕、他方、ホスト10-2に対し
ては使用権のないBusyステータスを返す〔同図
(b)〕。
[0006] That is, under the above conditions, the host 10-1 and the host 10
-2 causes a print request contention relationship at point A in FIG. 6, and the channel selection switching unit 22 assigns the right to use the printing unit 23 to the host 10-1 in accordance with the preset priority order of Table 1. In order to give it, the Ready status is returned [(a) in the figure], while the Busy status with no usage right is returned to the host 10-2 [(b) in the figure].

【0007】更に、この例の場合には、ホスト10-1と
ホスト10-2の直後にホスト10-3からのプリント要求
が発生するが、上述した如くの1点のタイミング(ポイ
ントA)での競合判定の原則に従って、このホスト10
-3に対しては、当然Busyステータスが返される〔同
図(c)〕。これにより、ポイントAの後、チャネル選
択切換え部22からはホスト10-1からのプリントデー
タが出力され、当該プリントデータが10分という時間
をかけてプリント部23によりプリントされる〔同図
(d)〕。
Further, in the case of this example, a print request is issued from the host 10-3 immediately after the host 10-1 and the host 10-2, but at one timing (point A) as described above. This host 10
For -3, the Busy status is naturally returned [(c) in the figure]. As a result, after point A, the print data from the host 10-1 is output from the channel selection switching unit 22 and the print data is printed by the printing unit 23 over a time period of 10 minutes [see FIG. )].

【0008】その後、プリント優先レベルが一番高く、
1JOBをプリントする時間がわずか30秒と一番少な
いホスト10-3は、ホスト10-1の大量のプリントデー
タが打ち終わるまでの間、ある間隔でプリント要求を出
力し続ける。この例では、ホスト10-1が10分間使用
中であることから、このホスト10-1がプリント終了す
るまでの10分もの間、ホスト10-3からのプリント要
求に対してBusyステータスを返し続けるという動作
が継続する。10分経過後、ホスト10-1のプリントが
終了し、改めてホスト10-3が出したプリント要求にR
eadyステータスが返り、プリント部23を使用でき
る状態となった後、ホスト10-3は自らのプリントデー
タのプリントを30秒で終了する。
After that, the print priority level is the highest,
The host 10-3, which has the shortest time for printing 1 JOB, of only 30 seconds, continues to output print requests at a certain interval until a large amount of print data of the host 10-1 is finished. In this example, since the host 10-1 is in use for 10 minutes, the Busy status is continuously returned to the print request from the host 10-3 for 10 minutes until the host 10-1 finishes printing. That operation continues. After 10 minutes have passed, the printing of the host 10-1 is completed, and R is returned to the print request issued by the host 10-3.
After the ready status is returned and the print unit 23 is ready for use, the host 10-3 finishes printing its own print data in 30 seconds.

【0009】このように、プリント優先レベルをある1
点で判定する従来装置では、プリント要求発生タイミン
グのわずかの差で、プリント優先レベルが一番高いホス
ト10-3がそれより優先度のホスト10-1に使用権を奪
われるという事態が生じる可能性が高く、プリントが終
了するのを待っている間、処理効率が落ち込むことを免
れなかった。
Thus, the print priority level is set to 1
In the conventional apparatus that determines by the point, the host 10-3 having the highest print priority level may be deprived of the usage right by the host 10-1 having a higher priority than that due to a slight difference in the print request generation timing. It has high efficiency, and while waiting for the printing to finish, processing efficiency was unavoidable.

【0010】複数のホストを切り換えて運用するこの種
の従来装置の具体例としては、特開昭59-108143 号公報
に記載されるマルチチャネル切換え機能付きプリンタ装
置が知られる。この公報記載の装置においても、各ホス
トのプリント要求信号から自動でチャネルポートを判断
してそのポートを切り換え、もし、複数のホストのプリ
ント要求が競合した場合には、ある1点のタイミング
で、予め設定してあるプリント優先レベルに従って、競
合した中の一番優先レベルの高いホストに使用権を与
え、他のホストにはBusyステータスを返すようにし
ている。
As a concrete example of this type of conventional apparatus for switching and operating a plurality of hosts, there is known a printer apparatus with a multi-channel switching function described in Japanese Patent Laid-Open No. 59-108143. Also in the apparatus described in this publication, the channel port is automatically determined from the print request signal of each host and the port is switched, and if the print requests of a plurality of hosts conflict with each other, at a certain timing, According to the preset print priority level, the host having the highest priority level among the conflicts is given the usage right, and the Busy status is returned to the other hosts.

【0011】[0011]

【発明が解決しようとする課題】このように、特開昭59
-108143 号公報記載の装置に代表されるようなこの種の
従来のマルチチャネル切換え機能付きプリンタ装置で
は、複数のホストからのプリント要求が競合した場合、
予め設定した優先度に従って、これらの競合関係をある
1点のタイミングで判定し、その競合した中の最も優先
度の高いホストに対してプリンタ使用権を与えるのが一
般的であった。このため、上記判定タイミングからわず
かに外れただけで、優先度の低いホストに使用権が渡さ
れ、しかもその使用権を渡した優先度の低いホストの大
量のプリントデータにより長時間のプリント待ちを強い
られるなど、必ずしもホストの運用効率が良くないとい
う問題点があった。
As described above, Japanese Patent Laid-Open No. 59-59
In a conventional printer device with a multi-channel switching function, such as the device described in Japanese Patent Publication No. 108143, when print requests from multiple hosts conflict,
In general, these competing relationships are determined at a certain timing according to a preset priority, and the printer use right is given to the host having the highest priority among the competing ones. For this reason, the usage right is handed to a host with a low priority even if it is slightly deviated from the above determination timing, and a long print wait is caused by the large amount of print data of the host with a low priority who passed the usage right. There was a problem that the operational efficiency of the host was not always good, such as being forced.

【0012】本発明は、プリント要求発生タイミングの
わずかの差に伴い現状の設定優先レベルにそぐわないチ
ャネル選択がなされることを防止し、常に現状の設定優
先レベルを正確に反映したチャネル選択を行うことによ
って、ホストの運用効率を向上させることのできるマル
チチャネル切換え機能付きプリンタ装置を提供すること
を目的とする。
According to the present invention, it is possible to prevent a channel selection that does not match the current setting priority level due to a slight difference in the timing of print request generation, and always perform a channel selection that accurately reflects the current setting priority level. Therefore, it is an object of the present invention to provide a printer device with a multi-channel switching function that can improve the operation efficiency of a host.

【0013】[0013]

【課題を解決するための手段】本発明は、1または複数
の中央処理装置をそれぞれに対応するチャネルポートを
介して接続し、該中央処理装置からのプリント要求の中
の1つを受け付けてプリント動作を行うマルチチャネル
切換え機能付きプリンタ装置において、前記プリント要
求を受け付ける際の優先順位であるプリント優先レベル
を前記中央処理装置毎に保持する優先レベル保持手段
(図1における、優先レベル格納部24)と、前記中央
処理装置からのプリント要求が競合した場合の当該競合
させる期間である選択イネーブル時間を保持する選択イ
ネーブル保持手段(同、選択イネーブル格納部25)
と、前記選択イネーブル期間内にプリント出力要求のあ
った中央処理装置のプリント優先レベルを比較し、その
中の最も優先順位の高い中央処理装置に対応するチャネ
ルポートを有効チャネルとして選択するチャネル選択切
換え手段と(同、チャネル選択切換え部22)、前記有
効チャネルを通じて対応する中央処理装置から送られて
くるプリントデータをプリントするプリント手段(同、
プリント部23)とを具備することを特徴とする。
According to the present invention, one or a plurality of central processing units are connected via respective corresponding channel ports, and one of print requests from the central processing units is accepted and printed. In a printer device with a multi-channel switching function that operates, a priority level holding unit (priority level storage unit 24 in FIG. 1) that holds a print priority level, which is a priority order when receiving the print request, for each central processing unit. And a selection enable holding unit that holds a selection enable time, which is a period during which the print requests from the central processing unit are contended when the print requests from the central processing unit contend (the selection enable storage unit 25).
And the print priority level of the central processing unit that has made a print output request within the selection enable period, and selects the channel port corresponding to the central processing unit with the highest priority among them as the effective channel. Means (same as the channel selection switching section 22) and printing means for printing the print data sent from the corresponding central processing unit through the effective channel (same as the same).
And a printing unit 23).

【0014】望ましくは、本発明においては、少なくと
も、接続されている中央処理装置の数、該中央処理装置
毎のプリント要求に係るジョブの種類及びプリントデー
タ量を認識し、該認識された情報に基づいて前記優先レ
ベル保持手段におけるプリント優先レベル及び前記選択
イネーブル保持手段における選択イネーブル時間を可変
制御する選択条件制御手段(同、制御部26)を更に具
備することを特徴とする。
Preferably, in the present invention, at least the number of connected central processing units, the type of job and the print data amount relating to the print request for each central processing unit are recognized, and the recognized information is stored. It is further characterized by further comprising selection condition control means (same as the control section 26) for variably controlling the print priority level in the priority level holding means and the selection enable time in the selection enable holding means.

【0015】[0015]

【作用】本発明では、各ホストからのプリント要求の競
合関係を1点のタイミングで判定するのではなく、ある
競合選択範囲内に発生した全てのプリント要求を対象と
してこれらの競合関係を判定するようにしたものであ
る。具体的には、各ホスト毎のプリント優先レベルを優
先レベル保持手段に格納する一方、競合選択範囲に相当
する選択イネーブル時間を選択イネーブル保持手段に登
録し、チャネル選択切換え手段では、上記競合選択範囲
期間内に発生した各プリント要求に対し、優先レベル保
持手段に保持されたプリント優先レベルに従って有効チ
ャネルの選択切換え制御を行うようにしている。
According to the present invention, the competition relation of print requests from each host is not judged at one timing, but all the print requests generated within a certain competition selection range are judged. It was done like this. Specifically, the print priority level for each host is stored in the priority level holding means, while the selection enable time corresponding to the contention selection range is registered in the selection enable holding means. With respect to each print request generated within the period, the effective channel selection switching control is performed according to the print priority level held by the priority level holding means.

【0016】この制御によって、例えば、あるプリント
優先レベルを持ちかつ極めて長時間のプリント時間を要
するホスト情報のプリント要求の後に、これより高いプ
リント優先レベルを持ちかつ極短時間のプリント時間で
済むホスト情報のプリント要求が発生した場合において
も、これらプリント要求発生タイミングの時間差が上記
競合選択範囲期間内にあれば、プリント優先レベルの高
いホストからのデータを短期間でプリントし終えた後、
優先度の低いホストからのデータを長時間をかけて出力
する制御に対処でき、優先度の高いホストの無駄な待ち
時間を無くしてホストの使用効率を高めることができ
る。
By this control, for example, after a print request for host information having a certain print priority level and requiring an extremely long print time, a host having a higher print priority level and requiring an extremely short print time is required. Even when a print request for information is generated, if the time difference between these print request generation timings is within the contention selection range period, after printing the data from the host with a high print priority level in a short period of time,
It is possible to cope with the control of outputting data from a host having a low priority over a long period of time, and it is possible to improve the utilization efficiency of the host by eliminating unnecessary waiting time of the host having a high priority.

【0017】併せて、本発明では、上記選択イネーブル
保持手段と優先レベル保持手段が保持するデータの組み
合わせを、少なくとも、接続してあるホスト数、JOB
の種類、プリント量の各情報を把握し、その結果に基づ
いて随時変更可能としたことで、接続されるホスト数、
ジョブの種類、プリント量に対して常に適切なプリント
環境を確立でき、これにより接続ホストを効率良く有効
に活用できる。
In addition, according to the present invention, at least the combination of data held by the selection enable holding means and the priority level holding means is at least the number of connected hosts and JOB.
The number of connected hosts can be changed by grasping each type of information and the amount of printing, and changing it based on the results.
It is possible to establish a print environment that is always appropriate for the type of job and print volume, which allows the connected host to be used efficiently and effectively.

【0018】[0018]

【実施例】以下、本発明の実施例を添付図面を参照して
詳細に説明する。図1は本発明に係るマルチチャネル切
換え機能付きプリンタ装置の一実施例を示す機能ブロッ
ク図である。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. FIG. 1 is a functional block diagram showing an embodiment of a printer device with a multi-channel switching function according to the present invention.

【0019】このマルチチャネル切換え機能付きプリン
タ装置20は、複数のホスト10-1〜10-n、該ホスト
10-1〜10-n毎に設けられたチャネルポート21-1〜
21-n、各ホスト10-1〜10-nからのプリント要求に
基づき、上記チャネルポート21-1〜21-nの中の指定
された1つのチャネルのみを有効にすべく切り換えるチ
ャネル選択切換え部22、上記有効チャネルを通じて供
給されるプリントデータをプリントするプリント部2
3、プリント優先レベルを保持する優先レベル格納部2
4、チャネルポート21-1〜21-nの選択イネーブル時
間(ホスト10-1〜10-nからのプリント要求が競合し
た場合の当該競合判定期間)を保持する選択イネーブル
格納部25、プリント部23からのプリント情報及びジ
ョブ(JOB)の種類、チャネル選択切換え部22から
のホスト数の情報に基づき、優先レベル格納部24にお
けるプリント優先レベルと選択イネーブル格納部25に
おける選択イネーブル時間をそれぞれ最適値に制御する
制御部26を具備して構成される。
The printer device 20 with the multi-channel switching function includes a plurality of hosts 10-1 to 10-n, and channel ports 21-1 to 21-1 to 21-2 provided for the hosts 10-1 to 10-n, respectively.
21-n, based on a print request from each of the hosts 10-1 to 10-n, a channel selection switching unit for switching to enable only one designated channel among the channel ports 21-1 to 21-n. 22, a print unit 2 for printing print data supplied through the effective channel
3. Priority level storage unit 2 that holds the print priority level
4. Select enable storage unit 25 and print unit 23 that hold the select enable time of the channel ports 21-1 to 21-n (the conflict determination period when print requests from the hosts 10-1 to 10-n compete) The print priority level in the priority level storage unit 24 and the selection enable time in the selection enable storage unit 25 are set to optimum values based on the print information from the printer, the type of job (JOB), and the number of hosts from the channel selection switching unit 22. The control unit 26 for controlling is provided.

【0020】次に、このプリンタ装置20におけるプリ
ント要求受付処理の概略動作を図2及び図3に示すフロ
ーチャートを参照して説明する。
Next, the general operation of the print request acceptance process in the printer device 20 will be described with reference to the flow charts shown in FIGS.

【0021】先ず、図2を参照して、このプリンタ装置
20のチャネル選択切換え部22の制御動作について述
べる。このチャネル選択切換え部22では、待機状態に
おいて、プリント要求が発生したかどうかを監視し(ス
テップ201)、プリント要求が発生した場合(ステッ
プ210YES)には、そのプリント要求元のホスト1
0の情報を保持する(ステップ202)。これと同時
に、チャネル選択切換え部22は、選択イネーブル格納
部25を検索し、その中に保持されている選択イネーブ
ル時間をセットする(ステップ203)。次いで、チャ
ネル選択切換え部22は、その選択イネーブル時間が経
過したかどうかを判断する(ステップ204)。ここ
で、経過していないと判定された場合(ステップ204
NO)は、引き続き他のプリント要求があるかどうかを
監視し、ここでプリント要求があれば(ステップ205
YES)、そのプリント要求元のホスト情報を保持する
(ステップ206)。その後、ステップ204以降の処
理に戻り、選択イネーブル時間の経過が確認されるまで
上記同様のプリント要求の受付処理を続行する。
First, the control operation of the channel selection switching unit 22 of the printer device 20 will be described with reference to FIG. In the standby state, the channel selection switching unit 22 monitors whether or not a print request has been issued (step 201). When a print request has been issued (YES in step 210), the print request source host 1
The information of 0 is held (step 202). At the same time, the channel selection switching unit 22 searches the selection enable storage unit 25 and sets the selection enable time held therein (step 203). Next, the channel selection switching unit 22 determines whether the selection enable time has elapsed (step 204). If it is determined that the time has not passed (step 204)
No) continues to monitor whether there is another print request, and if there is a print request here (step 205).
YES), the host information of the print request source is held (step 206). After that, the processing returns to step 204 and thereafter, and the same print request receiving processing as described above is continued until it is confirmed that the selection enable time has elapsed.

【0022】そして、上記処理の間に選択イネーブル時
間が経過したと判定されると(ステップ204YE
S)、次いでチャネル選択切換え部22は、優先レベル
格納部24の検索(ステップ207)に移り、上記選択
イネーブル期間内に得たプリント要求元ホスト10-1〜
10-nの中の最も優先度の高いホストを決定する(ステ
ップ208)。
When it is determined that the selection enable time has elapsed during the above processing (step 204YE
S), and then the channel selection switching unit 22 moves to the search of the priority level storage unit 24 (step 207), and the print request source hosts 10-1 to 10-1 ...
The host with the highest priority among 10-n is determined (step 208).

【0023】次いで、チャネル選択切換え部22は、そ
の決定したホストにReadステータスを送り、他のホ
ストにはBusyステータスを送る処理を行う(ステッ
プ209)。引き続き、チャネル選択切換え部22は、
優先度の最も高いホスト10に対応するチャネルポート
21を選択し、このチャネルポート21を、これに接続
されたホスト10からプリント要求データを取り込み可
能な状態に切り換え制御する(ステップ210)。次い
で、そのチャネルポート21を通じて、対応するホスト
10からそのプリント要求に係るプリントデータを読み
出し、これをプリンタ部23に転送する(ステップ21
1)。この後、プリンタ部23は、上記ホスト10から
転送されてくるプリントデータを順次プリントしてい
く。
Next, the channel selection switching unit 22 sends a Read status to the decided host and sends a Busy status to the other hosts (step 209). Subsequently, the channel selection switching unit 22
The channel port 21 corresponding to the host 10 having the highest priority is selected, and the channel port 21 is controlled to switch to a state in which print request data can be fetched from the host 10 connected thereto (step 210). Then, the print data relating to the print request is read from the corresponding host 10 through the channel port 21 and transferred to the printer unit 23 (step 21).
1). After that, the printer unit 23 sequentially prints the print data transferred from the host 10.

【0024】以上のプリント動作において、プリンタ装
置20は、制御部26において、その動作中に収集した
例えば、ホスト数、各ホスト毎のプリントデータ量、プ
リント間隔、ジョブの種類等の情報に基づいて、上記優
先レベル及び選択イネーブル時間を適宜変更する制御を
行う。この制御部26における情報変更制御の一例を、
図3に示すフローチャートを参照して説明する。なお、
この例は、ある期間内における各ホスト10-1〜10-n
のプリント動作の履歴を反映して上記各制御パラメータ
(優先レベル及び選択イネーブル時間)を変更すること
を前提としたものである。
In the printing operation described above, the printer device 20 is controlled by the control unit 26 based on information such as the number of hosts, the amount of print data for each host, the print interval, and the type of job collected during the operation. , And controls to appropriately change the priority level and the selection enable time. An example of the information change control in the control unit 26,
This will be described with reference to the flowchart shown in FIG. In addition,
In this example, each host 10-1 to 10-n within a certain period
The above-mentioned control parameters (priority level and selection enable time) are changed on the basis of the history of the printing operation of the above.

【0025】まず、この制御の開始にあたり、制御部2
6は、各パラメータの更新間隔に相当する監視期間をセ
ットする(ステップ301)。次いで、制御部26は、
そのセットした期間が経過したかどうかを監視し、経過
していない間(ステップ302)は、プリント要求があ
るかどうか、あるいはプリント部23が起動されたかど
うかを順次監視する(ステップ303,305)。そし
て、プリント要求があった場合(ステップ303YE
S)には、チャネル選択切換え部22から、そのプリン
ト要求元のホスト情報を収集し(ステップ304)、プ
リント動作がなされた場合(ステップ305YES)
は、その動作したプリント部23から、プリントデータ
量、ジョブの種類等のプリント情報を各ホスト10-1〜
10-nに関連付けて収集する(ステップ306)。
First, at the start of this control, the control unit 2
6 sets the monitoring period corresponding to the update interval of each parameter (step 301). Next, the control unit 26
Whether or not the set period has elapsed is monitored, and while the set period has not elapsed (step 302), it is sequentially monitored whether or not there is a print request or whether the print unit 23 is activated (steps 303 and 305). . When there is a print request (step 303YE)
In S), the host information of the print request source is collected from the channel selection switching unit 22 (step 304), and when the print operation is performed (YES in step 305).
Print information such as the amount of print data and the type of job from the operated print unit 23.
The data is collected in association with 10-n (step 306).

【0026】以上の処理継続中に、監視期間の経過が判
定されると(ステップ302YES)、引き続き、制御
部26は、上記監視期間内に収集された、ホスト数、ホ
スト毎のプリントデータ及びジョブの種類等の情報に基
づいて、優先レベル及び選択イネーブル期間の各値を更
新し(ステップ307)、これらをそれぞれ優先レベル
格納部24、選択イネーブル格部25に登録する(ステ
ップ308)。
If it is determined that the monitoring period has elapsed during the above processing (YES in step 302), the control unit 26 continues to control the number of hosts, print data for each host, and jobs collected during the monitoring period. Each value of the priority level and the selection enable period is updated based on the information such as the type (step 307), and these are registered in the priority level storage unit 24 and the selection enable rating unit 25 (step 308).

【0027】このように、本発明では、ホスト10-1〜
10-nのプリント要求の競合関係を1点のタイミングで
判定するのではなく、ある競合選択範囲を設けて判定す
ると共に、随時、チャネルポート21-1〜21-nを通し
てホスト10-1〜10-nの状態を監視し、ホスト10-1
〜10-nの状態に応じて当該ホスト10-1〜10-nの選
択切換え基準である優先レベルと選択イネーブル時間を
操作するようにしているため、ホスト10-1〜10-nを
効率良く有効に活用できる。
As described above, according to the present invention, the hosts 10-1 to 10-1 ...
Instead of judging the competition of the print requests of 10-n at a timing of one point, a judgment is made by setting a certain competition selection range, and at the same time, the hosts 10-1 to 10 are connected through the channel ports 21-1 to 21-n. -n status is monitored and host 10-1
Since the priority level and the selection enable time, which are the selection switching criteria for the hosts 10-1 to 10-n, are manipulated according to the state of the 10 to 10-n, the hosts 10-1 to 10-n can be efficiently used. It can be used effectively.

【0028】なお、本発明における上記優先レベル及び
選択イネーブル時間の可変制御については、図3に示す
処理に限られるものではなく、プリント情報やジョブの
種類以外の情報を反映させた様々な制御方法が考えられ
る。例えば、図3に示すフローチャートでは、各ホスト
毎の過去のプリント実績を参照して制御パラメータを操
作しているが、選択イネーブル期間に発生したプリント
要求毎のデータ量を上記パラメータ操作に反映させるよ
うにしても良い。
The variable control of the priority level and the selection enable time in the present invention is not limited to the processing shown in FIG. 3, but various control methods reflecting information other than print information and job type. Can be considered. For example, in the flowchart shown in FIG. 3, the control parameters are operated by referring to the past print results for each host, but the data amount for each print request generated during the selection enable period should be reflected in the parameter operation. You can

【0029】これ以外にも、例えば、接続してある複数
のホスト中である1つのホストが故障してプリントする
ことができなくなった場合に、この故障したホストの優
先度を操作して、他のホストの選択権を優先させるなど
の方法も考えられる。この場合、チャネル選択切換え部
22は各ホスト10のアクセス回数から、故障してプリ
ントできないホストの情報を認識して制御部26に通知
し、制御部26はその通知されたホスト情報に基づき優
先レベル格納部24における上記故障してプリントでき
ないホストの優先レベルを一番低く設定し直す。以後、
その設定し直された優先レベル格納部24のデータに基
づいてチャネル選択切換え部22が動作するようにすれ
ば良い。
In addition to this, for example, when one of a plurality of connected hosts fails and cannot print, the priority of the failed host is manipulated to It is also possible to give priority to the host's right to select. In this case, the channel selection switching unit 22 recognizes the information of the host that cannot be printed due to the failure from the access count of each host 10 and notifies the control unit 26 of the priority level based on the notified host information. The priority level of the host that cannot print due to the failure in the storage unit 24 is reset to the lowest priority level. After that,
The channel selection switching unit 22 may be operated based on the reset data of the priority level storage unit 24.

【0030】次に、本実施例のプリンタ装置20の制御
動作の具体例として、3つのチャネルポート21-1〜2
1-3に各々ホスト10-1〜10-3を接続した構成におい
て、その接続してあるホスト10-1〜10-3が上述した
表1の様な1JOBをプリントするにかかる時間とプリ
ントJOBの種類から定めた優先順位を持つ場合におけ
る各ホスト10-1〜10-3のプリント要求に対するチャ
ネル切換え制御の一例を図4に示すタイミングチャート
を参照して説明する。
Next, as a specific example of the control operation of the printer device 20 of this embodiment, three channel ports 21-1 to 21-2 are provided.
In a configuration in which the hosts 10-1 to 10-3 are connected to 1-3, respectively, the time taken for the connected hosts 10-1 to 10-3 to print 1 JOB as shown in Table 1 above and the print JOB An example of the channel switching control for the print requests of the hosts 10-1 to 10-3 in the case of having the priority determined from the type will be described with reference to the timing chart shown in FIG.

【0031】同図に示す如く、この例においては、各ホ
スト10-1〜10-3のプリント要求タイミングが、選択
イネーブル格納部25に保持されている競合選択範囲W
の期間内に集中している。この場合、チャネル選択切換
え部22は、その競合選択範囲Wの時間内にプリント要
求があったホスト10-1〜10-3の中から、優先レベル
格納部24に設定してある優先順位(表1参照)に従
い、優先レベルの最も高いホスト10-3からのプリント
要求を許可すべく、当該ホスト10-3からのプリント要
求にReadyステータスを返し、他方、これ以外のホ
スト10-1、ホスト10-2に対してはBusyステータ
スを返す。
As shown in the figure, in this example, the print request timing of each of the hosts 10-1 to 10-3 is the contention selection range W held in the selection enable storage unit 25.
Concentrate within the period. In this case, the channel selection switching unit 22 selects from among the hosts 10-1 to 10-3 that have made a print request within the time of the contention selection range W, the priority order (table 1), the Ready status is returned to the print request from the host 10-3 in order to permit the print request from the host 10-3 having the highest priority level, while the other hosts 10-1 and 10-3. -2 returns Busy status.

【0032】次いで、チャネル選択切換え部22は、ホ
スト10-3からのプリントデータをプリント部23に送
出できるようにチャネルポート21-3を切り換える。そ
の後、プリント部23は、チャネル選択切換え部22に
より有効チャネルとして切り換えられた上記チャネルポ
ート21-3を通じて送られてくるプリントデータaを受
けて、これをプリントする。プリント中、チャネル選択
切換え部22は、他のホスト10-1とホスト10-2のプ
リント要求に対してBusyステータスを返すが、この
例では、ホスト10-3は30秒で済むデータ量しか持っ
ておらず、上記プリントを開始した30秒後にはプリン
トが終了するので、極めて短い待ち時間の後にプリント
部23が他のホスト10-1,10-2で使用可能な状態と
なる。
Next, the channel selection switching unit 22 switches the channel port 21-3 so that the print data from the host 10-3 can be sent to the printing unit 23. After that, the printing unit 23 receives the print data a sent through the channel port 21-3 switched as the effective channel by the channel selection switching unit 22 and prints it. During printing, the channel selection switching unit 22 returns a busy status in response to print requests from other hosts 10-1 and 10-2, but in this example, the host 10-3 has only the amount of data that can be completed in 30 seconds. However, since the printing is finished 30 seconds after the printing is started, the printing unit 23 becomes ready for use by the other hosts 10-1 and 10-2 after an extremely short waiting time.

【0033】従来装置では、図5及ぶ図6に示す如く、
ホストの競合を1点のタイミングで判定していたため、
少し遅れたタイミングで出力された優先レベルの低いホ
スト10-1のプリント要求信号が受け付けられていた。
ここで、その受け付けられたホスト10-1が大量の、長
時間を要するプリント動作を行うならば、少し遅れただ
けなのに、優先レベルの高いホスト10-3は、ホスト1
0-1がプリントする長い間の時間を待たなければならな
かった。
In the conventional device, as shown in FIGS.
Since the host competition was judged at the timing of 1 point,
The print request signal of the host 10-1 having a low priority level output at a slightly delayed timing has been accepted.
Here, if the accepted host 10-1 performs a large amount of print operation that requires a long time, the host 10-3 having a high priority level is the host 1 even though it is slightly delayed.
Had to wait a long time for 0-1 to print.

【0034】この点に関して、本発明では、競合選択範
囲Wを広くとることによって、優先レベルの低いホスト
10-1、ホスト10-2のプリント要求信号より遅れたタ
イミングで出力された優先レベルの高いホスト10-3の
プリント要求信号を確実に受け付けできることになる。
そして、該ホスト10-3が持つ少量のデータを短時間の
うちにプリントし終えてから、ホスト10-1から要求さ
れた大量のデータのプリントへと、処理を円滑に進める
ことができる。
With respect to this point, in the present invention, the competition selection range W is widened so that the priority level output at a timing later than the print request signals of the host 10-1 and the host 10-2 having a low priority level is high. The print request signal from the host 10-3 can be reliably received.
Then, after printing a small amount of data possessed by the host 10-3 within a short period of time, the process can smoothly proceed to printing of a large amount of data requested by the host 10-1.

【0035】[0035]

【発明の効果】以上詳細に説明したように、本発明によ
れば、選択イネーブル期間を定めて各ホストからのプリ
ント要求の競合関係を判定し、該選択イネーブル期間内
にプリント要求を出したホストのうちの最も優先レベル
の高いホストにプリンタ使用権を与えるとともに、接続
中のホスト数、各ホスト毎のプリントジョブの種類ある
いはプリントデータ量等の情報に基づき上記優先レベル
及び選択イネーブル期間の各情報を逐次変更する制御を
併用したため、常にシステムの現状に即した適切なプリ
ント環境が得られ、優先レベルの低いホストに使用権が
与えられて優先レベルの高いホストが長時間待たされる
などのチャネル選択の発生を抑えつつ、接続ホストを効
率よく有効に使用できる。
As described above in detail, according to the present invention, a host which has issued a print request within the selection enable period by determining the selection enable period and determining the competition between print requests from each host. In addition to giving the right to use the printer to the host with the highest priority level among the above, based on the information such as the number of connected hosts, the type of print job or the amount of print data for each host, each information of the above priority level and selection enable period Since the control that sequentially changes is used together, a suitable print environment that always matches the current state of the system is obtained, the usage right is given to the host with a lower priority level, and the host with a higher priority level waits for a long time. It is possible to efficiently and effectively use the connected host while suppressing the occurrence of

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

【図1】 本発明に係るマルチチャネル切換え機能付き
プリンタ装置の一実施例を示す機能ブロック図。
FIG. 1 is a functional block diagram showing an embodiment of a printer device with a multi-channel switching function according to the present invention.

【図2】 本発明に係るマルチチャネル切換え機能付き
プリンタ装置のチャネル選択切換え部の制御動作を示す
フローチャート。
FIG. 2 is a flowchart showing a control operation of a channel selection switching unit of the printer device with a multi-channel switching function according to the present invention.

【図3】 本発明に係るマルチチャネル切換え機能付き
プリンタ装置の制御部の動作を示すフローチャート。
FIG. 3 is a flowchart showing the operation of the control unit of the printer device with a multi-channel switching function according to the present invention.

【図4】 本発明に係るマルチチャネル切換え機能付き
プリンタ装置のチャネル選択切換え制御に係る各信号の
タイミングチャート。
FIG. 4 is a timing chart of each signal related to channel selection switching control of the printer device with a multi-channel switching function according to the present invention.

【図5】 従来のマルチチャネル切換え機能付きプリン
タ装置の一例を示す機能ブロック図。
FIG. 5 is a functional block diagram showing an example of a conventional printer device with a multi-channel switching function.

【図6】 従来のマルチチャネル切換え機能付きプリン
タ装置のチャネル選択切換え制御に係る各信号のタイミ
ングチャート。
FIG. 6 is a timing chart of each signal related to channel selection switching control of a conventional printer device having a multi-channel switching function.

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

10-1〜10-n 中央処理装置、20 マルチチャネル
切換え機能付きプリンタ装置、21-1〜21-n1 チャ
ネルポート、22 チャネル選択切換え部、23 プリ
ント部、24 優先レベル格納部、25 選択イネーブ
ル格納部、26制御部
10-1 to 10-n central processing unit, 20 printer device with multi-channel switching function, 21-1 to 21-n 1 channel port, 22 channel selection switching unit, 23 printing unit, 24 priority level storage unit, 25 selection enable storage Section, 26 control section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1または複数の中央処理装置をそれぞれ
に対応するチャネルポートを介して接続し、該中央処理
装置からのプリント要求の中の1つを受け付けてプリン
ト動作を行うマルチチャネル切換え機能付きプリンタ装
置において、 前記プリント要求を受け付ける際の優先順位であるプリ
ント優先レベルを前記中央処理装置毎に保持する優先レ
ベル保持手段と、 前記中央処理装置からのプリント要求が競合した場合の
当該競合させる期間である選択イネーブル時間を保持す
る選択イネーブル保持手段と、 前記選択イネーブル期間内にプリント出力要求のあった
中央処理装置のプリント優先レベルを比較し、その中の
最も優先順位の高い中央処理装置に対応するチャネルポ
ートを有効チャネルとして選択するチャネル選択切換え
手段と、 前記有効チャネルを通じて対応する中央処理装置から送
られてくるプリントデータをプリントするプリント手段
とを具備することを特徴とするマルチチャネル切換え機
能付きプリンタ装置。
1. A multi-channel switching function for connecting one or a plurality of central processing units through corresponding channel ports and accepting one of print requests from the central processing units to perform a printing operation. In the printer device, a priority level holding unit that holds a print priority level, which is a priority order when receiving the print request, for each central processing unit, and a conflicting period when the print requests from the central processing unit conflict with each other. The selection enable holding means for holding the selection enable time is compared with the print priority level of the central processing unit that has made a print output request within the selection enabling period, and corresponds to the central processing unit with the highest priority among them. Channel selection switching means for selecting a channel port to be used as an effective channel, Serial multichannel switching function printer apparatus characterized by comprising a printing means for printing the print data sent from the corresponding central processing unit via the effective channel.
【請求項2】 少なくとも、接続されている中央処理装
置の数、該中央処理装置毎のプリント要求に係るジョブ
の種類及びプリントデータ量を認識し、該認識された情
報に基づいて前記優先レベル保持手段におけるプリント
優先レベル及び前記選択イネーブル保持手段における選
択イネーブル時間を可変制御する選択条件制御手段を更
に具備することを特徴とする請求項1記載のマルチチャ
ネル切換え機能付きプリンタ装置。
2. At least the number of connected central processing units, the type of job and the print data amount relating to a print request for each central processing unit are recognized, and the priority level is held based on the recognized information. 2. The printer device with multi-channel switching function according to claim 1, further comprising selection condition control means for variably controlling the print priority level in the means and the selection enable time in the selection enable holding means.
JP7154777A 1995-06-21 1995-06-21 Printer system with multichannel switching function Pending JPH096705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7154777A JPH096705A (en) 1995-06-21 1995-06-21 Printer system with multichannel switching function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7154777A JPH096705A (en) 1995-06-21 1995-06-21 Printer system with multichannel switching function

Publications (1)

Publication Number Publication Date
JPH096705A true JPH096705A (en) 1997-01-10

Family

ID=15591673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7154777A Pending JPH096705A (en) 1995-06-21 1995-06-21 Printer system with multichannel switching function

Country Status (1)

Country Link
JP (1) JPH096705A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058133B2 (en) 2010-03-08 2015-06-16 Seiko Epson Corporation Control device, control method for a control device, and recording medium
US11561742B2 (en) 2019-04-09 2023-01-24 Canon Kabushiki Kaisha Printing system, printing apparatus, method of controlling printing apparatus and information processing apparatus, and storage medium for determining a setting to use for a print job

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058133B2 (en) 2010-03-08 2015-06-16 Seiko Epson Corporation Control device, control method for a control device, and recording medium
US11561742B2 (en) 2019-04-09 2023-01-24 Canon Kabushiki Kaisha Printing system, printing apparatus, method of controlling printing apparatus and information processing apparatus, and storage medium for determining a setting to use for a print job

Similar Documents

Publication Publication Date Title
US6675268B1 (en) Method and apparatus for handling transfers of data volumes between controllers in a storage environment having multiple paths to the data volumes
CN1155894C (en) Enhanced bus orbitrator using variable priority and reasonableness
US7656547B2 (en) System and method for optimized routing of print jobs
JPH06197107A (en) Multi-address link control system
JPH096705A (en) Printer system with multichannel switching function
KR20020025209A (en) Variable access fairness in a fibre channel arbitrated loop
JP2004000308A (en) Network game system, game machine therefor, and computer program therefor
US6952277B1 (en) Multifunctional processing apparatus and method
US5551062A (en) Method for enhancing communication access in a radio communication system
JPH08137910A (en) Parallel data base processing method and its executing device
CN107317765A (en) The method and apparatus for managing routing information
JP2692583B2 (en) Design system cooperation method
KR100606701B1 (en) Hierarchical Arbitration System, Method for arbitrating using the system
JPH07114518A (en) Task scheduling system of multiprocessor system
JPH0635831A (en) Data processor
JP2956648B2 (en) Design system cooperation method
JPH10289188A (en) Server-client communication priority controller
KR960004721B1 (en) Auto restarting method of packet processing unit in the b-isdn switch
JPH03189827A (en) Process control system
JPS61848A (en) Bus selection system for decentralized control system
JPH06110825A (en) Common bus control system
JPS59177638A (en) Control system of message preferential transmission
JPH113188A (en) Print control system
JPH11175353A (en) Timer controller and recording medium
JPH11345102A (en) System and method for automatically controlling print

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050125

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050524