[go: up one dir, main page]

JPH11177539A - Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program - Google Patents

Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program

Info

Publication number
JPH11177539A
JPH11177539A JP9346321A JP34632197A JPH11177539A JP H11177539 A JPH11177539 A JP H11177539A JP 9346321 A JP9346321 A JP 9346321A JP 34632197 A JP34632197 A JP 34632197A JP H11177539 A JPH11177539 A JP H11177539A
Authority
JP
Japan
Prior art keywords
data
transmission
counting
response period
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9346321A
Other languages
Japanese (ja)
Inventor
Makoto Senda
誠 千田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP9346321A priority Critical patent/JPH11177539A/en
Publication of JPH11177539A publication Critical patent/JPH11177539A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To warrant data quality even in the synchronization transmission system while utilizing data transmission by the synchronization transmission system so as to ensure a constant data rate. SOLUTION: On the occurrence of a non-response state in excess of a non- response period received from each destination in the data transmission processing between a data receiver 102 and a data transmitter 101, when the non-response state takes place in the data receiver 102, the receiver 102 requests data transmission to the data transmitter 101 or when the non-response state takes place in the data transmitter 101, the transmitter 101 sends data again to the data receiver 102.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、所定の通信媒体を
介してデータ送信装置とデータ受信装置とが同一の期間
信号に基づいて所定の送信データを伝送処理するデータ
通信制御システムおよびデータ通信制御システムのデー
タ通信方法およびコンピュータが読み出し可能なプログ
ラムを格納した記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication control system and a data communication control in which a data transmitting device and a data receiving device transmit predetermined transmission data based on the same period signal via a predetermined communication medium. The present invention relates to a data communication method of a system and a storage medium storing a computer-readable program.

【0002】[0002]

【従来の技術】近年、データのデジタル化やマルチメデ
ィア化に伴い、パーソナルコンピュータ(PC)では、
データ,テキスト,グラフィック,静止画像以外に、音
声,映像等のリアルタイムデータ等の処理も可能になり
つつある。
2. Description of the Related Art In recent years, with the digitization and multimedia of data, personal computers (PCs)
In addition to data, text, graphics, and still images, processing of real-time data such as audio and video has become possible.

【0003】これに伴い、PCと周辺機器間とのインタ
フェースも、従来のアナログ信号による伝送からデジタ
ル信号による伝送へと変化し、従来であれば周辺機器に
応じて必要だったインタフェースも統合化が図れるよう
になった。
[0003] Accordingly, the interface between the PC and the peripheral device also changes from the conventional transmission using an analog signal to the transmission using a digital signal. I can now plan.

【0004】これによって、あらゆるデータが同一のイ
ンタフェース上で伝送可能になったが、そのデータ伝送
の際に、リアルタイム性,非リアルタイム性など性質の
異なるデータが混在して伝送される。
As a result, all kinds of data can be transmitted on the same interface. However, in the data transmission, data having different properties such as real-time property and non-real-time property are mixedly transmitted.

【0005】例えば、音声や映像のようなリアルタイム
性を重視したデータの場合には、ある時間を経過してし
まうとデータとしての価値を失ってしまうので、信頼性
よりも決められた時間内にデータを伝送することが優先
されるので、ある期間を設定してその期間内に確実にデ
ータを伝送する同期式伝送モードが必要になる。
For example, in the case of data that emphasizes real-time properties, such as audio and video, the value of the data is lost after a certain period of time. Since transmission of data is prioritized, a synchronous transmission mode is required in which a certain period is set and data is reliably transmitted within that period.

【0006】また、非リアルタイムなデータの場合に
は、時間よりもデータの伝送品質の方が重視されるの
で、誤り検出により誤りを検出されたデータに関して
は、そのデータを再送してデータの信頼性を確保する非
同期式伝送モードが必要になる。
In the case of non-real-time data, the transmission quality of the data is more important than the time. Therefore, for data for which an error has been detected by error detection, the data is retransmitted and the reliability of the data is reduced. Asynchronous transmission mode that ensures the performance is required.

【0007】この場合には、リアルタイム性を重視した
データが重視していないデータより優先されるので、リ
アルタイム性を重視したデータを伝送した後、次の同期
タイミングまでの空き時間に非リアルタイムのデータが
伝送される。
[0007] In this case, since real-time data is prioritized over non-real-time data, non-real-time data is transmitted in the idle time until the next synchronization timing after transmitting real-time data. Is transmitted.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来例によれば、伝送されるメディアの時間的な重要性に
より、同期式伝送が非同期式伝送よりも優先されるの
で、そのインタフェースの伝送レートのうち、同期式伝
送で利用される伝送レートを確保した残りの伝送レート
で非同期式伝送することになり、非同期式伝送は同期式
伝送の伝送レートに大きく左右されるという問題があ
る。
However, according to the above-mentioned prior art, synchronous transmission takes precedence over asynchronous transmission due to the temporal importance of transmitted media. Of these, asynchronous transmission is performed at the remaining transmission rate that secures the transmission rate used in synchronous transmission, and asynchronous transmission is greatly affected by the transmission rate of synchronous transmission.

【0009】さらに、同期式伝送で伝送すべきデータ量
が非常に多い場合には、非同期式伝送でのデータ伝送が
著しく低下するか全く伝送できないこともある。
Further, when the amount of data to be transmitted by the synchronous transmission is very large, the data transmission by the asynchronous transmission may be significantly reduced or may not be transmitted at all.

【0010】また、逆に、同期式伝送で伝送すべきデー
タが少ない場合には、非同期式伝送の伝送レートが高く
なるが、必要以上に伝送レートが割り当てられた場合に
は、受信側がすべてのデータを受信することができず、
送信側も待ち状態が発生したり、受信側がビジーを伝え
るための無駄な伝送をするので伝送の効率が著しく低下
してしまうという問題がある。
On the other hand, when the amount of data to be transmitted by the synchronous transmission is small, the transmission rate of the asynchronous transmission becomes high. Unable to receive data,
There is also a problem that the transmission side is in a waiting state, and the reception side performs useless transmission for transmitting busy, so that transmission efficiency is significantly reduced.

【0011】では、同期式伝送方式の場合はどうかとい
うと、同期式伝送ではデータの品質よりも時間を優先に
するために、受信データがエラーしていた場合にエラー
を返さないのでデータの再送は行われていない。この場
合、データのヘッダ情報がエラーすることで、データが
全く受信されない場合もある。
In the case of the synchronous transmission method, in order to give priority to time over data quality in synchronous transmission, if an error occurs in received data, no error is returned. Has not been done. In this case, the data may not be received at all due to an error in the header information of the data.

【0012】つまり、同期式伝送の場合には、データレ
ートをある程度一定に保つことはできるが、データは保
証されていないので正確なデータを必要とする装置には
不向きである。
That is, in the case of synchronous transmission, although the data rate can be kept constant to some extent, since the data is not guaranteed, it is not suitable for a device requiring accurate data.

【0013】ここで、メモリをあまり持たないシリアル
プリンタ等では、プリンタ側のバッファ容量が小さいこ
とと、印字ヘッドから吐出されるインク吐出タイミング
は一定であることから、データ伝送方式としては、必要
なデータ量を正確にできるだけ一定の間隔でデータ伝送
する方が適しているが、上記のように同期式伝送と非同
期式伝送ではどちらも長所短所があり、どちらも適した
伝送方式といえない場合があった。
Here, in a serial printer or the like which does not have much memory, since the buffer capacity on the printer side is small and the timing of ink ejection from the print head is constant, a necessary data transmission method is required. Although it is better to transmit data accurately and at regular intervals as much as possible, both synchronous and asynchronous transmission have advantages and disadvantages as described above. there were.

【0014】本発明は上記の問題点を解消するためにな
されたもので、本発明の目的は、データ受信装置とデー
タ送信装置とがそれぞれデータ伝送処理に際して、各相
手先から通知される無応答期間を超過する無応答状態が
発生した場合に、データ受信装置であればデータ送信装
置に対してデータ送信を要求したり、データ送信装置で
あればデータ受信装置に対してデータを再送したりする
ことにより、同期式伝送方式によるデータ伝送を利用し
て、一定のデータレートを確保しつつ、同期伝送方式に
おいてもデータ品質を保証することもでき、データ受信
装置とデータ送信装置との間におけるデータ伝送処理を
最適化することができるデータ通信制御システムおよび
データ通信制御システムのデータ通信方法およびコンピ
ュータが読み出し可能なプログラムを格納した記憶媒体
を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a data receiving apparatus and a data transmitting apparatus which receive a non-response signal from each other in data transmission processing. If a non-response state that exceeds the period occurs, the data transmission device requests data transmission to the data transmission device, or the data transmission device retransmits data to the data reception device. By using the data transmission by the synchronous transmission method, it is possible to secure a constant data rate and to guarantee the data quality even in the synchronous transmission method, and to perform the data transmission between the data receiving device and the data transmitting device. Data communication control system capable of optimizing transmission processing, data communication method of data communication control system, and computer-readable To provide a storage medium storing a capability program.

【0015】[0015]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介してデータ送信装置とデータ受
信装置とが同一の期間信号に基づいて所定の送信データ
を伝送処理するデータ通信制御システムであって、前記
所定の送信データを保持する第1のデータ保持手段と、
前記データ受信装置から通知される受信側無応答期間を
登録する第1の登録手段と、前記第1の登録手段により
登録された前記受信側無応答期間を前記同一の期間信号
に基づいてカウントする第1のカウント手段と、前記デ
ータ送信装置からの送信データの伝送開始時から前記第
1のカウント手段による前記受信側無応答期間計数中
に、前記データ受信装置から返信される返信信号の種別
が異常かどうかを判定する第1の判定手段と、前記第1
の判定手段が前記返信信号の種別が異常であると判定し
た場合に、前記第1のデータ保持手段に保持される送信
データを前記データ受信装置に再送する第1の再送手段
と、前記データ送信装置からの送信データの伝送開始時
から前記第1のカウント手段による前記受信側無応答期
間終了までに前記データ受信装置から返信される返信信
号を受信していない状態かどうかを判定する第2の判定
手段と、前記第2の判定手段が前記データ受信装置から
返信される返信信号を受信していないと判定した場合
に、前記第1のデータ保持手段に保持される送信データ
を前記データ受信装置に再送する第2の再送手段とを有
するものである。
According to a first aspect of the present invention, a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data via a predetermined communication medium based on the same period signal. A data communication control system, comprising: first data holding means for holding the predetermined transmission data;
First registering means for registering a receiving-side no-response period notified from the data receiving device; and counting the receiving-side no-response period registered by the first registering means based on the same period signal. A first counting unit, wherein the type of a reply signal returned from the data receiving device during the counting of the non-response period of the receiving side by the first counting unit from the start of transmission of transmission data from the data transmitting device; First determining means for determining whether there is an abnormality;
A first retransmitting means for retransmitting the transmission data held in the first data holding means to the data receiving device when the determination means determines that the type of the reply signal is abnormal; A second determination is made as to whether or not a reply signal returned from the data receiving device has not been received from the start of transmission of transmission data from the device to the end of the non-response period of the receiving side by the first counting means. Determining means for transmitting the transmission data held in the first data holding means when the second determination means determines that the return signal returned from the data receiving apparatus has not been received; And second retransmission means for retransmitting the data.

【0016】本発明に係る第2の発明は、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムであって、前記データ送信手段か
ら送信された送信データを受信して保持する第2のデー
タ保持手段と、前記データ送信装置から通知される送信
側無応答期間を登録する第2の登録手段と、前記第2の
登録手段により登録された前記送信側無応答期間を前記
同一の期間信号に基づいてカウントする第2のカウント
手段と、前記データ送信装置からの送信データの受信開
始時から前記第2のカウント手段による前記送信側無応
答期間計数中に、前記データ送信装置から受信した送信
データが正常かどうかを判定する第3の判定手段と、前
記第3の判定手段により前記送信データが正常であると
判定された場合に、送信データ正常を返信する第1の返
信手段と、前記第3の判定手段により前記送信データが
正常でないと判定された場合に、前記第2のデータ保持
手段に保持される送信データを破棄し、送信データ異常
を返信する第2の返信手段と、前記データ送信装置から
の送信データの受信開始時から前記第2のカウント手段
による前記送信側無応答期間終了までに、前記データ送
信装置から送信データを受信したかどうかを判定する第
4の判定手段と、前記第4の判定手段が前記データ送信
装置から送信データを受信していないと判定した場合
に、前記データ送信装置に送信データの再送要求を返信
する第3の返信手段とを有するものである。
A second invention according to the present invention is a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A second data holding unit for receiving and holding the transmission data transmitted from the data transmission unit; a second registration unit for registering a transmission-side non-response period notified from the data transmission device; A second counting unit that counts the non-response period of the transmission side registered by the second registration unit based on the same period signal; and a second counting unit that starts receiving the transmission data from the data transmission device. Third determining means for determining whether the transmission data received from the data transmitting device is normal during counting of the transmission-side non-response period by the counting means, and the third determining means When the transmission data is determined to be normal, the first return means for returning the transmission data normal, and when the transmission data is determined to be abnormal by the third determination means, A second reply unit for discarding the transmission data held in the second data holding unit and returning a transmission data abnormality, and the transmission by the second counting unit from the start of reception of the transmission data from the data transmission device. A fourth determining unit that determines whether or not transmission data has been received from the data transmission device before the end of the no-response period; and a fourth determination unit that has not received transmission data from the data transmission device. A third return means for returning a request for retransmission of transmission data to the data transmission device when the determination is made.

