JPH10105417A - Multi-function parallel processing electronic equipment - Google Patents

Multi-function parallel processing electronic equipment

Info

Publication number
JPH10105417A
JPH10105417A JP27724496A JP27724496A JPH10105417A JP H10105417 A JPH10105417 A JP H10105417A JP 27724496 A JP27724496 A JP 27724496A JP 27724496 A JP27724496 A JP 27724496A JP H10105417 A JPH10105417 A JP H10105417A
Authority
JP
Japan
Prior art keywords
processing
time
control program
function
division
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
JP27724496A
Other languages
Japanese (ja)
Inventor
Motonobu Ando
元伸 安藤
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 JP27724496A priority Critical patent/JPH10105417A/en
Publication of JPH10105417A publication Critical patent/JPH10105417A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To preferentially process a control program corresponding to a specified function at high speed as against the other control program which is processed in parallel in a multi-function parallel processing electronic device which processes plural groups of control programs in parallel by time division. SOLUTION: In a normal processing mode, an image reading transmission processing (a processing where data read by a scanner is transmitted by a facsimile) and a print processing (a processing where data transmitted from a personal computer is printed-out) are executed in parallel at every time division change-over timing at every 1/60 second. In a state where a print function priority mode is set, a, time division change-over processing is executed so as to permit the processing time of the print processing TB1, TB2, TB3,... to be double as against the image reading transmission processings TA1, TA2, TA3,....

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 which switches a plurality of sets of control programs for each time-division cycle and performs parallel processing. The present invention relates to a method in which each time-division processing time is lengthened so that processing is quickly and preferentially performed with respect to processing of another control program that performs parallel processing.

【0002】[0002]

【従来の技術】従来、コンピュータを内蔵した各種の情
報処理装置などの電子装置においては、複数の機能の処
理の高速化を図る為に、演算処理制御や情報の入出力処
理制御などの複数の制御プログラムを並行して処理する
ことで、複数の機能を同時に実現する多機能並行処理方
式が採用されている。この多機能並行処理方式として
は、複数の中央演算装置(CPU)を相互に連結接続
し、OS(オペレーティング・システム)による並行処
理管理システムにより、複数組の制御プログラムが複数
の中央演算装置により夫々別個の処理として実行される
ようにしたマルチ処理方式(多重処理方式)が実用化さ
れている。また、1つの中央演算装置により、複数組の
制御プログラムを時分割された所定の時分割周期毎に切
換えながら所定の順番に処理するようにしたタイムシェ
アリング処理方式(時分割処理方式)も実用化されてい
る。
2. Description of the Related Art Conventionally, in electronic devices such as various types of information processing devices having a built-in computer, a plurality of functions such as arithmetic processing control and information input / output processing control are performed in order to speed up processing of a plurality of functions. A multi-function parallel processing method for simultaneously realizing a plurality of functions by processing control programs in parallel is employed. In this multifunctional parallel processing system, a plurality of central processing units (CPUs) are interconnected and connected, and a plurality of sets of control programs are respectively controlled by a plurality of central processing units by a parallel processing management system based on an OS (operating system). A multi-processing system (multi-processing system) that is executed as a separate process has been put to practical use. Also, a time-sharing processing method (time-division processing method) in which a plurality of sets of control programs are processed in a predetermined order while being switched by a single central processing unit at predetermined time-division periods that are time-divided is also practical. Has been

【0003】[0003]

【発明が解決しようとする課題】前述したように、複数
の中央演算装置を用いてマルチ処理方式で複数の機能を
並行して実現する場合には、複数の中央演算装置を必要
とするとともに、制御装置の制御基板が大型化すること
から、電子装置がコスト高になるという問題がある。
As described above, when a plurality of functions are realized in parallel by a multi-processing system using a plurality of central processing units, a plurality of central processing units are required, and Since the size of the control board of the control device increases, there is a problem that the cost of the electronic device increases.

【0004】そこで、多機能並行処理型電子装置とし
て、例えば、原稿のイメージ情報を読み取るイメージス
キャナ装置と、イメージ情報を記録するプリンタとを備
え、これらイメージスキャナ装置又はプリンタを作動さ
せてイメージ情報を電話回線を介して送受信するファク
シミリ機能と、接続ケーブルで接続した外部のパーソナ
ルコンピュータに対してイメージ情報を出力するスキャ
ナ機能と、パーソナルコンピュータから入力したプリン
ト情報をプリンタで記録するプリント機能とを同時に実
現するマルチファンクション情報処理装置において、低
コスト化の為に1つのCPUを有するコンピュータを設
け、時分割周期として、例えば約1/60秒(約16ms
ec)のように微少周期に設定するようにして、このコン
ピュータにより、これらファクシミリ機能などの複数の
機能に対応する複数組の制御プログラムを、その時分割
周期毎に切換えながら時分割にて並行処理することが考
えられる。
Therefore, as a multi-function parallel processing type electronic apparatus, for example, an image scanner for reading image information of a document and a printer for recording the image information are provided, and these image scanners or printers are operated to transfer the image information. Simultaneously realizes a facsimile function to send and receive via telephone line, a scanner function to output image information to an external personal computer connected with a connection cable, and a print function to record print information input from a personal computer with a printer In a multi-function information processing apparatus, a computer having one CPU is provided for cost reduction, and a time division cycle is, for example, about 1/60 second (about 16 ms).
ec), a plurality of sets of control programs corresponding to a plurality of functions such as the facsimile function are processed in parallel by time division while being switched at each time division cycle. It is possible.

