JP3148804B2 - Multi-function parallel processing electronic device - Google Patents

Multi-function parallel processing electronic device

Info

Publication number
JP3148804B2
JP3148804B2 JP25552396A JP25552396A JP3148804B2 JP 3148804 B2 JP3148804 B2 JP 3148804B2 JP 25552396 A JP25552396 A JP 25552396A JP 25552396 A JP25552396 A JP 25552396A JP 3148804 B2 JP3148804 B2 JP 3148804B2
Authority
JP
Japan
Prior art keywords
processing
time
control
function
steps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25552396A
Other languages
Japanese (ja)
Other versions
JPH1078878A (en
Inventor
哲也 大内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP25552396A priority Critical patent/JP3148804B2/en
Publication of JPH1078878A publication Critical patent/JPH1078878A/en
Application granted granted Critical
Publication of JP3148804B2 publication Critical patent/JP3148804B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】 本発明は、複数組の制御プ
ログラムを時分割にて並行処理する多機能並行処理型電
子装置に関し、特に並行処理する複数の制御プログラム
のうちの処理負荷の低い制御に割り当てられた処理時間
を短縮して他の処理負荷の高い制御の処理時間に充当す
ることで、並行処理の有効化を図るようにしたものに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-function parallel processing type electronic device that processes a plurality of sets of control programs in parallel in a time-division manner, and more particularly to a control with a low processing load among a plurality of control programs that perform parallel processing. The present invention relates to a method in which parallel processing is enabled by shortening an allocated processing time and applying the reduced processing time to a processing time of another control having a high processing load.

【0002】[0002]

【従来の技術】 従来、コンピュータや各種の情報処理
装置などの電子装置においては、複数の機能の処理速度
の高速化を図る為に、演算処理機能や情報の入出力処理
機能などの複数の機能を並行して処理できるように、多
機能並行処理方式が採用されている。この多機能並行処
理方式としては、複数の中央演算装置(CPU)を相互
に連結接続し、複数の制御プログラムが複数の中央演算
装置において夫々別個の処理として実行されるようにし
たマルチ処理方式(多重処理方式)が実用化されている
一方、1つの中央演算装置により、微小時間に時分割さ
れた所定の処理時間毎に、複数の制御プログラムを所定
の順番に実行するようにしたタイムシェアリング処理方
式(時分割処理方式)も実用化されている。
2. Description of the Related Art Conventionally, in an electronic device such as a computer or various information processing devices, a plurality of functions such as an arithmetic processing function and an information input / output processing function have been employed in order to increase the processing speed of the plurality of functions. , A multi-function parallel processing method is adopted so that the processing can be performed in parallel. As the multi-function parallel processing system, a plurality of central processing units (CPUs) are interconnected and connected to each other, and a plurality of control programs are executed by the plurality of central processing units as separate processes. Time sharing in which a plurality of control programs are executed in a predetermined order by one central processing unit for each predetermined processing time that is time-divided in a minute time. A processing method (time-division processing method) has also been put to practical use.

【0003】[0003]

【発明が解決しようとする課題】 前述したように、マ
ルチ処理方式で複数の処理を並行して実行する場合に
は、複数の中央演算装置を必要とするとともに、制御装
置の制御基板が大型化することから電子装置がコスト高
になるという問題がある。また、タイムシェアリング処
理方式で複数の処理を並行して実行する場合、例えば情
報の入出力が行われていないで、多量の演算処理を実行
するようなときでも、情報入出力処理用の制御プログラ
ムとしては、情報の入出力処理を実行しないにも拘わら
ず、割り当てられた所定の処理時間を専有するので、無
駄な処理時間を必要とするため、並行処理の効率化が図
れないという問題がある。
As described above, when a plurality of processes are executed in parallel by the multi-processing method, a plurality of central processing units are required, and the control board of the control device is increased in size. Therefore, there is a problem that the cost of the electronic device increases. Also, when a plurality of processes are executed in parallel by the time sharing processing method, for example, even when a large amount of arithmetic processing is executed without input / output of information, control for information input / output processing is performed. Although the program does not execute the information input / output processing, it occupies the allocated predetermined processing time, so that a wasteful processing time is required, so that parallel processing cannot be efficiently performed. is there.

【0004】本発明の目的は、安価でしかも処理負荷の
低い制御プログラムの時分割用に割り当てられた処理時
間を短縮して処理負荷の高い制御プログラムの処理時間
として充当することで、並行処理の効率化を図れるよう
な多機能並行処理型電子装置を提供することである。
An object of the present invention is to reduce the processing time allocated for time-sharing of a low-cost control program with a low processing load and to use the reduced processing time as the processing time of a control program with a high processing load, thereby realizing parallel processing. An object of the present invention is to provide a multi-function parallel processing type electronic device capable of achieving efficiency.

【0005】[0005]

【課題を解決するための手段】 請求項1の多機能並行
処理型電子装置は、1つのCPUを備え、このCPUに
接続されたメモリに複数の機能に対応する複数組の制御
プログラムであって少なくともプリンタの機能実現の為
の制御プログラムとファクシミリの機能実現の為の制御
プログラムとを含む複数組の制御プログラムを組み込
み、時分割方式にて2組以上の制御プログラムを並行処
理することにより、複数の機能を実現可能な電子装置に
おいて、少なくとも1組の制御プログラムに含まれる複
数のステップのうちの、処理負荷の低い一連のステップ
に、所定の微小時間毎の時分割切換えタイミングよりも
早期に強制的に並行処理中の相手側の処理に切換える
共に前記処理負荷の低い一連のステップに割り当てられ
た前記所定の微小時間の残りの処理時間を並行処理中の
相手側の処理時間に加える強制切換えステップを組み込
んだものである。
SUMMARY OF THE INVENTION The multi-function concurrent processing electronic device of claim 1, comprising a single CPU, a plurality of sets of control programs corresponding to a plurality of functions in a memory that is connected to the CPU At least to realize printer functions
Control program and control for realizing facsimile functions
A plurality of sets of control programs including programs are incorporated, and two or more sets of control programs are processed in parallel in a time-sharing manner, so that at least one set of control programs is included in an electronic device capable of realizing a plurality of functions. of the plurality of steps, the sequence of steps less processing load, is switched to the other side processing in the forcibly parallel processing earlier than division switching timing when the predetermined minute time
Both are assigned to a series of steps having a low processing load.
The remaining processing time of the predetermined minute time is
It incorporates a forced switching step added to the processing time of the other party .

【0006】CPUに接続されたメモリに組み込まれた
複数組の制御プログラムのうち、必要に応じて2組以上
の制御プログラムが時分割にて並行処理されて、複数の
機能が実現される。ここで、並行処理されている何れか
の制御プログラムの処理負荷が低い場合に、その処理負
荷の低い一連のステップに強制切換えステップが組み込
まれているときには、その強制切換えステップが実行さ
れることにより、割り当てられた所定の微少時間毎の時
分割切換えタイミングよりも早期に強制的に並行処理中
の処理負荷の高い相手側の処理に切換えられるので、そ
の相手側の制御プログラムの処理時間としては、その早
期に切換えられた残りの処理時間を加算した分だけ長期
化することになる
[0006] Of a plurality of sets of control programs incorporated in a memory connected to the CPU, two or more sets of control programs are processed in parallel in a time-division manner as required, and a plurality of functions are realized. Here, when the processing load of any of the control programs that are being processed in parallel is low, and the forced switching step is incorporated in a series of steps with a low processing load, the forced switching step is executed. Since the processing is forcibly switched to the processing of the other party having a high processing load during the parallel processing earlier than the assigned time-division switching timing for each predetermined minute time, the processing time of the control program of the other party is as follows: It is prolonged by the sum of the remaining processing time switched earlier .

【0007】求項の多機能並行処理型電子装置は、
請求項の発明において、前記ファクシミリの機能実現
の為の制御プログラムは、処理負荷の低い一連のステッ
プとして、少なくとも、装置エラー検出、タイマ送信タ
イムアップ検出のステップを含むものである。
[0007] The multi-function concurrent processing electronic device of Motomeko 2,
In the invention of claim 1, a control program for implementing a function of the facsimile, as a series of steps with low processing load, at least, apparatus error detection, is intended to include the steps of timer transmission time up discovery.

【0008】この場合には、ファクシミリの機能実現の
為の処理負荷の低い一連のステップにおいて、装置エラ
ー検出、タイマ送信タイムアップ検出を実行することが
できる。その他、請求項と同様の作用を奏する。
[0008] In this case, in a series of steps with low processing load for facsimile function implementation, it is possible to perform device error detection, the timer transmission time up discovery. In addition, the same operation as the first aspect is achieved.

【0009】[0009]

【発明の実施の形態】 以下、本発明の実施の形態につ
いて図面を参照して説明する。本実施形態は、レーザプ
リンタやイメージスキャナ装置を有し、受信したファク
シミリデータを記録したり、原稿の画像データを送信す
るなどの通常のファクシミリの機能に加えて、接続ケー
ブルを介して接続されたパーソナルコンピュータに対す
るデータの通信機能を実現可能な多機能並行処理型電子
装置(以下、マルチファンクション情報処理装置とい
う)に本発明を適用した場合のものである。マルチファ
ンクション情報処理装置1は、図1に示すように、基本
的に、1つのコンピュータ10を有するコントロールユ
ニット20と、このコントロールユニット20に接続さ
れた操作パネル2、レーザプリンタ3、イメージスキャ
ナ装置4などから構成されている。
Embodiments of the present invention will be described below with reference to the drawings. This embodiment has a laser printer or an image scanner device, and records received facsimile data, and in addition to a normal facsimile function such as transmitting image data of a document, is connected via a connection cable. This is a case where the present invention is applied to a multi-function parallel processing type electronic device (hereinafter, referred to as a multi-function information processing device) capable of realizing a data communication function for a personal computer. As shown in FIG. 1, the multifunction information processing apparatus 1 basically includes a control unit 20 having one computer 10, an operation panel 2, a laser printer 3, and an image scanner 4 connected to the control unit 20. It is composed of

【0010】前記コンピュータ10は、基本的に、CP
U11と、このCPU11にデータバスなどを含むコモ
ンバス16で接続されたROM12(メモリに相当す
る)と、EEPROM(電気的に消去して書換え可能な
ROM)13と、RAM14と、DMAコントローラ1
5などで構成されている。また、コモンバス16には、
画像データを符号化する符号化部及び通信データを復号
化する復号化部を有するCODEC21と、ハードロジ
ック回路からなる入出力用ASIC(アプリケーション
・スペシフィック・インテグレーテッド・サーキット)
22と、ファクシミリ通信用のモデム23と、バッファ
25と、外部のパーソナルコンピュータ6に接続ケーブ
ル7を介して接続された通信用インターフェース(通信
用I/F)26とが夫々接続されている。
The computer 10 basically has a CP
U11, a ROM 12 (corresponding to a memory) connected to the CPU 11 by a common bus 16 including a data bus, an EEPROM (an electrically erasable and rewritable ROM) 13, a RAM 14, and a DMA controller 1.
5 and the like. Also, the common bus 16 includes
CODEC 21 having an encoding unit for encoding image data and a decoding unit for decoding communication data, and an input / output ASIC (application-specific integrated circuit) comprising a hard logic circuit
22, a modem 23 for facsimile communication, a buffer 25, and a communication interface (communication I / F) 26 connected to the external personal computer 6 via the connection cable 7 are connected to each other.

【0011】また、モデム23には、電話回線5及び受
話器8に接続されたNCU(ネットワーク・コントロー
ル・ユニット)24が接続されている。更に、入出力用
ASIC22には、ディスプレイ2a及びキーボード2
bを有する操作パネル2と、レーザプリンタ3とが接続
されるとともに、DRAM(ダイナミック・RAM)2
7を介してイメージスキャナ装置4が接続されている。
An NCU (Network Control Unit) 24 connected to the telephone line 5 and the receiver 8 is connected to the modem 23. Further, the input / output ASIC 22 includes a display 2 a and a keyboard 2.
b and a laser printer 3 are connected, and a DRAM (dynamic RAM) 2
The image scanner device 4 is connected to the image scanner device 7 via an image scanner 7.

【0012】ここで、ROM12には、電話回線5を介
して相手方のファクシミリ装置(図示略)に対してファ
クシミリデータの送受信を制御するファクシミリの機能
実現の為の制御プログラム、イメージスキャナ装置4で
読み込んだ原稿の画像を記録するコピー機能を実現する
為の制御プログラム、パーソナルコンピュータ6から受
信した印字データを記録する印字データ記録機能(プリ
ンタの機能に相当する)を実現する為の制御プログラ
ム、イメージスキャナ装置4で読み込んだ原稿の画像デ
ータをパーソナルコンピュータ6に送信するイメージ送
信機能を実現する為の制御プログラムなどが格納されて
いる。
Here, a control program for realizing a facsimile function for controlling transmission / reception of facsimile data to / from a partner facsimile apparatus (not shown) via the telephone line 5 is read into the ROM 12 by the image scanner apparatus 4. A control program for realizing a copy function for recording an image of an original, a control program for realizing a print data recording function (corresponding to a function of a printer) for recording print data received from the personal computer 6, and an image scanner. A control program for realizing an image transmission function of transmitting image data of a document read by the apparatus 4 to the personal computer 6 is stored.

【0013】前記ファクシミリの機能実現の為の制御プ
ログラムには、外部信号待ちや装置のエラー検出等の処
理負荷の低い一連のステップを有し、マルチファンクシ
ョン情報処理装置1の状態変化を常に検出するアイドリ
ング処理、電話回線5を介して受信したファクシミリデ
ータを受信する受信制御処理、その受信したファクシミ
リデータをレーザプリンタ3で記録する記録処理、イメ
ージスキャナ装置4を介して原稿の画像を読み取るイメ
ージ読み取り処理、その画像のデータを電話回線5を介
してファクシミリデータとして送信する送信制御処理な
どの複数のサブルーチンが設けられている。
The control program for realizing the function of the facsimile has a series of steps with a low processing load, such as waiting for an external signal and detecting an error in the apparatus, and constantly detects a state change of the multifunction information processing apparatus 1. Idling processing, reception control processing for receiving facsimile data received via the telephone line 5, recording processing for recording the received facsimile data with the laser printer 3, image reading processing for reading an image of a document via the image scanner device 4. A plurality of subroutines such as a transmission control process for transmitting the image data as facsimile data via the telephone line 5 are provided.

【0014】このマルチファンクション情報処理装置1
においては、前記CPU11は、図示外の内蔵タイマに
よるタイマ割り込みを受け付け可能になっている。そし
て、例えば、アイドリング処理の制御プログラムと印字
データ記録機能を実現する為の制御プログラムとを並行
処理したり、また記録処理とイメージ送信機能を実現す
る為の制御プログラムとを並行処理するなど、複数の機
能を並行処理する場合には、CPU11が例えば、約1
/60秒のタイマ割り込みを受け付ける毎に、これら複
数の機能に対応する複数の制御プログラムの処理をその
割当てられた約1/60秒毎に時分割方式で順次に切換
えて並行処理することにより、複数の機能を実現可能に
なっている。
This multifunction information processing apparatus 1
In, the CPU 11 can receive a timer interrupt by a built-in timer (not shown). For example, the control program for the idling process and the control program for realizing the print data recording function are processed in parallel, or the recording program and the control program for realizing the image transmission function are processed in parallel. When the functions are performed in parallel, the CPU 11
Each time a / 60 second timer interrupt is received, the processing of a plurality of control programs corresponding to the plurality of functions is sequentially switched in a time-sharing manner about every 1/60 second allocated to perform the parallel processing. Multiple functions can be realized.

【0015】前記EEPROM13には、ファクシミリ
機能を実現するときの各種の設定モードが変更可能に記
憶されるとともに、複数の送信先の電話番号などが記憶
されるようになっている。また、RAM14には、受信
したデータを記憶する受信データメモリ、その受信デー
タをレーザプリンタ3で記録可能に展開したドットイメ
ージデータを記憶する記録データメモリに加えて、ファ
クシミリ機能やコピー機能などの複数の機能を実現する
制御プログラムの実行に必要な各種のメモリやバッファ
が設けられている。更に、DRAM27には、イメージ
スキャナ装置4で読み込んだ2〜3ドットライン分のド
ットデータが一時的に記憶されるようになっている。
The EEPROM 13 stores various setting modes for realizing the facsimile function in a changeable manner, and also stores a plurality of telephone numbers of transmission destinations. The RAM 14 includes a reception data memory for storing received data, a recording data memory for storing dot image data obtained by developing the received data so that the laser printer 3 can record the received data, and a plurality of functions such as a facsimile function and a copy function. There are provided various memories and buffers necessary for executing a control program for realizing the above functions. Further, the DRAM 27 temporarily stores dot data for two to three dot lines read by the image scanner device 4.

【0016】次に、パーソナルコンピュータ6について
説明すると、図2に示すように、基本的に、制御装置3
0と、これに接続されたハードディスクドライブ装置
(HDD)40と、フロッピィーディスクドライブ装置
(FDD)41と、CRTディスプレイ(CRTD)4
2と、キーボード43と、座標入力装置(マウス)44
などで構成されている。制御装置30は、CPU31
と、このCPU31にデータバスを含むコモンバス36
に接続されたROM32、RAM33、入出力インター
フェース34及び通信用インターフェース(通信用I/
F)35とで構成されている。
Next, the personal computer 6 will be described. As shown in FIG.
0, a hard disk drive (HDD) 40 connected thereto, a floppy disk drive (FDD) 41, and a CRT display (CRTD) 4
2, a keyboard 43, and a coordinate input device (mouse) 44
It is composed of The control device 30 includes a CPU 31
And a common bus 36 including a data bus
ROM 32, RAM 33, input / output interface 34, and communication interface (communication I /
F) 35.

【0017】また、入出力インターフェース34には、
ハードディスクドライブ装置40を駆動制御するハード
ディスクドライブコントローラ(HDC)37と、フロ
ッピィーディスクドライブ装置41を駆動制御するフロ
ッピィーディスクドライブコントローラ(FDC)38
と、CRTディスプレイ42を駆動制御するCRTコン
トローラ(CRTC)39とが夫々接続されている。前
記通信用インターフェース35には、接続ケーブル7を
介してマルチファンクション情報処理装置1が接続され
ている。これにより、作成した印字データをマルチファ
ンクション情報処理装置1に送信して、情報処理装置1
のレーザプリンタ3で記録することができる一方、イメ
ージスキャナ装置4で読み込んだイメージデータを受信
すること等が可能になっている。
The input / output interface 34 includes:
A hard disk drive controller (HDC) 37 for driving and controlling the hard disk drive 40 and a floppy disk drive controller (FDC) 38 for driving and controlling the floppy disk drive 41
And a CRT controller (CRTC) 39 for driving and controlling the CRT display 42 are connected to each other. The multifunction information processing apparatus 1 is connected to the communication interface 35 via a connection cable 7. As a result, the created print data is transmitted to the multi-function
Can be recorded by the laser printer 3, while it is possible to receive image data read by the image scanner device 4.

【0018】次に、マルチファンクション情報処理装置
1のコントロールユニット20により、前述したように
複数の機能を実現する為に、複数の機能に対応する複数
の制御プログラムが時分割方式により並行処理される
が、ここでは、ファクシミリ制御のうちの処理負荷の低
いアイドリング処理制御と、印字データ記録制御とを時
分割により並行処理する場合について説明する。そこ
で、先ずアイドリング処理制御のサブルーチンについ
て、図3のフローチャートに基づいて説明する。尚、図
中符号Si(i=10、11、12・・)は各ステップ
である。
Next, in order to realize a plurality of functions as described above, a plurality of control programs corresponding to a plurality of functions are processed in parallel by a time division system by the control unit 20 of the multifunction information processing apparatus 1. However, here, a case will be described in which the idling processing control with a low processing load of the facsimile control and the print data recording control are processed in parallel by time division. Therefore, first, a subroutine of the idling process control will be described based on the flowchart of FIG. In the figure, reference numerals Si (i = 10, 11, 12,...) Indicate each step.

【0019】この情報処理装置1に電源が投入されると
このアイドリング処理制御が開始され、先ず情報処理装
置1全体のエラー検出処理が実行され(S10)、次にタ
イマ送信タイムアップ検出処理が実行され(S11)、次
に、ディスプレイ2aへの表示処理が実行され(S1
2)、次にキー入力検出処理が実行され(S13)、次に
着呼検出処理が実行され(S14)、次に強制切換え処理
(S15)のルーチンに移行し、CPU11のレジスタ部
に格納された並行処理フラグデータを読み込んで、印字
データ記録制御が実行されていないときには(S16:N
o)、上記各検出処理にもとづいてアイドル以外の所定
の処理に移行する場合を除き、これらS10〜S15を繰り
返して実行される。
When the power of the information processing apparatus 1 is turned on, the idling processing control is started, first, an error detection processing of the entire information processing apparatus 1 is executed (S10), and then a timer transmission time-up detection processing is executed. (S11), and display processing on the display 2a is executed (S1).
2) Next, a key input detection process is executed (S13), an incoming call detection process is executed (S14), and the process proceeds to a forced switching process (S15) routine, which is stored in the register unit of the CPU 11. When the parallel processing flag data is read and the print data recording control is not executed (S16: N
o) These steps S10 to S15 are repeatedly executed, except for the case where the processing shifts to a predetermined processing other than the idle processing based on the above detection processing.