【0017】本発明に係る第3の発明は、前記データ受
信装置から通知される受信側無応答期間は、前記データ
受信装置が任意に設定するものである。
In a third aspect of the present invention, the non-response period on the receiving side notified from the data receiving device is arbitrarily set by the data receiving device.

【0018】本発明に係る第4の発明は、前記データ送
信装置から通知される送信側無応答期間は、前記データ
送信装置が任意に設定するものである。
According to a fourth aspect of the present invention, the non-response period on the transmitting side notified from the data transmitting device is arbitrarily set by the data transmitting device.

【0019】本発明に係る第5の発明は、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムのデータ通信方法であって、前記
データ受信装置から通知される受信側無応答期間をメモ
リ資源に登録する第1の登録工程と、前記第1の登録工
程により登録された前記受信側無応答期間を前記同一の
期間信号に基づいてカウントする第1のカウント工程
と、前記データ送信装置からの送信データの伝送開始時
から前記第1のカウント工程による前記受信側無応答期
間計数中に、前記データ受信装置から返信される返信信
号の種別が異常かどうかを判定する第1の判定工程と、
前記第1の判定工程が前記返信信号の種別が異常である
と判定した場合に、保持される送信データを前記データ
受信装置に再送する第1の再送工程と、前記データ送信
装置からの送信データの伝送開始時から前記第1のカウ
ント工程による前記受信側無応答期間終了までに前記デ
ータ受信装置から返信される返信信号を受信していない
状態かどうかを判定する第2の判定工程と、前記第2の
判定工程が前記データ受信装置から返信される返信信号
を受信していないと判定した場合に、保持される送信デ
ータを前記データ受信装置に再送する第2の再送工程と
を有するものである。
According to a fifth aspect of the present invention, there is provided a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A communication method, wherein a first registration step of registering a non-response period of a receiving side notified from the data receiving device in a memory resource, and the non-response period of the receiving side registered in the first registration step is performed by A first counting step of counting based on the same period signal; and a step of counting from the start of transmission of transmission data from the data transmitting apparatus to the receiving side non-response period in the first counting step. A first determination step of determining whether the type of a reply signal returned from
A first retransmission step of retransmitting held transmission data to the data receiving apparatus when the first determination step determines that the type of the return signal is abnormal; and transmitting data from the data transmission apparatus. A second determination step of determining whether or not a response signal returned from the data receiving apparatus has not been received from the start of transmission to the end of the receiving-side non-response period in the first counting step; A second retransmitting step of retransmitting the held transmission data to the data receiving apparatus when the second determining step determines that a reply signal returned from the data receiving apparatus has not been received. is there.

【0020】本発明に係る第6の発明は、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムのデータ通信方法であって、前記
データ送信装置から通知される送信側無応答期間をメモ
リ資源に登録する第2の登録工程と、前記第2の登録工
程により登録された前記送信側無応答期間を前記同一の
期間信号に基づいてカウントする第2のカウント工程
と、前記データ送信装置からの送信データの受信開始時
から前記第2のカウント手段による前記送信側無応答期
間計数中に、前記データ送信装置から受信した送信デー
タが正常かどうかを判定する第3の判定工程と、前記第
3の判定工程により前記送信データが正常であると判定
された場合に、送信データ正常を返信する第1の返信工
程と、前記第3の判定工程により前記送信データが正常
でないと判定された場合に、保持される送信データを破
棄し、送信データ異常を返信する第2の返信工程と、前
記データ送信装置からの送信データの受信開始時から前
記第2のカウント工程による前記送信側無応答期間終了
までに、前記データ送信装置から送信データを受信した
かどうかを判定する第4の判定工程と、前記第4の判定
工程により前記データ送信装置から送信データを受信し
ていないと判定した場合に、前記データ送信装置に送信
データの再送要求を返信する第3の返信工程とを有する
ものである。
According to a sixth aspect of the present invention, there is provided a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A communication method, wherein a second registration step of registering a transmission-side non-response period notified from the data transmission device in a memory resource, and the transmission-side non-response period registered in the second registration step is performed by A second counting step of counting based on the same period signal, and a step of counting the transmission-side non-response period by the second counting means from the start of reception of transmission data from the data transmission device; A third determining step of determining whether the transmission data received from the server is normal, and transmitting the data if the transmission data is determined to be normal by the third determining step. A first return step of returning normal data, and a second return step of discarding the held transmission data and returning an abnormal transmission data when the third determination step determines that the transmission data is not normal. Determining whether or not transmission data has been received from the data transmission device between the start of reception of transmission data from the data transmission device and the end of the non-response period on the transmission side by the second counting process. A fourth determining step, and a third returning step of returning a transmission data retransmission request to the data transmitting apparatus when the fourth determining step determines that transmission data has not been received from the data transmitting apparatus. And

【0021】本発明に係る第7の発明は、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムを制御するコンピュータが読み出
し可能なプログラムを格納した記憶媒体であって、前記
データ受信装置から通知される受信側無応答期間をメモ
リ資源に登録する第1の登録工程と、前記第1の登録工
程により登録された前記受信側無応答期間を前記同一の
期間信号に基づいてカウントする第1のカウント工程
と、前記データ送信装置からの送信データの伝送開始時
から前記第1のカウント工程による前記受信側無応答期
間計数中に、前記データ受信装置から返信される返信信
号の種別が異常かどうかを判定する第1の判定工程と、
前記第1の判定工程が前記返信信号の種別が異常である
と判定した場合に、保持される送信データを前記データ
受信装置に再送する第1の再送工程と、前記データ送信
装置からの送信データの伝送開始時から前記第1のカウ
ント工程による前記受信側無応答期間終了までに前記デ
ータ受信装置から返信される返信信号を受信していない
状態かどうかを判定する第2の判定工程と、前記第2の
判定工程が前記データ受信装置から返信される返信信号
を受信していないと判定した場合に、保持される送信デ
ータを前記データ受信装置に再送する第2の再送工程と
を有するコンピュータが読み出し可能なプログラムを記
憶媒体に格納したものである。
According to a seventh aspect of the present invention, there is provided a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A storage medium storing a computer-readable program to be executed, the first registration step of registering a non-response period of a receiving side notified from the data receiving apparatus in a memory resource, and the first registration step A first counting step of counting the received non-response period based on the same period signal, and the receiving side non-response period from the start of transmission of transmission data from the data transmission device by the first counting step. A first determination step of determining whether a type of a return signal returned from the data receiving apparatus is abnormal during the response period counting;
A first retransmission step of retransmitting held transmission data to the data receiving apparatus when the first determination step determines that the type of the return signal is abnormal; and transmitting data from the data transmission apparatus. A second determination step of determining whether or not a response signal returned from the data receiving apparatus has not been received from the start of transmission to the end of the receiving-side non-response period in the first counting step; A second retransmitting step of retransmitting the held transmission data to the data receiving apparatus when the second determining step determines that the reply signal returned from the data receiving apparatus is not received. A readable program is stored in a storage medium.

【0022】本発明に係る第8の発明は、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムを制御するコンピュータが読み出
し可能なプログラムを格納した記憶媒体であって、前記
データ送信装置から通知される送信側無応答期間をメモ
リ資源に登録する第2の登録工程と、前記第2の登録工
程により登録された前記送信側無応答期間を前記同一の
期間信号に基づいてカウントする第2のカウント工程
と、前記データ送信装置からの送信データの受信開始時
から前記第2のカウント手段による前記送信側無応答期
間計数中に、前記データ送信装置から受信した送信デー
タが正常かどうかを判定する第3の判定工程と、前記第
3の判定工程により前記送信データが正常であると判定
された場合に、送信データ正常を返信する第1の返信工
程と、前記第3の判定工程により前記送信データが正常
でないと判定された場合に、保持される送信データを破
棄し、送信データ異常を返信する第2の返信工程と、前
記データ送信装置からの送信データの受信開始時から前
記第2のカウント工程による前記送信側無応答期間終了
までに、前記データ送信装置から送信データを受信した
かどうかを判定する第4の判定工程と、前記第4の判定
工程により前記データ送信装置から送信データを受信し
ていないと判定した場合に、前記データ送信装置に送信
データの再送要求を返信する第3の返信工程とを有する
コンピュータが読み出し可能なプログラムを記憶媒体に
格納したものである。
An eighth invention according to the present invention controls a data communication control system in which a data transmitting device and a data receiving device transmit and process predetermined transmission data based on the same period signal via a predetermined communication medium. A storage medium storing a computer-readable program to be transmitted, wherein the second registration step registers a transmission-side non-response period notified from the data transmission device in a memory resource, and the second registration step A second counting step of counting the transmission-side non-response period based on the same period signal, and the transmission-side non-response by the second counting means from the start of reception of transmission data from the data transmission device. A third determining step of determining whether the transmission data received from the data transmitting apparatus is normal during the response period counting, and When the transmission data is determined to be normal, the first return step of returning the transmission data normal, and when the transmission data is determined to be abnormal by the third determination step, is held. A second return step of discarding the transmission data and returning a transmission data abnormality, and from the start of reception of the transmission data from the data transmission apparatus to the end of the transmission-side non-response period by the second counting step, A fourth determining step of determining whether or not transmission data has been received from the data transmitting apparatus; and determining that the transmitting data has not been received from the data transmitting apparatus in the fourth determining step. And a third return step of returning a transmission data retransmission request to a storage medium.

【0023】[0023]

【発明の実施の形態】図1は、本発明の一実施形態を示
すデータ通信制御システムを適用可能な印刷システムの
一例を示すブロック図であり、データを送信するデータ
送信装置101と、データ送信装置101からの送信デ
ータを受信するデータ受信装置102とが所定のインタ
フェースを介して通信可能に構成されている場合に対応
する。
FIG. 1 is a block diagram showing an example of a printing system to which a data communication control system according to an embodiment of the present invention can be applied. This corresponds to a case where the data receiving apparatus 102 that receives transmission data from the apparatus 101 is configured to be communicable via a predetermined interface.

【0024】データ送信装置101において、103は
データ伝送装置の全体制御を司る全体制御部で、例えば
CPU等で構成される。104はRAM等で構成される
記憶部で、全体制御部103が処理するのに必要なプロ
グラムやデータ等を記憶する。
In the data transmission apparatus 101, reference numeral 103 denotes an overall control unit which controls the overall control of the data transmission apparatus, and is constituted by, for example, a CPU. Reference numeral 104 denotes a storage unit including a RAM or the like, which stores programs, data, and the like necessary for the overall control unit 103 to perform processing.

【0025】105は入力部で、スキャナやカメラ等の
ように画像データ等を入力する。106は操作部で、デ
ータ送信装置101を制御させるために操作者が入力す
る。107は例えばCRT,LCD,FLC等で構成さ
れる表示部で、全体処理部で生成したグラフィックやテ
キスト等の画像データを画面に表示する。
Reference numeral 105 denotes an input unit for inputting image data or the like like a scanner or a camera. An operation unit 106 is input by an operator to control the data transmission device 101. A display unit 107 includes, for example, a CRT, an LCD, and an FLC, and displays image data such as graphics and text generated by the overall processing unit on a screen.

【0026】108は同期カウンタで、同期式伝送の同
期間隔をカウントする。109はタイマで、全体制御部
103がタイマ監視する。110はヘッダ生成部で、同
期式データ伝送の送信データのヘッダを生成する。11
1はエラーチェックビット生成部で、データのエラーチ
ェックビット(例えば、CRC等)を生成処理する。
Reference numeral 108 denotes a synchronization counter which counts synchronization intervals of synchronous transmission. Reference numeral 109 denotes a timer, and the overall control unit 103 monitors the timer. Reference numeral 110 denotes a header generation unit that generates a header of transmission data for synchronous data transmission. 11
Reference numeral 1 denotes an error check bit generation unit that generates and processes an error check bit (for example, a CRC) of the data.

【0027】112はバッファで、送信データを一時的
に記憶する。113はバッファで、受信データを一時的
に記憶する。114は送受信バッファで、非同期伝送時
におけるデータを一時的に記憶する。
Reference numeral 112 denotes a buffer for temporarily storing transmission data. A buffer 113 temporarily stores the received data. A transmission / reception buffer 114 temporarily stores data during asynchronous transmission.

【0028】115は同期制御部で、同期式伝送時にお
けるデータ送受信処理を制御する。116は非同期制御
部で、非同期伝送時におけるデータ送受信処理を制御す
る。117はインタフェース部(I/F部)で、インタ
フェースの電気的物理的条件を満たしデータの送受信を
行う。
Reference numeral 115 denotes a synchronization control unit which controls data transmission / reception processing during synchronous transmission. An asynchronous control unit 116 controls data transmission / reception processing during asynchronous transmission. An interface unit (I / F unit) 117 transmits and receives data that satisfies the electrical and physical conditions of the interface.