【0005】この場合、例えば、プリント機能を実現す
るプリント制御プログラムを処理中に、ファクシミリ機
能のうちの、例えば、イメージスキャナ装置で読み取っ
た原稿のイメージ情報を電話回線を介して送信するイメ
ージ読み取り送信制御プログラムが起動されて、これら
プリント制御プログラムとイメージ読み取り送信制御プ
ログラムとが時分割により並行処理されるような場合
に、プリント制御プログラムとイメージ読み取り送信制
御プログラムとの何れか一方を優先的に処理させたい場
合があるが、これら制御プログラムの各時分割処理時間
は、所定の同様の時分割周期に設定されていることか
ら、処理速度を速めることができないという問題があ
る。
In this case, for example, while a print control program for realizing a print function is being processed, an image reading transmission of the facsimile function, for example, transmitting image information of a document read by an image scanner through a telephone line. When the control program is activated and the print control program and the image reading and transmitting control program are processed in parallel by time division, one of the print control program and the image reading and transmitting control program is preferentially processed. However, there is a problem that the processing speed cannot be increased because the time division processing time of each of these control programs is set to a predetermined similar time division cycle.

【0006】本発明の目的は、優先するように特定した
機能に対応する制御プログラムを、並行処理する他方の
制御プログラムに対して優先的に高速処理し得るような
多機能並行処理型電子装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a multi-function parallel processing type electronic device capable of processing a control program corresponding to a function specified to be prioritized at high speed preferentially with respect to another control program which performs parallel processing. To provide.

【0007】[0007]

【課題を解決するための手段】請求項1の多機能並行処
理型電子装置は、少なくとも1つのCPU、ROM及び
RAMからなるコンピュータを備え、このROMに複数
の機能に対応する複数組の制御プログラムを組み込み、
時分割方式にて2組以上の制御プログラムを所定の時分
割周期毎に切換えながら並行処理することにより、複数
の機能を実現可能な電子装置において、複数の機能のう
ちの特定機能に対応する特定制御プログラムを優先的に
処理する特定機能優先モードを設定する為のモード設定
手段と、モード設定手段で設定された特定機能優先モー
ドにおいて、特定制御プログラムを処理する各時分割処
理時間が、特定制御プログラムと並行処理される他の制
御プログラムを処理する各時分割処理時間よりも長くな
るように、時分割切換えを行なう切換え手段とを設けた
ものである。
According to a first aspect of the present invention, there is provided a multi-function parallel processing electronic apparatus comprising a computer comprising at least one CPU, a ROM, and a RAM, wherein the ROM has a plurality of sets of control programs corresponding to a plurality of functions. Embed,
In an electronic device capable of realizing a plurality of functions, two or more sets of control programs are switched in a time-division manner while being switched in a predetermined time-division cycle. A mode setting means for setting a specific function priority mode for processing the control program preferentially; and, in the specific function priority mode set by the mode setting means, each time-division processing time for processing the specific control program corresponds to the specific control. Switching means for performing time-division switching is provided so as to be longer than each time-division processing time for processing another control program which is processed in parallel with the program.

【0008】モード設定手段により、複数の機能のうち
の特定機能に対応する特定制御プログラムを優先的に処
理する特定機能優先モードが設定されるので、切換え手
段は、その特定機能優先モードにおいては、特定制御プ
ログラムを処理する各時分割処理時間を、特定制御プロ
グラムと並行処理される他の制御プログラムを処理する
各時分割処理時間よりも長くなるように、時分割切換え
を行なうので、特定制御プログラムに関して、他方の制
御プログラムに対する処理量を増大することで、優先的
に高速処理することができる。
The mode setting means sets a specific function priority mode in which a specific control program corresponding to a specific function among a plurality of functions is preferentially processed. Time-division switching is performed so that each time-division processing time for processing a specific control program is longer than each time-division processing time for processing other control programs that are processed in parallel with the specific control program. With regard to the above, high-speed processing can be preferentially performed by increasing the processing amount for the other control program.

【0009】請求項2の多機能並行処理型電子装置は、
請求項1の発明において、前記切換え手段は、特定機能
優先モードにおいて、特定制御プログラムを処理する各
時分割処理時間が時分割周期よりも長い設定時間とな
り、特定制御プログラムと並行処理される他の制御プロ
グラムを処理する各時分割処理時間が時分割周期となる
ように、時分割切換えを行なうものである。
[0009] The multi-function parallel processing type electronic device according to claim 2 comprises:
In the invention according to claim 1, in the specific function priority mode, the switching means sets each time-division processing time for processing the specific control program longer than a time-division cycle, and performs another processing in parallel with the specific control program. Time-division switching is performed so that each time-division processing time for processing the control program becomes a time-division cycle.

【0010】この場合には、切換え手段は、特定制御プ
ログラムを処理する各時分割処理時間として、時分割周
期よりも長い設定時間となるように時分割切換えを行な
う一方、並行処理される他の制御プログラムを処理する
各時分割処理時間として、時分割周期となるように時分
割切換えを行なうので、特定制御プログラムに関して、
他方の制御プログラムに対する処理量を増大すること
で、優先的に高速処理することができるとともに、他方
の制御プログラムに関して、時分割周期に対応する通常
の時分割処理時間ずつ処理することができる。その他、
請求項1と同様の作用を奏する。
In this case, the switching means performs the time-division switching so that each time-division processing time for processing the specific control program is set to a set time longer than the time-division cycle, while the other processing being performed in parallel is performed. As each time-division processing time for processing the control program, time-division switching is performed so as to become a time-division cycle.
By increasing the processing amount for the other control program, high-speed processing can be preferentially performed, and the other control program can be processed by the normal time-division processing time corresponding to the time-division cycle. Others
The same operation as the first aspect is achieved.

【0011】請求項3の多機能並行処理型電子装置は、
請求項2の発明において、前記切換え手段における設定
時間が時分割周期の2倍に設定されたものである。この
場合には、特定制御プログラムは、時分割周期の2倍の
設定時間を各時分割処理時間として処理されるので、特
定制御プログラムに関して、処理量を倍増させて優先的
に高速処理することができる。その他、請求項2と同様
の作用を奏する。
The multi-function parallel processing type electronic device according to claim 3 is
In the invention according to claim 2, the setting time of the switching means is set to twice the time division cycle. In this case, since the specific control program is processed with the time set twice as long as the time division cycle as each time division processing time, it is possible to double the processing amount and perform high-speed processing preferentially with respect to the specific control program. it can. In addition, the same operation as the second aspect is achieved.

【0012】請求項4の多機能並行処理型電子装置は、
請求項1〜請求項3の何れか1項の発明において、前記
複数組の制御プログラムは、少なくともプリンタ機能を
実現する制御プログラムと、ファクシミリ機能を実現す
る制御プログラムとを含み、前記特定制御プログラムが
プリンタ機能を実現する制御プログラムである。この場
合には、プリンタ機能を実現する制御プログラムの各時
分割処理時間を、他方の例えば、ファクシミリ機能を実
現する制御プログラムに対して優先的に高速処理するこ
とができる。
The multi-function parallel processing type electronic device according to claim 4 is
The invention according to any one of claims 1 to 3, wherein the plurality of sets of control programs include at least a control program for realizing a printer function and a control program for realizing a facsimile function. This is a control program for realizing a printer function. In this case, each time-division processing time of the control program for realizing the printer function can be processed at high speed with priority over the other control program for realizing the facsimile function, for example.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。本実施形態は、レーザプリ
ンタやイメージスキャナ装置を有し、受信したファクシ
ミリデータを記録したり、原稿のイメージ情報を送信す
るなどの通常のファクシミリの機能に加えて、接続ケー
ブルを介して接続されたパーソナルコンピュータに対す
るデータの通信機能を実現可能な多機能並行処理型電子
装置(以下、マルチファンクション情報処理装置とい
う)に本発明を適用した場合のものである。マルチファ
ンクション情報処理装置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 information 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

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

【0015】また、モデム23には、電話回線5及び受
話器8に接続されたNCU(ネットワーク・コントロー
ル・ユニット)24が接続されている。更に、入出力用
ASIC22には、ディスプレイ2a及びキーボード2
bを有する操作パネル2と、レーザプリンタ3とが接続
されるとともに、DRAM(ダイナミックRAM)27
を介してイメージスキャナ装置4が接続されている。こ
のDRAM27には、イメージスキャナ装置4で読み込
まれた2〜3ドットライン分のドットデータがイメージ
情報として一時的に記憶されるとともに、そのイメージ
情報は入出力用ASIC22により読み出される。
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 the laser printer 3 are connected and a DRAM (Dynamic RAM) 27
The image scanner device 4 is connected via the. In the DRAM 27, dot data for two to three dot lines read by the image scanner device 4 are temporarily stored as image information, and the image information is read by the input / output ASIC 22.

【0016】前記ROM12には、レーザプリンタ3又
はイメージスキャナ装置4を作動させてイメージ情報を
電話回線5を介して外部のファクシミリ装置(図示略)
に対してファクシミリデータの送受信を制御するファク
シミリ機能を実現する制御プログラム、イメージスキャ
ナ装置4で読み込んだ原稿のイメージ情報を記録するコ
ピー機能を実現する制御プログラム、パーソナルコンピ
ュータ6から受信したプリントデータを記録するプリン
ト機能を実現する制御プログラム、イメージスキャナ装
置4で読み込んだ原稿のイメージ情報をパーソナルコン
ピュータ6に送信するスキャナ機能を実現する制御プロ
グラム等を含み、複数組の制御プログラムが格納されて
いる。
An external facsimile machine (not shown) stores image information via the telephone line 5 by operating the laser printer 3 or the image scanner 4 in the ROM 12.
A control program for realizing a facsimile function for controlling transmission and reception of facsimile data, a control program for realizing a copy function for recording image information of a document read by the image scanner device 4, and recording print data received from the personal computer 6. A plurality of sets of control programs are stored, including a control program for realizing a print function, a control program for realizing a scanner function for transmitting image information of a document read by the image scanner device 4 to the personal computer 6, and the like.

【0017】前記ファクシミリ機能を実現するファクシ
ミリ制御プログラムとしては、マルチファンクション情
報処理装置1の状態変化を常に検出するアイドリング制
御プログラム、電話回線5を介して受信したファクシミ
リデータをレーザプリンタ3で記録するイメージ受信記
録制御プログラム、原稿のイメージ情報をイメージスキ
ャナ装置4で読み取って電話回線5を介してファクシミ
リデータとして送信するイメージ読取り送信制御プログ
ラム、予めイメージスキャナ装置4で読み取ってRAM
14に格納されているイメージ情報を読み出して送信す
るメモリ送信制御プログラムなど複数設けられている。
The facsimile control program for realizing the facsimile function includes an idling control program for constantly detecting a state change of the multifunction information processing apparatus 1 and an image for recording facsimile data received via the telephone line 5 by the laser printer 3. A reception recording control program, an image reading transmission control program for reading image information of a document by the image scanner device 4 and transmitting it as facsimile data via the telephone line 5;
A plurality of memory transmission control programs for reading and transmitting image information stored in the memory 14 are provided.

【0018】このマルチファンクション情報処理装置1
においては、前記CPU11は、それに接続されている
クロックからのクロック信号をハード的にカウントする
内蔵タイマによるタイマ割り込みを受け付け可能になっ
ている。そして、例えば、ファクシミリ機能のうちのメ
モリ送信制御プログラムとスキャナ機能の制御プログラ
ムとを並行処理したり、ファクシミリ機能のうちのイメ
ージ読取り送信制御プログラムとプリント機能の制御プ
ログラムとを並行処理するなど、複数組の制御プログラ
ムを並行処理する場合には、CPU11が例えば、約1
/60秒(約16msec)の時分割周期K(図5参照)毎
に、その内蔵タイマからのタイマ割り込みを受け付けた
時分割切換えタイミング毎に、これら複数組の制御プロ
グラムをその時分割周期K毎に時分割方式で順次切換え
ながら並行処理することにより、複数の機能を同時に実
現できるようになっている。
This multifunction information processing apparatus 1
In the above, the CPU 11 is capable of accepting a timer interrupt by a built-in timer that counts a clock signal from a clock connected thereto in a hardware manner. Then, for example, the memory transmission control program of the facsimile function and the control program of the scanner function are processed in parallel, or the image reading and transmission control program of the facsimile function and the control program of the print function are processed in parallel. When processing a set of control programs in parallel, the CPU 11
/ 60 seconds (approximately 16 msec), at each time-division switching timing at which a timer interrupt from the built-in timer is accepted, at each time-division switching timing (see FIG. 5). A plurality of functions can be realized at the same time by performing parallel processing while sequentially switching in a time-division manner.

【0019】前記EEPROM13には、ファクシミリ
機能を実現するときの各種の設定モード、プリンタ機能
を実現するときの印字位置や印字濃度に関する各種の設
定データが変更可能に記憶されるとともに、複数の送信
先の電話番号などが記憶されている。また、RAM14
には、受信したデータを記憶する受信データメモリ、そ
の受信データをレーザプリンタ3で記録可能に展開した
ドットイメージデータを記憶する記録データメモリに加
えて、ファクシミリ機能やコピー機能などの複数の機能
を実現する制御プログラムの実行に必要な各種のメモリ
やバッファが設けられている。
The EEPROM 13 stores various setting modes for realizing the facsimile function, various setting data relating to the printing position and the printing density when realizing the printer function, and a plurality of destination data. Is stored. RAM 14
Has a plurality of functions such as a facsimile function and a copy function in addition to 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 data. Various memories and buffers necessary for executing the control program to be realized are provided.

【0020】次に、パーソナルコンピュータ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.

【0021】また、入出力インターフェース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 can be transmitted to the multifunction information processing apparatus 1 and recorded by the laser printer 3 of the information processing apparatus 1, while
It is possible to receive image information read by the image scanner device 4, and the like.

【0022】次に、プリント機能を特定して、そのプリ
ント機能に対応する制御プログラム(特定制御プログラ
ムに相当する)を優先的に処理するプリント機能優先モ
ードを設定する設定制御のルーチンについて、図3のフ
ローチャートに基づいて説明する。尚、図中符号Si
(i=10、11・・・)は各ステップである。前記キ
ーボード2bに設けられたプリント機能優先キーの操作
により、この制御が開始されると、先ずRAM14のフ
ラグデータメモリに格納されているプリント機能優先フ
ラグPMF のフラグデータが読み込まれ、そのプリント機
能優先フラグPMF がリセット(フラグデータ=「0」)
されているときには、そのプリント機能優先フラグPMF
がセットされて、プリント機能優先モードが設定され
(S11)、メッセージ「プリント機能優先モード」がデ
ィスプレイ2aに表示され(S12)、この制御を終了し
てメインルーチンにリターンする。
FIG. 3 shows a setting control routine for specifying a print function and setting a print function priority mode for preferentially processing a control program (corresponding to a specific control program) corresponding to the print function. A description will be given based on the flowchart of FIG. In the figure, reference symbol Si
(I = 10, 11...) Are each step. When this control is started by operating a print function priority key provided on the keyboard 2b, first, the flag data of the print function priority flag PMF stored in the flag data memory of the RAM 14 is read, and the print function priority flag PMF is read. Flag PMF is reset (flag data = "0")
Is set, the print function priority flag PMF
Is set, a print function priority mode is set (S11), a message "print function priority mode" is displayed on the display 2a (S12), and this control is terminated to return to the main routine.

【0023】一方、フラグデータが「1」でプリント機
能優先フラグPMF がセット状態であり、プリント機能優
先モードが設定されているときには(S10:No)、プリ
ント機能優先フラグPMF がリセットされてプリント機能
優先モードが解除され(S13)、メッセージ「通常処理
モード」がディスプレイ2aに表示され(S14)、この
制御を終了する。即ち、プリント機能優先キーを操作す
る毎に、「通常処理モード」と「プリント機能優先モー
ド」とが交互に切換えられる。次に、並行処理される2
組の制御プログラムを、所定の時分割周期K(約1/6
0秒)毎に相手側に切換える時分割切換え制御(切換え
手段に相当する)のルーチンについて、図4のフローチ
ャートに基づいて説明する。
On the other hand, when the flag data is "1", the print function priority flag PMF is set, and the print function priority mode is set (S10: No), the print function priority flag PMF is reset and the print function The priority mode is released (S13), a message "normal processing mode" is displayed on the display 2a (S14), and this control is terminated. That is, every time the print function priority key is operated, the "normal processing mode" and the "print function priority mode" are alternately switched. Next, 2
A set of control programs is set to a predetermined time-division period K (about 1/6
A routine of time-division switching control (corresponding to switching means) for switching to the other party every 0 seconds) will be described with reference to the flowchart of FIG.

【0024】この制御が開始されると、先ずプリント機
能優先フラグPMF のフラグデータが読み出され、フラグ
データが「0」でリセットされているとき、つまりプリ
ント機能優先モードでないときには(S20:No)、処理
制御を相手側に切換える為の時分割切換え処理が実行さ
れ(S22)、この制御を終了してリターンする。ところ
で、プリント機能優先フラグPMF がセットされており、
プリント機能優先モードにおいて(S20:Yes )、特定
制御プログラムを、時分割周期Kの2倍分継続させて優
先的に処理するときには(S21:Yes )、所定の切換え
タイミングにおける時分割切換えを実行しないで、この
制御を終了してリターンする。
When this control is started, first, the flag data of the print function priority flag PMF is read, and when the flag data is reset to "0", that is, when the mode is not the print function priority mode (S20: No). Then, a time-division switching process for switching the processing control to the other party is executed (S22), and this control is terminated and the routine returns. By the way, the print function priority flag PMF is set,
In the print function priority mode (S20: Yes), when the specific control program is to be processed preferentially by continuing twice the time division cycle K (S21: Yes), the time division switching at the predetermined switching timing is not executed. Then, the control is terminated and the routine returns.

【0025】ここで、時分割切換えタイミングにおける
時分割切換え処理について説明すると、通常の割り込み
によりサブルーチンコールする場合と同様であり、実行
していた一方の処理制御に関するCPU11のPC(プ
ログラム・カウンタ)のデータ、SR(ステータス・レ
ジスタ)のデータ等をRAM14の所定の領域にスタッ
クする一方、切換えられて実行する他方の処理制御に関
するPCのデータやSRのデータ等をRAM14のスタ
ック領域から読み出して、CPU11のPCとSR等に
夫々格納することで切換えられる。
Here, the time division switching processing at the time division switching timing will be described. This is the same as the case where a subroutine call is made by a normal interrupt, and the PC (program counter) of the CPU 11 related to one of the processing controls being executed. While data, SR (status register) data and the like are stacked in a predetermined area of the RAM 14, PC data and SR data and the like related to the other processing control to be switched and executed are read from the stack area of the RAM 14 and By storing them in the PC and the SR respectively.

【0026】例えば、ファクシミリ機能のうちのイメー
ジ読み取り送信制御プログラムと、パーソナルコンピュ
ータ6から受信したプリントデータを記録するプリント
制御プログラムとが時分割で並行処理されるときの作動
について、図5に基づいて説明する。但し、プリント機
能優先モードが設定されていないものとする。時点T1
において、先ずイメージ読み取り送信制御プログラムが
起動され、その時点T1からイメージ読み取り送信処理
TA1 が実行される。一方、そのイメージ読み取り送信処
理TA1 の実行途中の時点T2において、パーソナルコン
ピュータ6からプリントデータを受信したときには、レ
ーザプリンタ3で記録するプリント機能の為の制御プロ
グラムが起動され、その時点T2から、イメージ読み取
り送信処理TAとプリント処理TBとが時分割により並行処
理される。
For example, the operation when the image reading and transmitting control program of the facsimile function and the print control program for recording the print data received from the personal computer 6 are processed in parallel in a time-division manner will be described with reference to FIG. explain. However, it is assumed that the print function priority mode is not set. Time point T1
First, the image reading and transmitting control program is started, and the image reading and transmitting process starts from the time T1.
TA1 is executed. On the other hand, when the print data is received from the personal computer 6 at the time T2 during the execution of the image reading and transmitting process TA1, a control program for a print function to be recorded by the laser printer 3 is started. The reading transmission processing TA and the printing processing TB are processed in parallel by time division.

【0027】即ち、時点T2以降において、所定の時分
割周期K(1/60秒)毎の時分割切換えタイミングt
1、t2、t3・・・毎に時分割切換えが行なわれ、プ
リント処理TB1 、TB2 、TB3 ・・と、イメージ読み取り
送信処理TA2 、TA3 、・・とが時分割方式により交互に
並行処理される。ところで、プリント機能優先モードが
設定されたときには、図6に示すように、時点T1から
イメージ読み取り送信処理TA1 が実行され、その途中の
時点T2から、イメージ読み取り送信処理TAと、起動さ
れたプリント制御プログラムによるプリント処理TBとが
時分割により並行処理される。
That is, after the time T2, the time division switching timing t every predetermined time division period K (1/60 second)
.., And print processing TB1, TB2, TB3,... And image reading and transmitting processing TA2, TA3,. . By the way, when the print function priority mode is set, as shown in FIG. 6, the image reading and transmitting process TA1 is executed from time T1, and the image reading and transmitting process TA and the activated print control are started from time T2 on the way. Print processing TB by a program is performed in parallel by time division.

【0028】この場合には、各プリント処理TB1 、TB2
、TB3 ・・においては、1回目の時分割切換えタイミ
ングt2、t5、t8・・・における時分割切換えが行
われないので、時分割周期Kの2倍分の設定時間、つま
り約1/30秒に亙って継続して優先的に処理され、プ
リント制御プログラムの処理を、イメージ読み取り送信
制御プログラムの処理よりも優先させて高速化すること
ができる。
In this case, each print processing TB1, TB2
, TB3... Do not perform the time-division switching at the first time-division switching timing t2, t5, t8,. And the processing of the print control program can be speeded up by giving priority to the processing of the image reading and transmitting control program.

【0029】ここで、CPU11に接続されているクロ
ックからのクロック信号をハード的にカウントして、約
1/90秒(約11msec)毎の時分割切換えタイミング
毎にタイマ割り込みする内蔵タイマを別途設け、プリン
ト機能優先モードが設定されたときには、図7に示すよ
うに、約1/90秒を時分割周期Kとして時分割切換え
を行なうようにしてもよい。
Here, a built-in timer for separately counting the clock signal from the clock connected to the CPU 11 and interrupting the timer at a time division switching timing of about 1/90 second (about 11 msec) is separately provided. When the print function priority mode is set, time division switching may be performed with a time division cycle K of about 1/90 second as shown in FIG.

【0030】即ち、時分割切換えタイミングt1以降に
実行される各プリント処理TB1 、TB2 、TB3 ・・におい
ては、1回目の時分割切換えタイミングt2、t5、t
8・・・における時分割切換えが行われないので、時分
割周期Kの2倍分の設定時間、つまり約1/45秒に亙
って継続して優先的に処理され、プリント制御プログラ
ムの処理を、イメージ読み取り送信制御プログラムの処
理よりも優先させて高速化することができる。
That is, in each of the printing processes TB1, TB2, TB3,... Executed after the time division switching timing t1, the first time division switching timing t2, t5, t
8, the time-division switching is not performed, so that processing is continuously performed with priority over a set time of twice the time-division cycle K, that is, about 1/45 second, and processing of the print control program is performed. Can be performed faster than the processing of the image reading and transmitting control program.

【0031】以上説明したように、少なくとも1つのC
PU11を含むコンピュータ10を備え、コンピュータ
10のROM12に、ファクシミリ機能やプリント機能
やスキャナ機能などの複数の機能に対応する複数組の制
御プログラムを組み込み、時分割方式にて複数組の制御
プログラムを並行処理することにより、複数の機能を同
時に実現可能なマルチファンクション情報処理装置1に
おいて、プリント機能の為のプリント制御プログラムを
処理する各時分割処理時間が、時分割周期Kの2倍とす
る設定時間となり、プリント制御プログラムと並行処理
されるファクシミリ機能のイメージ読み取り送信制御プ
ログラムを処理する各時分割処理時間が時分割周期Kと
なるように、時分割切換えを行なうようにしたので、プ
リント制御プログラムの処理をイメージ読み取り送信制
御プログラムの処理よりも処理量を倍増させて、優先的
に高速化できる上、更にそのイメージ読み取り送信制御
プログラムに関して、時分割周期Kに対応する通常の時
分割処理時間ずつ処理することができる。
As described above, at least one C
A computer 10 including a PU 11 is provided, and a plurality of sets of control programs corresponding to a plurality of functions such as a facsimile function, a print function, and a scanner function are incorporated in a ROM 12 of the computer 10, and the plurality of sets of control programs are concurrently executed in a time-division manner. In the multi-function information processing apparatus 1 capable of simultaneously realizing a plurality of functions by performing the processing, each time-division processing time for processing the print control program for the print function is set to twice the time-division cycle K. The time division switching is performed so that each time division processing time for processing the image reading transmission control program of the facsimile function which is processed in parallel with the print control program becomes the time division cycle K. Processing is performed by the image reading and transmission control program. And doubled so the processing amount than, on which can preferentially speed can further with respect to its image read transmission control program, for processing by the normal time-division time corresponding to the time-division period K.

【0032】ここで、前記実施形態の変更態様として、
キーボード2bに設けたプリント機能優先キーを操作し
てプリント機能優先モードを設定したときに、プリント
制御プログラムの優先度合いを、例えば、「1.3 倍」、
「2.8 倍」のように、任意の数値で設定するようにし、
時分割切換えタイミングとして、内蔵タイマのタイマ割
込みをこの優先度合いの数値に対応させ行なうように構
成してもよい。更に、少なくとも1つのCPUを含むコ
ンピュータを備え、時分割方式により演算処理や情報の
入出力処理などの複数の機能を同時に実現する多機能並
行処理方式を採用した各種の電子装置に本発明を適用す
るようにしてもよい。
Here, as a modification of the above embodiment,
When the print function priority mode is set by operating the print function priority key provided on the keyboard 2b, the priority of the print control program is set to, for example, "1.3 times".
Set it as an arbitrary number, such as "2.8 times",
As the time-division switching timing, a timer interrupt of the built-in timer may be configured to correspond to the numerical value of the priority. Furthermore, the present invention is applied to various electronic devices that include a computer including at least one CPU and employ a multi-function parallel processing method that simultaneously realizes a plurality of functions such as arithmetic processing and information input / output processing by a time-division method. You may make it.

【0033】[0033]

【発明の効果】請求項1の多機能並行処理型電子装置に
よれば、少なくとも1つのCPU、ROM及びRAMか
らなるコンピュータを備え、このROMに複数の機能に
対応する複数組の制御プログラムを組み込み、時分割方
式にて2組以上の制御プログラムを並行処理することに
より、複数の機能を実現可能な電子装置において、特定
機能優先モードを設定する為のモード設定手段と、モー
ド設定手段で設定された特定機能優先モードにおいて、
特定制御プログラムを処理する各時分割処理時間が、特
定制御プログラムと並行処理される他の制御プログラム
を処理する各時分割処理時間よりも長くなるように、時
分割切換えを行なう切換え手段とを設け、特定制御プロ
グラムを処理する各時分割処理時間を、特定制御プログ
ラムと並行処理される他の制御プログラムを処理する各
時分割処理時間よりも長くなるように、時分割切換えを
行なうので、特定制御プログラムの処理を他方の制御プ
ログラムの処理よりも高速化することができる。
According to the multi-function parallel processing electronic apparatus of the first aspect, the computer includes at least one CPU, ROM, and RAM, and a plurality of sets of control programs corresponding to a plurality of functions are incorporated in the ROM. In an electronic device capable of realizing a plurality of functions by executing two or more sets of control programs in parallel in a time-sharing manner, a mode setting means for setting a specific function priority mode and a mode setting means Specific function priority mode,
Switching means for performing time-division switching so that each time-division processing time for processing a specific control program is longer than each time-division processing time for processing another control program executed in parallel with the specific control program; The time-division switching is performed so that each time-division processing time for processing the specific control program is longer than each time-division processing time for processing other control programs that are processed in parallel with the specific control program. The processing of the program can be made faster than the processing of the other control program.

【0034】請求項2の多機能並行処理型電子装置によ
れば、請求項1と同様の効果を奏するが、前記切換え手
段は、特定機能優先モードにおいて、特定制御プログラ
ムを処理する各時分割処理時間が時分割周期よりも長い
設定時間となり、特定制御プログラムと並行処理される
他の制御プログラムを処理する各時分割処理時間が時分
割周期となるように、時分割切換えを行なうので、切換
え手段は、特定制御プログラムを処理する各時分割処理
時間として、時分割周期よりも長い設定時間となるよう
に時分割切換えを行なう一方、並行処理される他の制御
プログラムを処理する各時分割処理時間として、時分割
周期となるように時分割切換えを行なうので、特定制御
プログラムの処理を他方の制御プログラムの処理よりも
高速化できる上、更に他方の制御プログラムに関して、
時分割周期に対応する通常の時分割処理時間ずつ処理す
ることができる。
According to the multi-function parallel processing type electronic device of the second aspect, the same effect as that of the first aspect is obtained, but the switching means performs each time division processing for processing the specific control program in the specific function priority mode. The time-division switching is performed so that the time becomes a set time longer than the time-division cycle, and each time-division processing time for processing another control program that is processed in parallel with the specific control program becomes the time-division cycle. Are time-division switching so that each time-division processing time for processing a specific control program is longer than the time-division cycle, while each time-division processing time for processing another control program to be processed in parallel. As the time-division switching is performed so as to have a time-division cycle, the processing of the specific control program can be performed at a higher speed than the processing of the other control program. With respect to the other of the control program to,
Processing can be performed for each normal time division processing time corresponding to the time division cycle.

【0035】請求項3の多機能並行処理型電子装置によ
れば、請求項2と同様の効果を奏するが、前記切換え手
段における設定時間が時分割周期の2倍に設定されたの
で、特定制御プログラムに関して、処理量を倍増させて
優先的に高速処理することができる。請求項4の多機能
並行処理型電子装置によれば、請求項1〜請求項3の何
れか1項と同様の効果を奏するが、前記複数組の制御プ
ログラムは、少なくともプリンタ機能を実現する制御プ
ログラムと、ファクシミリ機能を実現する制御プログラ
ムとを含み、特定制御プログラムがプリンタ機能を実現
する制御プログラムなので、プリンタ機能を実現する制
御プログラムの各時分割処理時間を、他方の例えば、フ
ァクシミリ機能を実現する制御プログラムに対して優先
的に高速処理することができる。
According to the multi-function parallel processing electronic device of the third aspect, the same effect as that of the second aspect can be obtained, but since the set time of the switching means is set to twice the time division cycle, the specific control is performed. With regard to the program, the processing amount can be doubled, and high-speed processing can be preferentially performed. According to the multi-function parallel processing type electronic device of the fourth aspect, the same effect as any one of the first to third aspects is obtained, but the plurality of sets of control programs execute at least a control for realizing a printer function. Since the specific control program includes a program and a control program for realizing the facsimile function, and the specific control program is a control program for realizing the printer function, each time-division processing time of the control program for realizing the printer function is realized. High-speed processing can be preferentially performed on the control program to be executed.

【図面の簡単な説明】[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 print function priority mode setting control routine;

【図4】時分割切換え処理制御のルーチンの概略フロー
チャートである。
FIG. 4 is a schematic flowchart of a routine of a time division switching process control.

【図5】通常モードにおけるファクシミリ機能とプリン
ト機能とを時分割にて並行処理するときの作動を説明す
るタイムチャートである。
FIG. 5 is a time chart for explaining an operation when a facsimile function and a print function are processed in parallel in a time-division manner in a normal mode.

【図6】プリント機能優先モードが設定されたときの図
5相当図である。
FIG. 6 is a diagram corresponding to FIG. 5 when a print function priority mode is set.

【図7】変更形態に係る図6相当図である。FIG. 7 is a diagram corresponding to FIG. 6 according to a modified embodiment.

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

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

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つのCPU、ROM及びR
AMからなるコンピュータを備え、このROMに複数の
機能に対応する複数組の制御プログラムを組み込み、時
分割方式にて2組以上の制御プログラムを所定の時分割
周期毎に切換えながら並行処理することにより、複数の
機能を実現可能な電子装置において、 前記複数の機能のうちの特定機能に対応する特定制御プ
ログラムを優先的に処理する特定機能優先モードを設定
する為のモード設定手段と、 前記モード設定手段で設定された特定機能優先モードに
おいて、特定制御プログラムを処理する各時分割処理時
間が、特定制御プログラムと並行処理される他の制御プ
ログラムを処理する各時分割処理時間よりも長くなるよ
うに、時分割切換えを行なう切換え手段と、 を設けたことを特徴とする多機能並行処理型電子装置。
1. At least one CPU, ROM, and R
A computer comprising an AM, a plurality of sets of control programs corresponding to a plurality of functions are incorporated in the ROM, and two or more sets of control programs are processed in parallel in a time division manner while switching at predetermined time division intervals. An electronic device capable of realizing a plurality of functions, a mode setting means for setting a specific function priority mode for preferentially processing a specific control program corresponding to a specific function among the plurality of functions; In the specific function priority mode set by the means, each time-division processing time for processing the specific control program is longer than each time-division processing time for processing other control programs that are processed in parallel with the specific control program. A switching means for performing time-division switching.
【請求項2】 前記切換え手段は、前記特定機能優先モ
ードにおいて、特定制御プログラムを処理する各時分割
処理時間が前記時分割周期よりも長い設定時間となり、
特定制御プログラムと並行処理される他の制御プログラ
ムを処理する各時分割処理時間が前記時分割周期となる
ように、時分割切換えを行なうことを特徴とする請求項
1に記載の多機能並行処理型電子装置。
2. The switching means, wherein in the specific function priority mode, each time division processing time for processing a specific control program has a set time longer than the time division cycle,
2. The multi-function parallel processing according to claim 1, wherein time-division switching is performed such that each time-division processing time for processing another control program that is processed in parallel with the specific control program is the time-division cycle. Type electronic device.
【請求項3】 前記切換え手段における設定時間が前記
時分割周期の2倍に設定されたことを特徴とする請求項
2に記載の多機能並行処理型電子装置。
3. The multi-function parallel processing type electronic device according to claim 2, wherein a set time of said switching means is set to twice the time division period.
【請求項4】 前記複数組の制御プログラムは、少なく
ともプリンタ機能を実現する制御プログラムと、ファク
シミリ機能を実現する制御プログラムとを含み、前記特
定制御プログラムがプリンタ機能を実現する制御プログ
ラムであることを特徴とする請求項1〜請求項3の何れ
か1項に記載の多機能並行処理型電子装置。
4. The plurality of sets of control programs include at least a control program for realizing a printer function and a control program for realizing a facsimile function, wherein the specific control program is a control program for realizing a printer function. The multi-function parallel processing type electronic device according to claim 1, wherein the electronic device is a multi-function parallel processing electronic device.
JP27724496A 1996-09-27 1996-09-27 Multi-function parallel processing electronic equipment Pending JPH10105417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27724496A JPH10105417A (en) 1996-09-27 1996-09-27 Multi-function parallel processing electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27724496A JPH10105417A (en) 1996-09-27 1996-09-27 Multi-function parallel processing electronic equipment

Publications (1)

Publication Number Publication Date
JPH10105417A true JPH10105417A (en) 1998-04-24

Family

ID=17580835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27724496A Pending JPH10105417A (en) 1996-09-27 1996-09-27 Multi-function parallel processing electronic equipment

Country Status (1)

Country Link
JP (1) JPH10105417A (en)

Similar Documents

Publication Publication Date Title
JP3769839B2 (en) Multifunctional parallel processing electronic device
JP3707509B2 (en) Multifunctional parallel processing electronic device
JPH08289065A (en) Multi-function image processing unit
JP3179466B2 (en) Printing equipment
JPH10105417A (en) Multi-function parallel processing electronic equipment
JPH11187190A (en) Composite function processor and composite function processing method
JPH1065858A (en) Multifunctional peripheral device and storage medium
JPH1097433A (en) Multifunctional parallel processing type electronic device
JP3292447B2 (en) Multi-function parallel processing type information processing device
JP3148804B2 (en) Multi-function parallel processing electronic device
JPH1091461A (en) Multifunction parallel processing electronic device
JP3347580B2 (en) Information processing device and storage medium
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPS62173526A (en) Page buffer control system
JPH10312250A (en) Image forming device
JP3128060B2 (en) Multi-function parallel processing electronic device
JP3180685B2 (en) Multifunctional information processing device
JP2018097522A (en) Integrated circuit, information processing apparatus, interrupt control method in information processing apparatus, and program
JPH09305527A (en) Dma controller
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JP3111448B2 (en) Composite device
JP2002259324A (en) Data processor
JPH0958064A (en) Terminal device
JPH10147042A (en) Composite apparatus
JP2995420B2 (en) Network disconnection method