JP2000280582A - Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded - Google Patents

Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded

Info

Publication number
JP2000280582A
JP2000280582A JP9317499A JP9317499A JP2000280582A JP 2000280582 A JP2000280582 A JP 2000280582A JP 9317499 A JP9317499 A JP 9317499A JP 9317499 A JP9317499 A JP 9317499A JP 2000280582 A JP2000280582 A JP 2000280582A
Authority
JP
Japan
Prior art keywords
data
logical channel
buffer
interface units
received
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
JP9317499A
Other languages
Japanese (ja)
Inventor
Kimimori Tanaka
公盛 田中
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 JP9317499A priority Critical patent/JP2000280582A/en
Publication of JP2000280582A publication Critical patent/JP2000280582A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Information Transfer Systems (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data-processing apparatus in which a logic channel can communicate, without interruption even when one interface is cut off. SOLUTION: There are provided a plurality of interface parts 102 and 103 in conformity with an equal or different communication protocols. Print data or the like transmitted from a host is received by the interface parts 102 and 103, temporarily stored in FIFO memories 202 and 204 of a multiple logic channel communication control part 104, and specified by channel identification parts 201 and 203 as to which of logic channels the data is. Communication data is accompanied with information related to the logic channels. Buffer selection parts 1042A and 1042B select a buffer 0-2 (105-107) corresponding to the specified logic channel and connects output signals of the FIFO memories 202 and 204 to an input signal of the selected buffer.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の論理チャネ
ルのデータ通信を行うデータ処理装置およびデータ処理
方法並びにデータ処理制御プログラムを記録した記録媒
体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing apparatus for performing data communication on a plurality of logical channels, a data processing method, and a recording medium on which a data processing control program is recorded.

【0002】[0002]

【従来の技術】論理チャンネルは、論理的通信路とも称
され、データ伝送において、データ伝送装置とデータ受
信装置との間に確立される論理上の通信路(仮想的回
線)をいう。このような複数の論理チャネルでデータの
送受信処理を行う多重論理チャネル通信は、多数の端末
とセンタ装置が接続されるLAN(ローカル・エリア・
ネットワーク)等で広く用いられている。
2. Description of the Related Art A logical channel is also called a logical communication path, and refers to a logical communication path (virtual line) established between a data transmitting apparatus and a data receiving apparatus in data transmission. The multiplex logical channel communication in which data transmission / reception processing is performed using a plurality of logical channels is performed in a LAN (local area network) in which a large number of terminals and a center device are connected.
Network).

【0003】更に、近年のパーソナルコンピュータの機
能向上、特にネットワーク機能の向上に伴い、パーソナ
ルコンピュータのみならず、パーソナルコンピュータに
接続される周辺機器、特にプリンタといった記録装置に
対しても、多重論理チャネル通信機能が求められてお
り、パーソナルコンピュータとプリンタとの接続に広く
用いられているインターフェースであるIEEE P1
284上で運用されることを想定した、IEEE P1
284.4(1998年4月13日,ドラフト1.70
発行)なる多重論理チャネル通信プロトコルも提唱され
ている。
Further, with the recent improvement in the functions of personal computers, especially network functions, not only personal computers but also peripheral devices connected to the personal computers, in particular, recording devices such as printers, have multiple logical channel communication. IEEE P1 which is an interface widely used for connection between a personal computer and a printer for which functions are required.
IEEE P1 assuming operation on 284
284.4 (draft 1.70 on April 13, 1998)
Issued) multiple logical channel communication protocol has also been proposed.

【0004】[0004]

【発明が解決しようとする課題】一方、従来の記録装置
においては、コスト上の制約から、ホストとなるコンピ
ュータが送信した一切のデータを、制御コマンド、プリ
ントデータ(印字データ、あるいは印刷データともい
う)の区別なく、受信バッファに随時格納する構成を採
るものが多い。
On the other hand, in a conventional recording apparatus, all data transmitted by a host computer is controlled by control commands, print data (also referred to as print data or print data) due to cost restrictions. In many cases, the data is stored in the reception buffer at any time without distinction.

【0005】ところで、上記IEEE P1284.4
に則った通信に限らず、多重論理チャネル通信において
は、複数の論理チャネルがお互いに塞ぎあうことなく、
独立に通信可能であることを保証しなければならない
が、インターフェースケーブルの物理的な断線やコネク
タのはずれによる通信エラーによって、論理チャネルが
途絶え、データ通信が滞る可能性があった。
By the way, the above-mentioned IEEE P1284.4
Not only communication in accordance with, but also in multiple logical channel communication, multiple logical channels do not block each other,
Although it must be guaranteed that communication is possible independently, there is a possibility that a logical channel is interrupted and data communication is interrupted by a communication error due to a physical disconnection of an interface cable or a disconnection of a connector.

