JP2003218955A - Data transmission apparatus, terminal employing the same, and data transmission control method - Google Patents

Data transmission apparatus, terminal employing the same, and data transmission control method

Info

Publication number
JP2003218955A
JP2003218955A JP2002010700A JP2002010700A JP2003218955A JP 2003218955 A JP2003218955 A JP 2003218955A JP 2002010700 A JP2002010700 A JP 2002010700A JP 2002010700 A JP2002010700 A JP 2002010700A JP 2003218955 A JP2003218955 A JP 2003218955A
Authority
JP
Japan
Prior art keywords
transmission
data
priority
buffer
transmission data
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.)
Withdrawn
Application number
JP2002010700A
Other languages
Japanese (ja)
Inventor
Koichi Kurata
浩一 倉田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002010700A priority Critical patent/JP2003218955A/en
Publication of JP2003218955A publication Critical patent/JP2003218955A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data transmission apparatus and a transmission processing method capable of transmitting transmission data according to the respectively precedence when transmission requests are in contention and revising the transmission precedence depending on desire. <P>SOLUTION: The transmission apparatus includes: a transmission data storage section 13 having a plurality of transmission buffers; a precedence information storage section 18 for storing precedence information including the transmission sequence of transmission data; a transmission data setting section 14 for storing transmission data whose transmission is requested to any of the transmission buffers on the basis of the precedence information; a transmission/reception processing section 11 for transmitting the transmission data stored in the transmission buffers according to the transmission requence on the basis of the precedence information; and a precedence information processing section 17 for revising precedence information of the precedence information storage section 18 according to a revision instruction. Thus, the transmission apparatus can transmit transmission data according to the prescribed transmission precedence and revise the transmission precedence. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、ホスト装
置とプリンタのような二つの装置間におけるデータ通信
に使用するデータ送信装置、そのデータ送信装置を備え
たプリンタ等の端末装置、データ送信制御方法、及びこ
れらの制御手順からなるコンピュータプログラム並びに
これらのコンピュータプログラムを記録した記録媒体に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device used for data communication between two devices such as a host device and a printer, a terminal device such as a printer having the data transmission device, and a data transmission control. The present invention relates to a method, a computer program including these control procedures, and a recording medium recording these computer programs.

【0002】[0002]

【従来の技術】従来、例えば、ホスト装置とプリンタの
ような端末装置間の通信では、ホスト装置から印刷命令
及び印刷データ等の各種データを送信する他、端末装置
からも種々のステータスを含む各種データを送信する。
端末装置からの送信データは送信バッファに記憶された
後、ソフトウェアによるフロー制御、またはハードウェ
アによるフロー制御等の通信方式に基づき、原則として
送信データ発生順に記憶され、送信される。
2. Description of the Related Art Conventionally, for example, in communication between a host device and a terminal device such as a printer, various data such as print commands and print data are transmitted from the host device, and various kinds of status including various status are also sent from the terminal device. Send data.
The transmission data from the terminal device is stored in the transmission buffer, and then, in principle, is stored and transmitted in the transmission data generation order based on a communication method such as flow control by software or flow control by hardware.

【0003】[0003]

【発明が解決しようとする課題】上述のようなデータ通
信において、端末装置からホスト装置へのデータ送信
が、ホスト装置のビジー又は受信バッファフル等の理由
でデータを受信できないことがあり、そのため端末装置
において、複数の送信データが送信待ちになることがあ
る。従来技術では、端末装置に送信待ちデータが複数存
在する状況下でホスト装置が受信可能となった場合、送
信待ちデータを送信データ発生順に送信していた。その
ため従来技術では、緊急度の高い送信データの送信が緊
急度の低い送信データより後に送信される事態が発生し
ていた。
In the above-mentioned data communication, the data transmission from the terminal device to the host device may not be able to receive the data because the host device is busy or the reception buffer is full. In the device, a plurality of pieces of transmission data may be waiting for transmission. In the prior art, when the host device becomes receivable in the situation where a plurality of transmission waiting data exist in the terminal device, the transmission waiting data is transmitted in the transmission data generation order. Therefore, in the related art, there occurs a situation in which the transmission data of high urgency is transmitted after the transmission data of low urgency.

【0004】送信データにはその種類により至急送信す
べきデータとそれほど緊急性を有しないデータがある。
例えば、ソフトウェアフロー制御における「XOFF」
は、受信不能状態を送信相手方に知らせるためのデータ
であり、できるだけ早く送信する必要がある。そのた
め、複数の送信要求が発生した場合には、緊急送信の必
要性等、優先度の高い送信データから先に送信すること
が望ましい。さらに、このようなステータスデータの送
信の優先順位は、固定的かつ一律に定めるのではなく、
その動作環境及び発生状況等に応じて適切な優先順位に
変更できることが好ましい。
Depending on the type of transmission data, there are data that should be transmitted immediately and data that is not so urgent.
For example, "XOFF" in software flow control
Is data for notifying the other party of the unreceivable state, and it must be transmitted as soon as possible. Therefore, when a plurality of transmission requests are generated, it is desirable to transmit the transmission data with high priority such as necessity of emergency transmission first. Furthermore, the priority of sending such status data is not fixed and fixed, but
It is preferable that the priority can be changed to an appropriate priority according to the operating environment and the occurrence status.

【0005】本発明は、かかる点に鑑みてなされたもの
で、複数の送信要求が競合したときに、所定の送信優先
順位に従って、緊急度の高い送信データを優先して送信
することのできるデータ送信装置を提供することをその
目的の一つとする。
The present invention has been made in view of the above point, and when a plurality of transmission requests conflict with each other, data which can be transmitted with high urgency can be preferentially transmitted in accordance with a predetermined transmission priority. One of the purposes is to provide a transmitter.

【0006】本発明は、送信データをその種類に応じて
付与された所定の送信優先順位に従って送信することが
できるデータ送信装置であって、所定の変更命令により
その送信優先順位を変更することが可能なデータ送信装
置を提供することをその目的の一つとする。
The present invention is a data transmission device capable of transmitting transmission data in accordance with a predetermined transmission priority assigned according to its type, and the transmission priority can be changed by a predetermined change command. One of the purposes is to provide a possible data transmission device.

【0007】本発明は、送信データをその種類に応じて
付与された所定の送信優先順位に従って送信可能なデー
タ送信装置であって、所定の変更命令により送信優先順
位を変更可能なデータ送信装置を備える端末装置を提供
することをその目的の一つとする。
The present invention provides a data transmitting apparatus capable of transmitting transmission data in accordance with a predetermined transmission priority assigned according to its type, the data transmitting apparatus being capable of changing the transmission priority by a predetermined change command. One of the purposes is to provide a terminal device provided with the terminal device.

【0008】本発明は、送信要求が競合した場合に、送
信データの優先順位に従ってデータの送信が可能なデー
タ送信制御方法であって、送信データの優先順位を変更
可能なデータ送信方法を提供することをその目的の一つ
とする。
The present invention provides a data transmission control method capable of transmitting data according to the priority order of transmission data when the transmission requests conflict with each other, and a data transmission method capable of changing the priority order of transmission data. This is one of the purposes.

【0009】さらに本発明は、送信要求が競合した場合
に、送信データの優先順位に従ってデータの送信が可能
なデータ送信制御方法であって、送信データの優先順位
を変更可能なデータ送信方法を、コンピュータを用いて
実行するための手順を備えるプログラム及びその記録媒
体を提供することをその目的の1つとする。
Furthermore, the present invention is a data transmission control method capable of transmitting data according to the priority order of transmission data when the transmission requests conflict, and a data transmission method capable of changing the priority order of transmission data, One of the purposes is to provide a program including a procedure for executing using a computer and a recording medium thereof.

【0010】[0010]

【課題を解決するための手段】本発明は、送信の優先順
位を有する複数の送信バッファを設け、送信要求のあっ
た送信データをそのデータの優先度に応じた送信バッフ
ァに格納し、送信優先順位の高い送信データから順に送
信するとともに、送信優先順位を所定の変更命令により
変更することができるよう構成することにより、上記従
来技術の問題点を解決した。
According to the present invention, a plurality of transmission buffers having transmission priorities are provided, and transmission data requested for transmission is stored in the transmission buffer according to the priority of the data, and transmission priority is given. The problem of the above-described conventional technology is solved by configuring the transmission data to be transmitted in order from the highest, and the transmission priority to be changed by a predetermined change instruction.

【0011】本発明の一実施態様にかかるデータ送信装
置は、複数の送信バッファを備える送信データ記憶部
と、送信データをその種類に基づき定められる送信バッ
ファの一つに格納する送信データ設定部と、各送信バッ
ファに格納された送信データを複数の送信バッファの各
々に付与された所定のバッファ優先順位に従って送信す
る送信処理部と、送信データを送信する順番を規定する
送信優先順位を設定又は変更するための変更命令を検知
するデータ解析部と、変更命令に従って送信優先順位を
変更する優先情報処理部とを具備することを特徴とす
る。この態様により、重要度の高い送信データを所定の
優先順位に従って優先的に送信することが可能となると
ともに、その送信の優先順位を変更命令により変更する
ことが可能となる。
A data transmission apparatus according to an embodiment of the present invention includes a transmission data storage section having a plurality of transmission buffers, and a transmission data setting section for storing transmission data in one of the transmission buffers determined based on its type. , A transmission processing unit that transmits the transmission data stored in each transmission buffer according to a predetermined buffer priority assigned to each of the plurality of transmission buffers, and sets or changes the transmission priority that defines the transmission data transmission order. And a priority information processing unit that changes the transmission priority order according to the change command. According to this aspect, it becomes possible to preferentially transmit the transmission data having a high degree of importance in accordance with a predetermined priority, and the priority of the transmission can be changed by the change command.

【0012】本発明の他の実施態様にかかるデータ送信
装置は、優先情報処理部が、変更命令に基づいて、送信
バッファの各々に付与されたバッファ優先順位の設定を
変更することにより送信データの送信優先順位を変更す
ることを特徴とする。この実施態様では、送信バッファ
のバッファ優先順位が変更されることにより、格納され
た送信データの送信の優先順位が変更される。
In a data transmission apparatus according to another embodiment of the present invention, the priority information processing unit changes the setting of the buffer priority given to each of the transmission buffers based on the change command, so that the transmission data of the transmission data is changed. It is characterized in that the transmission priority is changed. In this embodiment, by changing the buffer priority of the transmission buffer, the transmission priority of the stored transmission data is changed.

【0013】本発明の他の実施態様にかかるデータ送信
装置は、優先情報処理部が、変更命令に基づいて、送信
データを格納する送信バッファの指定を変更することに
より、送信データの送信優先順位を変更することを特徴
とする。この実施形態では、バッファ優先順位を変更す
ることなく、送信データを格納する送信バファを変更す
ることにより、送信データの送信優先順位を変更する。
In the data transmission device according to another embodiment of the present invention, the priority information processing unit changes the designation of the transmission buffer for storing the transmission data based on the change command, thereby making the transmission priority order of the transmission data. It is characterized by changing. In this embodiment, the transmission priority of transmission data is changed by changing the transmission buffer that stores transmission data without changing the buffer priority.

【0014】本発明の他の実施態様にかかるデータ送信
装置は、送信処理部が、送信要求のある送信データから
最高位の送信優先順位の送信データを検出し、検出した
最高位の前記送信データの送信処理を終了した後、次の
順位の送信データについての送信処理を順次実行するよ
う制御する送信制御部を備えることを特徴とする。この
態様により、送信要求が競合した場合に、送信データを
効率的に送信優先順位順に送信することが可能となる。
例えば、送信データが格納されている送信バッファを検
出し、その中でバッファ優先順位の一番高い送信バッフ
ァに格納されている送信データを最も送信優先順位の高
い送信データとして最先に送信するという構成にするこ
とが可能である。
In the data transmitting apparatus according to another embodiment of the present invention, the transmission processing unit detects the transmission data having the highest transmission priority from the transmission data having the transmission request, and the detected highest transmission data is detected. After the transmission process of (1) is completed, a transmission control unit that controls to sequentially execute the transmission process of the transmission data of the next rank is provided. According to this aspect, when the transmission requests conflict with each other, the transmission data can be efficiently transmitted in the transmission priority order.
For example, it detects a transmission buffer that stores transmission data and transmits the transmission data stored in the transmission buffer with the highest buffer priority among them as the transmission data with the highest transmission priority first. It can be configured.

【0015】本発明の他の実施態様は、前述の各種態様
のいずれか一つデータ送信装置を備えたことを特徴とす
る端末装置である。重要度の高い送信データを先に送信
可能な構成とすることにより、端末装置特有の性質、機
能に応じた通信制御が可能となる。
Another embodiment of the present invention is a terminal device characterized in that it is provided with any one of the above-mentioned various data transmission devices. By making it possible to transmit the transmission data having a high degree of importance first, it becomes possible to perform communication control according to the characteristics and functions peculiar to the terminal device.