【0029】データ受信装置102(本実施形態では、
プリンタ装置を例とする)において、118はCPU等
で構成される制御部で、データ受信装置102の全体を
制御する。119はRAM等で構成される記憶部で、制
御部118が処理するのに必要なプログラムやデータ等
を記憶する。
The data receiving device 102 (in this embodiment,
In a printer device, a control unit 118 includes a CPU and the like, and controls the entire data receiving apparatus 102. Reference numeral 119 denotes a storage unit including a RAM or the like, which stores programs, data, and the like necessary for the control unit 118 to perform processing.

【0030】120は入出力部(I/O部)で、データ
受信装置102の持っている各部機能と接続して整合を
とる。121はパネル部(インジケータ&キーセンス)
で、表示部およびキー入力部を備える。122はLFモ
ータで、プリンタの紙送り方向の搬送を行う。123は
CRモータで、紙面上に印刷するヘッダを駆動させる。
Reference numeral 120 denotes an input / output unit (I / O unit) which connects to the functions of each unit of the data receiving apparatus 102 to perform matching. 121 is a panel part (indicator & key sense)
And a display unit and a key input unit. Reference numeral 122 denotes an LF motor which carries the paper in the paper feed direction of the printer. A CR motor 123 drives a header to be printed on paper.

【0031】124はヘッドで、I/O部120を介し
て入力される印刷データに基づいてラスタイメージデー
タに基づくインク滴を記録媒体上に吐出する。
Reference numeral 124 denotes a head for discharging ink droplets based on raster image data onto a recording medium based on print data input via the I / O unit 120.

【0032】125はヘッダ解析部で、同期式伝送の受
信データのヘッダを解析する。126はエラーチェック
部で、受信データに付加されているエラーチェックビッ
トを利用してデータのエラーの有無を検出する。
Reference numeral 125 denotes a header analysis unit which analyzes the header of the received data for synchronous transmission. Reference numeral 126 denotes an error check unit which detects the presence or absence of a data error by using an error check bit added to the received data.

【0033】127はバッファで、受信データを一時的
に格納する。128はバッファで、同期式伝送時におけ
る送信データを一時的に格納する。129はバッファ
で、非同期式伝送時における送信データを一時的に格納
する。130は同期制御部で、同期式伝送時におけるデ
ータ送受信処理を制御する。131は非同期制御部で、
非同期伝送時におけるデータ送受信処理を制御する。
Reference numeral 127 denotes a buffer for temporarily storing received data. A buffer 128 temporarily stores transmission data at the time of synchronous transmission. A buffer 129 temporarily stores transmission data at the time of asynchronous transmission. Reference numeral 130 denotes a synchronization control unit which controls data transmission / reception processing during synchronous transmission. 131 is an asynchronous control unit.
Controls data transmission / reception processing during asynchronous transmission.

【0034】132はインタフェース部(I/F部)
で、電気的物理的条件を満たすデータの送受信を行う。
133は期間数カウンタで、同期制御部130が発生す
るかあるいは他装置からのI/F部経由で抽出された一
定期間を示す信号でカウントアップする。134は期間
数カウンタで、同期制御部115が発生するかあるいは
他装置からのI/F部経由で抽出された一定期間を示す
信号でカウントアップする。
Reference numeral 132 denotes an interface unit (I / F unit)
Then, transmission and reception of data satisfying the electrical and physical conditions are performed.
Reference numeral 133 denotes a period counter, which counts up by a signal indicating a certain period generated by the synchronization control unit 130 or extracted from another device via an I / F unit. Reference numeral 134 denotes a period number counter, which counts up with a signal indicating a certain period generated by the synchronization control unit 115 or extracted via an I / F unit from another device.

【0035】〔非同期式伝送処理〕まず、非同期式伝送
処理でデータを受信する場合には、非同期制御部にてデ
ータのエラーチェックやデータのハンドシェークが行わ
れ、正しいデータがバッファに格納されるので、受信さ
れたデータの内容は保証されている。
[Asynchronous Transmission Processing] First, when data is received by the asynchronous transmission processing, an error check of data and a handshake of data are performed by the asynchronous control unit, and correct data is stored in the buffer. The content of the received data is guaranteed.

【0036】また、逆にデータを送信する場合には、バ
ッファに格納されたデータがデータを受信する装置に確
実に伝送されることが保証されている。
On the other hand, when data is transmitted, it is guaranteed that the data stored in the buffer is reliably transmitted to the data receiving device.

【0037】ただし、データが正しく伝送されたかを確
認しつつデータ伝送するため、データの伝送時間は保証
されていない。よって、データの伝送レートはかなり大
きく変動する。
However, since the data is transmitted while confirming that the data has been transmitted correctly, the data transmission time is not guaranteed. Therefore, the data transmission rate fluctuates considerably.

【0038】〔同期式伝送処理〕これに対し、同期式伝
送処理では、非同期とは異なり、時間が優先されるの
で、伝送レートは保証されるが、データの内容を保証す
ることはできない。
[Synchronous transmission processing] On the other hand, in the synchronous transmission processing, unlike asynchronous transmission, time is given priority, so that the transmission rate is guaranteed, but the data contents cannot be guaranteed.

【0039】そこで、エラー訂正ビット等を付加するこ
とで、多少のエラーに対しては対応が可能であるが、エ
ラー訂正が不可能なほどのエラーが発生した場合には訂
正不可能なので完全に保証することはできない。
Therefore, by adding an error correction bit or the like, it is possible to cope with some errors, but if an error occurs that cannot be corrected, it cannot be corrected. There is no guarantee.

【0040】そのため通常は、エラーを検出しても再送
などを行う時間的な余裕がないため、受信側でエラーチ
ェックはすることが可能だが、エラーしたデータの再送
は行われていない。
For this reason, usually, even if an error is detected, there is not enough time to perform retransmission or the like, so that an error check can be performed on the receiving side, but retransmission of erroneous data is not performed.

【0041】しかしながら、本実施形態においては、デ
ータ送信装置101からデータ受信装置102への下り
のデータ伝送と、データ受信装置102からデータ送信
装置101への上りのデータ伝送の両方向のデータ伝送
に同期式のデータ伝送方式を採用し、同期式データ伝送
で用いられる一定期間(例えばフレーム期間)のタイム
インターバルをカウントして時間監視を行い、上記上り
のデータ転送で下りのデータ伝送で伝送した受信データ
のエラー情報を通知することにより、ある程度一定のデ
ータレートを確保しつつ、確実にデータを伝送すること
を可能にしている。
However, in the present embodiment, the data transmission is synchronized with the data transmission in both directions, that is, the downlink data transmission from the data transmitting apparatus 101 to the data receiving apparatus 102 and the uplink data transmission from the data receiving apparatus 102 to the data transmitting apparatus 101. The data transmission method of the formula is adopted, the time interval of a fixed period (for example, a frame period) used in the synchronous data transmission is counted and the time is monitored, and the received data transmitted by the downlink data transmission in the above uplink data transfer. By transmitting the error information, it is possible to reliably transmit data while securing a certain data rate.

【0042】一方、送信側ではこの同期式伝送のデータ
にエラーチェックビットを付加して伝送し、受信側にて
そのエラーチェックビットによってデータのエラーの有
無を検出させるようにした。
On the other hand, the transmitting side transmits the synchronous transmission data with an error check bit added thereto, and the receiving side detects the presence or absence of a data error based on the error check bit.

【0043】そして、もしエラーが検出された場合に
は、データ受信装置102がデータ送信装置101にデ
ータの再送のためのリフレッシュ要求を送信して、エラ
ーが生じたデータから改めてデータの送信を開始できる
ようにして伝送レートを保証しつつ、データ内容も保証
可能にしてシリアルプリンタのようなバッファ容量の小
さい装置で効率のよい伝送を可能にしている。
If an error is detected, the data receiving apparatus 102 transmits a refresh request for retransmitting data to the data transmitting apparatus 101, and starts transmitting data again from the data in which the error has occurred. As a result, while ensuring the transmission rate, the data contents can also be guaranteed, and efficient transmission is possible with a device having a small buffer capacity such as a serial printer.

【0044】また、他の方法としてはデータの伝送に始
まり、データ受信装置102からデータ送信装置101
へエラーチェックの結果を送信し、データ送信装置10
1側でその結果に基づいて次に伝送するデータを決定し
て送信するまでのプロセスを同期タイミングに同期させ
ながら行うことによって、時間管理を容易かつ確実にし
て効率のよい伝送を可能にしている。
As another method, starting from data transmission, the data receiving apparatus 102 transmits the data to the data transmitting apparatus 101.
To the data transmission device 10
On the one hand, the process of determining the next data to be transmitted on the basis of the result and transmitting the data is performed in synchronization with the synchronization timing, thereby facilitating time management easily and reliably and enabling efficient transmission. .

【0045】以下、本実施形態の特徴的構成について図
1を参照して説明する。
Hereinafter, the characteristic configuration of this embodiment will be described with reference to FIG.

【0046】上記のように構成された所定の通信媒体
(所定の双方向インタフェース,ネットワーク)を介し
てデータ送信装置とデータ受信装置とが同一の期間信号
に基づいて所定の送信データを伝送処理するデータ通信
制御システムであって、前記所定の送信データを保持す
る第1のデータ保持手段(バッファ128)と、前記デ
ータ受信装置から通知される受信側無応答期間を登録す
る第1の登録手段(制御部118が図示しないROMま
たは図示しないメモリ資源に記憶された制御プログラム
を実行して記憶部119に登録処理する)と、前記第1
の登録手段により登録された前記受信側無応答期間を前
記同一の期間信号に基づいてカウントする第1のカウン
ト手段(期間数カウンタ133)と、前記データ送信装
置からの送信データの伝送開始時から前記第1のカウン
ト手段による前記受信側無応答期間計数中に、前記デー
タ受信装置から返信される返信信号の種別が異常かどう
かを判定する第1の判定手段(同期制御部130が判定
処理する)と、前記第1の判定手段が前記返信信号の種
別が異常であると判定した場合に、前記第1のデータ保
持手段に保持される送信データを前記データ受信装置に
再送する第1の再送手段(同期制御部130がバッファ
128から読み出して再送処理する)と、前記データ送
信装置からの送信データの伝送開始時から前記第1のカ
ウント手段による前記受信側無応答期間終了までに前記
データ受信装置から返信される返信信号を受信していな
い状態かどうかを判定する第2の判定手段(同期制御部
130が判定処理する)と、前記第2の判定手段が前記
データ受信装置から返信される返信信号を受信していな
いと判定した場合に、前記第1のデータ保持手段に保持
される送信データを前記データ受信装置に再送する第2
の再送手段(同期制御部130がバッファ128から読
み出して再送処理する)とを有するので、データ受信装
置との同期通信処理中に、送信データを受信すべきデー
タ受信装置から通知される受信側無応答期間経過中にお
けるデータ受信装置からの返信が所定時間を超えていな
い場合でもあるいは異常返信が通知された場合でも送信
データの再送をデータ送信側で決定することができ、同
期通信の利点である一定のデータレートでの通信を確保
しつつ、送信エラーとなる場合には、送信データを確実
に再送することができるので送信データの品質を保証す
ることができる。
The data transmitting apparatus and the data receiving apparatus transmit predetermined transmission data based on the same period signal via the predetermined communication medium (predetermined bidirectional interface, network) configured as described above. A data communication control system, comprising: first data holding means (buffer 128) for holding the predetermined transmission data; and first registration means (Registering a receiving-side no-response period notified from the data receiving device) The control unit 118 executes a control program stored in a ROM (not shown) or a memory resource (not shown) and performs registration processing in the storage unit 119).
First counting means (number-of-periods counter 133) for counting the non-response period of the receiving side registered by the registering means based on the same period signal, from the start of transmission of transmission data from the data transmitting apparatus. A first determination unit (the synchronization control unit 130 performs a determination process) to determine whether a type of a reply signal returned from the data receiving device is abnormal during the counting of the receiving-side non-response period by the first counting unit; And a first retransmission for retransmitting the transmission data held in the first data holding unit to the data receiving device when the first determination unit determines that the type of the return signal is abnormal. Means (the synchronization control unit 130 reads out from the buffer 128 and performs retransmission processing) and the first counting means from the start of transmission of transmission data from the data transmitting apparatus. Second determining means (determining by the synchronization control unit 130) whether or not a reply signal returned from the data receiving device has not been received by the end of the non-response period on the receiving side; When the determining means determines that the reply signal returned from the data receiving device has not been received, the transmission data held in the first data holding means is retransmitted to the data receiving device.
(The synchronization control unit 130 reads out from the buffer 128 and performs retransmission processing), so that during the synchronous communication processing with the data receiving apparatus, the receiving side that is notified from the data receiving apparatus that should receive the transmission data has no Even if the reply from the data receiving device does not exceed the predetermined time during the elapse of the response period, or even if an abnormal reply is notified, retransmission of the transmission data can be determined on the data transmitting side, which is an advantage of synchronous communication. If a transmission error occurs while ensuring communication at a constant data rate, the transmission data can be retransmitted without fail, so that the quality of the transmission data can be guaranteed.