【0020】ここで、S10の「装置エラー検出処理」に
おいては、記録用紙の有無、通信エラー、カバーオープ
ン状態などの各種のエラー検出が実行され、エラーが検
出されたときには、そのエラー内容に対応するメッセー
ジがディスプレイ2aに表示される。また、S11の「タ
イマ送信タイムアップ検出処理」においては、ファクシ
ミリ送信の送信時刻が設定されている場合に、現在の時
刻とその送信時刻とが一致するか否かが検出され、一致
するときには、イメージ読み取り処理や送信制御処理の
制御プログラムに対して起動するように指令される。
Here, in the "device error detection process" of S10, various types of error detection such as presence / absence of a recording sheet, a communication error, and a cover open state are performed, and when an error is detected, the error is dealt with. Message is displayed on the display 2a. Further, in the "timer transmission time-up detection process" of S11, when the transmission time of facsimile transmission is set, it is detected whether or not the current time matches the transmission time. A control program for image reading processing and transmission control processing is instructed to start.

【0021】また、S12の「ディスプレイの表示処理」
においては、現在時刻の表示切換え、エラー情報などの
各種の情報の表示処理が実行される。S13の「キー入力
検出処理」においては、数字キーや各種の機能キーが操
作されたか否かが検出され、操作された機能キーに対応
する制御プログラムが起動される。例えば、複数の数字
キーからなる送信先の電話番号に基づいて回線制御プロ
グラムが起動され、送信キーによりイメージ読み取り処
理や送信制御処理の制御プログラムが起動される。更
に、S14の「着呼検出処理」においては、外部のファク
シミリ装置からの着信の検出処理が実行される。
In step S12, "display processing of display"
In, display switching of the current time and display processing of various information such as error information are executed. In the "key input detection process" of S13, it is detected whether a numeric key or various function keys have been operated, and a control program corresponding to the operated function key is started. For example, a line control program is started based on a destination telephone number composed of a plurality of numeric keys, and a control program for image reading processing and transmission control processing is started by the transmission key. Further, in the "incoming call detection process" of S14, a process of detecting an incoming call from an external facsimile machine is executed.