【0016】本発明の他の実施態様にかかるデータ送信
制御方法は、複数の送信バッファに記憶された送信デー
タを、所定の優先順位に従って送信する送信制御方法で
あって、(a)送信データを取得する工程と、(b)取得し
た送信データをその種類に応じて予め指定された複数の
送信バッファの一つに格納する工程と、(c)送信バッフ
ァに格納された送信データを、所定の変更命令に基づき
変更可能に設定された所定の送信優先順位に従って送信
する送信工程とを具備することを特徴とする。
A data transmission control method according to another embodiment of the present invention is a transmission control method for transmitting the transmission data stored in a plurality of transmission buffers in accordance with a predetermined priority order. A step of acquiring, (b) storing the acquired transmission data in one of a plurality of transmission buffers designated in advance according to its type, and (c) transmitting the transmission data stored in the transmission buffer to a predetermined And a transmitting step of transmitting in accordance with a predetermined transmission priority set to be changeable based on a change command.

【0017】本発明の他の実施態様にかかるデータ送信
制御方法は、上述の方法において、送信データの送信優
先順位を変更するために、さらに、(d)送信優先順位を
変更する変更命令を検知する工程と、(e)検知した変更
命令に基づいて、送信優先順位の設定を変更する工程と
を備えることを特徴とする。
In a data transmission control method according to another embodiment of the present invention, in the above method, in order to change the transmission priority of the transmission data, (d) a change command for changing the transmission priority is detected. And (e) changing the setting of the transmission priority order based on the detected change command.

【0018】本発明の他の実施態様にかかるデータ送信
制御方法は、送信工程(c)が、(f)記憶された送信優先
順位に基づいて、送信バッファに格納されている送信デ
ータの中から最高位の送信優先順位の送信データを検出
する工程と、(g)検出した最高位の送信データの送信処
理を実行する工程と、(h)最高位の送信データの送信
を終了した後、順次、次の順位の送信データについての
送信処理を実行する工程とを備えることを特徴とする。
In a data transmission control method according to another embodiment of the present invention, in the transmission step (c), (f) the transmission data stored in the transmission buffer is selected based on the stored transmission priority order. The step of detecting the transmission data of the highest transmission priority, the step of (g) executing the transmission processing of the detected highest transmission data, and (h) the transmission of the highest transmission data, and then sequentially. , And a step of executing a transmission process for transmission data of the next rank.

【0019】本発明の他の実施態様にかかるデータ送信
制御方法は、複数の送信バッファに記憶された送信デー
タを、所定の優先順位に従って送信する送信制御方法で
あって、(a)送信データを取得する工程と、(b)取得し
た前記送信データを格納する送信バッファであって、送
信データの種類に応じて指定され所定の変更命令により
その指定を変更可能な所定の送信バッファに格納する工
程と、(c)送信バッファに格納された送信データを、該
送信バッファに付与された所定の優先順位に従って送信
する送信工程とを具備することを特徴とする。
A data transmission control method according to another embodiment of the present invention is a transmission control method for transmitting the transmission data stored in a plurality of transmission buffers in accordance with a predetermined priority order. And a step of (b) storing the acquired transmission data in a predetermined transmission buffer which is designated according to the type of transmission data and whose designation can be changed by a predetermined change command. And (c) a transmission step of transmitting the transmission data stored in the transmission buffer in accordance with a predetermined priority assigned to the transmission buffer.

【0020】本発明の他の実施態様にかかるデータ送信
制御方法は、送信データの格納先として送信データの種
類に応じて指定される送信バッファの指定を変更するた
めに、さらに、(d)指定を変更する前記変更命令を検知
する工程と、(e)検知した変更命令に基づいて、送信デ
ータを格納する送信バッファの指定を変更する工程とを
備えることを特徴とする。
In the data transmission control method according to another embodiment of the present invention, in order to change the designation of the transmission buffer designated according to the type of the transmission data as the storage destination of the transmission data, (d) designation And (e) changing the designation of the transmission buffer for storing the transmission data based on the detected change instruction.

【0021】本発明の他の実施態様にかかるデータ送信
制御方法は、送信工程(c)が、(f)送信データが格納さ
れている送信バッファの中から、最高位の優先順位の送
信バッファを検出する工程と、(g)検出した最高位の送
信バッファに格納されている送信データの送信処理を実
行する工程と、(h)最高位の送信バッファに格納されて
いる送信データの送信を終了した後、順次、次の順位の
送信バッファに格納されている送信データの送信処理を
実行する工程とを備えることを特徴とする。
In the data transmission control method according to another embodiment of the present invention, in the transmission step (c), (f) the transmission buffer having the highest priority is selected from the transmission buffers storing the transmission data. Detecting step, (g) executing the transmission processing of the transmission data stored in the detected highest transmission buffer, and (h) ending transmission of the transmission data stored in the highest transmission buffer After that, the process of sequentially transmitting the transmission data stored in the transmission buffer of the next rank is performed.

【0022】本発明の他の実施形態は、上記送信制御方
法の各工程をコンピュータに実行させるプログラムであ
る。本プログラムにより、CPU、RAM、ROM、及
び所定の論理回路により本発明の実施が可能となる。
Another embodiment of the present invention is a program for causing a computer to execute each step of the above transmission control method. This program enables the present invention to be implemented by a CPU, a RAM, a ROM, and a predetermined logic circuit.

【0023】本発明の他の実施形態は、上記送信制御方
法の各工程を実行させるプログラムを記載したコンピュ
ータ読取可能な記録媒体である。
Another embodiment of the present invention is a computer-readable recording medium in which a program for executing each step of the above transmission control method is described.

【0024】[0024]

【発明の実施の形態】本発明の実施形態を説明する。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described.

【0025】本発明は、2以上の各種装置間におけるデ
ータ通信に使用可能である。以下の説明においては、本
発明の代表的な実施形態として、小売流通業において使
用されるPOSターミナルを構成するホスト装置とPO
Sプリンタ間のデータ通信の例を用いて説明する。PO
Sターミナルは、スーパー、百貨店等において使用され
るPOSシステムの販売時点情報入力端末装置であり、
同時に、顧客の購入商品清算処理装置として機能する。
POSターミナルは、精算処理及びPOSターミナル全
体を制御するホスト装置と、ホスト装置に接続された各
種端末装置とにより構成される。ホスト装置に接続され
る端末装置としては、各種プリンタ、各種ディスプレ
イ、バーコードスキャナ等がある。
The present invention can be used for data communication between two or more various devices. In the following description, as a typical embodiment of the present invention, a host device and a PO constituting a POS terminal used in the retail distribution business
An example of data communication between S printers will be described. PO
The S terminal is a point-of-sale information input terminal device for POS systems used in supermarkets, department stores, etc.
At the same time, it functions as a customer's purchased product settlement processing device.
The POS terminal includes a host device that controls the settlement process and the entire POS terminal, and various terminal devices connected to the host device. The terminal device connected to the host device includes various printers, various displays, bar code scanners, and the like.

【0026】図1は本発明の一実施形態を説明するため
の機能ブロック図である。図中、10は、POSプリン
タである。POSプリンタ10は、POSターミナル
(図示せず)全体を制御するホスト装置70(以下、
「ホスト70」と称する)と接続されており、ホスト7
0との間で各種データの送受信を行う。ホスト70から
は印刷命令、紙送り命令、ステータス送信命令等の各種
命令、及び印刷データ等が送信される他、送信データの
優先順位を変更するための変更命令も送信される。ホス
ト70から送信されたデータは、送受信処理部11を経
て受信バッファ12に一時記憶された後、データ解析部
16により解析される。データ解析部16により解析さ
れた受信データは、受信データが印刷命令、変更命令等
のコマンドであれば、そのコマンドに対応した処理が実
行され、受信データが印刷データの場合には印刷バッフ
ァに記憶され、印刷制御部の制御の下、印刷機構部(図
示せず)により印刷される。
FIG. 1 is a functional block diagram for explaining an embodiment of the present invention. In the figure, 10 is a POS printer. The POS printer 10 includes a host device 70 (hereinafter, referred to as a host device 70) that controls an entire POS terminal (not shown).
The host 7 is connected to the host 7)
Various data is transmitted to and received from 0. The host 70 transmits various commands such as a print command, a paper feed command, a status transmission command, print data, and the like, and also a change command for changing the priority of the transmission data. The data transmitted from the host 70 is temporarily stored in the reception buffer 12 via the transmission / reception processing unit 11 and then analyzed by the data analysis unit 16. When the received data analyzed by the data analysis unit 16 is a command such as a print command or a change command, the process corresponding to the command is executed, and when the received data is print data, the received data is stored in the print buffer. Then, printing is performed by a printing mechanism unit (not shown) under the control of the printing control unit.

【0027】POSプリンタ10からホスト70へは、
バージョン情報等のデータの他、各種ステータスデータ
が送信される。プリンタからの送信データの中心となる
のはプリンタの各種状態を示すステータスデータであ
る。ステータスデータの送信は、ホスト70からのステ
ータス要求命令を受信した場合に応じて実行される場合
と、POSプリンタ10に所定の状況が発生したときに
自動的に送信される場合とがある。また、ホスト70か
らの命令により、所定の状況が発生した場合に自動的に
ステータスを送信するよう予め設定しておくことも可能
である。本明細書においては、このようにホストからの
命令により所定の状況が発生したときに自動的にステー
タスを送信する機能を、「ASB機能」(ASB:Auto
Status Back)と称する。
From the POS printer 10 to the host 70,
In addition to data such as version information, various status data are transmitted. At the center of the transmission data from the printer is status data indicating various states of the printer. The transmission of the status data may be executed in response to the reception of the status request command from the host 70, or may be automatically transmitted when the POS printer 10 has a predetermined situation. It is also possible to set in advance so that the status is automatically transmitted when a predetermined situation occurs according to an instruction from the host 70. In this specification, the function of automatically transmitting the status when a predetermined situation is generated by a command from the host in this way is referred to as an "ASB function" (ASB: Auto
Status Back).

【0028】(データの送信)ステータスデータは、P
OSプリンタ10内に設けられた電圧異常検知部、受信
バッファフル、カバーオープン、用紙なし等の各種セン
サ及び状態検出部からの信号または情報に基づいて、ス
テータス処理部15により生成される。ステータス処理
部15は、プリンタの状況変化があった場合に、ASB
機能の設定状況等に応じて、所定のステータスデータを
送信データ設定部14に出力する。送信データ設定部1
4は、送信要求信号等の送信制御信号を送受信処理部1
1に出力するとともに、ステータスデータをその優先順
位に応じて送信バッファa〜xのいずれかに記憶させ
る。送信データ設定部14から送信される送信要求は、
送受信処理部11内に各送信バッファa〜xに対応する
送信要求フラッグ(後述する)として記憶される。送信
データ設定部14は、各送信バッファa〜xに対応する
レジスタにより、又はRAM等のメモリにより構成可能
である。メモリにより構成する場合、所定のメモリ空間
をそれぞれの送信バッファa〜xに割当てる。尚、送信
バッファの大きさは、個々の送信バッファa〜xにより
異なってもよい。
(Data transmission) The status data is P
It is generated by the status processing unit 15 based on signals or information from the voltage abnormality detection unit provided in the OS printer 10, various sensors such as a reception buffer full, cover open, no paper, and the state detection unit. The status processing unit 15 uses the ASB when the status of the printer changes.
Predetermined status data is output to the transmission data setting unit 14 according to the setting status of the function. Transmission data setting unit 1
Reference numeral 4 denotes a transmission / reception processing unit 1 for transmitting transmission control signals such as transmission request signals.
1 and the status data is stored in any of the transmission buffers a to x according to the priority order. The transmission request transmitted from the transmission data setting unit 14 is
It is stored in the transmission / reception processing unit 11 as a transmission request flag (described later) corresponding to each of the transmission buffers a to x. The transmission data setting unit 14 can be configured by a register corresponding to each transmission buffer a to x or a memory such as a RAM. When it is configured by a memory, a predetermined memory space is allocated to each transmission buffer a to x. The size of the transmission buffer may differ depending on the individual transmission buffers a to x.

【0029】送受信処理部11は、ホスト70との通信
処理を行なう。POSプリンタ10からの送信を行なう
場合、送受信処理部11は、ホスト70が受信可能な状
況であるかを確認するとともに、ホスト70が受信可能
であると送信要求の有無を制御データに基づき確認す
る。送信要求が複数存在する場合には、送信優先順位の
高い送信データから順に送信する。
The transmission / reception processing unit 11 performs communication processing with the host 70. When transmitting from the POS printer 10, the transmission / reception processing unit 11 confirms whether or not the host 70 is in a receivable state, and confirms that the host 70 is receivable based on the control data whether or not there is a transmission request. . When there are a plurality of transmission requests, the transmission data with the highest transmission priority is transmitted in order.

【0030】これにより同時期に複数のデータ送信要求
が発生し、送信要求が競合した場合でも、送信データの
発生順ではなく、ステータスデータの優先順位に応じて
順次送信可能となる。
As a result, even when a plurality of data transmission requests are generated at the same time and the transmission requests conflict with each other, the data can be sequentially transmitted according to the priority order of the status data rather than the generation order of the transmission data.