【0047】また、所定の通信媒体(所定の双方向イン
タフェース,ネットワーク)を介してデータ送信装置と
データ受信装置とが同一の期間信号に基づいて所定の送
信データを伝送処理するデータ通信制御システムであっ
て、前記データ送信手段から送信された送信データを受
信して保持する第2のデータ保持手段(バッファ11
3)と、前記データ送信装置から通知される送信側無応
答期間を登録する第2の登録手段(全体制御部103が
記憶部104に登録する)と、前記第2の登録手段によ
り登録された前記送信側無応答期間を前記同一の期間信
号に基づいてカウントする第2のカウント手段(期間数
カウンタ134)と、前記データ送信装置からの送信デ
ータの受信開始時から前記第2のカウント手段による前
記送信側無応答期間計数中に、前記データ送信装置から
受信した送信データが正常かどうかを判定する第3の判
定手段(同期制御部115が判定処理する)と、前記第
3の判定手段により前記送信データが正常であると判定
された場合に、送信データ正常を返信する第1の返信手
段(同期制御部115が返信処理(ACKの返信)す
る)と、前記第3の判定手段により前記送信データが正
常でないと判定された場合に、前記第2のデータ保持手
段に保持される送信データを破棄し、送信データ異常を
返信する第2の返信手段(同期制御部115が返信処理
(NAKの返信)する)と、前記データ送信装置からの
送信データの受信開始時から前記第2のカウント手段に
よる前記送信側無応答期間終了までに、前記データ送信
装置から送信データを受信したかどうかを判定する第4
の判定手段(同期制御部115が判定処理する)と、前
記第4の判定手段が前記データ送信装置から送信データ
を受信していないと判定した場合に、前記データ送信装
置に送信データの再送要求を返信する第3の返信手段
(同期制御部115が返信処理(再送要求パケットの返
信)する)とを有するので、データ送信装置との同期通
信処理中に、送信データを送信すべきデータ送信装置か
ら通知される受信側無応答期間経過中におけるデータ送
信装置からのデータ送信が所定時間を超えてない場合で
も送信データの再送をデータ受信側で要求することがで
き、同期通信の利点である一定のデータレートでの通信
を確保しつつ、送信エラーとなる場合には、送信データ
を確実に再送することができるので送信データの品質を
保証することができる。
A data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data based on the same period signal via a predetermined communication medium (a predetermined bidirectional interface or network). A second data holding unit (a buffer 11) for receiving and holding the transmission data transmitted from the data transmission unit.
3), a second registration unit for registering the transmission-side non-response period notified from the data transmission device (registered in the storage unit 104 by the overall control unit 103), and the second registration unit A second counting unit (a period counter 134) for counting the transmission-side non-response period based on the same period signal, and a second counting unit that starts receiving transmission data from the data transmitting device. A third determining unit that determines whether the transmission data received from the data transmitting device is normal during the transmission-side non-response period counting (the synchronization control unit 115 performs a determination process); When it is determined that the transmission data is normal, the first response means for returning normal transmission data (the synchronization control unit 115 performs a response process (reply of ACK)), and If the transmission means determines that the transmission data is not normal, the transmission data held in the second data holding means is discarded, and a second reply means (synchronization control unit 115 transmits a transmission data abnormality) is returned. Reply processing (reply of NAK)) and receiving transmission data from the data transmission device from the start of reception of transmission data from the data transmission device to the end of the transmission-side non-response period by the second counting means. The fourth to determine whether
And a request for retransmission of transmission data to the data transmission device when the fourth determination device determines that transmission data has not been received from the data transmission device. (A synchronization control unit 115 performs a reply process (reply of a retransmission request packet)), so that the data transmission device to transmit the transmission data during the synchronous communication process with the data transmission device is provided. Even if the data transmission from the data transmitting device during the elapse of the non-response period of the receiving side notified from the user does not exceed the predetermined time, the data receiving side can request the retransmission of the transmission data, which is an advantage of synchronous communication. If a transmission error occurs while ensuring communication at the data rate, the transmission data can be retransmitted without fail, so the quality of the transmission data can be guaranteed. .

【0048】さらに、前記データ受信装置101から通
知される受信側無応答期間は、前記データ受信装置10
1が任意に設定するので、データ受信装置のデータ処理
速度、例えばプリント処理速度に依存する最適な無応答
期間でデータ受信装置側の応答状態を監視することがで
きる。
Further, the non-response period of the receiving side notified from the data receiving apparatus 101 is the same as that of the data receiving apparatus 10.
Since 1 is arbitrarily set, it is possible to monitor the response state of the data receiving device during an optimal non-response period depending on the data processing speed of the data receiving device, for example, the print processing speed.

【0049】また、前記データ送信装置102から通知
される送信側無応答期間は、前記データ送信装置102
が任意に設定するので、データ送信装置のデータ通信に
依存する最適な無応答期間でデータ送信装置側のデータ
送信状態を監視することができる。
The transmission-side non-response period notified from the data transmitting apparatus 102 is the same as that of the data transmitting apparatus 102.
Can be arbitrarily set, so that the data transmission state of the data transmission device can be monitored in an optimal non-response period depending on the data communication of the data transmission device.

【0050】次に、図2〜図5に示すフローチャートを
参照して、図1に示したデータ送信装置101,データ
受信装置102におけるデータ伝送処理について説明す
る。
Next, data transmission processing in the data transmitting apparatus 101 and the data receiving apparatus 102 shown in FIG. 1 will be described with reference to flowcharts shown in FIGS.

【0051】図2,図3は、本発明に係るデータ通信制
御システムにおける第1のデータ処理手順の一例を示す
フローチャートであり、図1に示したデータ送信装置1
01側のデータ通信処理に対応する。なお、(1)〜
(26)は各ステップを示す。
FIGS. 2 and 3 are flowcharts showing an example of a first data processing procedure in the data communication control system according to the present invention. The data transmitting apparatus 1 shown in FIG.
01 corresponds to the data communication process. In addition, (1)-
(26) shows each step.

【0052】まず、データ送信装置102がデータ伝送
を開始するか否かの判別をし(1)、開始すると判別し
た場合には、送信装置無応答期間数通知をデータ受信装
置102に通知するか否かを判別し(2)、通知すると
判別した場合には、データ受信装置102へ無応答期間
数通知を送信し(3)、ステップ(4)に移る。
First, it is determined whether or not the data transmission apparatus 102 starts data transmission (1). If it is determined that the data transmission is to be started, a notification of the number of non-response periods of the transmission apparatus is sent to the data reception apparatus 102. It is determined whether or not it is not (2), and if it is determined that the notification is to be made, a non-response period number notification is transmitted to the data receiving apparatus 102 (3), and the process proceeds to step (4).

【0053】一方、ステップ(2)で、通知しないと判
別した場合には、パケットの送信があったか否かを判別
し(4)、もしパケットの送信があったと判別した場合
には、送信データを記憶部119から読み出し用のバッ
ファ128に転送し(5)、その送信データのヘッダを
生成し(6)、送信データパケットとしてデータ受信装
置102に送信し(7)、データ受信装置102からの
上記のデータの対するレスポンスを監視するための期間
数カウンタ133の期間数カウント値を「0」にしてカ
ウントアップを開始する(8)。
On the other hand, if it is determined in step (2) that notification is not to be made, it is determined whether or not a packet has been transmitted (4). If it is determined that a packet has been transmitted, the transmission data is determined. The data is transferred from the storage unit 119 to the read buffer 128 (5), a header of the transmission data is generated (6), and transmitted as a transmission data packet to the data receiving apparatus 102 (7). The count value of the number-of-periods counter 133 for monitoring the response to this data is set to "0" and the count-up is started (8).

【0054】次に、データ受信装置102からのデータ
の受信の有無を判定し(12)、もし受信データがある
と判定した場合には、データ受信装置102から通知さ
れる受信装置無応答期間数か否かを判定し(25)、受
信装置無応答期間数であると判定した場合には、受信装
置無応答期間数を記憶部119へ記憶して登録し(2
6)、ステップ(13)に移行し、一方、受信装置無応
答期間数でないと判断した場合には、ステップ(13)
に移行する。
Next, it is determined whether or not data has been received from the data receiving apparatus 102 (12). If it is determined that there is received data, the number of non-response periods of the receiving apparatus notified from the data receiving apparatus 102 is determined. It is determined whether or not the number is the number of non-response periods of the receiving device (25).
6), the process proceeds to step (13). On the other hand, if it is determined that the number is not the number of non-response periods of the receiving device, the process proceeds to step (13).
Move to

【0055】次に、期間数カウンタ133の期間数カウ
ント値を「0」にしてカウントアップを開始し(1
3)、受信したデータがアクノリッジ(ACK)パケッ
トか否かを判定し(14)、もしACKパケットである
と判定した場合には、送信用のバッファ128からその
アクノリッジ(ACK)パケットに該当する送信データ
を削除し(15)、図2に示したステップ(4)に移
る。
Next, the count value of the number of periods of the period number counter 133 is set to "0", and counting is started (1).
3) It is determined whether or not the received data is an acknowledgment (ACK) packet (14). If it is determined that the received data is an ACK packet, a transmission corresponding to the acknowledgment (ACK) packet is transmitted from the transmission buffer 128. The data is deleted (15), and the process proceeds to step (4) shown in FIG.

【0056】一方、ステップ(14)で、もしACKパ
ケットでないと判定した時には、受信したデータがNA
Kパケットか否かを判定し(16)、もし、ネガティブ
アクノリッジ(NAK)パケットを受信したと判定した
場合には、ステップ(20)へ移り、もしNAKパケッ
トでないと判定した時には、受信したデータが再送要求
パケットか否かを判別し(17)、もし再生要求パケッ
トを受信したと判定した場合にはステップ(20)へ移
り、もし再送要求パケットを受信しないと判定した場合
には、その他のパケット処理を実行し(18)、ステッ
プ(24)へ移る。
On the other hand, if it is determined in step (14) that the received data is not an ACK packet,
It is determined whether or not the received packet is a K packet (16). If it is determined that a negative acknowledgment (NAK) packet has been received, the process proceeds to step (20). It is determined whether or not the packet is a retransmission request packet (17). If it is determined that the reproduction request packet has been received, the process proceeds to step (20). If it is determined that the retransmission request packet has not been received, another packet is received. The process is executed (18), and the process proceeds to step (24).

【0057】一方、ステップ(12)で、もしパケット
受信していないと判定した場合には、データ受信装置1
01から通知されて記憶部119に記憶された受信装置
無応答期間数と期間数カウント(期間数カウンタ133
の期間数カウント値)とを比較して受信装置無応答期間
数が期間数カウント以上かどうかを判定し(8)、期間
数カウントが受信装置無応答期間数以下であると判定し
た場合には、ステップ(12)へ移り、期間数カウント
が受信装置無応答期間数より大きいと判定した場合に
は、直前にデータ受信装置102へ送信したデータを再
送データとして送信用のバッファ128から読み出して
(20)、ヘッダデータを生成して(21)、再送デー
タパケットをデータ受信装置102へ送信し(22)、
期間数カウンタ133の期間数カウント値を「0」にし
てカウントアップを開始し(23)、データ伝送終了か
否かを判別し(24)、もしデータ伝送終了でないと判
定した場合には、図2に示したステップ(4)へ移り、
もしデータ伝送終了であると判定した場合には、データ
通信処理を終了する。
On the other hand, if it is determined in step (12) that no packet has been received, the data receiving apparatus 1
01 and the number of periods of the receiving device non-response period stored in the storage unit 119 and the number of periods (the period counter 133
(8) to determine whether the number of non-response periods of the receiving device is equal to or greater than the number of periods, and determine that the number of periods is equal to or less than the number of non-response periods of the receiving device. If it is determined that the period count is greater than the receiving device non-response period number, the data transmitted immediately before to the data receiving device 102 is read from the transmitting buffer 128 as retransmission data (step (12)). 20), generate header data (21), transmit the retransmission data packet to the data receiving apparatus 102 (22),
The count value of the number of periods of the period counter 133 is set to "0" to start counting up (23), and it is determined whether or not the data transmission has been completed (24). Go to step (4) shown in 2
If it is determined that the data transmission has ended, the data communication process ends.

【0058】一方、ステップ(4)で、パケット送信が
ないと判定した場合には、期間数カウント(期間数カウ
ンタ133の期間数カウント値)を送信装置応答期間数
を比較、送信装置応答期間数が期間数カウント以上かど
うかを判定して(9)、期間数カウントが送信装置無応
答期間数以下であると判定した場合には、ステップ
(4)へ移り、期間数カウントが送信装置無応答期間数
より大きいと判定した場合には、エラー処理を行い(1
0)、それによって回復するか否かを判別し(11)、
もし回復すると判定した場合には、ステップ(24)へ
移り、もし回復しないと判定した場合には、データ通信
を終了する。
On the other hand, if it is determined in step (4) that there is no packet transmission, the period number count (the period count value of the period number counter 133) is compared with the transmission device response period number. Is determined to be equal to or greater than the number of periods (9). If it is determined that the number of periods is equal to or less than the number of non-response periods of the transmitting device, the process proceeds to step (4), and If it is determined that the number is greater than the number of periods, error processing is performed (1
0), thereby determining whether or not to recover (11),
If it is determined to recover, the process proceeds to step (24), and if it is determined that recovery does not occur, the data communication ends.

【0059】図4,図5は、本発明に係るデータ通信制
御システムにおける第2のデータ処理手順の一例を示す
フローチャートであり、図1に示したデータ受信装置1
02側のデータ通信処理に対応する。なお、(1)〜
(24)は各ステップを示す。
FIGS. 4 and 5 are flow charts showing an example of the second data processing procedure in the data communication control system according to the present invention. The data receiving apparatus 1 shown in FIG.
It corresponds to the data communication process on the 02 side. In addition, (1)-
(24) shows each step.