【0006】本発明は、上述の点に鑑みてなされたもの
で、その目的は、一つのインターフェースが遮断されて
も論理チャネルが途絶えることなく通信を行うことが可
能であるデータ処理装置およびデータ処理方法並びにデ
ータ処理制御プログラムを記録した記録媒体を提供する
ことにある。
The present invention has been made in view of the above points, and has as its object to provide a data processing apparatus and a data processing method capable of performing communication without interruption of a logical channel even if one interface is shut down. An object of the present invention is to provide a recording medium recording a method and a data processing control program.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、多重論理チャネルのデータ通信
を行うデータ処理装置であって、外部との通信を司る複
数のインターフェース部と、論理チャネル毎に設けられ
て前記複数のインターフェース部が受信したデータを格
納するための読み書き可能なバッファとを備え、前記複
数のインタフェース部は、それぞれ、外部から転送され
てくるデータを受信するデータ受信手段と、 該データ
受信手段が受信したデータから受信データの論理チャネ
ルを識別する論理チャネル識別手段と、該論理チャネル
識別手段の識別結果によって前記バッファを選択するバ
ッファ選択手段と、該バッファ選択手段により選択され
た前記バッファに対して、前記論理チャネル識別手段が
論理チャネル識別に使用した以外の他のインターフェー
ス部のデータ受信手段からの受信データを書き込むこと
が可能な受信データ書込手段とを具備することを特徴と
する。
According to one aspect of the present invention, there is provided a data processing apparatus for performing data communication on a multiple logical channel, comprising: a plurality of interface units for controlling external communication; A read / write buffer provided for each logical channel for storing data received by the plurality of interface units, wherein the plurality of interface units each receive data transferred from the outside. Means, a logical channel identifying means for identifying a logical channel of the received data from the data received by the data receiving means, a buffer selecting means for selecting the buffer according to an identification result of the logical channel identifying means, and a buffer selecting means. For the selected buffer, the logical channel identification means is used for logical channel identification. And receiving data writing means capable of writing data received from data receiving means of an interface unit other than the used data writing means.

【0008】ここで、前記複数のインターフェース部の
少なくとも一つが、その他のインターフェース部とは異
なる通信プロトコルに則ることを特徴とすることができ
る。
Here, at least one of the plurality of interface units conforms to a communication protocol different from that of the other interface units.

【0009】また、前記複数のインターフェース部の全
てが同一の通信プロトコルに則ることを特徴とすること
ができる。
Further, all of the plurality of interface units conform to the same communication protocol.

【0010】また、前記複数のインターフェース部が第
1のインターフェース部と、第2のインターフェース部
からなることを特徴とすることができる。
[0010] Further, the plurality of interface units may be characterized by comprising a first interface unit and a second interface unit.

【0011】また、前記受信データがプリントデータを
含むことを特徴とすることができる。
[0011] The received data may include print data.

【0012】上記目的を達成するため、請求項6の発明
は、外部との通信を司る複数のインターフェース部と、
論理チャネル毎に設けられて前記複数のインターフェー
ス部が受信したデータを格納するための読み書き可能な
バッファとを備え、前記複数のインターフェース部を通
じて多重論理チャネルのデータ通信を行うデータ処理装
置のデータ処理方法であって、前記複数のインターフェ
ース部のいずれかのインターフェース部を通じて外部か
ら転送されてくるデータを受信するデータ受信ステップ
と、該データ受信ステップで受信したデータから受信デ
ータの論理チャネルを識別する論理チャネル識別ステッ
プと、該論理チャネル識別ステップでの識別結果によっ
て前記バッファを選択するバッファ選択ステップと、該
バッファ選択ステップで選択された前記バッファに対し
て、前記論理チャネル識別ステップで論理チャネル識別
に使用した受信データを書き込む受信データ書込ステッ
プとを有することを特徴とする。
[0012] In order to achieve the above object, the invention according to claim 6 is characterized in that a plurality of interface sections for controlling external communication,
A data processing method for a data processing device, comprising: a read / write buffer provided for each logical channel for storing data received by the plurality of interface units, and performing data communication of a multiplex logical channel through the plurality of interface units. A data receiving step of receiving data transferred from outside through one of the plurality of interface units, and a logical channel for identifying a logical channel of the received data from the data received in the data receiving step An identification step, a buffer selection step of selecting the buffer according to the identification result in the logical channel identification step, and the buffer selected in the buffer selection step is used for the logical channel identification in the logical channel identification step. Receive data And having a reception data writing step of writing the data.

【0013】ここで、前記受信データ書込ステップで
は、前記バッファ選択ステップで選択された前記バッフ
ァに対して、前記論理チャネル識別ステップで論理チャ
ネル識別に使用した以外の他のインターフェース部を通
じて受信したデータを書き込むことも可能なことを特徴
とすることができる。
In the receiving data writing step, the buffer selected in the buffer selecting step may include a data received through an interface other than the one used for the logical channel identification in the logical channel identification step. Can also be written.