【0031】(送信優先順位の変更)送信データの送信
優先順位を所定の変更命令により変更する場合について
説明する。送信優先順位の変更を希望する場合には、例
えば、ホスト70から送信優先順位を変更する変更命令
をPOSプリンタ10に送信する。変更命令について
は、後ほど詳細に説明する。ホスト70から変更命令を
受信したPOSプリンタ10は、データ解析部16によ
りホスト70から受信したデータが変更命令であること
を検知すると、優先情報記憶部18に記憶されている送
信データの優先順位に関する優先情報が、優先情報処理
部17により変更される。
(Change of Transmission Priority) A case will be described in which the transmission priority of transmission data is changed by a predetermined change instruction. When it is desired to change the transmission priority order, for example, the host 70 transmits a change command for changing the transmission priority order to the POS printer 10. The change command will be described in detail later. When the POS printer 10 receives the change command from the host 70 and the data analysis unit 16 detects that the data received from the host 70 is the change command, the POS printer 10 relates to the priority order of the transmission data stored in the priority information storage unit 18. The priority information is changed by the priority information processing unit 17.

【0032】優先情報記憶部18に記憶される優先情報
及びその変更の方法は、データ送信時に送信データの送
信優先順位を確定することができ、かつ、変更命令によ
りその送信優先順位を変更することができるのであれ
ば、どのようなものであってもよい。例えば、送信バッ
ファa〜xに付与された優先順位を優先情報として記憶
しておくことができる。この構成においては、複数の送
信要求があった場合には、送信時に送信要求の優先順位
を確認し、優先順位の高い送信バッファに記憶された送
信データから先に送信する。送信優先順位の変更は、送
信バッファに付与される優先順位を変更することにより
行なう。また、送信バッファの優先順位は変更しないよ
うに固定しておき、優先情報として、送信データを格納
する場所(送信バッファ)を送信データの種類に応じて
変更するような構成とすることも可能である。ステータ
スデータを格納する送信バッファをより優先順位の高い
送信バッファに変更することにより、送信データの優先
順位をあげることが可能となる。
The priority information stored in the priority information storage unit 18 and the method of changing the priority information can determine the transmission priority of the transmission data at the time of data transmission, and change the transmission priority by a change command. Anything is possible as long as it can. For example, the priority orders given to the transmission buffers a to x can be stored as priority information. In this configuration, when there are a plurality of transmission requests, the priorities of the transmission requests are confirmed at the time of transmission, and the transmission data stored in the transmission buffer having a high priority is transmitted first. The transmission priority is changed by changing the priority given to the transmission buffer. Further, the priority of the transmission buffer may be fixed so as not to be changed, and the location (transmission buffer) for storing the transmission data may be changed as the priority information according to the type of the transmission data. is there. By changing the transmission buffer that stores the status data to a transmission buffer with a higher priority, it becomes possible to raise the priority of the transmission data.

【0033】(実施形態2) (構成)図2は、図1に示す機能ブロック図の一部をよ
り詳細に示すもので、本発明の他の実施形態にかかる機
能ブロック図である。図1に対応する各部については、
それぞれの対応する番号に“a”を付して示している。
図2の実施形態は、送信データ設定部14a、送信デー
タ記憶部13a、送受信処理部11a、データ解析部1
6a、優先情報処理部17a、優先情報記憶部18a、
及び制御データ記憶部28とを備えている。
(Second Embodiment) (Structure) FIG. 2 shows a part of the functional block diagram shown in FIG. 1 in more detail, and is a functional block diagram according to another embodiment of the present invention. Regarding each part corresponding to FIG. 1,
"A" is attached to each corresponding number.
In the embodiment shown in FIG. 2, the transmission data setting unit 14a, the transmission data storage unit 13a, the transmission / reception processing unit 11a, and the data analysis unit 1 are provided.
6a, priority information processing unit 17a, priority information storage unit 18a,
And a control data storage unit 28.

【0034】送信データ設定部14aは、優先順位判定
部21、制御データ設定部22、バッファ記憶制御部2
3とを備えている。送受信処理部11aは、送信処理部
20、インタフェース27、及び受信処理部29とを備
えており、さらに送信処理部20は、送信制御部24、
制御データ確認部25、及び送信データ読出部26とを
備えている。図2においては、独立して設けている制御
データ記憶部28は、送信データ設定部14a又は送信
処理部20a内に設けることも可能である。
The transmission data setting section 14a includes a priority determination section 21, a control data setting section 22, and a buffer storage control section 2.
3 and 3. The transmission / reception processing unit 11a includes a transmission processing unit 20, an interface 27, and a reception processing unit 29, and the transmission processing unit 20 further includes a transmission control unit 24,
A control data confirmation unit 25 and a transmission data reading unit 26 are provided. In FIG. 2, the control data storage unit 28 provided independently may be provided in the transmission data setting unit 14a or the transmission processing unit 20a.

【0035】(データ送信の動作)次に、ステータスデ
ータをホスト70に送信する場合を想定して、データ送
信の動作を説明する。ステータス処理部15から受信し
たステータスデータは、優先順位判定部21によりステ
ータスデータの種類に応じた送信優先順位が判定され
る。バッファ記憶制御部23は、優先順位の判定結果に
基づいてステータスデータを優先順位に対応する送信バ
ッファa〜nのいずれかに記憶させる。尚、本実施形態
では、ステータスデータの種類に対応する優先順位を判
定して、記憶すべき送信バッファを特定しているが、単
にステータスデータの種類を判定し、その種類に対応し
た所定の送信バッファに記憶するように構成してもよい
(種類を、優先順位を有する所定の送信バッファに関連
づけることにより、優先順位を判定することと同様の意
味を有することとなる)。
(Data Transmission Operation) Next, assuming that the status data is transmitted to the host 70, the data transmission operation will be described. For the status data received from the status processing unit 15, the priority determination unit 21 determines the transmission priority order according to the type of status data. The buffer storage control unit 23 stores status data in any of the transmission buffers a to n corresponding to the priority order based on the determination result of the priority order. In the present embodiment, the priority order corresponding to the type of status data is determined and the transmission buffer to be stored is specified. However, the type of status data is simply determined and a predetermined transmission corresponding to that type is performed. It may be configured to be stored in a buffer (associating the type with a predetermined transmission buffer having a priority has the same meaning as determining the priority).

【0036】制御データ設定部22は、判定した優先順
位(又はステータスデータの種類)、及び送信するステ
ータスデータに関する各種制御データを制御データ記憶
部28に記憶させる。制御データには、ステータスの種
類又は各送信バッファに対応する送信要求フラッグ、送
信データアドレス情報、送信データバイト数等の各種情
報が含まれる(図示せず)。制御データ設定部22は、
制御データ記憶部28内の対応する送信要求フラッグを
“ON”にするとともに、関連する制御データを制御デ
ータ記憶部28に書き込む。
The control data setting unit 22 causes the control data storage unit 28 to store the determined priority (or the type of status data) and various control data relating to the status data to be transmitted. The control data includes various information such as a status request or a transmission request flag corresponding to each transmission buffer, transmission data address information, and the number of transmission data bytes (not shown). The control data setting unit 22
The corresponding transmission request flag in the control data storage unit 28 is turned “ON”, and related control data is written in the control data storage unit 28.

【0037】送信処理部20の送信制御部24は、ホス
ト70が受信可能かどうかを定期的に確認し、ホスト7
0が受信可能である場合には制御データ確認部25によ
り、制御データ記憶部28の送信要求フラグを確認す
る。ホスト70が受信可能状態かどうかの確認をするこ
となく、定期的に送信要求フラグを確認するよう構成し
てもよい。送信要求フラグが“ON”であれば、制御デ
ータ記憶部28に記憶されている送信データ記憶位置の
アドレス情報に基づいて、送信データ読出部26が、送
信バッファa〜xから対応する送信データ(ステータス
データ)を読み出す。送信データ読出部26により読み
出されたステータスデータは、送信制御部24の制御の
下、インタフェース27を介してホスト70に送信され
る。
The transmission control unit 24 of the transmission processing unit 20 periodically checks whether the host 70 can receive data, and the host 7
When 0 can be received, the control data confirmation unit 25 confirms the transmission request flag of the control data storage unit 28. The transmission request flag may be periodically confirmed without confirming whether the host 70 is in the receivable state. If the transmission request flag is “ON”, the transmission data reading unit 26 causes the corresponding transmission data (from the transmission buffers a to x) based on the address information of the transmission data storage position stored in the control data storage unit 28. Read status data). The status data read by the transmission data reading unit 26 is transmitted to the host 70 via the interface 27 under the control of the transmission control unit 24.

【0038】複数の送信要求フラグが“ON”となって
いる場合には、送信優先度の高いバッファに記憶されて
いる送信データから先に送信される。ホスト70が長期
間ダウンした場合、他の処理のためにビジー状態にある
場合、又は受信バッファフル状態にある場合等に、多く
の送信待データが送信バッファa〜xに格納され、送信
要求が競合する場合が発生する。本発明では、このよう
な場合であっても、重要度の高い“XOFF”等ステー
タスデータを先に送信することができるので、ホスト7
0による迅速な対応が可能となり、より適切なデータ通
信が可能となる。
When a plurality of transmission request flags are "ON", the transmission data stored in the buffer having a high transmission priority is transmitted first. When the host 70 is down for a long period of time, when it is busy due to other processing, or when it is in the reception buffer full state, a large amount of data waiting to be transmitted is stored in the transmission buffers a to x, and a transmission request is sent. There may be conflicts. In the present invention, even in such a case, the status data such as "XOFF" having a high degree of importance can be transmitted first.
A quick response by 0 becomes possible, and more appropriate data communication becomes possible.

【0039】送信優先順位の判定は、優先情報記憶部1
8aに記憶されている優先情報により行なう。図6
(a)に優先情報記憶部18aに記憶される優先情報の
例を示す。図6(a)では、優先情報として、送信デー
タの種類A〜Xと、送信バッファを特定する特定情報
(図6ではa〜x)と、送信優先順位1〜nとを記憶し
ている。この優先情報により、送信データ設定部14a
は、送信データの種類に応じて記憶すべき送信バッファ
を知ることが可能となり、送信処理部20は、複数の送
信バッファに送信データが記憶されているときにどの送
信バッファのデータから先に送信すべきかを知ることが
可能となる。
The transmission priority order is determined by the priority information storage unit 1
The priority information stored in 8a is used. Figure 6
An example of the priority information stored in the priority information storage unit 18a is shown in (a). In FIG. 6A, types of transmission data A to X, specific information (a to x in FIG. 6) for identifying the transmission buffer, and transmission priorities 1 to n are stored as the priority information. With this priority information, the transmission data setting unit 14a
Can know the transmission buffer to be stored according to the type of the transmission data, and the transmission processing unit 20 transmits the data in which transmission buffer first when the transmission data is stored in the plurality of transmission buffers. It becomes possible to know what to do.

【0040】このように、送信データが格納される送信
バッファ、及び送信データの送信順序がこの優先情報に
基づいて確定されるので、変更命令に基づいてこの優先
情報を変更することにより送信優先順位の変更が可能と
なる。送信優先順位の変更は、送信データを記憶すべき
送信バッファを変更すること、または、送信バッファの
送信優先順位を変更することのいずれによっても可能で
ある。
As described above, since the transmission buffer for storing the transmission data and the transmission order of the transmission data are determined based on this priority information, the transmission priority order is changed by changing this priority information based on the change command. Can be changed. The transmission priority can be changed by either changing the transmission buffer in which the transmission data is to be stored or changing the transmission priority of the transmission buffer.

【0041】(実施形態3)図3は本発明の他の実施形
態を示す機能ブロック図である。
(Third Embodiment) FIG. 3 is a functional block diagram showing another embodiment of the present invention.

【0042】本実施形態では、送信データ記憶部が送信
の優先順位が異なる3つの送信バッファa、b、cを備
えている例を示している。送信の優先順位は任意に設定
可能であるが、ここでは送信バッファaが一番優先順位
が高く、次いで、送信バッファb、送信バッファcの順
に設定されているものとする。図3では、図1及び図2
と共通する部分については番号の後ろに“b”を付して
示している。
The present embodiment shows an example in which the transmission data storage section is provided with three transmission buffers a, b, c having different transmission priorities. The transmission priority can be set arbitrarily, but here it is assumed that the transmission buffer a has the highest priority, and then the transmission buffer b and the transmission buffer c are set in this order. In FIG. 3, FIG. 1 and FIG.
Portions common to those are indicated by adding "b" after the number.