【0022】ところで、この一連のアイドリング処理制
御を実行中、強制切換え処理(S15)のルーチンに移行
して、並行処理フラグデータを読み込んた結果、印字デ
ータ記録制御が実行されているときには(S16:Yes
)、処理制御をその印字データ記録制御に強制的に切
換える切換え処理が実行され(S17)、この制御を中断
する。ここで、この強制切換え処理について説明する
と、通常の割り込みによりサブルーチンコールする場合
と同様であり、実行していたアイドリング処理制御に関
するCPU11のPC(プログラム・カウンタ)のデー
タ、SR(ステータスレジスタ)のデータ等をRAM1
4の所定の領域にスタックする一方、切換えて実行する
印字データ記録制御に関するPCのデータやSRのデー
タ等をRAM14のスタック領域から読み出して、CP
U11のPCとSR等に夫々格納することで切換えられ
る。
By the way, during execution of this series of idling process control, the routine shifts to the routine of the forced switching process (S15), and as a result of reading the parallel process flag data, when the print data recording control is being executed (S16: Yes
), A switching process for forcibly switching the processing control to the print data recording control is executed (S17), and this control is interrupted. Here, the forced switching process will be described in the same way as a subroutine call by a normal interrupt. The data of the PC (program counter) of the CPU 11 and the data of the SR (status register) relating to the idling process control being executed are described. RAM1 etc.
4 is read out from the stack area of the RAM 14 while PC data and SR data relating to print data recording control to be switched and executed are read out from the stack area.
Switching is performed by storing the information in the PC of U11 and the SR, respectively.

