JPH0365721A - Print server - Google Patents

Print server

Info

Publication number
JPH0365721A
JPH0365721A JP1201391A JP20139189A JPH0365721A JP H0365721 A JPH0365721 A JP H0365721A JP 1201391 A JP1201391 A JP 1201391A JP 20139189 A JP20139189 A JP 20139189A JP H0365721 A JPH0365721 A JP H0365721A
Authority
JP
Japan
Prior art keywords
output
display output
interrupt
lan
interruption
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
JP1201391A
Other languages
Japanese (ja)
Inventor
Naofumi Fukutome
直文 福留
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1201391A priority Critical patent/JPH0365721A/en
Publication of JPH0365721A publication Critical patent/JPH0365721A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To discontinue output during execution when the request of the output by interruption is detected even in the course of the output, and to re-start the discontinued output after processing preferentially the output being inter rupted by providing a detecting means to detect the request of the output by the interruption. CONSTITUTION:When a command packet is inputted from a LAN I/O port, a CPU analyzes the contents of the packet, and decides whether it is a display output request command or another command. When a print server 3 to constitute a resource sharing system by a LAN 5 detects the request of interruption display output from another terminal B 2, it discontinues the display output during execution even if it is in the course of the display output of data from the terminal A 1 connected to the LAN 5, and after processing preferentially the interruption display output of another terminal 2, it can re-start the discontinued display output. Since it is restricted how frequently the interruption display output can be requested to the terminal to constitute the LAN 5, the excessive interruption to the display output during execution can be prevented.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプリントサーバに関し、例えばLANなどの資
源共有システムの出力機能として用いられるプリントサ
ーバに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print server, and more particularly, to a print server used as an output function of a resource sharing system such as a LAN.

[従来の技術] 従来のプリントサーバは、プリンタなどに出力するため
のデータを、プリントサーバに入力された順番に順次処
理し出力するのみであり、プリントサーバ外部から指示
を出して出力の順番を変えられるものはなかった。
[Prior Art] Conventional print servers only process and output data to be output to a printer, etc., in the order in which it is input to the print server, and the order of output is determined by issuing instructions from outside the print server. There was nothing I could change.

[発明が解決しようとする課題] 上記従来例では、入力されたデータを入力順に順次処理
し出力するようになっているため、データを出力してい
る途中で、他の緊急なデータを出力させようとしても、
既に処理中の出力が終了するのを待つか、或はプリント
サーバを操作して強制的に出力を中止した後でなければ
、所望の出力を行なえないという欠点があった。
[Problems to be Solved by the Invention] In the conventional example described above, input data is sequentially processed and output in the order in which it was input, so while data is being output, other urgent data may be output. Even if you try,
There is a drawback that the desired output cannot be performed until the output that is already being processed is completed or after the output is forcibly stopped by operating the print server.

[課題を解決するための手段] 本発明は、上述の課題を解決することを目的として成さ
れたもので、上述の課題を解決する一手段として以下の
構成を備える。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and includes the following configuration as one means for solving the above-mentioned problems.

即ち、割込みによる出力の要求を検出する検出手段と、
割込みによる出力のための入力データを記憶する記憶手
段と、出力をしている途中でも割込みによる出力の要求
を検出すると実行中の出力を中断し割込みによる出力を
優先的に処理した後に中断していた出力を再開する再開
手段とを備える。
That is, a detection means for detecting an output request due to an interrupt;
A storage means for storing input data for output by an interrupt, and a storage means for storing input data for output by an interrupt, and if an output request by an interrupt is detected even during output, the output being executed is interrupted, and the output by the interrupt is processed with priority, and then the output is interrupted. and restart means for restarting the output.

[作用] 以上の構成において、データを出力している途中でも、
割込みによる出力の要求を検出すると実行中の出力を中
断し、要求のあった割込みによる出力を優先的に処理し
た後に、中断していた出力を再開することができる。
[Operation] In the above configuration, even while outputting data,
When an output request due to an interrupt is detected, the output being executed is interrupted, and after processing the output due to the requested interrupt with priority, the interrupted output can be resumed.