【0060】まず、データ受信装置102がデータ伝送
を開始するか否かを判別し(1)、もしデータ伝送が開
始されないと判定された場合にはステップ(1)へ移
り、もしデータ伝送開始すると判定された場合には、受
信装置無応答期間数を通知するか否かを判別し(2)、
もし受信装置無応答期間数を通知すると判定した場合に
は、データ送信装置101へ無応答期間数の通知を送信
し(3)、ステップ(4)へ移る。
First, the data receiving apparatus 102 determines whether or not to start data transmission (1). If it is determined that data transmission is not started, the process proceeds to step (1). If it is determined, it is determined whether to notify the number of non-response periods of the receiving device (2),
If it is determined that the number of non-response periods is to be notified, a notification of the number of non-response periods is transmitted to the data transmitting apparatus 101 (3), and the process proceeds to step (4).

【0061】一方、ステップ(2)で、もし受信装置無
応答期間数を通知しないと判定した場合には、データ送
信装置102よりパケットを受信したか否かを判別し
(4)、もしパケットを受信したと判定した場合には、
データか否かを判別し(5)、もしデータでないと判定
した場合には、データ送信装置102から通知される送
信装置無応答期間数か否かを判別し(6)、もし送信装
置無応答期間数の受信であると判定した場合には、記憶
部104へ記憶して登録し(7)、図5に示すステップ
(32)へ移り、もし送信装置無応答期間数ではないと
判定した場合には、データと送信装置無応答期間数以外
の処理を行い(8)、図5のステップ(32)へ移る。
On the other hand, if it is determined in step (2) that the number of the receiving device non-response periods is not notified, it is determined whether or not a packet has been received from the data transmitting device 102 (4). If it is determined that it has been received,
It is determined whether or not the data is data (5). If it is determined that the data is not data, it is determined whether or not the number of transmission device non-response periods notified from the data transmission device 102 is satisfied (6). If it is determined that the number of periods has been received, it is stored in the storage unit 104 and registered (7), and the process proceeds to step (32) shown in FIG. , Processing other than the data and the number of non-response periods of the transmission device is performed (8), and the process proceeds to step (32) in FIG.

【0062】一方、ステップ(5)で、受信したパケッ
トがデータだったと判定した場合には、その受信したデ
ータをバッファ113に格納し(9)、期間数カウント
を行う期間数カウンタ134の期間数カウント値を
「0」にしてカウントアップを開始する(10)。
On the other hand, if it is determined in step (5) that the received packet is data, the received data is stored in the buffer 113 (9), and the number of periods of the period counter 134 for counting the number of periods is stored. The count value is set to "0" and count-up is started (10).

【0063】次に、受信したデータのエラーチェックの
結果を判定し(11)、もしデータに異常(NG)があ
ると判定した場合には、受信したデータをバッファ11
3から廃棄し(17)、ステップ(28)以降へ進み、
NAKパケットデータを生成し、ヘッダ生成部110に
よりヘッダデータを生成し(29)、期間数カウントと
受信装置無応答期間数とを比較し、受信装置無応答期間
数が期間数カウント以上かどうかを判定して(30)、
期間数カウントが受信装置無応答期間数以下であると判
定した場合には、NAKパケットをデータ送信装置へ送
信し(31)、ステップ(25)へ移り、期間数カウン
トが受信装置無応答期間数より大きいと判定した場合に
は、ステップ(26)へ移る。
Next, the result of the error check of the received data is determined (11). If it is determined that the data is abnormal (NG), the received data is stored in the buffer 11
Discard from step 3 (17) and proceed to step (28) and subsequent steps.
NAK packet data is generated, header data is generated by the header generation unit 110 (29), and the number of periods is compared with the number of non-response periods of the receiving device. Judge (30),
If it is determined that the period count is equal to or less than the receiving device non-response period, a NAK packet is transmitted to the data transmitting device (31), and the process proceeds to step (25). If it is determined that the value is larger, the process proceeds to step (26).

【0064】一方、ステップ(11)で、もしデータが
正常(OK)であると判定された場合には、その受信デ
ータのヘッダを解析し、その受信したデータのNo.を
認識して記憶部104に記憶する(12)。
On the other hand, if it is determined in step (11) that the data is normal (OK), the header of the received data is analyzed and the received data No. Is recognized and stored in the storage unit 104 (12).

【0065】次に、データNo.で受信したデータが再
送されてきたデータか否かを判別し(13)、もし再送
データであると判定した場合には、この再送データが既
に格納済みか否かを判別し(14)、もし格納されてい
るデータであると判定した場合には、この受信した再送
データを受信用のバッファ113から廃棄し(15)、
ステップ(21)へ移る。
Next, the data No. It is determined whether or not the received data is retransmitted data (13). If it is determined that the received data is retransmitted data, it is determined whether or not the retransmitted data is already stored (14). If it is determined that the data is stored, the received retransmission data is discarded from the reception buffer 113 (15).
Move to step (21).

【0066】一方、ステップ(13)で、再送データで
ないと判定されたか、ステップ(14)で、もし格納さ
れていないと判定した場合には、次の新しいデータを受
信したと認識し、その受信したデータを記憶部104へ
転送し(16)、ACKパケットデータを生成し(2
1)、ヘッダ生成部110によりヘッダデータを生成し
(22)、期間数カウントと受信装置無応答期間数とを
比較して、受信装置無応答期間数が期間数カウント以上
かどうかを判定し(23)、期間数カウントが受信装置
無応答期間数以下の場合には、ACKパケットをデータ
送信装置101へ送信し(24)、期間数カウンタ13
4の期間数カウント値を「0」にして、カウントアップ
を開始し(25)、データ伝送を終了するか否かを判別
し(32)、もしデータ伝送を終了しないと判定した場
合には、ステップ(2)へ移り、もしデータ伝送を終了
すると判定した場合には、処理を終了する。
On the other hand, if it is determined in step (13) that the data is not retransmitted data, or if it is determined in step (14) that the data is not stored, it is recognized that the next new data has been received, and the received new data is received. The transferred data is transferred to the storage unit 104 (16), and ACK packet data is generated (2).
1), header data is generated by the header generation unit 110 (22), and the number of periods is compared with the number of non-response periods of the receiving device to determine whether or not the number of non-response periods of the receiving device is equal to or greater than the number of periods. 23) If the number of periods is equal to or less than the number of non-response periods of the receiving device, an ACK packet is transmitted to the data transmitting device 101 (24);
The count value of the number of periods of 4 is set to "0", counting is started (25), and it is determined whether or not to end the data transmission (32). If it is determined that the data transmission is not ended, The process proceeds to step (2), and if it is determined that the data transmission is to be terminated, the process is terminated.

【0067】一方、ステップ(23)で、期間数カウン
トが受信装置無応答期間数より大きいと判定した場合、
例えば期間数カウントが受信装置無応答期間数か送信装
置無応答期間数のどちらかを超過してエラーが発生して
しまった場合等には、ステップ(26)へ移り、エラー
に対するエラーリカバリ処理を実行し、回復したか否か
を判別し(27)、回復したと判定した場合には、ステ
ップ(32)へ移り、回復しなかったと判定した場合に
は、処理を終了する。
On the other hand, if it is determined in step (23) that the period number count is larger than the receiving device non-response period number,
For example, if the period count exceeds either the number of non-response periods of the receiving device or the number of non-response periods of the transmitting device and an error occurs, the process proceeds to step (26) and error recovery processing for the error is performed. The process is executed to determine whether or not recovery has been made (27). If it is determined that recovery has been made, the process proceeds to step (32). If it is determined that recovery has not been made, the process ends.

【0068】一方、ステップ(4)でパケット受信しな
かったと判定した場合には、期間数カウントと送信装置
無応答期間数とを比較して、送信装置無応答期間数が期
間数カウント以上かどうかを判定して(18)、期間数
カウントが送信装置無応答期間数以下であると判定した
場合には、ステップ(4)へ移り、期間数カウントが送
信装置無応答期間数より大きいと判定した場合には、再
送要求を送出するか否かを判別し(19)、再送要求が
ないと判定した場合には、ステップ(26)へ移り、再
送要求があると判定した場合には、再送要求パケットを
送信し(20)、ステップ(4)へ移る。
On the other hand, if it is determined in step (4) that no packet has been received, the number of periods is compared with the number of non-response periods of the transmission device to determine whether the number of non-response periods of the transmission device is greater than or equal to the number of periods. (18), when it is determined that the period count is equal to or less than the transmission device non-response period number, the process proceeds to step (4), and it is determined that the period number count is greater than the transmission device non-response period number. In this case, it is determined whether or not to send a retransmission request (19). If it is determined that there is no retransmission request, the process proceeds to step (26). If it is determined that there is a retransmission request, the retransmission request is sent. The packet is transmitted (20), and the process proceeds to step (4).

【0069】以下、本発明の特徴的構成について図2〜
図5等を参照して説明する。
Hereinafter, the characteristic structure of the present invention will be described with reference to FIGS.
This will be described with reference to FIG.

【0070】上記のように構成された所定の通信媒体
(所定の双方向インタフェース)を介してデータ送信装
置102とデータ受信装置101とが同一の期間信号に
基づいて所定の送信データを伝送処理するデータ通信制
御システムのデータ通信方法であって、あるいは所定の
通信媒体を介してデータ送信装置とデータ受信装置とが
同一の期間信号に基づいて所定の送信データを伝送処理
するデータ通信制御システムを制御するコンピュータが
読み出し可能なプログラムを格納した記憶媒体であっ
て、前記データ受信装置から通知される受信側無応答期
間をメモリ資源に登録する第1の登録工程(図示しない
工程)と、前記第1の登録工程により登録された前記受
信側無応答期間を前記同一の期間信号に基づいてカウン
トする第1のカウント工程(図2のステップ(8),
(13),(23))と、前記データ送信装置からの送
信データの伝送開始時から前記第1のカウント工程によ
る前記受信側無応答期間計数中に、前記データ受信装置
から返信される返信信号の種別が異常かどうかを判定す
る第1の判定工程(図3のステップ(16))と、前記
第1の判定工程が前記返信信号の種別が異常であると判
定した場合に、保持される送信データを前記データ受信
装置に再送する第1の再送工程(図3のステップ(2
0))と、前記データ送信装置からの送信データの伝送
開始時から前記第1のカウント工程による前記受信側無
応答期間終了までに前記データ受信装置から返信される
返信信号を受信していない状態かどうかを判定する第2
の判定工程(図3のステップ(19))と、前記第2の
判定工程が前記データ受信装置から返信される返信信号
を受信していないと判定した場合に、保持される送信デ
ータを前記データ受信装置に再送する第2の再送工程
(図3のステップ(20))とを有するので、データ受
信装置との同期通信処理中に、送信データを受信すべき
データ受信装置から通知される受信側無応答期間経過中
におけるデータ受信装置からの返信が所定時間を超えて
いない場合でもあるいは異常返信が通知された場合でも
送信データの再送をデータ送信側で決定することがで
き、同期通信の利点である一定のデータレートでの通信
を確保しつつ、送信エラーとなる場合には、送信データ
を確実に再送することができるので、送信データの品質
を保証することができる。
The data transmitting apparatus 102 and the data receiving apparatus 101 transmit predetermined transmission data based on the same period signal via the predetermined communication medium (predetermined bidirectional interface) configured as described above. A data communication method of a data communication control system, or controlling a data communication control system in which a data transmitting device and a data receiving device transmit and process predetermined transmission data based on the same period signal via a predetermined communication medium. A first storage step (not shown) of registering a non-response period of the receiving side notified from the data receiving apparatus in a memory resource, the storage medium storing a computer-readable program to be read by the computer; A first count for counting the non-response period of the receiving side registered in the registration step based on the same period signal. Degree (step of FIG. 2 (8),
(13), (23)) and a reply signal returned from the data receiving device during the counting of the non-response period of the receiving side in the first counting step from the start of transmission of transmission data from the data transmitting device. The first determination step (step (16) in FIG. 3) for determining whether the type of the return signal is abnormal, and is retained when the first determination step determines that the type of the return signal is abnormal. A first retransmission step of retransmitting transmission data to the data receiving apparatus (step (2) in FIG. 3)
0)) and a state in which a reply signal returned from the data receiving device is not received from the start of transmission of transmission data from the data transmitting device to the end of the receiving-side non-response period in the first counting step. The second to determine whether
(Step (19) in FIG. 3), and when the second determining step determines that the reply signal returned from the data receiving device has not been received, Since there is a second retransmission step (step (20) in FIG. 3) for retransmitting to the receiving apparatus, during the synchronous communication processing with the data receiving apparatus, the receiving side notified from the data receiving apparatus to receive the transmission data Even if the reply from the data receiving device does not exceed the predetermined time during the elapse of the no-response period, or even if an abnormal reply is notified, the data transmission side can determine the retransmission of the transmission data. If a transmission error occurs while ensuring communication at a certain data rate, the transmission data can be retransmitted without fail, ensuring the quality of the transmission data. .