【0023】次に、印字データ記録制御のルーチンにつ
いて、図4のフローチャートに基づいて説明する。この
制御が開始されると、先ずパーソナルコンピュータ6か
ら送信される印字データを受信してRAM14に格納す
る受信処理が実行される(S20)。次に、その印字デー
タをドットイメージデータに展開する展開処理が実行さ
れる(S21)。そして、そのドットイメージデータを順
次読み出しながらレーザプリンタ3で記録する記録処理
が実行され(S22)、この制御を終了する。
Next, the print data recording control routine will be described with reference to the flowchart of FIG. When this control is started, first, a reception process of receiving print data transmitted from the personal computer 6 and storing the print data in the RAM 14 is executed (S20). Next, a development process for developing the print data into dot image data is executed (S21). Then, a recording process of recording by the laser printer 3 while sequentially reading out the dot image data is executed (S22), and this control ends.

【0024】次に、ファクシミリ制御のうちのアイドリ
ング処理と、印字データ記録制御とを時分割で並行処理
することで複数の機能を実現する状態を、図5に基づい
て説明する。電源投入された時点T0からアイドリング
処理TA0 が実行されているときに、時点T1において、
タイマ送信タイムアップ検出処理により、イメージ読み
取り処理や送信制御処理の制御プログラムが起動されて
データ送信処理が開始されたときには、その時点T1か
らデータ送信処理TA1 が実行される。ところで、そのデ
ータ送信処理TA1 の実行中の時点T2において、パーソ
ナルコンピュータ6から記録データを受信したときに
は、その時点T2から、データ送信処理TAとデータ記録
処理TBとが時分割による並行処理が実行される。
Next, a state where a plurality of functions are realized by performing the idle processing of the facsimile control and the print data recording control in a time-division manner in parallel will be described with reference to FIG. When the idling process TA0 is executed from the time T0 when the power is turned on, at the time T1,
When the control program of the image reading process or the transmission control process is started by the timer transmission time-up detection process and the data transmission process is started, the data transmission process TA1 is executed from the time T1. By the way, when the recording data is received from the personal computer 6 at the time T2 during the execution of the data transmission process TA1, the data transmission process TA and the data recording process TB are executed in parallel by time division from the time T2. You.