【0043】通常、送信データの種類は3個以上存在す
る。このように、送信データの種類に比べて送信バッフ
ァの数が少ない場合には、各送信データを3段階の優先
順位のいずれかに予め決めておき、優先順位判定部21
bにより各ステータスデータの優先順位を判定する。優
先順位が判定されると、バッファ記憶制御部23bによ
り、送信データの優先順位に対応する送信バッファa,
b,cのいずれかが指定され、指定された送信バッファ
にそのステータスデータが記憶される。この他、各送信
データの格納場所を3個の送信バッファのいずれかに予
め決めておき、送信データの種類を判定した後、対応す
る送信バッファに格納するよう構成してもよい。ステー
タスデータの優先順位又は格納すべき送信バッファの判
定は、優先情報記憶部18bに記憶されている優先情報
に基づいて行なわれる。前述のように優先情報として、
送信データ、送信データを格納すべき送信バッファ、優
先順位等を互いに関連付けて記憶しておくことにより、
送信データを所定の送信バッファに記憶することが可能
となる。
Usually, there are three or more types of transmission data. As described above, when the number of transmission buffers is smaller than the number of types of transmission data, each transmission data is determined in advance in one of three priority levels, and the priority determination unit 21
The priority of each status data is determined by b. When the priority is determined, the buffer storage control unit 23b causes the transmission buffer a, which corresponds to the priority of the transmission data,
Either b or c is designated, and the status data is stored in the designated transmission buffer. In addition, the storage location of each transmission data may be determined in advance in any of the three transmission buffers, and the type of the transmission data may be determined and then stored in the corresponding transmission buffer. The priority of the status data or the transmission buffer to be stored is determined based on the priority information stored in the priority information storage unit 18b. As mentioned above, as priority information,
By storing the transmission data, the transmission buffer in which the transmission data should be stored, the priority order, etc. in association with each other,
It becomes possible to store the transmission data in a predetermined transmission buffer.

【0044】送信データの種類の検出には、種々の技術
を採用可能である。例えば、ステータス処理部15から
ステータスの種類を表す制御信号を受信することにより
その種類を検出するような構成とすること、又は送信デ
ータ中に送信データの種類を表す情報を含ませておき、
優先順位判定部21bによる検出を可能とする等、種々
の構成が可能である。ステータスデータの読出し及び送
信の動作については、図2の実施形態とほぼ同じである
ので、説明を省略する。
Various techniques can be adopted to detect the type of transmission data. For example, the control signal indicating the type of status is received from the status processing unit 15 to detect the type, or the transmission data includes information indicating the type of transmission data.
Various configurations are possible, such as enabling detection by the priority determination unit 21b. The operation of reading and transmitting the status data is almost the same as that of the embodiment shown in FIG.

【0045】(送信バッファの種類の例示)図4は、図
1に示す送信データ記憶部13に、ステータスの種類に
応じて7種類の送信バッファを設けた実施形態を示す図
である。“XOFF”、“信号線ステータス”、“電源
ONステータス”、“リアルタイムステータス”、“A
SB(オートステータスバック)”、“XON“、“通
常ステータス”の7種類のステータスに対応して7個の
送信バッファ51〜57が設けられている。他のステー
タス用として、さらに多くの送信バッファを設けること
も可能である。反対に使用しないステータスがある場合
には、送信バッファを少なくすることができ、さらに不
使用の送信バッファを使用不能に設定可能な構成とする
ことも可能である。もっとも、多様なステータスに対応
できるように複数の送信バッファを設けておき、その一
部を使用しないとしても、不要な送信バッファが実際上
使用されないだけであり、とくに問題は生じない。従っ
て、予め多くのステータスに対応する送信バッファを設
けておき、使用する送信データの数に対応する送信バッ
ファだけを使用する構成とすることも可能である。ま
た、送信バッファの送信優先順位を変更するためのスイ
ッチ等を設けることにより、送信優先順位を変更可能に
構成することも可能である。
(Exemplary Types of Transmission Buffer) FIG. 4 is a diagram showing an embodiment in which the transmission data storage unit 13 shown in FIG. 1 is provided with seven types of transmission buffers according to the type of status. "XOFF", "Signal line status", "Power ON status", "Real time status", "A"
Seven transmission buffers 51 to 57 are provided corresponding to seven types of statuses of "SB (auto status back)", "XON", and "normal status". More transmission buffers for other statuses On the other hand, when there is a status that is not used, it is possible to reduce the number of transmission buffers, and it is also possible to set an unused transmission buffer to be unusable. However, even if a plurality of transmission buffers are provided so that various statuses can be dealt with and some of them are not used, unnecessary transmission buffers are not actually used, and there is no particular problem. Provide a send buffer corresponding to many statuses, and use only the send buffer corresponding to the number of send data used. It is also possible to adopt a configuration. In addition, by providing a switch or the like for changing the transmission priority of the transmission buffer, it is also possible to configure changeable transmission priority.

【0046】送信バッファ51〜57、送信データ、優
先順位の相互関係は、優先情報記憶部に優先情報として
記憶される。本実施形態では、送信バッファ51〜57
と送信データの種類とが1対1に対応している。送信デ
ータ設定部14によりステータスデータの種類が判定さ
れ、対応する送信バッファ51〜57に記憶される。同
時に送信データ設定部14から制御データ記憶部28
(図2)に制御データが記憶される。送信バッファ51
〜57に記憶されたステータスデータは、送信処理部2
0(図2)により、制御データ記憶部28に記憶された
制御データに基づいて優先順位に従いホスト70に送信
される。
The mutual relationships among the transmission buffers 51 to 57, the transmission data, and the priority order are stored as priority information in the priority information storage section. In this embodiment, the transmission buffers 51-57.
And the type of transmission data have a one-to-one correspondence. The type of status data is determined by the transmission data setting unit 14 and stored in the corresponding transmission buffers 51 to 57. At the same time, the transmission data setting unit 14 to the control data storage unit 28
The control data is stored in (FIG. 2). Send buffer 51
The status data stored in 57 to 57 is transmitted to the transmission processing unit 2
0 (FIG. 2), it is transmitted to the host 70 according to the priority order based on the control data stored in the control data storage unit 28.

【0047】(実施形態4)以上説明したような送信デ
ータ設定部14、ステータス処理部15、送信処理部2
0、送信データ記憶部13等は、ASIC等による論理
回路及びレジスタ等により実施することができる他、C
PU(MPUを含む)及びRAM、ROM等のハードウ
ェアとこれらを制御するソフトウェアとを用いて実施す
ることも可能である。CPU等のハードウェアとソフト
ウェアにより本発明を実施する場合、送信データ記憶部
13の各送信バッファとしてメモリ内の所定の空間を割
当てることにより、送信バッファの大きさを必要に応じ
て容易に変更可能となる。
(Embodiment 4) The transmission data setting unit 14, the status processing unit 15, and the transmission processing unit 2 as described above.
0, the transmission data storage unit 13 and the like can be implemented by a logic circuit such as an ASIC and a register, and C
It is also possible to implement by using hardware such as PU (including MPU), RAM, and ROM, and software that controls these. When the present invention is implemented by hardware such as a CPU and software, the size of the transmission buffer can be easily changed as necessary by allocating a predetermined space in the memory as each transmission buffer of the transmission data storage unit 13. Becomes

【0048】図5にCPU、RAM,ROM及び制御ソ
フトウェアを使用して本発明を実施する場合の一実施形
態の機能ブロック図を示す。
FIG. 5 shows a functional block diagram of an embodiment in which the present invention is carried out by using a CPU, RAM, ROM and control software.

【0049】ホスト装置70とPOSプリンタ10はイ
ンタフェース27cを介して行なわれる。POSプリン
タ10の基本的な制御は、主制御手段31により行なわ
れる。印刷、データ通信等の動作の制御は、主制御手段
31の制御の下、各種制御手段32〜38により行なわ
れる。データ通信の制御は、送受信制御手段32によ
り、実行される。送受信制御手段32の機能は、受信処
理手段42と送信処理手段43に分かれる。これらの手
段は、前述の送受信処理部11、送信処理部20及び受
信処理部29と同様の機能を有している。記憶手段34
は、RAM等により構成可能であり、受信バッファ4
4、送信バッファ45、制御データ記憶手段46、印刷
バッファ47、優先情報記憶部48等を、記憶手段34
内に設けることができる。
The host device 70 and the POS printer 10 are operated via the interface 27c. Basic control of the POS printer 10 is performed by the main control means 31. Control of operations such as printing and data communication is performed by various control means 32 to 38 under the control of the main control means 31. The control of data communication is executed by the transmission / reception control means 32. The function of the transmission / reception control means 32 is divided into a reception processing means 42 and a transmission processing means 43. These units have the same functions as the transmission / reception processing unit 11, the transmission processing unit 20, and the reception processing unit 29 described above. Storage means 34
Can be configured by a RAM or the like, and the reception buffer 4
4, the transmission buffer 45, the control data storage unit 46, the print buffer 47, the priority information storage unit 48, etc.
It can be provided inside.

【0050】印刷は、主制御手段31及び印刷制御手段
37の制御の下、印刷用紙の搬送機構を含む印刷機構等
40により実行される。印刷データは印刷バッファ47
に展開される。印刷機構等40は、印刷制御手段37に
よる制御の下で印刷ヘッド等の動作を制御する各種論理
回路等を含んでいる。印刷機構等には、用紙の位置セン
サ、ジャムセンサ、電圧センサ等の各種センサ41が設
けられており、各種センサからの検出信号はステータス
処理手段38により処理される。
Printing is performed by the printing mechanism 40 including a printing paper transporting mechanism under the control of the main control means 31 and the printing control means 37. The print data is the print buffer 47.
Be deployed to. The printing mechanism 40 includes various logic circuits that control the operation of the print head and the like under the control of the print control unit 37. The printing mechanism and the like are provided with various sensors 41 such as a paper position sensor, a jam sensor, and a voltage sensor, and detection signals from the various sensors are processed by the status processing means 38.

【0051】ステータスを送信データとしてホスト70
に送信する場合には、ステータス処理手段38から主制
御手段31を介して送信データ設定手段33にステータ
ス送信データが出力される。送信データ設定手段33
は、ステータスデータの種類、優先順位等に応じて、所
定の送信バッファ45にステータスデータを記憶すると
ともに、制御データ記憶手段46に制御データを記憶す
る。送信バッファ45に記憶された送信データは、送信
処理手段43により、送信バッファに付与された優先順
位に従って送信される。送信優先順位は、優先情報記憶
部48に記憶されている優先情報に従って判定される。
優先情報記憶部48の優先情報は変更命令により変更可
能である。データ解析手段35により受信データが変更
命令であることを検知すると、優先情報処理手段36に
より、記憶手段34の優先情報記憶部48の優先情報
が、変更命令に従って書き換えられる。これにより、送
信データの送信優先順位が変更される。
The host 70 uses the status as transmission data.
When the data is transmitted to the server, the status processing means 38 outputs the status transmission data to the transmission data setting means 33 via the main control means 31. Transmission data setting means 33
Stores the status data in a predetermined transmission buffer 45 and the control data in the control data storage means 46 according to the type of status data, the priority order, and the like. The transmission data stored in the transmission buffer 45 is transmitted by the transmission processing means 43 according to the priority given to the transmission buffer. The transmission priority order is determined according to the priority information stored in the priority information storage unit 48.
The priority information in the priority information storage unit 48 can be changed by a change command. When the data analysis unit 35 detects that the received data is the change command, the priority information processing unit 36 rewrites the priority information in the priority information storage unit 48 of the storage unit 34 according to the change command. As a result, the transmission priority of the transmission data is changed.

【0052】(ステータスデータの送信処理の実施例)
図8及び図9を使用して、ステータスデータの送信につ
いて、具体例を用いて説明する。図8は、送信バッファ
a〜xに記憶される送信データ等の例を示す図であり、
(a)は図4に示すような通常ステータスバッファ57
に記憶されるデータの例であり、(b)はASBバッフ
ァ55に記憶されるデータの例である。図9は、ASB
バッファに格納されるASBデータを例示する図であ
る。
(Example of status data transmission processing)
Transmission of status data will be described using a specific example with reference to FIGS. 8 and 9. FIG. 8 is a diagram showing an example of transmission data and the like stored in the transmission buffers a to x,
(A) is a normal status buffer 57 as shown in FIG.
Is an example of data stored in the ASB buffer 55, and (b) is an example of data stored in the ASB buffer 55. FIG. 9 shows the ASB
It is a figure which illustrates the ASB data stored in a buffer.

【0053】(通常ステータスデータの送信例)最初
に、図8(a)を用いて、送信データ設定部14bによ
る通常ステータスの送信要求処理手順の一例を説明す
る。通常ステータスデータの送信のための制御データと
して、制御データ記憶部28に記憶される通常ステータ
ス送信要求、通常ステータス送信中フラグ等の各種制御
データと、通常ステータス送信バッファ内に記憶される
制御データとがある。図8(a)の、、は、通常
ステータスデータを送信するために送信バッファ内に記
憶される制御データであり、この制御データは送信され
ない。送信バッファには、通常ステータスデータを格納
する領域として128バイト設けられており、複数の通
常ステータスデータを最大128バイトまで格納可能で
ある。制御データは通常ステータスデータの全格納デ
ータ数を表す情報であり、制御データは通常ステータ
スデータの送信データ開始位置を表す情報、制御データ
は最新の通常ステータスデータの格納最後尾位置を示
すデータである。
(Example of Transmission of Normal Status Data) First, with reference to FIG. 8A, an example of a transmission request processing procedure of the normal status by the transmission data setting unit 14b will be described. As control data for transmitting the normal status data, various control data such as a normal status transmission request and a normal status transmission flag stored in the control data storage unit 28, and control data stored in the normal status transmission buffer. There is. 8A in FIG. 8A is control data stored in the transmission buffer for transmitting normal status data, and this control data is not transmitted. The transmission buffer is provided with 128 bytes as an area for storing normal status data, and can store a plurality of normal status data up to 128 bytes. The control data is information indicating the total number of stored normal status data, the control data is information indicating the start position of transmission data of the normal status data, and the control data is data indicating the storage end position of the latest normal status data. .

【0054】まず、送信データ設定部14(14a、1
4bを含む。以下において同じ)の処理について説明す
る。
First, the transmission data setting unit 14 (14a, 1
4b is included. The same will be described below).

【0055】ステータス処理部15から通常ステータス
の送信要求があると、送信データ設定部14は通常ステ
ータスデータの格納領域に空きがあるかどうかを確認す
る。空きがあるかどうかは制御データにより確認可能
である。既に128バイトの通常ステータスが格納され
ておりこれ以上格納する余裕がない場合には、格納領域
が空くまで待機する。格納領域に余裕がある場合には、
格納可能な領域の先頭を1バイト空けて、その後にステ
ータスデータを格納する。ステータスデータの格納を完
了後、先頭の1バイト部分にステータスデータバイト数
を記憶する。図8(a)で、網掛部分に既にデータが格
納されているとすると、(i)で示す位置に次のステータ
スデータのバイト数が格納され、(ii)で示す位置から次
のステータスデータが格納される。新しいステータスデ
ータが格納されると、制御データが、新しいステータ
スデータのバイト数+1(バイト数領域分)を加算した
値に更新される。制御データの値は、最新のデータ格
納位置の最後尾アドレス(最新ステータスが3バイトと
した場合、図8(a)の(iii)の位置)に更新される。
さらに、通常ステータス送信要求フラグが“OFF”の
場合には、“ON”に設定する。
When there is a normal status transmission request from the status processing section 15, the transmission data setting section 14 confirms whether or not there is a free space in the normal status data storage area. Whether there is a space can be confirmed by the control data. If the normal status of 128 bytes is already stored and there is no room to store any more, the standby is waited until the storage area becomes empty. If you have enough storage space,
One byte is left at the beginning of the storable area, and status data is stored after that. After the storage of status data is completed, the number of status data bytes is stored in the first 1-byte portion. In FIG. 8A, assuming that data is already stored in the shaded area, the number of bytes of the next status data is stored in the position shown in (i), and the next status data is stored in the position shown in (ii). Is stored. When the new status data is stored, the control data is updated to a value obtained by adding the number of bytes of the new status data + 1 (the number of bytes area). The value of the control data is updated to the last address of the latest data storage position (position (iii) in FIG. 8A when the latest status is 3 bytes).
Further, when the normal status transmission request flag is "OFF", it is set to "ON".

【0056】次に送信処理部20、20b(以下「送信
処理部20」と称する。以下同様)による送信処理につ
いて説明する。通常ステータスデータの送信処理は、通
常ステータス送信要求が発生していること、優先順位上
位の送信要求が発生していないこと、及び他の連続デー
タの送信中で無いことの3条件を満足するときに実行さ
れる。送信処理部20は、定期的に制御データ記憶部2
8の送信要求フラグの有無を確認する。送信要求フラグ
があると、必要に応じてホスト70が受信可能であるこ
とを確認し、複数の送信要求がある場合には優先順位の
高い順に送信処理が行われるため、他に送信要求が無い
場合に通常ステータスデータの送信処理が行われる。
Next, the transmission processing by the transmission processing units 20 and 20b (hereinafter referred to as "transmission processing unit 20". The same applies hereinafter) will be described. When the normal status data transmission process satisfies three conditions: a normal status transmission request is generated, a transmission request with a higher priority is not generated, and other continuous data is not being transmitted. To be executed. The transmission processing unit 20 periodically receives the control data storage unit 2
The presence or absence of the transmission request flag 8 is confirmed. If there is a transmission request flag, it is confirmed that the host 70 is receivable as necessary, and if there are multiple transmission requests, the transmission processing is performed in the order of higher priority, so there is no other transmission request. In this case, normal status data transmission processing is performed.

【0057】送信開始のためにまず、送信データアドレ
ス及び、送信データ数を設定する。送信アドレスは制御
用データに記憶されており、送信バイト数は送信する
ステータスデータの最初に格納されている。その後送信
中フラグを設定して、ステータスデータの送信を開始す
る。1バイト送信するごとに、送信データバイト数を−
1し、送信データアドレスに1を加算(+1)する。送
信データアドレスが最終アドレスのときには、アドレス
に1を加算せずに先頭アドレスを送信データアドレスに
設定する。さらに、通常ステータス格納データ数(制御
用データ)から1を減算(−1)する。
To start transmission, first, the transmission data address and the number of transmission data are set. The transmission address is stored in the control data, and the number of transmission bytes is stored at the beginning of the status data to be transmitted. After that, the in-transmission flag is set, and the transmission of the status data is started. Each time 1 byte is sent,
Then, 1 is added to the transmission data address (+1). When the transmission data address is the final address, the start address is set as the transmission data address without adding 1 to the address. Further, 1 is subtracted (-1) from the number of data stored in the normal status (data for control).

【0058】所定の送信が完了すると、通常ステータス
送信中フラグを“OFF”に設定するとともに、通常ス
テータス格納データ数(制御用データ)=0の場合に
は、通常ステータス送信要求フラグも“OFF”にし
て、送信を終了する。通常ステータス格納データ数≠0
のときには、他に優先順位の高い送信要求がない限り、
同様の処理手順により次の通常ステータスデータの送信
が行われる。
When the predetermined transmission is completed, the normal status transmission flag is set to "OFF", and when the normal status storage data number (control data) = 0, the normal status transmission request flag is also "OFF". Then, the transmission ends. Number of data stored in normal status ≠ 0
In case of, unless there is another transmission request with high priority,
The next normal status data is transmitted by the same processing procedure.

【0059】(ASBデータの送信例)図8(b)及び図
9を用いてASBステータスデータの送信例を説明す
る。ASB送信のための制御データには、ASB送信要
求フラグと、ASB送信中フラグと、送信バッファに記
憶される制御データ、がある。制御データは、A
SB格納データ数を示すデータであり、制御データは
ASB送信データ位置を示すデータである。制御データ
、は送信されない。1つのASBは4バイトで構成
され、最大3個のASB(12バイト)の格納が可能で
ある。
(Example of Transmission of ASB Data) An example of transmission of ASB status data will be described with reference to FIGS. 8B and 9. The control data for ASB transmission includes an ASB transmission request flag, an ASB transmitting flag, and control data stored in the transmission buffer. Control data is A
This is data indicating the number of SB stored data, and the control data is data indicating the ASB transmission data position. Control data is not sent. One ASB is composed of 4 bytes, and a maximum of 3 ASBs (12 bytes) can be stored.

【0060】まず、ASB送信要求があると、送信デー
タ設定部14は、ASB送信要求フラグが設定されてい
ない場合には、フラグの設定を行うとともに、ASBス
テータスをASBバッファへの格納する。図9を用いて
ASBステータスの格納について説明する。ASBステ
ータスのASBバッファへの格納形態は、ASBデータ
送信中フラグの設定状態により異なる。尚、図9の格納
データ数はASBの数、すなわち4バイトを1単位とし
て示している。ASB送信中であるときは、少なくとも
1つのASBデータが存在しているはずであるので、格
納データが“0”の状態は存在しない。
First, when there is an ASB transmission request, the transmission data setting unit 14 sets the flag and stores the ASB status in the ASB buffer when the ASB transmission request flag is not set. Storage of the ASB status will be described with reference to FIG. The storage form of the ASB status in the ASB buffer differs depending on the setting state of the ASB data transmitting flag. The number of stored data in FIG. 9 is the number of ASBs, that is, 4 bytes as one unit. When the ASB is being transmitted, at least one piece of ASB data should exist, so there is no state where the stored data is "0".

【0061】ASB送信中でない場合で、ASBが全く
格納されていない(格納データ数“0”)場合には、送
信順位1の領域に最新データを格納し、格納終了後に格
納データ数(制御データ)に1を加える。尚、送信順
位とは、同一優先順位のステータスデータ内において複
数の送信データが存在する場合に、データ送信する順番
のことである。送信順位は、送信データ位置(制御デー
タ)のASBデータが送信順位1であり、送信データ
位置の次のASBデータが送信順位2であり、その次の
ASBデータが優先順位3となる。
If the ASB is not being transmitted and the ASB is not stored at all (the number of stored data is "0"), the latest data is stored in the area of the transmission order 1, and the number of stored data (control data ) Is added to 1. The transmission order means the order of data transmission when a plurality of transmission data exist in the status data having the same priority. As for the transmission order, the ASB data at the transmission data position (control data) has the transmission order 1, the ASB data next to the transmission data position has the transmission order 2, and the next ASB data has the priority order 3.

【0062】格納データ数“1”の場合には、送信順位
2の領域に最新ASBデータを格納して、格納終了後に
制御データに1を加える。格納データ数“2”の場合
には、送信順位1のデータと送信順位2のデータの論理
和を送信順位1の領域に格納し、送信順位2の領域に最
新ASBデータを格納する。送信順位1と2の領域にデ
ータ格納中は、ASBデータ送信のための割込み処理は
禁止される。
When the number of stored data is "1", the latest ASB data is stored in the area of transmission order 2, and 1 is added to the control data after the storage is completed. When the number of stored data is “2”, the logical sum of the data of transmission order 1 and the data of transmission order 2 is stored in the area of transmission order 1, and the latest ASB data is stored in the area of transmission order 2. While data is being stored in the areas of transmission order 1 and 2, interrupt processing for ASB data transmission is prohibited.

【0063】格納データ数“2”の場合に、このように
論理和をとるのは、ASBステータスは、各ビットの存
在により状態変化があったことを表すため、前回ASB
データ後からの状態変化の存在をホスト70に知らせる
ことができれば足りるからである。
When the number of stored data is "2", the logical sum is taken in this way because the ASB status indicates that there is a state change due to the existence of each bit, and therefore the previous ASB status is changed.
This is because it is sufficient if the host 70 can be notified of the presence of a state change after the data.

【0064】ASB送信中の場合、送信順位1のデータ
として送信中のデータは格納されているので、格納デー
タ数が“0”の場合はない。格納データ数“1”の場合
には、送信順位2の領域に最新ASBデータが格納され
る。格納終了後に、格納データ数(制御データ)に1
を加える。格納データ数“2”の場合には、送信順位2
のデータと最新データの論理和を送信順位2の領域に格
納するとともに、最新データを送信順位3の領域に格納
する。格納終了後に、格納データ数(制御データ)に
1を加える。格納データ数“3”の場合には、送信順位
2のデータと最新データの論理和を送信順位3の領域に
格納するとともに、最新データを送信順位3の領域に格
納する。
When the ASB is being transmitted, since the data being transmitted as the data of the transmission order 1 is stored, there is no case where the number of stored data is "0". When the number of stored data is “1”, the latest ASB data is stored in the area of transmission order 2. After the end of storage, the number of stored data (control data) is 1
Add. If the number of stored data is “2”, the transmission order is 2
And the logical sum of the latest data and the latest data are stored in the area of the transmission order 2, and the latest data are stored in the area of the transmission order 3. After the storage is completed, 1 is added to the number of stored data (control data). When the number of stored data is “3”, the logical sum of the data of the transmission order 2 and the latest data is stored in the area of the transmission order 3, and the latest data is stored in the area of the transmission order 3.