【0071】また、所定の通信媒体(所定の双方向イン
タフェース)を介してデータ送信装置101とデータ受
信装置102とが同一の期間信号に基づいて所定の送信
データを伝送処理するデータ通信制御システムのデータ
通信方法であって、あるいは所定の通信媒体を介してデ
ータ送信装置とデータ受信装置とが同一の期間信号に基
づいて所定の送信データを伝送処理するデータ通信制御
システムを制御するコンピュータが読み出し可能なプロ
グラムを格納した記憶媒体であって、前記データ送信装
置から通知される送信側無応答期間をメモリ資源に登録
する第2の登録工程(図4のステップ(7))と、前記
第2の登録工程により登録された前記送信側無応答期間
を前記同一の期間信号に基づいてカウントする第2のカ
ウント工程(図4のステップ(10),(25))と、
前記データ送信装置からの送信データの受信開始時から
前記第2のカウント手段による前記送信側無応答期間計
数中に、前記データ送信装置から受信した送信データが
正常かどうかを判定する第3の判定工程(図4のステッ
プ(11))と、前記第3の判定工程により前記送信デ
ータが正常であると判定された場合に、送信データ正常
を返信する第1の返信工程(図5のステップ(24))
と、前記第3の判定工程により前記送信データが正常で
ないと判定された場合に、保持される送信データを破棄
し、送信データ異常を返信する第2の返信工程(図5の
ステップ(31))と、前記データ送信装置からの送信
データの受信開始時から前記第2のカウント工程による
前記送信側無応答期間終了までに、前記データ送信装置
から送信データを受信したかどうかを判定する第4の判
定工程(図4のステップ(18))と、前記第4の判定
工程により前記データ送信装置から送信データを受信し
ていないと判定した場合に、前記データ送信装置に送信
データの再送要求を返信する第3の返信工程(図4のス
テップ(18))とを有するので、データ送信装置との
同期通信処理中に、送信データを送信すべきデータ送信
装置から通知される受信側無応答期間経過中におけるデ
ータ送信装置からのデータ送信が所定時間を超えてない
場合でも送信データの再送をデータ受信側で要求するこ
とができ、同期通信の利点である一定のデータレートで
の通信を確保しつつ、送信エラーとなる場合には、送信
データを確実に再送することができるので送信データの
品質を保証することができる。
A data communication control system in which the data transmitting apparatus 101 and the data receiving apparatus 102 transmit predetermined transmission data based on the same period signal via a predetermined communication medium (a predetermined bidirectional interface). A data communication method, or a computer that controls a data communication control system in which a data transmission device and a data reception device transmit predetermined transmission data based on the same period signal via a predetermined communication medium are readable. A second registration step (step (7) in FIG. 4) for registering a transmission-side non-response period notified from the data transmission apparatus in a memory resource, A second counting step of counting the transmission-side non-response period registered in the registration step based on the same period signal (FIG. 4) Step (10), and (25)),
A third determination for determining whether the transmission data received from the data transmission device is normal during the counting of the non-response period of the transmission side by the second counting means from the start of reception of the transmission data from the data transmission device; A step (step (11) in FIG. 4) and a first reply step (step (FIG. 5) in which the transmission data is returned normally when the transmission data is determined to be normal by the third determination step. 24))
And a second return step of discarding the held transmission data and returning a transmission data abnormality when the transmission data is determined to be abnormal in the third determination step (step (31) in FIG. 5). A) determining whether or not transmission data has been received from the data transmission device from the start of reception of transmission data from the data transmission device to the end of the transmission-side non-response period in the second counting step. (Step (18) in FIG. 4), and when it is determined in the fourth determination step that transmission data has not been received from the data transmission device, a request for retransmission of transmission data is sent to the data transmission device. Since there is a third reply process (step (18) in FIG. 4) for replying, during the synchronous communication process with the data transmitting device, the data transmitting device to which the transmission data is to be transmitted is notified. Even if the data transmission from the data transmitting device during the elapse of the non-response period of the receiving side does not exceed the predetermined time, the data receiving side can request the retransmission of the transmission data at a constant data rate which is an advantage of synchronous communication. In the case where a transmission error occurs while ensuring the above communication, the transmission data can be reliably retransmitted, so that the quality of the transmission data can be guaranteed.

【0072】以下、図6に示すメモリマップを参照して
本発明に係るデータ通信制御装置を適用可能な印刷シス
テムで読み出し可能なデータ処理プログラムの構成につ
いて説明する。
The configuration of a data processing program readable by a printing system to which the data communication control device according to the present invention can be applied will be described below with reference to a memory map shown in FIG.

【0073】図6は、本発明に係るデータ通信制御シス
テムを適用可能な印刷システムで読み出し可能な各種デ
ータ処理プログラムを格納する記憶媒体のメモリマップ
を説明する図である。
FIG. 6 is a diagram for explaining a memory map of a storage medium storing various data processing programs that can be read by a printing system to which the data communication control system according to the present invention can be applied.

【0074】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, etc. are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is stored in the storage medium. An icon or the like for identification display may also be stored.

【0075】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0076】本実施形態における図2,図3,図4,図
5に示す機能が外部からインストールされるプログラム
によって、ホストコンピュータにより遂行されていても
よい。そして、その場合、CD−ROMやフラッシュメ
モリやFD等の記憶媒体により、あるいはネットワーク
を介して外部の記憶媒体から、プログラムを含む情報群
を出力装置に供給される場合でも本発明は適用されるも
のである。
The functions shown in FIG. 2, FIG. 3, FIG. 4, and FIG. 5 in this embodiment may be executed by a host computer by a program installed from the outside. In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.

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

【0078】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0079】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

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

【0081】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0082】上記実施形態によれば、受信装置側が、例
えばシリアルプリンタ等で構成される場合には、プリン
タの出力速度にデータの伝送レートを合わせれば、受信
バッファが小容量化してもスループットを落とさなくて
済み、コストパフォーマンスが向上する。
According to the above embodiment, when the receiving apparatus is constituted by, for example, a serial printer or the like, if the data transmission rate is adjusted to the output speed of the printer, the throughput is reduced even if the receiving buffer is reduced in capacity. The cost performance is improved.

【0083】また、受信バッファが少容量化になること
や、スループット調整が不要になるので、フレーム制御
の簡易化が図れることなどでコスト低減化が図れる。
Further, since the capacity of the reception buffer is reduced and the throughput adjustment is not required, the cost can be reduced by simplifying the frame control.

【0084】さらに、同期期間の期間数のカウントのみ
を利用し、タイマを利用しなくても済むため、ソフトウ
エアによるタイマ監視が不用になり、あるいは相手装置
からの同期信号に合わせる場合には、同期信号発生部や
タイマ発生部も不用になるため、その分コストの低減化
が図れる。
Further, since only the count of the number of synchronization periods is used and a timer is not used, timer monitoring by software becomes unnecessary, or in the case of synchronizing with a synchronization signal from a partner device, Since the synchronization signal generator and the timer generator are not required, the cost can be reduced accordingly.

【0085】さらに、同期式伝送方式の任意の一定期間
のタイミングを利用しているので、装置内の処理時間の
管理をこのタイミングに同期させることにより、さらに
システムの最適化が図れる。
Further, since the timing of an arbitrary fixed period of the synchronous transmission system is used, the system can be further optimized by synchronizing the management of the processing time in the apparatus with this timing.

【0086】また、無応答期間数が可変であり、相手装
置に通知してもリモート設定できるので、例えば応答の
遅い装置があっても、上記無応答期間数を大きな値に設
定するこにより容易に対応することができるので、シス
テムを柔軟性よく構成することができる。
Further, since the number of non-response periods is variable and can be set remotely by notifying the partner device, it is easy to set the number of non-response periods to a large value even if there is a device with a slow response. Therefore, the system can be flexibly configured.

【0087】[0087]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、所定の通信媒体を介してデータ送信装
置とデータ受信装置とが同一の期間信号に基づいて所定
の送信データを伝送処理するデータ通信制御システムで
あって、前記所定の送信データを保持する第1のデータ
保持手段と、前記データ受信装置から通知される受信側
無応答期間を登録する第1の登録手段と、前記第1の登
録手段により登録された前記受信側無応答期間を前記同
一の期間信号に基づいてカウントする第1のカウント手
段と、前記データ送信装置からの送信データの伝送開始
時から前記第1のカウント手段による前記受信側無応答
期間計数中に、前記データ受信装置から返信される返信
信号の種別が異常かどうかを判定する第1の判定手段
と、前記第1の判定手段が前記返信信号の種別が異常で
あると判定した場合に、前記第1のデータ保持手段に保
持される送信データを前記データ受信装置に再送する第
1の再送手段と、前記データ送信装置からの送信データ
の伝送開始時から前記第1のカウント手段による前記受
信側無応答期間終了までに前記データ受信装置から返信
される返信信号を受信していない状態かどうかを判定す
る第2の判定手段と、前記第2の判定手段が前記データ
受信装置から返信される返信信号を受信していないと判
定した場合に、前記第1のデータ保持手段に保持される
送信データを前記データ受信装置に再送する第2の再送
手段とを有するので、データ受信装置との同期通信処理
中に、送信データを受信すべきデータ受信装置から通知
される受信側無応答期間経過中におけるデータ受信装置
からの返信が所定時間を超えてな場合でもあるいは異常
返信が通知された場合でも送信データの再送をデータ送
信側で決定することができ、同期通信の利点である一定
のデータレートでの通信を確保しつつ、送信エラーとな
る場合には、送信データを確実に再送することができる
ので送信データの品質を保証することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, a data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data based on the same period signal via a predetermined communication medium, wherein the predetermined transmission data A first data holding unit for storing a receiving-side no-response period notified from the data receiving device; a receiving-side non-response period registered by the first registering unit. First counting means for counting the data based on the same period signal, and from the start of transmission of transmission data from the data transmitting apparatus, during the counting of the non-response period of the receiving side by the first counting means. First determining means for determining whether the type of the reply signal returned from the receiving device is abnormal, and when the first determining means determines that the type of the reply signal is abnormal A first retransmitting means for retransmitting the transmission data held in the first data holding means to the data receiving apparatus, and a first retransmission means for transmitting the transmission data from the data transmitting apparatus, A second determining means for determining whether or not a reply signal returned from the data receiving device has not been received by the end of the receiving-side non-response period; and the second determining means returning a response signal from the data receiving device. And a second retransmitting means for retransmitting the transmission data held in the first data holding means to the data receiving device when it is determined that a reply signal has not been received. During the synchronous communication process, when the reply from the data receiving device during the elapse of the receiving side non-response period notified from the data receiving device that should receive the transmission data does not exceed a predetermined time In the event that a transmission error occurs while ensuring communication at a constant data rate, which is an advantage of synchronous communication, the data transmission side can determine retransmission of transmission data even if an abnormal reply is notified. Since the transmission data can be reliably retransmitted, the quality of the transmission data can be guaranteed.

【0088】第2の発明によれば、所定の通信媒体を介
してデータ送信装置とデータ受信装置とが同一の期間信
号に基づいて所定の送信データを伝送処理するデータ通
信制御システムであって、前記データ送信手段から送信
された送信データを受信して保持する第2のデータ保持
手段と、前記データ送信装置から通知される送信側無応
答期間を登録する第2の登録手段と、前記第2の登録手
段により登録された前記送信側無応答期間を前記同一の
期間信号に基づいてカウントする第2のカウント手段
と、前記データ送信装置からの送信データの受信開始時
から前記第2のカウント手段による前記送信側無応答期
間計数中に、前記データ送信装置から受信した送信デー
タが正常かどうかを判定する第3の判定手段と、前記第
3の判定手段により前記送信データが正常であると判定
された場合に、送信データ正常を返信する第1の返信手
段と、前記第3の判定手段により前記送信データが正常
でないと判定された場合に、前記第2のデータ保持手段
に保持される送信データを破棄し、送信データ異常を返
信する第2の返信手段と、前記データ送信装置からの送
信データの受信開始時から前記第2のカウント手段によ
る前記送信側無応答期間終了までに、前記データ送信装
置から送信データを受信したかどうかを判定する第4の
判定手段と、前記第4の判定手段が前記データ送信装置
から送信データを受信していないと判定した場合に、前
記データ送信装置に送信データの再送要求を返信する第
3の返信手段とを有するので、データ送信装置との同期
通信処理中に、送信データを送信すべきデータ送信装置
から通知される受信側無応答期間経過中におけるデータ
送信装置からのデータ送信が所定時間を超えてない場合
でも送信データの再送をデータ受信側で要求することが
でき、同期通信の利点である一定のデータレートでの通
信を確保しつつ、送信エラーとなる場合には、送信デー
タを確実に再送することができるので送信データの品質
を保証することができる。
According to the second invention, there is provided a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium, A second data holding unit that receives and holds the transmission data transmitted from the data transmission unit, a second registration unit that registers a transmission-side non-response period notified from the data transmission device, Second counting means for counting the transmission-side non-response period registered by the registration means based on the same period signal, and the second counting means from the start of reception of transmission data from the data transmission device. A third determining unit that determines whether the transmission data received from the data transmitting device is normal during the counting of the transmission-side non-response period by the third determining unit; A first return unit that returns normal transmission data when the transmission data is determined to be normal; and a second return unit that determines that the transmission data is not normal by the third determination unit. A second reply unit that discards the transmission data held in the data holding unit and returns a transmission data abnormality, and the transmission unit that starts the reception of the transmission data from the data transmission device by the second counting unit. Fourth determining means for determining whether or not transmission data has been received from the data transmitting apparatus before the end of the no-response period, and determining that the fourth determining means has not received transmission data from the data transmitting apparatus. In this case, there is provided a third return means for returning a retransmission request of the transmission data to the data transmission apparatus, so that the transmission data should be transmitted during the synchronous communication processing with the data transmission apparatus. Even if data transmission from the data transmission device during the elapse of the non-response period on the reception side notified by the data transmission device does not exceed a predetermined time, retransmission of transmission data can be requested on the data reception side, which is an advantage of synchronous communication. When a transmission error occurs while ensuring communication at a certain data rate, the transmission data can be retransmitted without fail, so that the quality of the transmission data can be guaranteed.