【0025】即ち、時点T2以降において、1/60秒
毎の時分割切換えタイミングt1、t2、t3・・・毎
に、データ記録処理TB1 、TB2 、TB3 ・・と、データ送
信処理TA2 、TA3 、TA4 ・・とが交互に実行されて時分
割で並行処理される。ところで、時点T3において、デ
ータ送信処理TA4 が終了したことにより実行されるアイ
ドリング処理制御の一連のステップの末尾の強制切換え
処理により、次の時分割切換えタイミングt7 よりも早
期に強制的にデータ記録処理TB4 に切換えられ、このデ
ータ記録処理TB4 は次の時分割切換えタイミングt8 ま
で長期化して実行される。
That is, after the time T2, the data recording processes TB1, TB2, TB3,... And the data transmission processes TA2, TA3,... Are performed at time division switching timings t1, t2, t3. TA4 ··· are executed alternately and are processed in parallel in time division. By the way, at the time T3, the data recording processing is forcibly performed earlier than the next time division switching timing t7 by the forced switching processing at the end of a series of steps of the idling processing control executed when the data transmission processing TA4 is completed. The time is switched to TB4, and this data recording process TB4 is executed with a longer time until the next time division switching timing t8.

【0026】それ以降においても同様にして、アイドリ
ング処理TA5 〜TA8 は時分割切換えタイミングt9 、t1
1 、t13、t15 よりも夫々早期に強制的にデータ記録処
理TB5 〜TB8 に切換えられ、これらデータ記録処理TB5
〜TB8 の各々は長期化して処理される。即ち、そのデー
タ記録処理TB5 〜TB8 の処理時間としては、アイドリン
グ処理TA5 〜TA8 に対して早期に切換えられた残りの処
理時間を加算した分だけ長期化することになり、処理負
荷が高いデータ記録処理TBの処理時間を増加すること
で、並行処理の効率化を図ることができる。そして、時
点T7においてデータ記録処理TBが終了したので、時点
T7以降においては、アイドリング処理TA9 だけが実行
される。
Thereafter, the idling processes TA5 to TA8 are similarly performed at the time-division switching timings t9 and t1.
1, forcibly switching to the data recording processing TB5 to TB8 earlier than t13 and t15, respectively.
~ TB8 is processed for a long time. That is, the processing time of the data recording processing TB5 to TB8 is lengthened by the sum of the remaining processing time switched earlier to the idling processing TA5 to TA8. By increasing the processing time of the processing TB, the efficiency of the parallel processing can be improved. Then, since the data recording process TB is completed at the time T7, only the idling process TA9 is executed after the time T7.