【0014】上記目的を達成するため、請求項10の発
明は、外部との通信を司る複数のインターフェース部
と、論理チャネル毎に設けられて前記複数のインターフ
ェース部が受信したデータを格納するための読み書き可
能なバッフアとを備え、前記複数のインターフェース部
を通じて多重論理チャネルのデータ通信を行うデータ処
理装置をコンピュータにより制御するための制御プログ
ラムを記録した記録媒体であって、該制御プログラムは
コンピュータに対し、前記複数のインターフェース部の
いずれかのインターフェース部を通じて外部から転送さ
れてくるデータを受信させ、受信したデータから受信デ
ータの論理チャネルを識別させ、該識別結果によって前
記バッファを選択させ、選択された前記バッファに対し
て、論理チャネル識別に使用した受信データを書き込ま
せることを特徴とする。
In order to achieve the above object, a tenth aspect of the present invention provides a plurality of interface sections for controlling external communication, and a plurality of interface sections provided for each logical channel for storing data received by the plurality of interface sections. A read / write buffer, and a recording medium recording a control program for controlling a data processing device that performs data communication of multiple logical channels through the plurality of interface units by a computer, wherein the control program is provided to the computer. Receiving data transferred from outside through any one of the plurality of interface units, identifying a logical channel of the received data from the received data, selecting the buffer according to the identification result, and selecting the selected buffer. Logical buffer identification for the buffer Characterized in that to write the received data used for.

【0015】ここで、前記制御プログラムはコンピュー
タに対し、前記選択された前記バッファに対して、前記
論理チャネル識別に使用した以外の他のインターフェー
ス部を通じて受信したデータを書き込ませることを特徴
とすることができる。
Here, the control program causes the computer to write, into the selected buffer, data received through another interface unit other than the one used for the logical channel identification. Can be.

【0016】[0016]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0017】図1は、本発明の第1の実施形態に係わる
記録装置(プリンタ)の制御系の回路構成を示す。この
記録装置としては、例えばインクジェットプリンタ、熱
転写プリンタ、レーザビームプリンタ等を用いることが
でき、特にプリント方式の種類は問わない。図1におい
て、101はマイクロプロセッサ(マイクロコンピュー
タともいう)であり、本実施形態の記録装置全体の制御
を司る。また、第1と第2のインターフェース部10
2、103は、ホストとなるコンピュータのような外部
機器(図示しない)と本記録装置との接続を司り、外部
のホストコンピュータが送信したプリントデータおよび
制御コマンドは、インターフェース部102、103に
よって受信され、多重論理チャネル通信制御部104を
介して、バッファ0〜バッファ2(105〜107)の
いずれかに格納される。
FIG. 1 shows a circuit configuration of a control system of a printing apparatus (printer) according to the first embodiment of the present invention. As the recording apparatus, for example, an ink jet printer, a thermal transfer printer, a laser beam printer, or the like can be used, and the type of the printing method is not particularly limited. In FIG. 1, reference numeral 101 denotes a microprocessor (also referred to as a microcomputer), which controls the entire recording apparatus of the present embodiment. Also, the first and second interface units 10
Reference numerals 2 and 103 control connection between the printing apparatus and an external device (not shown) such as a host computer. Print data and control commands transmitted from an external host computer are received by the interface units 102 and 103. Are stored in one of the buffers 0 to 2 (105 to 107) via the multiplex logical channel communication control unit 104.

【0018】一例として、本実施形態では、2つのイン
ターフェース部102、103との間で3チャネルの多
重論理チャネル通信を行うものとし、インターフェース
の多重論理チャネル通信を管理するためのチャネル(以
後、チャネル0と称する)のデータはバッファ0(10
5)に格納され、プリントデータのチャネル(以後、チ
ャネル1と称する)のデータはすべてバッファ1(10
6)に格納され、プリントデータ以外で記録装置を制御
するためのチャネル(以後、チャネル2と称する)のデ
ータはバッファ2に格納されるものとする。
As an example, in the present embodiment, three channels of multiplex logical channel communication are performed between the two interface units 102 and 103, and a channel for managing multiplex logical channel communication of the interface (hereinafter referred to as channel 0) is stored in buffer 0 (10
5), all the data of the print data channel (hereinafter referred to as channel 1) are stored in the buffer 1 (10).
6), data of a channel (hereinafter referred to as channel 2) for controlling the printing apparatus other than print data is stored in the buffer 2.

【0019】プリントバッファ(印字バッファともい
う)112は、一回のプリント(印字)に必要となる量
のプリントデータを格納するためのバッファであり、マ
イクロプロセッサ101によってバッファ1(105)
から読み出されたプリントデータが、順次格納されてい
く。
A print buffer (also referred to as a print buffer) 112 is a buffer for storing an amount of print data necessary for one printing (printing), and a buffer 1 (105) by the microprocessor 101.
Are sequentially stored.

【0020】プリント制御部(印字制御部ともいう)1
13は、記録ヘッド114へのプリントデータの転送を
司り、マイクロプロセッサ101からのプリント制御信
号に応じて、プリントバッファ112からプリントデー
タを読み出し、読み出したプリントデータを所定の駆動
タイミングに則って記録へッド114に転送する。
Print control unit (also called print control unit) 1
Reference numeral 13 denotes transfer of print data to the print head 114, reads print data from the print buffer 112 according to a print control signal from the microprocessor 101, and prints the read print data in accordance with a predetermined drive timing. To the memory 114.

【0021】以上の構成において、マイクロプロセッサ
101は、プリント制御部113を貸して記録へッド1
14によるプリント動作、およびCR(キャリッジ)モ
ータドライバ108を介してCRモータ110、LF
(搬送)モータドライバ109を介してLFモータ11
1の回転を制御して、用紙等の記録媒体上にプリントデ
ータに応じた画像を形成していく。
In the above configuration, the microprocessor 101 lends the print control unit 113 to the recording head 1.
14 and a CR motor 110, LF via a CR (carriage) motor driver 108.
(Transport) LF motor 11 via motor driver 109
1 is controlled to form an image according to the print data on a recording medium such as a sheet.