【0089】第3の発明によれば、前記データ受信装置
から通知される受信側無応答期間は、前記データ受信装
置が任意に設定するので、データ受信装置のデータ処理
速度、例えばプリント処理速度に依存する最適な無応答
期間でデータ受信装置側の応答状態を監視することがで
きる。
According to the third aspect, the non-response period on the receiving side notified from the data receiving device is arbitrarily set by the data receiving device, so that the data processing speed of the data receiving device, for example, the print processing speed, is reduced. It is possible to monitor the response state on the data receiving device side during the optimum non-response period that depends on it.

【0090】第4の発明によれば、前記データ送信装置
から通知される送信側無応答期間は、前記データ送信装
置が任意に設定するので、データ送信装置のデータ通信
に依存する最適な無応答期間でデータ送信装置側のデー
タ送信状態を監視することができる。
According to the fourth aspect, the transmission-side non-response period notified from the data transmission device is arbitrarily set by the data transmission device. The data transmission state of the data transmission device can be monitored during the period.

【0091】第5,第7の発明によれば、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムのデータ通信方法であって、ある
いは所定の通信媒体を介してデータ送信装置とデータ受
信装置とが同一の期間信号に基づいて所定の送信データ
を伝送処理するデータ通信制御システムを制御するコン
ピュータが読み出し可能なプログラムを格納した記憶媒
体であって、前記データ受信装置から通知される受信側
無応答期間をメモリ資源に登録する第1の登録工程と、
前記第1の登録工程により登録された前記受信側無応答
期間を前記同一の期間信号に基づいてカウントする第1
のカウント工程と、前記データ送信装置からの送信デー
タの伝送開始時から前記第1のカウント工程による前記
受信側無応答期間計数中に、前記データ受信装置から返
信される返信信号の種別が異常かどうかを判定する第1
の判定工程と、前記第1の判定工程が前記返信信号の種
別が異常であると判定した場合に、保持される送信デー
タを前記データ受信装置に再送する第1の再送工程と、
前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント工程による前記受信側無応答期間終
了までに前記データ受信装置から返信される返信信号を
受信していない状態かどうかを判定する第2の判定工程
と、前記第2の判定工程が前記データ受信装置から返信
される返信信号を受信していないと判定した場合に、保
持される送信データを前記データ受信装置に再送する第
2の再送工程とを有するので、データ受信装置との同期
通信処理中に、送信データを受信すべきデータ受信装置
から通知される受信側無応答期間経過中におけるデータ
受信装置からの返信が所定時間を超えてな場合でもある
いは異常返信が通知された場合でも送信データの再送を
データ送信側で決定することができ、同期通信の利点で
ある一定のデータレートでの通信を確保しつつ、送信エ
ラーとなる場合には、送信データを確実に再送すること
ができるので送信データの品質を保証することができ
る。
According to the fifth and seventh aspects of the present invention, there is provided a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data via a predetermined communication medium based on the same period signal. A data communication method, or a computer that controls a data communication control system in which a data transmission device and a data reception device transmit predetermined transmission data based on the same period signal via a predetermined communication medium are readable. Registering a non-response period of the receiving side notified from the data receiving device in a memory resource, wherein
A first counting unit that counts the non-response period of the receiving side registered in the first registration step based on the same period signal;
During the counting step and during the receiving-side non-response period counting by the first counting step from the start of transmission of transmission data from the data transmitting apparatus, whether the type of the reply signal returned from the data receiving apparatus is abnormal. The first to determine whether
And a first retransmission step of retransmitting the held transmission data to the data receiving device when the first determination step determines that the type of the return signal is abnormal,
It is determined whether or not a response signal returned from the data receiving device has not been received from the start of transmission of transmission data from the data transmitting device to the end of the non-response period of the receiving side in the first counting step. A second determining step of retransmitting the held transmission data to the data receiving apparatus when the second determining step determines that the return signal returned from the data receiving apparatus has not been received; During the synchronous communication process with the data receiving device, the reply from the data receiving device during the elapse of the receiving-side non-response period notified from the data receiving device that should receive the transmission data takes a predetermined time. Retransmission of transmission data can be determined by the data transmission side even if it does not exceed or when an abnormal reply is notified, and certain data which is an advantage of synchronous communication While ensuring communication over bets, when the transmission error can guarantee the quality of the transmitted data since it is possible to retransmit reliably transmit data.

【0092】第6,第8の発明によれば、所定の通信媒
体を介してデータ送信装置とデータ受信装置とが同一の
期間信号に基づいて所定の送信データを伝送処理するデ
ータ通信制御システムのデータ通信方法であって、ある
いは所定の通信媒体を介してデータ送信装置とデータ受
信装置とが同一の期間信号に基づいて所定の送信データ
を伝送処理するデータ通信制御システムを制御するコン
ピュータが読み出し可能なプログラムを格納した記憶媒
体であって、前記データ送信装置から通知される送信側
無応答期間をメモリ資源に登録する第2の登録工程と、
前記第2の登録工程により登録された前記送信側無応答
期間を前記同一の期間信号に基づいてカウントする第2
のカウント工程と、前記データ送信装置からの送信デー
タの受信開始時から前記第2のカウント手段による前記
送信側無応答期間計数中に、前記データ送信装置から受
信した送信データが正常かどうかを判定する第3の判定
工程と、前記第3の判定工程により前記送信データが正
常であると判定された場合に、送信データ正常を返信す
る第1の返信工程と、前記第3の判定工程により前記送
信データが正常でないと判定された場合に、保持される
送信データを破棄し、送信データ異常を返信する第2の
返信工程と、前記データ送信装置からの送信データの受
信開始時から前記第2のカウント工程による前記送信側
無応答期間終了までに、前記データ送信装置から送信デ
ータを受信したかどうかを判定する第4の判定工程と、
前記第4の判定工程により前記データ送信装置から送信
データを受信していないと判定した場合に、前記データ
送信装置に送信データの再送要求を返信する第3の返信
工程とを有するので、データ送信装置との同期通信処理
中に、送信データを送信すべきデータ送信装置から通知
される受信側無応答期間経過中におけるデータ送信装置
からのデータ送信が所定時間を超えてない場合でも送信
データの再送をデータ受信側で要求することができ、同
期通信の利点である一定のデータレートでの通信を確保
しつつ、送信エラーとなる場合には、送信データを確実
に再送することができるので送信データの品質を保証す
ることができる。
According to the sixth and eighth aspects of the present invention, there is provided a data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data via a predetermined communication medium based on the same period signal. A data communication method, or a computer that controls a data communication control system in which a data transmission device and a data reception device transmit predetermined transmission data based on the same period signal via a predetermined communication medium are readable. A second storage step of storing a transmission-side non-response period notified from the data transmission device in a memory resource.
A second counter that counts the transmission-side non-response period registered in the second registration step based on the same period signal.
Determining whether the transmission data received from the data transmission device is normal during the counting of the non-response period of the transmission side by the second counting means from the start of reception of the transmission data from the data transmission device. A third determining step of determining whether the transmission data is normal by the third determining step, a first returning step of returning normal transmission data, and the third determining step When it is determined that the transmission data is not normal, the second transmission step of discarding the transmission data held and returning an abnormal transmission data; and A fourth determining step of determining whether or not transmission data has been received from the data transmitting apparatus by the end of the transmitting-side no-response period by the counting step;
A third return step of returning a transmission data retransmission request to the data transmission apparatus when the fourth determination step determines that transmission data has not been received from the data transmission apparatus. During the synchronous communication process with the device, retransmission of the transmission data even if the data transmission from the data transmission device during the elapse of the non-response period of the receiving side notified from the data transmission device to which the transmission data is to be transmitted does not exceed a predetermined time. Can be requested on the data receiving side, and if a transmission error occurs while ensuring communication at a constant data rate, which is an advantage of synchronous communication, transmission data can be retransmitted without fail. Quality can be guaranteed.

【0093】従って、同期式伝送方式によるデータ伝送
を利用して、一定のデータレートを確保しつつ、同期伝
送方式においてもデータ品質を保証することがもでき、
データ受信装置とデータ送信装置との間におけるデータ
伝送処理を最適化することができる等の効果を奏する。
Therefore, by utilizing the data transmission by the synchronous transmission method, it is possible to guarantee the data quality even in the synchronous transmission method while securing a constant data rate.
It is possible to optimize the data transmission process between the data receiving device and the data transmitting device.

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

【図1】本発明の一実施形態を示すデータ通信制御シス
テムを適用可能な印刷システムの一例を示すブロック図
である。
FIG. 1 is a block diagram illustrating an example of a printing system to which a data communication control system according to an embodiment of the present invention can be applied.

【図2】本発明に係るデータ通信制御システムにおける
第1のデータ処理手順の一例を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating an example of a first data processing procedure in the data communication control system according to the present invention.

【図3】本発明に係るデータ通信制御システムにおける
第1のデータ処理手順の一例を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating an example of a first data processing procedure in the data communication control system according to the present invention.

【図4】本発明に係るデータ通信制御システムにおける
第2のデータ処理手順の一例を示すフローチャートであ
る。
FIG. 4 is a flowchart showing an example of a second data processing procedure in the data communication control system according to the present invention.

【図5】本発明に係るデータ通信制御システムにおける
第2のデータ処理手順の一例を示すフローチャートであ
る。
FIG. 5 is a flowchart illustrating an example of a second data processing procedure in the data communication control system according to the present invention.

【図6】本発明に係るデータ通信制御装置を適用可能な
印刷システムで読み出し可能な各種データ処理プログラ
ムを格納する記憶媒体のメモリマップを説明する図であ
る。
FIG. 6 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by a printing system to which the data communication control device according to the present invention can be applied.

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