【0027】以上説明したように、1つのCPU11を
備え、このCPU11にコモンバス16を介して接続さ
れたROM12に、ファクシミリ機能や印字データ記録
機能などの複数の機能に対応する複数組の制御プログラ
ムを組み込むとともに、ファクシミリ制御に含まれる処
理負荷の低いアイドリング処理制御の一連のステップ
に、時分割切換えタイミングよりも早期に強制的に並行
処理中の相手側の処理に切換える強制切換えステップを
組み込んだので、このアイドリング処理制御と印字デー
タ記録制御とを時分割方式にて並行処理する場合に、ア
イドリング処理制御に組み込まれている強制切換えステ
ップが実行されることにより、割り当てられた所定の微
少時間毎の時分割切換えタイミングよりも早期に強制的
に並行処理中の処理負荷の高い印字データ記録制御に切
換えられて、その印字データ記録制御プログラムの処理
時間としては、その早期に切換えられた残りの処理時間
を加算した分だけ長期化することになり、処理負荷が高
いデータ記録処理の処理時間を増加することで、並行処
理の効率化を図ることができ、また情報処理装置1を低
コスト化することができる。
As described above, a single CPU 11 is provided, and a plurality of sets of control programs corresponding to a plurality of functions such as a facsimile function and a print data recording function are stored in a ROM 12 connected to the CPU 11 via a common bus 16. Along with the incorporation, since a series of steps of idling processing control with a low processing load included in facsimile control incorporated a forced switching step of forcibly switching to parallel partner processing earlier than time division switching timing, When the idling process control and the print data recording control are performed in parallel in a time-division manner, the forced switching step incorporated in the idling process control is executed, so that the time is allocated at every predetermined minute time. Processing during parallel processing forcibly earlier than the timing of division switching Switching to high-load print data recording control, the processing time of the print data recording control program is lengthened by the sum of the remaining processing time switched earlier, and the processing load is high. By increasing the processing time of the data recording processing, the efficiency of the parallel processing can be improved, and the cost of the information processing apparatus 1 can be reduced.