【0022】図2は、図1に示す多重論理チャネル通信
制御部104の内部構成を示す。多重論理チャネル通信
制御部104において、一方のデータ受信部1041A
は、チャネル識別部201とFIFO(フリップフロッ
プ)メモリ202とから構成されており、同様に、他方
のデータ受信部1041Bも、チャネル識別部203と
FIFOメモリ204とから構成されている。インター
フェース部102、103を経由してきたデータは、一
旦、それぞれのFIFOメモリ202、204に格納さ
れ、チャネル識別部201、203によっていずれの論
理チャネルのデータであるかが特定される。
FIG. 2 shows an internal configuration of the multiplex logical channel communication control unit 104 shown in FIG. In the multiplex logical channel communication control unit 104, one data receiving unit 1041A
Is composed of a channel identification unit 201 and a FIFO (flip-flop) memory 202, and similarly, the other data reception unit 1041B is also composed of a channel identification unit 203 and a FIFO memory 204. The data that has passed through the interface units 102 and 103 is temporarily stored in the respective FIFO memories 202 and 204, and the channel identification units 201 and 203 specify which logical channel the data is.

【0023】多重論理チャネル通信においては、通信デ
ータには、必ず、論理チャネルに関する情報が付随して
おり、例えば、通信データが、図3の(a)、(b)に
示すようような構造をしている場合には、先頭の2ビッ
トのデータ(論理チャンネル番号)から論理チャネルが
特定可能である。
In multiplex logical channel communication, communication data always includes information about a logical channel. For example, communication data has a structure as shown in FIGS. 3 (a) and 3 (b). In this case, the logical channel can be specified from the first two bits of data (logical channel number).

【0024】また、図3の(c)は、前述のIEEE
P1284.4にて規定されているデータの構造を表わ
しており、この場合、第1ソケットIDおよび第2ソケ
ットIDの組み合わせから論理チャネルを特定すること
ができる。
FIG. 3C shows the above-mentioned IEEE standard.
P1284.4 shows the data structure specified in this case. In this case, a logical channel can be specified from a combination of the first socket ID and the second socket ID.

【0025】なお、データ受信部1041A、1041
BのそれぞれのFIFOメモリ202、204は、少な
くとも、論理チャネルを特定するに必要なデータ量を格
納できる大きさ(記憶容量)のものでなければならな
い。したがって、FIFOメモリ202、204は、通
信データのデータ構造が、図3の(a)の場合であれ
ば、それぞれ少なくとも2ビット、また、IEEE P
1284.4準拠(図3(c))の場合には、少なくと
も2バイト(16ビット)の大きさが必要となる。
The data receiving units 1041A, 1041
Each of the FIFO memories 202 and 204 of B must have at least a size (storage capacity) capable of storing a data amount necessary to specify a logical channel. Therefore, if the data structure of the communication data is the case shown in FIG. 3A, the FIFO memories 202 and 204 each have at least two bits, and
In the case of 1284.4 compliant (FIG. 3C), a size of at least 2 bytes (16 bits) is required.

【0026】チャネル識別部201、203によって、
受信したデータの論理チャネルが特定されると、バッフ
ァ選択部1042A、1024Bは、上記特定された論
理チャネルに対応するいずれかのバッファ0〜2(10
5〜107)を選択し、FIFOメモリ202、204
の出力信号をその選択されたバッファの入力信号に接続
する。
The channel identification units 201 and 203
When the logical channel of the received data is specified, the buffer selection units 1042A and 1024B transmit one of the buffers 0 to 2 (10
5 to 107), and the FIFO memories 202 and 204 are selected.
Is connected to the input signal of the selected buffer.

【0027】ここで、チャネル識別部201、203に
よって識別された論理チャネルは、インターフェースに
関わらず共通であるから、インターフェース部102,
103によって受信したデータが同一論理チャネルを指
定している場合、受信データは論理チャネル毎に設定さ
れた共通なバッファに格納される。なお、バッファ書込
部1043A、1043Bは、FIFOメモリ202、
204から選択されたバッファへのデータ転送制御を司
るために存在する。具体的には、バッファ書込部104
3A、1043Bは、FIFOメモリ202、204の
内容から、論理チャネルの特定に使用する情報を取り除
いたものをバッファ0〜2(105〜107)に格納す
るためのものである。
Here, since the logical channels identified by the channel identification units 201 and 203 are common regardless of the interface, the interface units 102 and 203
If the data received by 103 specifies the same logical channel, the received data is stored in a common buffer set for each logical channel. Note that the buffer write units 1043A and 1043B are connected to the FIFO memory 202,
It exists to control the data transfer from 204 to the selected buffer. Specifically, the buffer writing unit 104
Reference numerals 3A and 1043B are used to store in the buffers 0 to 2 (105 to 107) the contents of the FIFO memories 202 and 204 from which information used to specify a logical channel has been removed.

【0028】マイクロプロセッサ101は、所定のタイ
ムスケジュールに従って上記各バッファ(各チャネル)
のデータを読み出し、順次処理していく。
The microprocessor 101 controls each buffer (each channel) according to a predetermined time schedule.
Are read and sequentially processed.

【0029】以上の構成を採ると、データ量(通信量)
の多いプリントデータ用の論理チャネル(チャネル1)
と、その他の論理チャネル(チャネル0、チャネル2)
を完全に切り離すことができるから、マイクロプロセッ
サ101のプリントに関するデータ処理が何らかの理由
で滞って、チャネル1用のバッファが満杯になってしま
い、それ以上プリントデータを受信できなくなった(す
なわち、チャネル1が塞がった)場合であっても、その
影響がそれ以外の論理チャネル(チャネル0、チャネル
2)に及ぶことはない。
With the above configuration, the data amount (communication amount)
Logical channel for print data with many data (channel 1)
And other logical channels (channel 0, channel 2)
Can be completely separated, the data processing for printing by the microprocessor 101 is interrupted for some reason, the buffer for channel 1 becomes full, and print data cannot be received any more (that is, channel 1 ) Is not affected by the other logical channels (channel 0, channel 2).

【0030】また、2つのインターフェース部102、
103は異なる通信プロトコルに則しており(例えば、
セントロニクス・インターフェースとUSB(Universa
l Serial Bus))、いずれか一つのインターフェース
部にケーブルの断線、コネクタが外れるなどの通信エラ
ーが起こり、データ通信が不可能な状態になっても、他
方の異なる通信プロトコルに則したインターフェース部
の論理チャネルがリンクを張っているため、論理チャネ
ルが途絶えることなく通信を行うことが可能である。
The two interface units 102,
103 conforms to different communication protocols (eg,
Centronics interface and USB (Universa
l Serial Bus)), even if a communication error such as disconnection of a cable or disconnection of a connector occurs in one of the interface sections and data communication becomes impossible, the other interface section conforms to a different communication protocol. Since the logical channels are linked, communication can be performed without interruption of the logical channels.

【0031】ここで、具体的な一例を挙げれば、ホスト
コンピュータが2つのインターフェースを持つ場合に、
一つのインターフェースがデータ通信不能になった場合
でも、記録装置は他方のインタフェースを用いて、デー
タの続きを受信して同一バッファに格納することが可能
である。
Here, as a specific example, when the host computer has two interfaces,
Even if one interface loses data communication, the recording apparatus can use the other interface to receive the continuation of the data and store it in the same buffer.

【0032】あるいは、このような場合に、記録装置は
バッファに格納されているデータをクリアして、ホスト
コンピュータにデータの再送信、データ受信の中止ない
しは延期を要求することも可能となる。
Alternatively, in such a case, the recording apparatus can clear the data stored in the buffer and request the host computer to retransmit the data or to suspend or delay the data reception.

【0033】(他の実施形態)なお、上述した本発明の
実施形態においては、記録装置から外部のホストコンピ
ュータに対する送信に関して、多重論理チャネル通信を
行うための機構を特に設けず、マイクロプロセッサ10
1において多重論理チャネル通信処理を行っているが、
記録装置から外部のホストコンピュータへ送信するデー
タの量は非常に小さく、論理チャネルが塞がる可能性も
低いので、本実施形態の構成であっても、実用上問題は
ない。
(Other Embodiments) In the above-described embodiment of the present invention, a mechanism for performing multiplex logical channel communication is not particularly provided for transmission from the recording apparatus to an external host computer.
1 performs multiplex logical channel communication processing,
Since the amount of data transmitted from the recording device to the external host computer is extremely small and the possibility of blocking the logical channel is low, there is no practical problem even with the configuration of the present embodiment.

【0034】また、上述した本発明の実施形態における
2つのインターフェース部が、3つ以上の複数になって
も、上述したと同様に本発明が適用できることは明白で
ある。
It is apparent that the present invention can be applied in the same manner as described above even if the number of the two interface units in the embodiment of the present invention is three or more.

【0035】また、本発明は、複数の機器(例えば、ホ
ストコンピュータ、インターフェース機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、1
つの機器からなる装置(例えば、プリンタ、複写機、フ
ァクシミリ装置など)に適用してもよい。
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.).
The present invention may be applied to a device including two devices (for example, a printer, a copier, a facsimile device, etc.).