【0065】ASBステータスの送信処理について説明
する。ASBデータの送信処理は、ASB送信要求が発
生していること、優先順位上位の送信要求が発生してい
ないこと、及び他の連続データの送信中で無いことの3
条件を満足するときに、送信処理部20により実行され
る。まず、送信処理部20は制御データ記憶部28を確
認する。ASB送信データの送信要求があれば、ASB
バッファから制御データを読出して送信開始データア
ドレスを設定するとともに、送信データバイト数(4バ
イト)及び送信中フラグを設定して送信を開始する。1
バイト送信する毎に、送信データバイト数を“1”減算
し、送信データ位置(アドレス)を“1”だけ増算する
(送信データ位置がASBバッファ領域を越える場合に
は、ASBデータ格納領域の先頭アドレスを指定す
る)。送信データバイト数が“0”になると、ASB格
納データ数を“1”減算し、ASB送信中フラグを“O
FF”に設定する。減算によりASB格納データ数が
“0”になると、ASB送信要求フラグを“OFF”に
設定する。
The process of transmitting the ASB status will be described. As for the ASB data transmission processing, there are three types of ASB transmission requests: no ASB transmission request is generated, no higher priority transmission request is generated, and no other continuous data is being transmitted.
When the condition is satisfied, the transmission processing unit 20 executes it. First, the transmission processing unit 20 checks the control data storage unit 28. If there is a request to send ASB transmission data, ASB
The control data is read from the buffer to set the transmission start data address, and the number of transmission data bytes (4 bytes) and the transmission flag are set to start transmission. 1
Each time a byte is transmitted, the number of transmission data bytes is decremented by "1" and the transmission data position (address) is incremented by "1" (if the transmission data position exceeds the ASB buffer area, the ASB data storage area Specify the start address). When the number of transmitted data bytes becomes “0”, the number of stored data in ASB is decremented by “1” and the ASB transmitting flag is set to “O”
FF ". When the number of stored ASB data becomes" 0 "by subtraction, the ASB transmission request flag is set to" OFF ".

【0066】(優先情報の変更命令の例)次に、変更命
令による優先情報の変更について、図6(b)及び図7
を用いて説明する。図6(b)は、優先情報の変更命令
を例示している。図7(a)は、変更命令の一つである
“CHPr1”を実行した場合における変更前後の優先
順位の状態を示す図である。図6(b)では、優先情報
の変更命令として、CHPr1〜4を例示している。C
HPr1は、指定する複数の送信バッファの優先順位を
変更する命令であり、指定する送信バッファ“B1〜B
n”の優先順位を変更する。CHPr1に続く“n”に
より、優先順位を変更する送信バッファの数を指定す
る。“B1〜Bn”により変更するバッファを特定し、
“p1〜pn”により、変更後の優先順位を指定する。
後ほど、図7を用いて、本変更命令を実行した場合につ
いて説明する。
(Example of Priority Information Change Command) Next, regarding the change of the priority information by the change command, FIG. 6B and FIG.
Will be explained. FIG. 6B illustrates a priority information change command. FIG. 7A is a diagram showing a state of priorities before and after the change when "CHPr1" which is one of the change commands is executed. In FIG. 6B, CHPrs 1 to 4 are illustrated as the priority information change command. C
HPr1 is an instruction to change the priority of a plurality of designated transmission buffers, and the designated transmission buffers "B1 to B"
Change the priority of “n”. Specify the number of transmission buffers whose priority is to be changed by “n” following CHPr1. Specify the buffer to be changed by “B1 to Bn”,
The priority order after the change is designated by "p1 to pn".
A case where this change command is executed will be described later with reference to FIG. 7.

【0067】CHPr2は、指定する2つの送信バッフ
ァの優先順位を入れ換える命令である。CHPr2に続
く数字“2”は、優先順位の入れ換えを行なう組の数を
示し、図6(b)の例では、送信バッファB1とB2の
優先順位と、送信バッファB3とB4の優先順位の2組
の送信順位を入れ換える例を示している。
CHPr2 is an instruction for exchanging the priorities of two designated transmission buffers. The number "2" following CHPr2 indicates the number of pairs in which the priority order is exchanged. In the example of FIG. 6B, the priority order of the transmission buffers B1 and B2 and the priority order of the transmission buffers B3 and B4 are 2 An example of exchanging the transmission order of a group is shown.

【0068】CHPr3は、全ての送信バッファの優先
順位を変更する命令である。全ての送信バッファB1〜
Bnのそれぞれについて、優先順位p1〜pnが指定さ
れる。
CHPr3 is an instruction to change the priority of all transmission buffers. All transmission buffers B1
Priorities p1 to pn are designated for each of Bn.

【0069】CHPr4は、優先情報の設定状況の報告
を要求する命令である。この命令を受信すると、優先情
報処理部17は、優先情報記憶部18から優先情報を読
出し、送信データ設定部14に出力する。送信データ設
定部14は、受信した優先情報を所定のステータスデー
タとして、例えば通常ステータスデータとして、ホスト
70に送信する。
CHPr4 is an instruction for requesting a report of the setting status of priority information. Upon receiving this command, the priority information processing unit 17 reads the priority information from the priority information storage unit 18 and outputs it to the transmission data setting unit 14. The transmission data setting unit 14 transmits the received priority information to the host 70 as predetermined status data, for example, normal status data.

【0070】図7を用いて変更命令“CHPr1”を実
行した場合の、優先情報の状態変化について説明する。
図7(a)は、説明に使用する変更命令“CHPr1”
とパラメータを示す。パラメータが“2”“c 2”
“d 3”となっているので、変更される送信バッファ
の数が2個であり、送信バッファcを優先順位2に、送
信バッファdを優先順位3に変更する命令である。変更
前後の優先順位を図7(b)に示す。図7(b)からわ
かるように、結果として、送信バッファcが優先順位2
になり、送信バッファdが優先順位3に、送信バッファ
bが優先順位4に変更される。
The state change of the priority information when the change command "CHPr1" is executed will be described with reference to FIG.
FIG. 7A shows a change command “CHPr1” used for the explanation.
And parameters. Parameter is "2""c2"
Since "d3" is set, the number of transmission buffers to be changed is two, and this is an instruction to change the transmission buffer c to priority 2 and the transmission buffer d to priority 3. The priorities before and after the change are shown in FIG. As can be seen from FIG. 7B, as a result, the transmission buffer c has the priority level 2
Then, the transmission buffer d is changed to the priority 3 and the transmission buffer b is changed to the priority 4.

【0071】(送信手順の説明)次に、フローチャート
を用いて送信バッファに格納された送信データ(ステー
タスデータ)の送信処理手順を説明する。
(Description of Transmission Procedure) Next, a transmission processing procedure of transmission data (status data) stored in the transmission buffer will be described with reference to a flowchart.

【0072】(送信開始処理手順)図10は、送信開始
処理手順を示すフローチャートである。送信処理手順
は、図1、2、3に示す実施形態においても適用可能で
あるが、説明を簡明にするため、図5の実施形態の送信
手順として説明する(送信割込み処理手順においても同
じ)。送信処理手段43は、受信バッファ12にデータ
を格納し終わった時に、または、ホストビジーで送信を
中断した場合は所定の時間間隔で定期的に送信開始処理
を実行する。送信開始処理においては、送信処理手段4
3が制御データ記憶部48記憶内容(制御データ)を読
み出して送信要求の有無等を確認し、送信要求がある場
合にはその送信優先順位に応じて送信処理を実行する。
(Transmission Start Processing Procedure) FIG. 10 is a flowchart showing the transmission start processing procedure. The transmission processing procedure is also applicable to the embodiments shown in FIGS. 1, 2, and 3, but for simplicity of explanation, it will be described as the transmission procedure of the embodiment of FIG. 5 (the same applies to the transmission interrupt processing procedure). . The transmission processing means 43 periodically executes the transmission start processing at a predetermined time interval when the data is completely stored in the reception buffer 12 or when the transmission is interrupted due to host busy. In the transmission start processing, the transmission processing means 4
3 reads the stored contents (control data) of the control data storage unit 48 and confirms the presence / absence of a transmission request. If there is a transmission request, the transmission processing is executed according to the transmission priority.

【0073】送信開始処理手順においては、まず、いず
れかのステータスデータの送信中であるか否かを、制御
データ記憶手段46の送信フラグにより確認する(S1
001)。複数のバイトにより構成されているステータ
スもあるので、このような複数バイトからなるステータ
ス送信中である場合には、その一連のステータス送信が
終了するまで他のステータスの送信は行なわない。その
ため、ステータスを送信中であれば(S1001;Ye
s)、連続送信中のデータ送信を優先処理するために送
信開始処理を終了する(S1007)。
In the transmission start processing procedure, first, it is confirmed by the transmission flag of the control data storage means 46 whether or not any status data is being transmitted (S1).
001). Since some statuses are composed of a plurality of bytes, when status transmission consisting of such a plurality of bytes is in progress, other statuses are not transmitted until the series of status transmissions is completed. Therefore, if the status is being transmitted (S1001; Yes
s), the transmission start processing is ended to prioritize the data transmission during continuous transmission (S1007).

【0074】送信中でなければ(S1001;No)、
他の送信要求の有無を確認する(S1002)。他の送
信要求有無の確認処理については、後述する。送信要求
がなければ(S1003;No)、送信開始処理を終了
する(S1007)。送信要求があれば(S1003;
Yes)、ホストビジーの確認の必要性が無い場合(S
1004;No)にはそのまま送信要求のあったステー
タスデータの送信処理を実行する(S1006)。ホス
トビジーの確認の必要性がある場合(S1004;Ye
s)、ホストビジーでない場合に(S1005;N
o)、ステータスの送信処理を実行する(S100
6)。ホストビジーの場合には(S1005;Ye
s)、データ送信しても受信されないおそれがあるので
送信開始処理を終了する(S1007)。送信処理(S
1006)についても、後述する。
If transmission is not in progress (S1001; No),
Whether or not there is another transmission request is confirmed (S1002). Other confirmation processing of the presence or absence of the transmission request will be described later. If there is no transmission request (S1003; No), the transmission start process is ended (S1007). If there is a transmission request (S1003;
Yes), if there is no need to confirm the host busy (S
For 1004; No), the transmission process of the status data requested to be transmitted is executed as it is (S1006). If it is necessary to confirm the host busy (S1004; Ye
s), if the host is not busy (S1005; N
o), the status transmission process is executed (S100).
6). If the host is busy (S1005; Ye
s), since there is a possibility that the data will not be received even if the data is transmitted, the transmission start processing is ended (S1007). Transmission process (S
1006) will also be described later.

【0075】(送信要求の有無の確認処理手順)次に、
図11を用いて、図10の「送信要求の有無の確認(S
1002)」の処理手順の1例を説明する。図11は、
送信データの送信要求の有無を確認するための処理手順
の一実施例を示すフローチャートである。まず、送信要
求の有無が確認される(S1101)。送信要求が存在
しない場合には(S1101;No)、送信の必要がな
いため送信準備処理は行なわれることなく、送信要求の
確認処理は終了する(S1111)。送信要求が存在す
る場合(S1101;Yes)、送信要求フラグ中の最
高位の送信要求を確認する(S1102)。最高位の送
信要求が確認されると、対応する送信バッファが確認さ
れ(S1103)、そのバッファに割り当てられたステ
ータスデータの送信のための特定の送信開始処理(S1
104〜S1110)が実行される。すなわち、XOF
Fステータスについての送信準備処理(S1104)、
信号線ステータスの送信準備処理(S1105)、電源
ONステータス送信要求(S1106)、リアルタイム
ステータス送信準備処理(S1107)、ASB送信準
備処理(S1108)、XON送信準備処理(S110
9)、通常ステータス送信準備処理(S1110)のい
ずれかの処理のうち、送信要求のある最高位のステータ
スについての送信準備処理が実行される。送信優先順位
が図4の並び順であるとすると、XOFF送信が最高位
であり、通常ステータス送信が最低位の優先順位である
が、この優先順位は、前述の通り、変更命令により変更
可能である。
(Procedure for Confirming Presence / Absence of Transmission Request) Next,
Referring to FIG. 11, “Confirmation of presence / absence of transmission request in FIG. 10 (S
An example of the processing procedure of "1002)" will be described. FIG. 11 shows
6 is a flowchart showing an example of a processing procedure for confirming the presence / absence of a transmission data transmission request. First, the presence or absence of a transmission request is confirmed (S1101). If there is no transmission request (S1101; No), the transmission preparation process is not performed because there is no need for transmission, and the transmission request confirmation process ends (S1111). If there is a transmission request (S1101; Yes), the highest transmission request in the transmission request flag is confirmed (S1102). When the highest transmission request is confirmed, the corresponding transmission buffer is confirmed (S1103), and a specific transmission start process (S1) for transmitting the status data assigned to the buffer is confirmed.
104 to S1110) are executed. That is, XOF
Transmission preparation processing for the F status (S1104),
Signal line status transmission preparation processing (S1105), power ON status transmission request (S1106), real-time status transmission preparation processing (S1107), ASB transmission preparation processing (S1108), XON transmission preparation processing (S110).
9) Among the processes of the normal status transmission preparation process (S1110), the transmission preparation process for the highest status with a transmission request is executed. If the transmission priority is the order of arrangement in FIG. 4, XOFF transmission has the highest priority and normal status transmission has the lowest priority. However, as described above, this priority can be changed by the change command. is there.

【0076】いずれかのステータスの送信準備処理が終
了した場合に(S1104〜S1110)、送信要求の
有無の確認処理を終了する(S1111)。送信準備処
理としては、ステータスの種類に応じた送信データの格
納アドレス、送信バイト数、送信中フラグの設定等の各
種処理が実行される(S1104〜S1110参照)。
送信準備処理は存在する送信要求のうち最高位のステー
タスについての処理のみが実行され、送信要求の有無の
確認処理を終了する(S1111)。
When the transmission preparation process for any status is completed (S1104 to S1110), the process for confirming the presence or absence of the transmission request is completed (S1111). As the transmission preparation process, various processes such as the storage address of the transmission data, the number of transmission bytes, and the setting of the transmission flag according to the type of status are executed (see S1104 to S1110).
In the transmission preparation process, only the process for the highest status of the existing transmission requests is executed, and the confirmation process of the presence / absence of the transmission request ends (S1111).

【0077】(送信処理手順)送信準備処理の終了その
他必要な条件を満足すると、所定の送信処理手順に基づ
いて送信データ(ステータスデータ)がホスト70に送
信される。図12は、ステータスデータの送信処理手順
の一実施例を示すフローチャートである。図12を用い
て、図10のS1006において実効される送信処理手
順の例を説明する。
(Transmission Processing Procedure) When the transmission preparation processing ends and other necessary conditions are satisfied, transmission data (status data) is transmitted to the host 70 based on a predetermined transmission processing procedure. FIG. 12 is a flowchart showing an example of the procedure for transmitting the status data. An example of the transmission processing procedure executed in S1006 of FIG. 10 will be described with reference to FIG.

【0078】送信処理手順では、送信準備処理(図11
のS1104〜S1110)において設定された送信フ
ラグの確認が行なわれる(S1201)。送信フラグの
判定により送信バッファが判定されると(S120
2)、対応する送信バッファからステータスデータが送
信される(S1203〜S1209)。ステータスデー
タの送信が終了すると、送信処理を終了する(S121
0)。ステータス送信処理(S1203〜S1209)
では、前述したように各送信バッファに格納されている
ステータスデータから1バイトが読み出されて、所定の
通信方式に従って、ホスト70に順次送信される。
In the transmission processing procedure, the transmission preparation processing (see FIG.
The transmission flag set in S1104 to S1110) is confirmed (S1201). When the transmission buffer is determined by the determination of the transmission flag (S120
2) The status data is transmitted from the corresponding transmission buffer (S1203 to S1209). When the transmission of the status data ends, the transmission process ends (S121).
0). Status transmission processing (S1203 to S1209)
Then, as described above, one byte is read from the status data stored in each transmission buffer and sequentially transmitted to the host 70 according to a predetermined communication method.

【0079】(送信割込み処理手順)送信されるステー
タスには、1バイトのデータにより構成されるもの及び
複数バイトのデータにより構成されるものまである。ス
テータス送信は1バイト単位で行なわれる。1バイトの
送信が終了すると、送信割込みが発生し、送信処理部に
より送信割込処理が実行される。図13を用いて送信割
込み処理手順を説明する。図13は、送信割込み信号に
基づいて、送信処理手段43により実行される割込処理
手順の一例を示すフローチャートである。本実施態様で
は、送信データを1バイト送信する度に送信割込み信号
を発生する例を用いて説明するが、複数バイトの送信毎
に割込信号を発生するようにすることも可能である。
(Transmission Interrupt Processing Procedure) The statuses to be transmitted include those constituted by 1-byte data and those constituted by a plurality of bytes of data. The status is transmitted in 1-byte units. When the transmission of 1 byte is completed, a transmission interrupt occurs and the transmission interrupt processing is executed by the transmission processing unit. The transmission interrupt processing procedure will be described with reference to FIG. FIG. 13 is a flowchart showing an example of an interrupt processing procedure executed by the transmission processing means 43 based on the transmission interrupt signal. In this embodiment, an example in which a transmission interrupt signal is generated every time one byte of transmission data is transmitted will be described, but it is also possible to generate an interrupt signal every transmission of a plurality of bytes.

【0080】送信割込みを受信すると送信処理手段43
は、1バイト送信の完了時に行なう所定の処理を実行す
る(S1301)。例えば、ステータス送信中の送信デ
ータバイト数を確認し、送信データバイト数=0のとき
には、ステータス送信中フラグを“OFF”にする等の
処理を行なう。送信データバイト数≠0のときには、送
信データ位置を+1するとともに送信データバイト数を
−1して、次の送信データのアドレスを設定する。
When the transmission interrupt is received, the transmission processing means 43
Executes a predetermined process performed upon completion of 1-byte transmission (S1301). For example, the number of transmission data bytes during status transmission is confirmed, and when the number of transmission data bytes = 0, processing such as turning off the status transmission flag is performed. When the number of transmission data bytes ≠ 0, the transmission data position is incremented by 1 and the transmission data byte number is decremented by -1, and the address of the next transmission data is set.

【0081】1バイト送信完了時処理を終えると、ステ
ータス送信フラグ等により、送信中か否かを確認する
(S1302)。送信データバイト数≠0の場合には、
まだ送信中のステータスバイトが残っているので送信中
の状態が維持されており送信中であり(S1302;Y
es)、対応する送信バッファから次の送信データが読
み出されてホスト70に送信される(S1307)。送
信処理(S1307)は、図11で説明した送信処理と
ほぼ同様の処理が行なわれる。
When the 1-byte transmission completion process is completed, it is confirmed by the status transmission flag or the like whether transmission is in progress (S1302). When the number of transmitted data bytes ≠ 0,
Since the status byte still being transmitted remains, the state of being transmitted is maintained and is being transmitted (S1302; Y
es), the next transmission data is read from the corresponding transmission buffer and transmitted to the host 70 (S1307). The transmission process (S1307) is almost the same as the transmission process described in FIG.

【0082】送信データバイト数=0の場合には、送信
完了時処理(1301)により送信中フラグはリセット
されるので送信中ではなくなる(S1302;No)。
この場合には、他に送信要求がないかどうかの確認を行
なう(S1303)。送信要求の有無の確認(S130
3)は、図12で説明した処理手順とほぼ同様の処理が
実行される。他に送信要求がなければ(S1304;N
o)、送信割込処理を終了する(S1308)。送信要
求があれば(S1304;Yes)、ホストビジーの確
認の必要性が無い場合(S1305;No)には送信要
求のあったステータスデータの送信処理を実行する(S
1307)。ホストビジーの確認の必要性がある場合
(S1305;Yes)、ホストビジーでなければ(S
1306;No)ステータスの送信処理を実行する(S
1307)。ホストビジーの場合には(S1306;Y
es)、データ送信しても受信されないおそれがあるの
で、送信割込み処理を終了する(S1308)。
When the number of transmission data bytes = 0, the transmission completion process (1301) resets the transmission in progress flag so that the transmission is not in progress (S1302; No).
In this case, it is confirmed whether there is another transmission request (S1303). Confirmation of presence / absence of transmission request (S130
In 3), almost the same processing as the processing procedure described in FIG. 12 is executed. If there is no other transmission request (S1304; N)
o), the transmission interrupt process ends (S1308). If there is a transmission request (S1304; Yes), if there is no need to confirm the host busy (S1305; No), the transmission process of the requested status data is executed (S).
1307). If it is necessary to confirm the host busy (S1305; Yes), it is not the host busy (S1305).
1306; No) Status transmission processing is executed (S
1307). If the host is busy (S1306; Y
es), since there is a possibility that the data will not be received even if the data is transmitted, the transmission interrupt processing is ended (S1308).

【0083】尚、以上の説明では、本発明をPOSプリ
ンタに適用する例を用いて、主としてステータスデータ
を送信する例を説明したが、本発明はプリンタに限ら
ず、キーボード等の各種入力装置、磁気記録装置等の各
種記録装置を含む各種端末装置その他の装置のデータ送
信に適用可能である。また、ステータスの送信に限定さ
れることなく、端末のバージョン情報、端末に入力され
たデータ等各種データの送信も可能である。
In the above description, an example in which the present invention is applied to a POS printer is mainly used to transmit status data. However, the present invention is not limited to a printer, and various input devices such as a keyboard, It can be applied to data transmission of various terminal devices and other devices including various recording devices such as magnetic recording devices. Further, it is possible to transmit various data such as version information of the terminal and data input to the terminal without being limited to the transmission of the status.

【0084】また、以上に説明した実施形態は発明の説
明のためのものであり、本願発明の技術的範囲を制限す
るものではない。したがって、当業者であればこれらの
各要素もしくは全要素をこれと均等なものに置換した実
施形態を採用することが可能であるが、これらの実施形
態も本願発明の範囲に含まれる。
The embodiments described above are for the purpose of explaining the invention and do not limit the technical scope of the invention of the present application. Therefore, a person skilled in the art can adopt an embodiment in which each of these elements or all the elements are replaced with equivalent elements thereof, but these embodiments are also included in the scope of the present invention.

【0085】[0085]

【発明の効果】以上説明したように、本発明では、複数
の送信バッファを設け、送信データの種類に応じてデー
タを格納する複数の送信バッファを設けるとともに、各
送信バッファに付与された送信優先順位に従って送信デ
ータを送信するように構成するとともに、送信優先順位
の設定を変更命令により変更することができるようにし
たことにより、複数の送信要求が競合した場合には、送
信データを優先度の高い順番に送信することが可能とな
り、かつ、送信データの優先順位がその動作環境等に応
じて適切優先順位となるように適宜変更することが可能
となる。
As described above, according to the present invention, a plurality of transmission buffers are provided, a plurality of transmission buffers for storing data according to the type of transmission data are provided, and the transmission priority given to each transmission buffer is provided. In addition to configuring the transmission data to be transmitted according to the order, it is possible to change the setting of the transmission priority by the change command. It is possible to transmit the data in descending order, and it is possible to appropriately change the priority order of the transmission data so that the priority order is appropriate according to the operating environment and the like.

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

【図1】本発明の一実施形態を説明するための機能ブロ
ック図である。
FIG. 1 is a functional block diagram for explaining an embodiment of the present invention.

【図2】図1に示す機能ブロック図の一部をより詳細に
示す本発明の他の実施形態にかかる機能ブロック図であ
る。
FIG. 2 is a functional block diagram according to another embodiment of the present invention, showing a part of the functional block diagram shown in FIG. 1 in more detail.

【図3】本発明の他の実施形態を示す機能ブロック図で
ある。
FIG. 3 is a functional block diagram showing another embodiment of the present invention.

【図4】図1に示す送信データ記憶部13に、ステータ
スの種類に応じて7種類の送信バッファを設けた実施形
態を示す図である。
FIG. 4 is a diagram showing an embodiment in which the transmission data storage unit 13 shown in FIG. 1 is provided with seven types of transmission buffers depending on the type of status.

【図5】CPU、RAM,ROM及び制御ソフトウェア
を使用した本発明の一実施形態を示す機能ブロック図で
ある。
FIG. 5 is a functional block diagram showing an embodiment of the present invention using a CPU, RAM, ROM and control software.

【図6】(a)は優先情報記憶部18aに記憶される優
先情報の例を示す図であり、(b)は、優先情報の変更
命令を例示する図である。
FIG. 6A is a diagram showing an example of priority information stored in a priority information storage unit 18a, and FIG. 6B is a diagram showing an example of a priority information change command.

【図7】(a)は、変更命令の一つである“CHPr
1”を実行した場合における変更前後の優先順位の状態
を示す図であり、(b)は、(a)の命令を実行した場
合の変更前後の優先順位を示す図である。
FIG. 7A shows “CHPr” which is one of the change commands.
It is a figure which shows the state of the priorities before and after a change when 1 "is performed, and (b) is a figure which shows the priorities before and after a change when the instruction of (a) is performed.

【図8】送信バッファa〜xに記憶される送信データ等
の例を示す図であり、(a)は図4に示すような通常ス
テータスバッファ57に記憶されるデータの例であり、
(b)はASBバッファ55に記憶されるデータの例で
ある。
8 is a diagram showing an example of transmission data and the like stored in transmission buffers a to x, FIG. 8A is an example of data stored in a normal status buffer 57 as shown in FIG.
(B) is an example of data stored in the ASB buffer 55.

【図9】ASBバッファに格納されるASBデータを例
示する図である。
FIG. 9 is a diagram illustrating an example of ASB data stored in an ASB buffer.

【図10】送信開始処理手順を示すフローチャートであ
る。
FIG. 10 is a flowchart showing a transmission start processing procedure.

【図11】送信データの送信要求の有無を確認するため
の処理手順の一実施例を示すフローチャートである。
FIG. 11 is a flowchart showing an example of a processing procedure for confirming the presence / absence of a transmission request for transmission data.

【図12】ステータスデータの送信処理手順の一実施例
を示すフローチャートである。
FIG. 12 is a flowchart illustrating an example of a status data transmission processing procedure.

【図13】送信割込み信号に基づいて、送信処理手段に
より実行される割込処理手順の一例を示すフローチャー
トである。
FIG. 13 is a flowchart showing an example of an interrupt processing procedure executed by transmission processing means based on a transmission interrupt signal.

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

10 POSプリンタ 11 送受信処理部 12 受信バッファ 13、13a、13b、13c 送信データ記憶部 14、14a、14b 送信データ設定部 15 ステータス処理部 16 データ解析部 17 優先情報処理部 18 優先情報記憶部 20、20b 送信処理部 10 POS printer 11 Transmission / reception processing unit 12 Receive buffer 13, 13a, 13b, 13c Transmission data storage unit 14, 14a, 14b Transmission data setting unit 15 Status processing unit 16 Data analysis section 17 Priority information processing unit 18 Priority information storage unit 20, 20b Transmission processing unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C061 HP00 5B021 AA02 BB01 BB04 CC05 5K030 GA02 KA03 LA03 5K033 AA01 BA17 CB18 DB13 5K034 AA19 DD01 FF01 FF19 GG02 GG06 HH01 HH02 HH27 HH42 MM21    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 2C061 HP00                 5B021 AA02 BB01 BB04 CC05                 5K030 GA02 KA03 LA03                 5K033 AA01 BA17 CB18 DB13                 5K034 AA19 DD01 FF01 FF19 GG02                       GG06 HH01 HH02 HH27 HH42                       MM21

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 複数の送信バッファを備える送信データ
記憶部と、送信データをその種類に基づき定められる前
記送信バッファの一つに格納する送信データ設定部と、
前記各送信バッファに格納された送信データを前記複数
の送信バッファの各々に付与された所定のバッファ優先
順位に従って送信する送信処理部と、前記送信データを
送信する順番を規定する送信優先順位を設定又は変更す
るための変更命令を検知するデータ解析部と、前記変更
命令に従って前記送信優先順位を変更する優先情報処理
部とを具備することを特徴とする端末装置のデータ送信
装置。
1. A transmission data storage unit having a plurality of transmission buffers, and a transmission data setting unit for storing transmission data in one of the transmission buffers determined based on its type,
A transmission processing unit that transmits the transmission data stored in each of the transmission buffers according to a predetermined buffer priority assigned to each of the plurality of transmission buffers, and a transmission priority order that defines the transmission order of the transmission data. Alternatively, the data transmission device of the terminal device comprises: a data analysis unit that detects a change instruction for changing; and a priority information processing unit that changes the transmission priority order according to the change instruction.
【請求項2】 前記優先情報処理部は、前記変更命令に
基づいて、前記送信バッファの各々に付与された前記バ
ッファ優先順位の設定を変更することにより前記送信デ
ータの送信優先順位を変更することを特徴とする請求項
1に記載のデータ送信装置。
2. The priority information processing unit changes the transmission priority order of the transmission data by changing the setting of the buffer priority order given to each of the transmission buffers based on the change instruction. The data transmission device according to claim 1, wherein:
【請求項3】 前記優先情報処理部は、前記変更命令に
基づいて、前記送信データを格納する前記送信バッファ
の指定を変更することにより、前記送信データの送信優
先順位を変更することを特徴とする請求項1に記載のデ
ータ送信装置。
3. The priority information processing unit changes the transmission priority order of the transmission data by changing the designation of the transmission buffer for storing the transmission data based on the change instruction. The data transmission device according to claim 1.
【請求項4】 前記送信処理部は、送信要求のある送信
データから最高位の送信優先順位の送信データを検出
し、検出した最高位の前記送信データの送信処理を終了
した後、次の順位の送信データについての送信処理を順
次実行するよう制御する送信制御部を備えることを特徴
とする請求項1から3のいずれか1項に記載のデータ送
信装置。
4. The transmission processing unit detects the transmission data of the highest transmission priority from the transmission data requested to be transmitted, completes the transmission processing of the detected highest transmission data, and then moves to the next order. 4. The data transmission device according to claim 1, further comprising a transmission control unit that controls to sequentially perform the transmission process for the transmission data of.
【請求項5】 請求項1から4のいずれか1項に記載の
データ送信装置を備えたことを特徴とする端末装置。
5. A terminal device comprising the data transmitting device according to claim 1. Description:
【請求項6】 複数の送信バッファに記憶された送信デ
ータを、所定の優先順位に従って送信する送信制御方法
であって、以下の工程を具備することを特徴とする送信
制御方法。 (a) 送信データを取得する工程と、(b) 取得した前
記送信データをその種類に応じて予め指定された複数の
送信バッファの一つに格納する工程と、(c) 前記送信
バッファに格納された前記送信データを、所定の変更命
令に基づき変更可能に設定された所定の送信優先順位に
従って送信する送信工程。
6. A transmission control method for transmitting transmission data stored in a plurality of transmission buffers in accordance with a predetermined priority, comprising the following steps. (a) acquiring transmission data; (b) storing the acquired transmission data in one of a plurality of transmission buffers designated in advance according to its type; and (c) storing it in the transmission buffer. A transmitting step of transmitting the transmitted transmission data in accordance with a predetermined transmission priority set to be changeable based on a predetermined change command.
【請求項7】 前記送信データの前記送信優先順位を変
更するために、さらに、(d) 前記送信優先順位を変更
する前記変更命令を検知する工程と、(e) 検知した前
記変更命令に基づいて、前記送信優先順位の設定を変更
する工程と、を備えることを特徴とする請求項6に記載
のデータの送信制御方法。
7. In order to change the transmission priority of the transmission data, (d) detecting the change instruction for changing the transmission priority, and (e) based on the detected change instruction. 7. The method according to claim 6, further comprising: changing the setting of the transmission priority order.
【請求項8】 前記送信工程(c)は、(f) 前記記憶さ
れた送信優先順位に基づいて、前記送信バッファに格納
されている前記送信データの中から最高位の送信優先順
位の送信データを検出する工程と、(g) 検出した最高
位の前記送信データの送信処理を実行する工程と、(h)
前記最高位の送信データの送信を終了した後、順次、
次の順位の送信データについての送信処理を実行する工
程と、を備えることを特徴とする請求項7項に記載のデ
ータの送信制御方法。
8. The transmission step (c) includes: (f) transmission data having the highest transmission priority among the transmission data stored in the transmission buffer based on the stored transmission priority. And (g) performing a transmission process of the highest detected transmission data, (h)
After finishing the transmission of the highest transmission data,
8. The method of controlling transmission of data according to claim 7, further comprising: performing a transmission process for transmission data of the next rank.
【請求項9】 複数の送信バッファに記憶された送信デ
ータを、所定の優先順位に従って送信する送信制御方法
であって、以下の工程を具備することを特徴とする送信
制御方法。 (a) 送信データを取得する工程と、(b) 取得した前
記送信データを格納する送信バッファであって、送信デ
ータの種類に応じて指定され所定の変更命令によりその
指定を変更可能な所定の送信バッファに格納する工程
と、(c) 前記送信バッファに格納された前記送信デー
タを、該送信バッファに付与された所定の優先順位に従
って送信する送信工程。
9. A transmission control method for transmitting transmission data stored in a plurality of transmission buffers in accordance with a predetermined priority, comprising the following steps. (a) a step of acquiring transmission data, and (b) a transmission buffer for storing the acquired transmission data, which is designated according to the type of the transmission data and whose designation can be changed by a predetermined change command. A step of storing in a transmission buffer, and (c) a step of transmitting the transmission data stored in the transmission buffer according to a predetermined priority given to the transmission buffer.
【請求項10】 前記送信データの格納先として前記送
信データの種類に応じて指定される送信バッファの指定
を変更するために、さらに、(d) 前記指定を変更する
前記変更命令を検知する工程と、(e) 検知した前記変
更命令に基づいて、前記送信データを格納する前記送信
バッファの指定を変更する工程と、を備えることを特徴
とする請求項9に記載の送信データの送信制御方法。
10. In order to change the designation of the transmission buffer designated according to the type of the transmission data as the storage destination of the transmission data, (d) detecting the change command for changing the designation. 10. The transmission data transmission control method according to claim 9, further comprising: (e) changing the designation of the transmission buffer that stores the transmission data based on the detected change instruction. .
【請求項11】 前記送信工程(c)は、(f) 前記送信
データが格納されている前記送信バッファの中から、最
高位の優先順位の前記送信バッファを検出する工程と、
(g) 検出した前記最高位の送信バッファに格納されて
いる前記送信データの送信処理を実行する工程と、(h)
前記最高位の送信バッファに格納されている送信デー
タの送信を終了した後、順次、次の順位の送信バッファ
に格納されている送信データの送信処理を実行する工程
と、を備えることを特徴とする請求項10に記載のデー
タの送信制御方法。
11. The transmission step (c) comprises: (f) detecting the transmission buffer having the highest priority from the transmission buffers in which the transmission data is stored,
(g) executing a transmission process of the transmission data stored in the detected highest transmission buffer, and (h)
After finishing the transmission of the transmission data stored in the highest transmission buffer, sequentially performing the transmission processing of the transmission data stored in the transmission buffer of the next rank, The data transmission control method according to claim 10.
【請求項12】 コンピュータに請求項6から11のい
ずれか1項に記載の送信制御方法の各工程を実行させる
プログラム。
12. A program for causing a computer to execute each step of the transmission control method according to claim 6.
【請求項13】 コンピュータに請求項6から11のい
ずれか1項に記載の送信制御方法の各工程を実行させる
プログラムを記載したコンピュータ読取可能な記録媒
体。
13. A computer-readable recording medium in which a program for causing a computer to execute each step of the transmission control method according to claim 6 is written.
JP2002010700A 2002-01-18 2002-01-18 Data transmission apparatus, terminal employing the same, and data transmission control method Withdrawn JP2003218955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002010700A JP2003218955A (en) 2002-01-18 2002-01-18 Data transmission apparatus, terminal employing the same, and data transmission control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002010700A JP2003218955A (en) 2002-01-18 2002-01-18 Data transmission apparatus, terminal employing the same, and data transmission control method

Publications (1)

Publication Number Publication Date
JP2003218955A true JP2003218955A (en) 2003-07-31

Family

ID=27648368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002010700A Withdrawn JP2003218955A (en) 2002-01-18 2002-01-18 Data transmission apparatus, terminal employing the same, and data transmission control method

Country Status (1)

Country Link
JP (1) JP2003218955A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103999A (en) * 2005-09-30 2007-04-19 Toshiba Corp Data transfer control apparatus and data transfer control method
JP2008187336A (en) * 2007-01-29 2008-08-14 Nec Electronics Corp Communicating system and equipment, and flow control method
CN102407696A (en) * 2010-07-30 2012-04-11 精工爱普生株式会社 Print control device, printing apparatus and method of providing information in printing apparatus
JP2016143172A (en) * 2015-01-30 2016-08-08 セイコーインスツル株式会社 Printer control apparatus, print control method, and print control system
JP2021007269A (en) * 2016-05-27 2021-01-21 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Network hub, transfer method, and on-vehicle network system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007103999A (en) * 2005-09-30 2007-04-19 Toshiba Corp Data transfer control apparatus and data transfer control method
JP4693576B2 (en) * 2005-09-30 2011-06-01 株式会社東芝 Data transfer control device and data transfer control method
JP2008187336A (en) * 2007-01-29 2008-08-14 Nec Electronics Corp Communicating system and equipment, and flow control method
CN102407696A (en) * 2010-07-30 2012-04-11 精工爱普生株式会社 Print control device, printing apparatus and method of providing information in printing apparatus
JP2016143172A (en) * 2015-01-30 2016-08-08 セイコーインスツル株式会社 Printer control apparatus, print control method, and print control system
JP2021007269A (en) * 2016-05-27 2021-01-21 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Network hub, transfer method, and on-vehicle network system

Similar Documents

Publication Publication Date Title
JP3720740B2 (en) Distributed printing system, distributed printing control method, storage medium, and program
CN100585693C (en) Object operation apparatus and object operation method and information processing device
JP6202902B2 (en) System, information processing apparatus, control method thereof, and program
JP4980776B2 (en) Image forming apparatus, program, and recording medium
US7518741B2 (en) Notification system for notifying user of consumable product used by electronic device
EP1134692A2 (en) Printer for managing a plurality of print job data
JP5415750B2 (en) Information processing apparatus, information processing method, program, and information processing system
JP2010092467A (en) Print job transmitter, method of managing print job, printing system, program, and recording medium thereof
US9612781B2 (en) Printing system and information processing apparatus, method, and program for controlling job transmission based on authentication setting of an image forming apparatus
JP2007025864A (en) Image processor
US8136126B2 (en) Overriding potential competing optimization algorithms within layers of device drivers
JP2007245673A (en) Image formation device
EP1152317A1 (en) Information processing system, information processing device, control method thereof, memory media having stored programs thereof and program thereof
JP2003218955A (en) Data transmission apparatus, terminal employing the same, and data transmission control method
JP2001092613A (en) Information processor and printing device and data processing method and storage medium
JP4736576B2 (en) Image forming apparatus
JP2003186826A (en) Data transmitting device, terminal device equipped therewith, and data transmission control method
JP5376253B2 (en) Data processing apparatus, data processing system, data processing program, and device driver
JP7013955B2 (en) Information processing equipment, information processing methods and information processing systems
JP6249114B2 (en) Image forming system and program
JP2001260433A (en) Printer and its control method
JPH08234934A (en) Printer device
JP2000305723A (en) Method for changing-over printer
JPH0260781A (en) Printing system
JP4241569B2 (en) Image forming apparatus and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050405