101 データ送信装置 102 データ受信装置 103 全体制御部 104 記憶部 112 バッファ 113 バッファ 115 同期制御部 117 インタフェース部 118 制御部 127 バッファ 128 バッファ 130 同期制御部 132 インタフェース部 133 期間数カウンタ 134 期間数カウンタ Reference Signs List 101 data transmission device 102 data reception device 103 overall control unit 104 storage unit 112 buffer 113 buffer 115 synchronization control unit 117 interface unit 118 control unit 127 buffer 128 buffer 130 synchronization control unit 132 interface unit 133 period counter 134 period counter 134

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムであ
って、 前記所定の送信データを保持する第1のデータ保持手段
と、 前記データ受信装置から通知される受信側無応答期間を
登録する第1の登録手段と、 前記第1の登録手段により登録された前記受信側無応答
期間を前記同一の期間信号に基づいてカウントする第1
のカウント手段と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント手段による前記受信側無応答期間計
数中に、前記データ受信装置から返信される返信信号の
種別が異常かどうかを判定する第1の判定手段と、 前記第1の判定手段が前記返信信号の種別が異常である
と判定した場合に、前記第1のデータ保持手段に保持さ
れる送信データを前記データ受信装置に再送する第1の
再送手段と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント手段による前記受信側無応答期間終
了までに前記データ受信装置から返信される返信信号を
受信していない状態かどうかを判定する第2の判定手段
と、 前記第2の判定手段が前記データ受信装置から返信され
る返信信号を受信していないと判定した場合に、前記第
1のデータ保持手段に保持される送信データを前記デー
タ受信装置に再送する第2の再送手段と、を有すること
を特徴とするデータ通信制御システム。
1. A data communication control system in which a data transmitting device and a data receiving device perform transmission processing of predetermined transmission data based on a same period signal via a predetermined communication medium, wherein the predetermined transmission data is A first data holding unit for holding, a first registration unit for registering a non-response period of the receiving side notified from the data receiving apparatus, and a non-response period registered by the first registration unit. A first counting based on the same period signal;
And counting means for determining whether the type of a reply signal returned from the data receiving device is abnormal during the counting of the non-response period of the receiving side by the first counting device from the start of transmission of transmission data from the data transmitting device. First determining means for determining whether or not the type of the return signal is abnormal when the first determining means determines that the type of the return signal is abnormal; First retransmitting means for retransmitting the data to a device, and a reply signal returned from the data receiving device from the start of transmission of transmission data from the data transmitting device to the end of the non-response period of the receiving side by the first counting means. A second determining means for determining whether or not the data has not been received; and the second determining means determining that a reply signal returned from the data receiving device has not been received. And a second retransmitting means for retransmitting the transmission data held in the first data holding means to the data receiving device when the data communication control system receives the data.
【請求項2】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムであ
って、 前記データ送信手段から送信された送信データを受信し
て保持する第2のデータ保持手段と、 前記データ送信装置から通知される送信側無応答期間を
登録する第2の登録手段と、 前記第2の登録手段により登録された前記送信側無応答
期間を前記同一の期間信号に基づいてカウントする第2
のカウント手段と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント手段による前記送信側無応答期間計
数中に、前記データ送信装置から受信した送信データが
正常かどうかを判定する第3の判定手段と、 前記第3の判定手段により前記送信データが正常である
と判定された場合に、送信データ正常を返信する第1の
返信手段と、 前記第3の判定手段により前記送信データが正常でない
と判定された場合に、前記第2のデータ保持手段に保持
される送信データを破棄し、送信データ異常を返信する
第2の返信手段と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント手段による前記送信側無応答期間終
了までに、前記データ送信装置から送信データを受信し
たかどうかを判定する第4の判定手段と、 前記第4の判定手段が前記データ送信装置から送信デー
タを受信していないと判定した場合に、前記データ送信
装置に送信データの再送要求を返信する第3の返信手段
と、を有することを特徴とするデータ通信制御システ
ム。
2. A data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data based on the same period signal via a predetermined communication medium, wherein the data transmission device transmits the predetermined transmission data. A second data holding unit that receives and holds the received transmission data, a second registration unit that registers a transmission-side non-response period notified from the data transmission device, and a second registration unit that is registered by the second registration unit. A second period in which the transmission-side non-response period is counted based on the same period signal.
Counting means for determining whether or not the transmission data received from the data transmission device is normal during the counting of the transmission-side non-response period by the second counting device from the start of reception of transmission data from the data transmission device. Third determining means for performing, when the third determining means determines that the transmission data is normal, first returning means for returning normal transmission data; and When it is determined that the transmission data is not normal, second transmission means for discarding the transmission data held in the second data holding means and returning a transmission data abnormality, and transmission data from the data transmission device. A fourth determination is made as to whether or not transmission data has been received from the data transmission device between the start of reception of the data and the end of the non-response period of the transmission side by the second counting means. Determining means; and third returning means for returning a transmission data retransmission request to the data transmitting apparatus when the fourth determining means determines that transmission data has not been received from the data transmitting apparatus. A data communication control system, comprising:
【請求項3】 前記データ受信装置から通知される受信
側無応答期間は、前記データ受信装置が任意に設定する
ことを特徴とする請求項1記載のデータ通信制御システ
ム。
3. The data communication control system according to claim 1, wherein the non-response period on the receiving side notified from the data receiving device is arbitrarily set by the data receiving device.
【請求項4】 前記データ送信装置から通知される送信
側無応答期間は、前記データ送信装置が任意に設定する
ことを特徴とする請求項1記載のデータ通信制御システ
ム。
4. The data communication control system according to claim 1, wherein the non-response period on the transmission side notified from the data transmission device is arbitrarily set by the data transmission device.
【請求項5】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムのデ
ータ通信方法であって、 前記データ受信装置から通知される受信側無応答期間を
メモリ資源に登録する第1の登録工程と、 前記第1の登録工程により登録された前記受信側無応答
期間を前記同一の期間信号に基づいてカウントする第1
のカウント工程と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント工程による前記受信側無応答期間計
数中に、前記データ受信装置から返信される返信信号の
種別が異常かどうかを判定する第1の判定工程と、 前記第1の判定工程が前記返信信号の種別が異常である
と判定した場合に、保持される送信データを前記データ
受信装置に再送する第1の再送工程と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント工程による前記受信側無応答期間終
了までに前記データ受信装置から返信される返信信号を
受信していない状態かどうかを判定する第2の判定工程
と、 前記第2の判定工程が前記データ受信装置から返信され
る返信信号を受信していないと判定した場合に、保持さ
れる送信データを前記データ受信装置に再送する第2の
再送工程と、を有することを特徴とするデータ通信制御
システムのデータ通信方法。
5. A data communication method of a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit and process predetermined transmission data based on a same period signal via a predetermined communication medium, wherein A first registration step of registering a reception-side non-response period notified from a reception device in a memory resource; and counting the reception-side non-response period registered in the first registration step based on the same period signal. First
During the counting of the receiving-side non-response period by the first counting step from the start of transmission of transmission data from the data transmitting apparatus, and whether the type of a reply signal returned from the data receiving apparatus is abnormal. A first determination step of determining whether the type of the return signal is abnormal, and a first retransmission of retransmitting the held transmission data to the data receiving apparatus when the first determination step determines that the type of the return signal is abnormal. And whether or not a reply signal returned from the data receiving device has not been received from the start of transmission of transmission data from the data transmitting device to the end of the receiving-side non-response period by the first counting process. A second determining step of determining whether or not a response signal transmitted from the data receiving apparatus has not been received; And a second retransmission step of retransmitting data to the data receiving apparatus.
【請求項6】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムのデ
ータ通信方法であって、 前記データ送信装置から通知される送信側無応答期間を
メモリ資源に登録する第2の登録工程と、 前記第2の登録工程により登録された前記送信側無応答
期間を前記同一の期間信号に基づいてカウントする第2
のカウント工程と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント手段による前記送信側無応答期間計
数中に、前記データ送信装置から受信した送信データが
正常かどうかを判定する第3の判定工程と、 前記第3の判定工程により前記送信データが正常である
と判定された場合に、送信データ正常を返信する第1の
返信工程と、 前記第3の判定工程により前記送信データが正常でない
と判定された場合に、保持される送信データを破棄し、
送信データ異常を返信する第2の返信工程と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント工程による前記送信側無応答期間終
了までに、前記データ送信装置から送信データを受信し
たかどうかを判定する第4の判定工程と、 前記第4の判定工程により前記データ送信装置から送信
データを受信していないと判定した場合に、前記データ
送信装置に送信データの再送要求を返信する第3の返信
工程と、を有することを特徴とするデータ通信制御シス
テムのデータ通信方法。
6. A data communication method for a data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data based on a same period signal via a predetermined communication medium, the data transmission method comprising: A second registration step of registering a transmission-side non-response period notified from the transmission device in a memory resource; and counting the transmission-side non-response period registered in the second registration step based on the same period signal. Second
And determining whether the transmission data received from the data transmission device is normal during the counting of the transmission-side non-response period by the second counting means from the start of reception of transmission data from the data transmission device. A third determining step of performing, when the transmission data is determined to be normal by the third determining step, a first returning step of returning transmission data normal; and If it is determined that the transmission data is not normal, discard the retained transmission data,
A second replying step for returning a transmission data abnormality, and from the start of reception of the transmission data from the data transmission apparatus to the end of the transmission-side non-response period in the second counting step, the transmission data from the data transmission apparatus. A fourth determination step of determining whether or not a transmission data has been received, and a request to retransmit the transmission data to the data transmission apparatus when it is determined in the fourth determination step that the transmission data has not been received from the data transmission apparatus. And a third replying step of replying the following.
【請求項7】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムを制
御するコンピュータが読み出し可能なプログラムを格納
した記憶媒体であって、 前記データ受信装置から通知される受信側無応答期間を
メモリ資源に登録する第1の登録工程と、 前記第1の登録工程により登録された前記受信側無応答
期間を前記同一の期間信号に基づいてカウントする第1
のカウント工程と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント工程による前記受信側無応答期間計
数中に、前記データ受信装置から返信される返信信号の
種別が異常かどうかを判定する第1の判定工程と、 前記第1の判定工程が前記返信信号の種別が異常である
と判定した場合に、保持される送信データを前記データ
受信装置に再送する第1の再送工程と、 前記データ送信装置からの送信データの伝送開始時から
前記第1のカウント工程による前記受信側無応答期間終
了までに前記データ受信装置から返信される返信信号を
受信していない状態かどうかを判定する第2の判定工程
と、 前記第2の判定工程が前記データ受信装置から返信され
る返信信号を受信していないと判定した場合に、保持さ
れる送信データを前記データ受信装置に再送する第2の
再送工程と、を有することを特徴とするコンピュータが
読み出し可能なプログラムを格納した記憶媒体。
7. A computer-readable program for controlling a data communication control system in which a data transmitting apparatus and a data receiving apparatus transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A first storage step of registering, in a memory resource, a non-response period of a receiving side notified from the data receiving apparatus; and a non-response period of the receiving side registered in the first registration step. Is counted based on the same period signal.
During the counting of the receiving-side non-response period by the first counting step from the start of transmission of transmission data from the data transmitting apparatus, and whether the type of a reply signal returned from the data receiving apparatus is abnormal. A first determination step of determining whether the type of the return signal is abnormal, and a first retransmission of retransmitting the held transmission data to the data receiving apparatus when the first determination step determines that the type of the return signal is abnormal. And whether or not a reply signal returned from the data receiving device has not been received from the start of transmission of transmission data from the data transmitting device to the end of the receiving-side non-response period by the first counting process. A second determining step of determining whether or not a response signal transmitted from the data receiving apparatus has not been received; And a second retransmission step of retransmitting the data to the data receiving apparatus.
【請求項8】 所定の通信媒体を介してデータ送信装置
とデータ受信装置とが同一の期間信号に基づいて所定の
送信データを伝送処理するデータ通信制御システムを制
御するコンピュータが読み出し可能なプログラムを格納
した記憶媒体であって、前記データ送信装置から通知さ
れる送信側無応答期間をメモリ資源に登録する第2の登
録工程と、 前記第2の登録工程により登録された前記送信側無応答
期間を前記同一の期間信号に基づいてカウントする第2
のカウント工程と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント手段による前記送信側無応答期間計
数中に、前記データ送信装置から受信した送信データが
正常かどうかを判定する第3の判定工程と、 前記第3の判定工程により前記送信データが正常である
と判定された場合に、送信データ正常を返信する第1の
返信工程と、 前記第3の判定工程により前記送信データが正常でない
と判定された場合に、保持される送信データを破棄し、
送信データ異常を返信する第2の返信工程と、 前記データ送信装置からの送信データの受信開始時から
前記第2のカウント工程による前記送信側無応答期間終
了までに、前記データ送信装置から送信データを受信し
たかどうかを判定する第4の判定工程と、 前記第4の判定工程により前記データ送信装置から送信
データを受信していないと判定した場合に、前記データ
送信装置に送信データの再送要求を返信する第3の返信
工程と、を有することを特徴とするコンピュータが読み
出し可能なプログラムを格納した記憶媒体。
8. A computer readable program for controlling a data communication control system in which a data transmitting device and a data receiving device transmit predetermined transmission data based on the same period signal via a predetermined communication medium. A second registration step of registering a transmission-side non-response period notified from the data transmission device in a memory resource, and the transmission-side non-response period registered in the second registration step. Is counted based on the same period signal.
And determining whether the transmission data received from the data transmission device is normal during the counting of the transmission-side non-response period by the second counting means from the start of reception of transmission data from the data transmission device. A third determining step of performing, when the transmission data is determined to be normal by the third determining step, a first returning step of returning transmission data normal; and If it is determined that the transmission data is not normal, discard the retained transmission data,
A second replying step for returning a transmission data abnormality, and from the start of reception of the transmission data from the data transmission apparatus to the end of the transmission-side non-response period in the second counting step, the transmission data from the data transmission apparatus. A fourth determination step of determining whether or not a transmission data has been received, and a request to retransmit the transmission data to the data transmission apparatus when it is determined in the fourth determination step that the transmission data has not been received from the data transmission apparatus. And a third replying step of replying the following. A storage medium storing a computer readable program.
JP9346321A 1997-12-16 1997-12-16 Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program Pending JPH11177539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9346321A JPH11177539A (en) 1997-12-16 1997-12-16 Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9346321A JPH11177539A (en) 1997-12-16 1997-12-16 Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program

Publications (1)

Publication Number Publication Date
JPH11177539A true JPH11177539A (en) 1999-07-02

Family

ID=18382623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9346321A Pending JPH11177539A (en) 1997-12-16 1997-12-16 Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program

Country Status (1)

Country Link
JP (1) JPH11177539A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019098531A (en) * 2017-11-28 2019-06-24 セイコーエプソン株式会社 Printer and control method for printer
JP2019185088A (en) * 2018-04-02 2019-10-24 コニカミノルタ株式会社 Information communication control program, information communication control method and printer controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019098531A (en) * 2017-11-28 2019-06-24 セイコーエプソン株式会社 Printer and control method for printer
JP2019185088A (en) * 2018-04-02 2019-10-24 コニカミノルタ株式会社 Information communication control program, information communication control method and printer controller

Similar Documents

Publication Publication Date Title
US7746786B2 (en) Retransmission control method and device
CN100466845C (en) Efficient recovery system for node-B buffered data after MAC layer reset
US6717694B1 (en) Data transmission apparatus, system and method, and recording medium
WO2008000181A1 (en) A method and system for retransmitting in transport layer
KR19990067626A (en) Packet transmitter and receiver
CN111147196A (en) Data transmission method, data sending device and data receiving device
EP4207654A1 (en) Packet retransmission method and apparatus
CN101651527A (en) Data processing method, retransmitting and reporting method, equipment and data transmission system
JP3387466B2 (en) Data communication device
CN105635802A (en) Transmission method of digital media data and device
CN109039552A (en) A kind of data reconstruction method and device
JPH11177539A (en) Data communication control system, data communication method of data communication control system, and storage medium storing computer readable program
CN114221918A (en) RDMA network RC communication mode data stream long tail optimization method
JP2000134263A (en) Data communication device
JP3772585B2 (en) Printing system
JP2001069156A (en) System for reliably transferring data between at least two stations mutually connected through radio information transmission network
WO2008098523A1 (en) A method and device for returning the status report
JP2014096162A (en) Interface conversion device and interface conversion method
JP3958016B2 (en) Network printer device
EP1353468B1 (en) ARQ method with isochronous and asynchronous transmission
JPH114259A (en) Virtual connection communication equipment and communication method
CN101626287A (en) Method and device for delivering status reports
JP2002251260A (en) Data transmission / reception system
JP2000312201A (en) Communication device and error control method
JP3187236B2 (en) Communication equipment