【0036】また、本発明の目的は、前述した実施の形
態の機能を実現するソフトウエアのプログラムコードを
記録した記録媒体(記憶媒体)を、システムあるいは装
置に供給し、そのシステムあるいは装置のコンピュータ
(またはCPUやMPU)が記録媒体に格納されたプロ
グラムコードを読み出し、実行することによっても、達
成されることは言うまでもない。
Another object of the present invention is to provide a system or apparatus with a recording medium (storage medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded, and the computer of the system or apparatus is provided. Needless to say, the present invention is also achieved when the CPU (or the CPU or the MPU) reads out and executes the program code stored in the recording medium.

【0037】この場合、記録媒体から読み出されたプロ
グラムコード自体が前述した実施の形態の機能を実現す
ることになり、そのプログラムコードを記録した記録媒
体は本発明を構成することになる。
In this case, the program code itself read from the recording medium implements the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.

【0038】そのプログラムコードを記録し、またテー
ブル等の変数データを記録する記録媒体としては、例え
ばフロッピディスク(FD)、ハードディスク、光ディ
スク、光磁気ディスク、CD−ROM、CD−R、磁気
テープ、不揮発性のメモリカード(ICメモリカー
ド)、ROMなどを用いことができる。
As a recording medium for recording the program code and for recording variable data such as a table, for example, a floppy disk (FD), hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, A nonvolatile memory card (IC memory card), a ROM, or the like can be used.

【0039】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述の実施の形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づいて、コンピュータ上で稼動しているOS(オ
ペレーティングシステム)などが実際の処理の一部また
は全部を行ない、その処理によって前述した実施の形態
の機能が実現される場合も含まれることは言うまでもな
い。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that an operating system) may perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0040】[0040]

【発明の効果】以上の説明から明らかなように、本発明
によれば、プリンタ等の記録装置に対して、多重論理チ
ャネルのデータ通信機能と複数のインターフェース部を
備えるようにしたので、一つのインターフェースが遮断
されても論理チャネルが途絶えることなく通信を行うこ
とができる。
As is apparent from the above description, according to the present invention, a recording device such as a printer is provided with a data communication function of a multiplex logical channel and a plurality of interface units. Even if the interface is interrupted, communication can be performed without interruption of the logical channel.

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

【図1】本発明の一実施形態に係わる記録装置の制御系
の回路構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a circuit configuration of a control system of a printing apparatus according to an embodiment of the present invention.

【図2】図1に示す多重論理チャネル通信制御部の内部
構成を示すブロック図である。
FIG. 2 is a block diagram showing an internal configuration of a multiplex logical channel communication control unit shown in FIG.

【図3】多重論理チャネル通信において用いられる通信
データのデータ構造の例を示すフォーマット図である。
FIG. 3 is a format diagram showing an example of a data structure of communication data used in multiplex logical channel communication.

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

101 マイクロプロセッサ 102 インターフェース部 103 インターフェース部 104 多重論理チャネル通信制御部 105 バッファ0 106 バッファ1 107 バッファ2 108 CRモータドライバ 109 LFモータドライバ 110 CRモータ 111 LFモータ 112 プリントバッファ 113 プリント制御部 114 記録へッド 1041A,1041B データ受信部 1042A,1042B バッファ選択部 1043A、1043B バッファ書込部 201 チャネル識別部 202 FIFOメモリ 203 チャネル識別部 204 FIFOメモリ 101 Microprocessor 102 Interface Unit 103 Interface Unit 104 Multiple Logical Channel Communication Control Unit 105 Buffer 0 106 Buffer 1 107 Buffer 2 108 CR Motor Driver 109 LF Motor Driver 110 CR Motor 111 LF Motor 112 Print Buffer 113 Print Control Unit 114 Recording Head C 1041A, 1041B Data receiving unit 1042A, 1042B Buffer selecting unit 1043A, 1043B Buffer writing unit 201 Channel identifying unit 202 FIFO memory 203 Channel identifying unit 204 FIFO memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 12/56 H04L 13/08 5K030 13/08 G06F 5/06 311 5K034 // G06F 5/06 311 H04L 11/20 102A Fターム(参考) 2C061 AQ04 AQ05 AQ06 HJ08 2C087 AB06 AC05 AC07 AC08 BC01 BC02 5B021 AA01 DD00 EE01 5B077 DD21 NN01 5K028 AA14 EE05 KK01 LL02 MM08 QQ01 RR01 SS24 5K030 GA12 HB06 HB28 HC14 JA01 JT06 KA03 KA13 5K034 AA05 CC01 CC06 FF01 FF19 HH48 HH63 JJ23 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04L 12/56 H04L 13/08 5K030 13/08 G06F 5/06 311 5K034 // G06F 5/06 311 H04L 11 / 20 102A F-term (reference) 2C061 AQ04 AQ05 AQ06 HJ08 2C087 AB06 AC05 AC07 AC08 BC01 BC02 5B021 AA01 DD00 EE01 5B077 DD21 NN01 5K028 AA14 EE05 KK01 LL02 MM08 QQ01 RR01 SS24 5K01 J06 HC24 H03B01 CC04 FF19 HH48 HH63 JJ23

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 多重論理チャネルのデータ通信を行うデ
ータ処理装置であって、 外部との通信を司る複数のインターフェース部と、論理
チャネル毎に設けられて前記複数のインターフェース部
が受信したデータを格納するための読み書き可能なバッ
ファとを備え、 前記複数のインターフェース部は、それぞれ、 外部から転送されてくるデータを受信するデータ受信手
段と、 該データ受信手段が受信したデータから受信データの論
理チャネルを識別する論理チャネル識別手段と、 該論理チャネル識別手段の識別結果によって前記バッフ
ァを選択するバッファ選択手段と、 該バッファ選択手段により選択された前記バッファに対
して、前記論理チャネル識別手段が論理チャネル識別に
使用した以外の他のインターフェース部のデータ受信手
段からの受信データを書き込むことが可能な受信データ
書込手段とを具備することを特徴とするデータ処理装
置。
1. A data processing device for performing data communication of multiple logical channels, comprising: a plurality of interface units for controlling external communication; and data provided for each logical channel and received by the plurality of interface units. A plurality of interface units, each of which includes a data receiving unit that receives data transferred from the outside, and a logical channel of received data from the data received by the data receiving unit. Logical channel identifying means for identifying; buffer selecting means for selecting the buffer according to the identification result of the logical channel identifying means; and logical channel identifying means for the buffer selected by the buffer selecting means. Data receiving means of other interface parts other than the one used for And a receiving data writing unit capable of writing the received data.
【請求項2】 前記複数のインターフェース部の少なく
とも一つが、その他のインターフェース部とは異なる通
信プロトコルに則ることを特徴とする請求項1に記載の
データ処理装置。
2. The data processing device according to claim 1, wherein at least one of the plurality of interface units conforms to a communication protocol different from other interface units.
【請求項3】 前記複数のインターフェース部の全てが
同一の通信プロトコルに則ることを特徴とする請求項1
に記載のデータ処理装置。
3. The system according to claim 1, wherein all of the plurality of interface units conform to the same communication protocol.
A data processing device according to claim 1.
【請求項4】 前記複数のインターフェース部が第1の
インターフェース部と、第2のインターフェース部から
なることを特徴とする請求項1ないし3のいずれかに記
載のデータ処理装置。
4. The data processing apparatus according to claim 1, wherein said plurality of interface units comprise a first interface unit and a second interface unit.
【請求項5】 前記受信データがプリントデータを含む
ことを特徴とする請求項1ないし4のいずれかに記載の
データ処理装置。
5. The data processing apparatus according to claim 1, wherein the received data includes print data.
【請求項6】 外部との通信を司る複数のインターフェ
ース部と、論理チャネル毎に設けられて前記複数のイン
ターフェース部が受信したデータを格納するための読み
書き可能なバッファとを備え、前記複数のインターフェ
ース部を通じて多重論理チャネルのデータ通信を行うデ
ータ処理装置のデータ処理方法であって、 前記複数のインターフェース部のいずれかのインターフ
ェース部を通じて外部から転送されてくるデータを受信
するデータ受信ステップと、 該データ受信ステップで受信したデータから受信データ
の論理チャネルを識別する論理チャネル識別ステップ
と、 該論理チャネル識別ステップでの識別結果によって前記
バッファを選択するバッファ選択ステップと、 該バッファ選択ステップで選択された前記バッファに対
して、前記論理チャネル識別ステップで論理チャネル識
別に使用した受信データを書き込む受信データ書込ステ
ップとを有することを特徴とするデータ処理方法。
6. A read / write buffer provided for each logical channel and configured to store data received by the plurality of interface units, the plurality of interface units managing communication with the outside, wherein the plurality of interface units are provided. A data processing method of a data processing device performing data communication of a multiplex logical channel through a unit, comprising: a data receiving step of receiving data transferred from outside through any one of the plurality of interface units; A logical channel identifying step of identifying a logical channel of the received data from the data received in the receiving step; a buffer selecting step of selecting the buffer according to the identification result in the logical channel identifying step; and the buffer selected in the buffer selecting step For the buffer, Serial data processing method characterized by having a reception data writing step of writing the received data used in the logical channel identified by a logical channel identification step.
【請求項7】 前記受信データ書込ステップでは、前記
バッファ選択ステップで選択された前記バッファに対し
て、前記論理チャネル識別ステップで論理チャネル識別
に使用した以外の他のインターフェース部を通じて受信
したデータを書き込むことも可能なことを特徴とする請
求項6に記載のデータ処理方法。
7. In the receiving data writing step, data received through an interface unit other than that used for logical channel identification in the logical channel identification step is written to the buffer selected in the buffer selection step. 7. The data processing method according to claim 6, wherein writing can be performed.
【請求項8】 前記複数のインターフェース部の少なく
とも一つが、その他のインターフェース部とは異なる通
信プロトコルに則ることを特徴とする請求項6または7
に記載のデータ処理方法。
8. The communication device according to claim 6, wherein at least one of the plurality of interface units conforms to a communication protocol different from that of the other interface units.
The data processing method described in 1.
【請求項9】 前記複数のインターフェース部の全てが
同一の通信プロトコルに則ることを特徴とする請求項6
または7に記載のデータ処理方法。
9. The system according to claim 6, wherein all of the plurality of interface units conform to the same communication protocol.
Or the data processing method according to 7.
【請求項10】 外部との通信を司る複数のインターフ
ェース部と、論理チャネル毎に設けられて前記複数のイ
ンターフェース部が受信したデータを格納するための読
み書き可能なバッファとを備え、前記複数のインターフ
ェース部を通じて多重論理チャネルのデータ通信を行う
データ処理装置をコンピュータにより制御するための制
御プログラムを記録した記録媒体であって、 該制御プログラムはコンピュータに対し、 前記複数のインターフェース部のいずれかのインターフ
ェース部を通じて外部から転送されてくるデータを受信
させ、 受信したデータから受信データの論理チャネルを識別さ
せ、 該識別結果によって前記バッファを選択させ、 選択された前記バッファに対して、論理チャネル識別に
使用した受信データを書き込ませることを特徴とするデ
ータ処理制御プログラムを記録した記録媒体。
10. A plurality of interface units, comprising: a plurality of interface units for controlling external communication; and a readable / writable buffer provided for each logical channel for storing data received by the plurality of interface units. A recording medium recording a control program for controlling, by a computer, a data processing device that performs data communication of a multiplex logical channel through a unit, the control program instructs a computer to execute any one of the plurality of interface units. Received data transferred from the outside through the control unit, identified the logical channel of the received data from the received data, selected the buffer according to the identification result, and used the selected buffer for logical channel identification. Write received data Recording medium recording the data processing control program characterized.
【請求項11】 前記制御プログラムはコンピュータに
対し、 前記選択された前記バッファに対して、前記論理チャネ
ル識別に使用した以外の他のインターフェース部を通じ
て受信したデータを書き込ませることを特徴とする請求
項10に記載のデータ処理制御プログラムを記録した記
録媒体。
11. The control program causes a computer to write, into the selected buffer, data received through another interface unit other than the interface unit used for the logical channel identification. A recording medium on which the data processing control program according to claim 10 is recorded.
JP9317499A 1999-03-31 1999-03-31 Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded Pending JP2000280582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9317499A JP2000280582A (en) 1999-03-31 1999-03-31 Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9317499A JP2000280582A (en) 1999-03-31 1999-03-31 Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded

Publications (1)

Publication Number Publication Date
JP2000280582A true JP2000280582A (en) 2000-10-10

Family

ID=14075220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9317499A Pending JP2000280582A (en) 1999-03-31 1999-03-31 Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded

Country Status (1)

Country Link
JP (1) JP2000280582A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005223811A (en) * 2004-02-09 2005-08-18 Kddi Corp Communication terminal, its program, and communication interface switching method
US7460264B2 (en) 2004-01-29 2008-12-02 Canon Kabushiki Kaisha Recording apparatus, recording system, and method of controlling recording apparatus
US7463372B2 (en) 2004-01-30 2008-12-09 Canon Kabushiki Kaisha Recording system and control method therefor
US7589853B2 (en) 2004-01-29 2009-09-15 Canon Kabushiki Kaisha Image forming system, and information processing apparatus and method
KR101164812B1 (en) * 2005-08-31 2012-07-12 삼성전자주식회사 Printer and printer diagnosis system
US9533495B2 (en) 2014-10-16 2017-01-03 Seiko Epson Corporation Nozzle row driving data conversion apparatus and liquid droplet ejecting apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7460264B2 (en) 2004-01-29 2008-12-02 Canon Kabushiki Kaisha Recording apparatus, recording system, and method of controlling recording apparatus
US7589853B2 (en) 2004-01-29 2009-09-15 Canon Kabushiki Kaisha Image forming system, and information processing apparatus and method
US7463372B2 (en) 2004-01-30 2008-12-09 Canon Kabushiki Kaisha Recording system and control method therefor
JP2005223811A (en) * 2004-02-09 2005-08-18 Kddi Corp Communication terminal, its program, and communication interface switching method
JP4529462B2 (en) * 2004-02-09 2010-08-25 Kddi株式会社 Communication terminal, communication terminal program, and communication interface switching method
KR101164812B1 (en) * 2005-08-31 2012-07-12 삼성전자주식회사 Printer and printer diagnosis system
US9533495B2 (en) 2014-10-16 2017-01-03 Seiko Epson Corporation Nozzle row driving data conversion apparatus and liquid droplet ejecting apparatus

Similar Documents

Publication Publication Date Title
US7200685B2 (en) Communication apparatus for communicating data between separate toplogies, and related method, storage medium, and program
JP4724573B2 (en) Transfer system switching circuit in interface circuit
US6779052B2 (en) Electronic apparatus, system and method for controlling communication among devices coupled through different interfaces
JP2000280582A (en) Data-processing apparatus and method for processing data and recording medium with data-processing control program recorded
US6799231B2 (en) Virtual I/O device coupled to memory controller
JP2000132353A (en) Printing system by infrared communication
US7925799B2 (en) Serial ATA interface control circuit and power management method wherein start and completion of data transfer is monitored during DMA operations using memory control unit
US11216402B2 (en) Storage system and control method thereof
JP2003248558A (en) Method and device for data transfer
JP2000236357A (en) Device and method for processing information
JP2002229925A (en) Data processing unit with multiple logical channel communication facility, data processor and recording device
KR100421980B1 (en) Printer having USB host controller
US20030053130A1 (en) Recording apparatus, interface control apparatus, and interface control method
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
US7388684B2 (en) Image transfer apparatus
US20020122200A1 (en) Method, device and computer program element for transmitting print data
JP2000305888A (en) Data transfer method
JP2000259363A (en) Printing server, printing control method, medium recording printing control program and network printing system
JP2982608B2 (en) Printer device
JP2004078877A (en) Data communication system
JP2001100950A (en) Method and device for packet transmission and reception, printer, and storage medium
JP3071607U (en) Computer peripheral device and printer device
JPH11321028A (en) Image printer apparatus
JP2004199402A (en) Usb device controller
JP2002014913A (en) Interface circuit and printer device