【0028】ここで、前記実施形態の変更態様として、
並行処理する2つ又は3つの制御プログラムのうちの処
理負荷の低い任意の制御プログラムに強制切換えステッ
プを組み込むようにしてもよい。例えば、ファクシミリ
制御のうちの記録処理制御とイメージ送信機能の為の制
御プログラムとを並行処理するように場合には、処理負
荷の低い方のイメージ送信制御に強制切換えステップを
組み込んでもよい。更に、演算処理や情報の入出力処理
などの複数の機能を並行して処理する多機能並行処理方
式を採用した各種の電子装置に本発明を適用するように
してもよい。
Here, as a modification of the above embodiment,
The forced switching step may be incorporated in an arbitrary control program having a low processing load among the two or three control programs to be processed in parallel. For example, when the recording processing control of the facsimile control and the control program for the image transmission function are processed in parallel, a forced switching step may be incorporated in the image transmission control with the lower processing load. Further, the present invention may be applied to various electronic devices adopting a multi-function parallel processing system for performing a plurality of functions such as arithmetic processing and information input / output processing in parallel.

【0029】[0029]

【発明の効果】 請求項1の多機能並行処理型電子装置
によれば、1つのCPUを備え、このCPUに接続され
たメモリに複数の機能に対応する複数組の制御プログラ
であって少なくともプリンタの機能実現の為の制御プ
ログラムと、ファクシミリの機能実現の為の制御プログ
ラムとを含む複数組の制御プログラムを組み込み、時分
割方式にて2組以上の制御プログラムを並行処理するこ
とにより、複数の機能を実現可能な電子装置において、
少なくとも1組の制御プログラムに含まれる複数のステ
ップのうちの、処理負荷の低い一連のステップに、所定
の微小時間毎の時分割切換えタイミングよりも早期に強
制的に並行処理中の相手側の処理に切換えると共に前記
処理負荷の低い一連のステップに割り当てられた前記所
定の微小時間の残りの処理時間を並行処理中の相手側の
処理時間に加える強制切換えステップを組み込んだの
で、並行処理されている何れかの制御プログラムの処理
負荷が低い場合に、その処理負荷の低い一連のステップ
に組み込まれている強制切換えステップが実行されるこ
とにより、割り当てられた所定の微少時間毎の時分割切
換えタイミングよりも早期に強制的に並行処理中の処理
負荷の高い相手側の処理に切換えられて、その相手側の
制御プログラムの処理時間としては、前記所定微小時間
のうちのその早期に切換えられた残りの処理時間を加算
した分だけ長期化することになり、並行処理の効率化を
図ることができる
According to the multi-function parallel processing electronic device of the first aspect, a plurality of sets of control programs corresponding to a plurality of functions are provided in a memory connected to the CPU, wherein at least the printer Control program for realizing the function of
Program and control program to realize facsimile functions
In an electronic device capable of realizing a plurality of functions by embedding a plurality of sets of control programs including a ram and performing parallel processing of two or more sets of control programs in a time-sharing manner,
Of the plurality of steps involved in at least one set of control programs, a series of steps with low processing load, during forced parallel processing earlier than division switching timing when the predetermined minute time of the mating Switch to processing and
The locations assigned to a series of steps with low processing load
The remaining processing time of a fixed minute time is
Since the forced switching step added to the processing time is incorporated, when the processing load of any of the control programs being processed in parallel is low, the forced switching step incorporated in a series of steps having a low processing load is executed. As a result, the processing is forcibly switched to the processing of the partner having a high processing load during the parallel processing earlier than the assigned time-division switching timing of each predetermined minute time, and the processing time of the control program of the partner is Is the predetermined minute time
, The length of time is increased by the sum of the remaining processing time switched earlier, and the efficiency of parallel processing can be increased .

【0030】記複数組の制御プログラムは、少なくと
もプリンタの機能実現の為の制御プログラムと、ファク
シミリの機能実現の為の制御プログラムとを含むものな
ので、ファクシミリの機能実現の為の制御プログラムに
強制切換えステップを組み込んだ場合、これらプリンタ
の機能実現の為の制御プログラムとファクシミリの機能
実現の為の制御プログラムとが並行処理されているとき
に、ファクシミリ用の制御プログラムで処理負荷の低い
一連のステップが実行されたときには、強制的に処理負
荷の高いプリンタ用の制御プログラムによる処理に切換
えられ、そのプリンタ用の制御プログラムの処理時間を
延長させることができる。
[0030] before Symbol plurality of sets of control program includes a control program for at least a printer function realized, because they are including a control program for facsimile of the function implementation, forced to the control program for the facsimile of function realization When the switching step is incorporated, when a control program for realizing the function of the printer and a control program for realizing the function of the facsimile are being processed in parallel, a series of steps with a low processing load in the control program for the facsimile is performed. Is executed, the process is forcibly switched to the process by the control program for the printer having a high processing load, and the processing time of the control program for the printer can be extended.

【0031】請求項の多機能並行処理型電子装置によ
れば、請求項1と同様の効果を奏するが、前記ファクシ
ミリの機能実現の為の制御プログラムは、処理負荷の低
い一連のステップとして、少なくとも、装置エラー検
出、タイマ送信タイムアップ検出のステップを含むもの
なので、ファクシミリの機能実現の為の処理負荷の低い
一連のステップにおいて、装置エラー検出、タイマ送信
タイムアップ検出、表示器駆動、キー入力検出、着呼検
出等を実行することができる。
According to the multi-function parallel processing electronic device of the second aspect , the same effects as those of the first aspect can be obtained, but the control program for realizing the function of the facsimile is a series of steps with a low processing load. at least, apparatus error detection, since those containing the steps of timer transmission time up discovery, in a series of steps with low processing load for facsimile function implementation, device error detection, timer transmission time-up detection, the display device drive, key Input detection, incoming call detection, and the like can be performed.

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