[実施例] 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明に係る一実施例である、端末、或はサー
バとしてパーソナルコンピュータを含むLANによる資
源共有システムの構成を示すブロック図である。第1図
において、1,2,13゜14は端末、3はプリントサ
ーバ、4はプリントサーバに接続されているプリンタ、
5はLANである。
FIG. 1 is a block diagram showing the configuration of a LAN-based resource sharing system including personal computers as terminals or servers, which is an embodiment of the present invention. In FIG. 1, 1, 2, 13, 14 are terminals, 3 is a print server, 4 is a printer connected to the print server,
5 is a LAN.

第2図は、本実施例の資源共有システムを構成するプリ
ントサーバの構造を示す詳細ブロック図で、図中、6は
ROMIIに格納されたプログラム、例えば後述する第
4図のプログラムに従ってプリントサーバ全体を制御す
るCPUである。7はLANとプリントサーバとのデー
タ入出力を制御するLANl10ボート、8はプリント
サーバからプリンタへの出力データを制御するプリンタ
I10ボート、9は通常の表示出力データを一時的に格
納するバッファa、10は割込み表示出力データを一時
的に格納するバッファbである。
FIG. 2 is a detailed block diagram showing the structure of the print server that constitutes the resource sharing system of this embodiment. This is the CPU that controls the 7 is a LAN l10 port that controls data input/output between the LAN and the print server; 8 is a printer I10 port that controls output data from the print server to the printer; 9 is a buffer a that temporarily stores normal display output data; A buffer b 10 temporarily stores interrupt display output data.

第3図はパーソナルコンピュータを含むLANによる資
源共有システムにおいて、通信制御手順としてIEEE
802.2、IEEE802.3及びTCP/IPを用
いる場合に、端末からプリントサーバに表示出力要求を
出すときのコマンドパケットのフォーマットを示す。図
中、(a)は通常の表示出力要求コマンドを示し、(b
)は割込み表示出力要求コマンドである。
Figure 3 shows the IEEE standard as a communication control procedure in a LAN-based resource sharing system including personal computers.
802.2, IEEE802.3, and TCP/IP, the format of a command packet when issuing a display output request from a terminal to a print server is shown. In the figure, (a) shows a normal display output request command, and (b)
) is an interrupt display output request command.

そこで、本実施例の資源共有システムを構成するプリン
トサーバの制御手順について、第4図に示すフローチャ
ートを参照して説明する。
Therefore, the control procedure of the print server constituting the resource sharing system of this embodiment will be explained with reference to the flowchart shown in FIG.

LANによる資源共有システム立上げ後、ステップS2
で、プリントサーバは端末からのコマンドパケット待ち
の状態になる。そして、LAN I10ボートからコマ
ンドパケットが入力されると、ステップS2でCPUは
パケットの内容を解析し、ステップS3で、それが表示
出力要求コマンドかその他のコマンドかを判断する。
After launching the resource sharing system via LAN, step S2
The print server then waits for command packets from the terminal. When a command packet is input from the LAN I10 boat, the CPU analyzes the contents of the packet in step S2, and determines whether it is a display output request command or another command in step S3.

コマンドが通常の表示出力要求コマンドであれば、ステ
ップS8で通常のバッファaを介した表示出力処理を行
なうが、割込み表示出力要求コマンドであれば、ステッ
プS5でプリンタが他の端末からのデータを表示出力中
であるかどうかの判断を行なう。このとき、プリンタが
表示出力中でなければ、ステップS8での通常のバッフ
ァaを介した表示出力処理を行なう。
If the command is a normal display output request command, normal display output processing via buffer a is performed in step S8, but if it is an interrupt display output request command, the printer receives data from another terminal in step S5. Determine whether display output is in progress. At this time, if the printer is not in the process of display output, normal display output processing via buffer a is performed in step S8.

ここで、第1図中のプリンタ4が端末B2からのデータ
を表示出力中に、端末A1から割込み表示出力要求コマ
ンドが入力されたとして、ステップS6以後の処理につ
いて説明する。
Here, the processing after step S6 will be described assuming that an interrupt display output request command is input from the terminal A1 while the printer 4 in FIG. 1 is displaying and outputting data from the terminal B2.

ステップ6では、割込み条件の判断を行なう。In step 6, interrupt conditions are determined.

即ち、割込みをかけた端末が要求する表示出力のデータ
量と、その端末が過去のある一定時間内に割込みを実行
した回数とが、あらかじめ記憶部12内に設定された制
限値以内にあるかどうかの判断を、ステップ6で行なう
That is, whether the amount of display output data requested by the terminal that issued the interrupt and the number of times that terminal executed the interrupt within a certain period of time in the past are within the limit set in advance in the storage unit 12. A determination is made in step 6.

尚、割込みをかけた端末が要求する表示出力のデータ量
は、第3図(b)に示した割込み表示出力要求コマンド
に付随して入力される。
The amount of display output data requested by the terminal that has issued the interrupt is input along with the interrupt display output request command shown in FIG. 3(b).

割込みが条件を満足しない場合は、割込みを受は付けず
、ステップS9でエラーレスポンスを端末Aに返してス
テップS1に戻る。しかして、プリントサーバは端末か
らのコマンドパケット待ちの状態になる。一方、割込み
条件が満足されれば、ステップS1Oで、プリントサー
バは端末Aからの表示出力データをLANl10ボート
を介して入力し、バッファbに格納する。そして、ステ
ップS1lでバッファa内にある端末Bからのデータの
表示出力は、現在表示出力中のページの処理を終えたと
ころで中断し、次に表示出力を開始するページ数を記憶
部に保存する。続いてステップS12で、バッファbに
格納してあった割込み表示出力データを、プリンタI1
0ボートを介してプリンタへ出力する。
If the interrupt does not satisfy the conditions, the interrupt is not accepted, an error response is returned to terminal A in step S9, and the process returns to step S1. The print server then enters a state of waiting for a command packet from the terminal. On the other hand, if the interrupt condition is satisfied, in step S1O, the print server inputs the display output data from terminal A via the LAN port and stores it in buffer b. Then, in step S1l, the display output of the data from the terminal B in the buffer a is interrupted when the processing of the page currently being displayed is finished, and the number of pages to start displaying next is stored in the storage unit. . Next, in step S12, the interrupt display output data stored in buffer b is sent to printer I1.
Output to the printer via the 0 port.

バッファbの内容をすべて出力し終ったならば、ステッ
プS13で、先に中断した端末Bからのデータの表示出
力を再開し、すべての表示出力が終了した時点でステッ
プS1に戻り、再びコマンドパケット待ちの状態になる
When all the contents of buffer b have been output, in step S13, the previously interrupted display output of data from terminal B is resumed, and when all the display output is finished, the process returns to step S1, and the command packet is output again. It will be in a waiting state.

また、割込み表示出力処理中に、割込み表示出力要求コ
マンドが入力された場合は、ステップS6での割込み条
件の判断でエラーとなり、割込み要求を出した端末に対
してエラーレスポンスが返される。
Furthermore, if an interrupt display output request command is input during the interrupt display output process, an error occurs in determining the interrupt condition in step S6, and an error response is returned to the terminal that issued the interrupt request.

以上説明した如く、本実施例によれば、LANによる資
源共有システムを構成するプリントサーバが、LANに
接続されるある端末からのデータを表示出力している途
中でも、他の端末からの割込み表示出力の要求を検出す
ると、実行中の表示出力を中断し、他の端末の割込み表
示出力を優先的に処理した後に、中断していた表示出力
を再開することができるという効果がある。
As explained above, according to this embodiment, even when a print server that constitutes a LAN-based resource sharing system is in the middle of displaying and outputting data from a terminal connected to the LAN, an interrupt display from another terminal can occur. When an output request is detected, the display output that is being executed is interrupted, and after processing the interrupt display output of another terminal with priority, the interrupted display output can be resumed.

また、本実施例では、LANを構成する端末に対して割
込み表示出力を要求できる回数を制限しているので、実
行中の表示出力に対して、無闇に割込みがかかることを
防止できるという効果もある。
Furthermore, in this embodiment, since the number of times that an interrupt display output can be requested to the terminals making up the LAN is limited, it is possible to prevent unnecessary interruptions to the display output that is being executed. be.

[発明の効果] 以上説明したように、本発明によれば、割込みによる出
力の要求を検出して実行中のデータ出力を中断し、割込
みによる出力を優先的に処理した後に、中断していた出
力を再開するプリントサーバが提供できる。
[Effects of the Invention] As explained above, according to the present invention, an output request caused by an interrupt is detected, the data output being executed is interrupted, and the output caused by the interrupt is processed with priority, and then the interruption is performed. A print server can be provided that resumes output.

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

第1図は本発明に係る一実施例であるLANによる資源
共有システムの構成を示すブロック図、第2図は上記実
施例に係るプリントサーバのブロック図、 フォーマット、 第4図は本実施例に係るプリントサーバの動作手順を示
すフローチャートである。 図中、L 2,13.14・・・端末、3・・・プリン
トサーバ、4・・・プリンタ、5・・・LAN、6・・
・CPU、7・・・LANl10ボート、8・・・プリ
ンタI10ボート、9,10・・・バッファ、11・・
・ROM112・・・記憶部である。 (0) $3図
FIG. 1 is a block diagram showing the configuration of a resource sharing system using LAN which is an embodiment of the present invention, FIG. 2 is a block diagram of a print server according to the above embodiment, and FIG. 2 is a flowchart showing an operation procedure of such a print server. In the figure, L 2, 13. 14... terminal, 3... print server, 4... printer, 5... LAN, 6...
・CPU, 7...LAN10 boat, 8...Printer I10 boat, 9,10...Buffer, 11...
- ROM112... is a storage unit. (0) $3 figure

Claims (1)

【特許請求の範囲】[Claims] 割込みによる出力の要求を検出する検出手段と、割込み
による出力のための入力データを記憶する記憶手段と、
出力の途中でも割込みによる出力の要求を検出すると実
行中の出力を中断し割込みによる出力を優先的に処理し
た後に中断していた出力を再開する再開手段とを有する
ことを特徴とするプリントサーバ。
a detection means for detecting a request for output due to an interrupt; a storage means for storing input data for output due to the interrupt;
The print server is characterized by having a restarting means for interrupting the output being executed when an output request due to an interrupt is detected even in the middle of output, and resuming the interrupted output after processing the output due to the interrupt with priority.
JP1201391A 1989-08-04 1989-08-04 Print server Pending JPH0365721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1201391A JPH0365721A (en) 1989-08-04 1989-08-04 Print server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1201391A JPH0365721A (en) 1989-08-04 1989-08-04 Print server

Publications (1)

Publication Number Publication Date
JPH0365721A true JPH0365721A (en) 1991-03-20

Family

ID=16440310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1201391A Pending JPH0365721A (en) 1989-08-04 1989-08-04 Print server

Country Status (1)

Country Link
JP (1) JPH0365721A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182124A (en) * 1993-12-21 1995-07-21 Nec Corp Print system
JPH11143659A (en) * 1997-11-11 1999-05-28 Minolta Co Ltd Printing device
JP2006001127A (en) * 2004-06-17 2006-01-05 Canon Inc Printer and its control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07182124A (en) * 1993-12-21 1995-07-21 Nec Corp Print system
JPH11143659A (en) * 1997-11-11 1999-05-28 Minolta Co Ltd Printing device
JP2006001127A (en) * 2004-06-17 2006-01-05 Canon Inc Printer and its control method

Similar Documents

Publication Publication Date Title
JP2001160041A (en) System for reducing cpu load of on-line system
JPH06139031A (en) Printer controller
JPH0365721A (en) Print server
JP3134539B2 (en) Printer control device
JP2001014117A (en) Printer
JP3423477B2 (en) Printing method and system
JP3569752B2 (en) Network embedded system
JP2001047696A (en) Printing device
JPH06301553A (en) Output device
JP3214557B2 (en) I / O control device and DMA transfer control method
JPH0683652A (en) Microcomputer system
JP2642489B2 (en) Multi-port switching control method
JPH05303473A (en) Printer device
JPH05313916A (en) Electronic computer and its interruption processing method
JPH01193948A (en) System for controlling data transfer
JPH11167474A (en) Printer
JPH02137054A (en) Information processor
JPH10109463A (en) Printer with a plurality of receiving ports
JPS61210457A (en) Communication control system
JPH05303549A (en) Terminal data inheritance system
JPH0594316A (en) Information processor
JPH0365720A (en) Print server
JPH04162140A (en) Changing system for os interruption level
JPS60126949A (en) Communication controller
JPH04143826A (en) Printing device