【図1】本発明の実施形態に係るマルチファンクション
情報処理装置の制御系のブロック図である。
FIG. 1 is a block diagram of a control system of a multifunction information processing apparatus according to an embodiment of the present invention.

【図2】パーソナルコンピュータの制御系のブロック図
である。
FIG. 2 is a block diagram of a control system of the personal computer.

【図3】ファクシミリ制御のうちのアイドリング処理制
御のルーチンの概略フローチャートである。
FIG. 3 is a schematic flowchart of a routine of idling process control in facsimile control.

【図4】印字データ記録制御のルーチンの概略フローチ
ャートである。
FIG. 4 is a schematic flowchart of a print data recording control routine.

【図5】ファクシミリ制御と印字データ記録制御とを時
分割方式で処理するときのタイムチャートである。
FIG. 5 is a time chart when facsimile control and print data recording control are processed in a time-division manner.

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

1 マルチファンクション情報処理装置 10 コンピュータ 12 ROM 14 RAM 20 コントロールユニット DESCRIPTION OF SYMBOLS 1 Multifunction information processing apparatus 10 Computer 12 ROM 14 RAM 20 Control unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つのCPUを備え、このCPUに接続
されたメモリに複数の機能に対応する複数組の制御プロ
グラムであって少なくともプリンタの機能実現の為の制
御プログラムとファクシミリの機能実現の為の制御プロ
グラムとを含む複数組の制御プログラムを組み込み、時
分割方式にて2組以上の制御プログラムを並行処理する
ことにより、複数の機能を実現可能な電子装置におい
て、 少なくとも1組の制御プログラムに含まれる複数のステ
ップのうちの、処理負荷の低い一連のステップに、所定
の微小時間毎の時分割切換えタイミングよりも早期に強
制的に並行処理中の相手側の処理に切換えると共に前記
処理負荷の低い一連のステップに割り当てられた前記所
定の微小時間の残りの処理時間を並行処理中の相手側の
処理時間に加える強制切換えステップを組み込んだこと
を特徴とする多機能並行処理型電子装置。
[Claim 1] with one CPU, control for implementing a function of at least the printer a plurality of sets of control programs corresponding to a plurality of functions in a memory that is connected to the CPU
Control program for realizing the functions of your program and facsimile
And at least one set of control programs in an electronic device capable of realizing a plurality of functions by embedding a plurality of sets of control programs including a program and a parallel processing of two or more sets of control programs in a time-sharing manner. of the plurality of steps, a series of steps with low processing load, a predetermined
Early forced mating in parallel processing process switching Rutotomoni than said division switching timing when the minute time intervals
The locations assigned to a series of steps with low processing load
The remaining processing time of a fixed minute time is
A multi-function parallel processing type electronic device characterized by incorporating a forced switching step added to a processing time .
【請求項2】 前記ファクシミリの機能実現の為の制御
プログラムは、処理負荷の低い一連のステップとして、
少なくとも、装置エラー検出、タイマ送信タイムアップ
出のステップを含むことを特徴とする請求項に記載
の多機能並行処理型電子装置。
2. A control program for realizing the function of the facsimile includes a series of steps having a low processing load.
At least, apparatus error detection, multi-function concurrent processing electronic device according to claim 1, characterized in that it comprises the steps of timer transmission time up <br/> discovery.
JP25552396A 1996-09-04 1996-09-04 Multi-function parallel processing electronic device Expired - Fee Related JP3148804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25552396A JP3148804B2 (en) 1996-09-04 1996-09-04 Multi-function parallel processing electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25552396A JP3148804B2 (en) 1996-09-04 1996-09-04 Multi-function parallel processing electronic device

Publications (2)

Publication Number Publication Date
JPH1078878A JPH1078878A (en) 1998-03-24
JP3148804B2 true JP3148804B2 (en) 2001-03-26

Family

ID=17279933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25552396A Expired - Fee Related JP3148804B2 (en) 1996-09-04 1996-09-04 Multi-function parallel processing electronic device

Country Status (1)

Country Link
JP (1) JP3148804B2 (en)

Also Published As

Publication number Publication date
JPH1078878A (en) 1998-03-24

Similar Documents

Publication Publication Date Title
JPH082068A (en) Printer with facsimile
JP3769839B2 (en) Multifunctional parallel processing electronic device
JP3707509B2 (en) Multifunctional parallel processing electronic device
JP3148804B2 (en) Multi-function parallel processing electronic device
JPH1065884A (en) Multi-function peripheral equipment and storage medium
JP3276844B2 (en) Multi-function peripheral
JPH1065858A (en) Multifunctional peripheral device and storage medium
JP3292447B2 (en) Multi-function parallel processing type information processing device
JP3347580B2 (en) Information processing device and storage medium
JPH10105417A (en) Multi-function parallel processing electronic equipment
JPH1065847A (en) Multifunctional peripheral device and storage medium
JPH1097433A (en) Multifunctional parallel processing type electronic device
JPH09305527A (en) Dma controller
JPH10312250A (en) Image forming device
JP3111448B2 (en) Composite device
JPH09307718A (en) Image processor and storage medium
JP3494198B2 (en) Composite device
JP3221753B2 (en) Image reading device
JP3675653B2 (en) Control method of composite device
JP3050119B2 (en) Communication device
JP3168921B2 (en) Information processing device
JPH1091461A (en) Multifunction parallel processing electronic device
JP2001113789A (en) Image-forming apparatus
JPH1169032A (en) Facsimile equipment
JPH1079822A (en) Multifunctional information processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080112

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20140112

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees