JPH11146031A - Communication processor, method therefor and computer-readable recording medium storing control program - Google Patents

Communication processor, method therefor and computer-readable recording medium storing control program

Info

Publication number
JPH11146031A
JPH11146031A JP9307416A JP30741697A JPH11146031A JP H11146031 A JPH11146031 A JP H11146031A JP 9307416 A JP9307416 A JP 9307416A JP 30741697 A JP30741697 A JP 30741697A JP H11146031 A JPH11146031 A JP H11146031A
Authority
JP
Japan
Prior art keywords
communication
error
change
parameter
condition
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
JP9307416A
Other languages
Japanese (ja)
Inventor
Masashi Kurihara
将史 栗原
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 JP9307416A priority Critical patent/JPH11146031A/en
Publication of JPH11146031A publication Critical patent/JPH11146031A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the interruption of communication. SOLUTION: A communication processing section 102 records a detected communication error and parameter error every time the communication error and the parameter error are detected from reception data. Then the recorded communication error and parameter error are analyzed, and revision of a communication condition is decided based on the result of analysis, then the communication condition is revised.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通信処理装置およ
び方法、並びに、制御プログラムを記録したコンピュー
タ読取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing apparatus and method, and a computer-readable recording medium on which a control program is recorded.

【0002】[0002]

【従来の技術】近年、赤外線を用いて、ホストコンピュ
ータからプリンタ等の周辺装置に、印字データを送信
し、周辺装置からホストコンピュータにデータを送信す
ることができるシステムが知られている。このような通
信では、通信開始時に、ネゴシエーションと称される通
信条件の折衝を行って、最適な通信パラメータを互いの
通信処理装置で決定し、決定結果に基づき通信が行われ
ていた。
2. Description of the Related Art In recent years, there has been known a system capable of transmitting print data from a host computer to a peripheral device such as a printer using infrared rays, and transmitting data from the peripheral device to the host computer. In such communication, at the start of communication, communication conditions referred to as negotiation are negotiated, optimal communication parameters are determined by the respective communication processing devices, and communication is performed based on the determination result.

【0003】このような手続を図4を参照して説明す
る。通信局Aが通信局Bの発見手続を行うと、通信局B
は通信局発見応答を通信局Aに対して行う。ついで、通
信局Aが通信局Bに対して通信パラメータを提示する
と、通信局Bは通信局Aに対して通信パラメータを提示
する。この通信パラメータに基づき、通信局A,Bの間
で、データを送受信する。そして、通信局Aが通信終了
手続を行うと、通信局Bは通信終了応答を通信局Aに対
して行う。
[0003] Such a procedure will be described with reference to FIG. When the communication station A performs the discovery procedure of the communication station B, the communication station B
Sends a communication station discovery response to communication station A. Next, when the communication station A presents the communication parameters to the communication station B, the communication station B presents the communication parameters to the communication station A. Data is transmitted and received between the communication stations A and B based on the communication parameters. Then, when the communication station A performs a communication end procedure, the communication station B sends a communication end response to the communication station A.

【0004】[0004]

【発明が解決しようとする課題】このように、一度通信
パラメータが決定されると、その変更は通常は行われな
いので、通信中に、通信条件に当てはまらない状態にな
ると、通信そのものが中断された。特に、無線通信で
は、通信状態が周囲の状況に応じて変わることが多いの
で、頻繁に、通信エラーが生じ、最終的に、通信が中断
された。
As described above, once the communication parameters are determined, they are not usually changed, so that if the communication condition is not satisfied during the communication, the communication itself is interrupted. Was. In particular, in wireless communication, since the communication state often changes according to the surrounding conditions, a communication error frequently occurs, and finally the communication is interrupted.

【0005】本発明の目的は、上記のような問題点を解
決し、通信中断を防止することができる通信処理装置お
よび方法、並びに、制御プログラムを記録したコンピュ
ータ読取り可能な記録媒体を提供することにある。
An object of the present invention is to provide a communication processing apparatus and method capable of solving the above problems and preventing communication interruption, and a computer-readable recording medium recording a control program. It is in.

【0006】[0006]

【課題を解決するための手段】請求項1の発明は、受信
データから通信エラーおよびパラメータエラーを検出す
る検出手段と、該検出手段により検出された通信エラー
およびパラメータエラーを記録する記録手段と、該記録
手段より記録された通信エラーおよびパラメータエラー
を解析する解析手段と、該解析手段による解析結果に応
じて通信条件の変更を決定した場合に、通信条件を変更
する第1変更手段と、該第1変更手段により変更された
通信条件をデータ送信元に通知する通知手段とを備えて
いる。
According to the first aspect of the present invention, there is provided a detecting means for detecting a communication error and a parameter error from received data, a recording means for recording the communication error and the parameter error detected by the detecting means, Analyzing means for analyzing communication errors and parameter errors recorded by the recording means; first changing means for changing communication conditions when a change in communication conditions is determined in accordance with an analysis result by the analyzing means; Notification means for notifying the data transmission source of the communication condition changed by the first change means.

【0007】請求項2の発明は、受信データから通信エ
ラーおよびパラメータエラーを検出する検出手段と、該
検出手段により検出された通信エラーおよびパラメータ
エラーを記録する記録手段と、該記録手段より記録され
た通信エラーおよびパラメータエラーを解析する解析手
段と、該解析手段による解析結果に基づき通信条件の変
更を決定し、しかも、データ送信元から通信条件変更の
肯定応答が得られた場合に、通信条件を変更する第2変
更手段とを備えている。
According to a second aspect of the present invention, there is provided a detecting means for detecting a communication error and a parameter error from received data, a recording means for recording the communication error and the parameter error detected by the detecting means, and a recording means for recording the communication error and the parameter error. Analyzing means for analyzing the communication error and the parameter error, and determining a change in the communication condition based on the analysis result by the analyzing means, and further, when an acknowledgment of the communication condition change is obtained from the data source, the communication condition is changed. And second changing means for changing

【0008】請求項1または2において、通信条件の変
更を報知する報知手段をさらに備えることができる。
[0008] According to claim 1 or 2, a notifying means for notifying a change in the communication condition can be further provided.

【0009】請求項1または2において、記録手段によ
り記録されている通信エラーおよびパラメータエラーを
定期的にデータ送信元に通知する定期通知手段をさらに
備えることができる。
According to the first or second aspect of the present invention, it is possible to further comprise a periodic notifying means for periodically notifying the data transmission source of the communication error and the parameter error recorded by the recording means.

【0010】請求項1において、第1変更手段は、通信
エラーおよびパラメータエラーが予め定めたエラー回数
を超えた場合に通信条件変更を決定することができる。
[0010] In the first aspect, the first changing means can determine the change of the communication condition when the communication error and the parameter error exceed a predetermined number of errors.

【0011】請求項2において、第2変更手段は、通信
エラーおよびパラメータエラーが予め定めたエラー回数
を超えた場合に通信条件変更を決定することができる。
[0011] In the second aspect, the second changing means can determine the change of the communication condition when the communication error and the parameter error exceed a predetermined number of errors.

【0012】請求項2において、第2変更手段は、通信
条件の変更を決定した場合に、記録されている通信エラ
ーおよびパラメータエラーをデータ送信元に伝送するこ
とができる。
[0012] In the second aspect, the second changing means can transmit the recorded communication error and the parameter error to the data transmission source when the communication condition is determined to be changed.

【0013】請求項8の発明は、受信データから通信エ
ラーおよびパラメータエラーが検出されるたびに、検出
された通信エラーおよびパラメータエラーを記録するス
テップと、記録された通信エラーおよびパラメータエラ
ーを解析するステップと、解析結果に基づき通信条件の
変更を決定した場合に通信条件を変更するステップと、
変更された通信条件をデータ送信元に通知するステップ
とを備えている。
According to the present invention, each time a communication error and a parameter error are detected from the received data, the detected communication error and the parameter error are recorded, and the recorded communication error and the parameter error are analyzed. And a step of changing a communication condition when a change of the communication condition is determined based on the analysis result;
Notifying the data transmission source of the changed communication condition.

【0014】請求項9の発明は、受信されたデータから
通信エラーおよびパラメータエラーが検出されるたび
に、検出された通信エラーおよびパラメータエラーを記
録するステップと、記録された通信エラーおよびパラメ
ータエラーを解析するステップと、解析結果に基づき通
信条件の変更を決定し、しかも、データ送信元から通信
条件変更の肯定応答が得られた場合に、通信条件を変更
するステップとを備えている。
According to a ninth aspect of the present invention, every time a communication error and a parameter error are detected from received data, the detected communication error and the parameter error are recorded, and the recorded communication error and the parameter error are recorded. An analysis step and a step of determining a change in communication conditions based on the analysis result and changing the communication conditions when an acknowledgment of the change in communication conditions is obtained from the data transmission source.

【0015】請求項10の記録媒体は、コンピュータ
に、受信データから通信エラーおよびパラメータエラー
を検出させ、検出された通信エラーおよびパラメータエ
ラーを記録させ、記録された通信エラーおよびパラメー
タエラーを解析させ、解析結果に基づき通信条件の変更
が決定された場合に、通信条件を変更させ、変更された
通信条件をデータ送信元に通知させることを特徴とする
制御プログラムを記録してある。
[0015] According to a tenth aspect of the present invention, a recording medium causes a computer to detect a communication error and a parameter error from received data, record the detected communication error and the parameter error, and analyze the recorded communication error and the parameter error. When a change in the communication condition is determined based on the analysis result, a control program is recorded which changes the communication condition and notifies the data transmission source of the changed communication condition.

【0016】請求項11の記録媒体は、コンピュータ
に、受信データから通信エラーおよびパラメータエラー
を検出させ、検出された通信エラーおよびパラメータエ
ラーを記録させ、記録された通信エラーおよびパラメー
タエラーを解析させ、解析結果に基づき通信条件の変更
を決定し、しかも、データ送信元から通信条件変更の肯
定応答が得られた場合に、通信条件を変更させることを
特徴とする制御プログラムを記録してある。
The recording medium of claim 11 causes a computer to detect a communication error and a parameter error from received data, record the detected communication error and the parameter error, and analyze the recorded communication error and the parameter error. A control program is characterized in that a change in the communication condition is determined based on the analysis result, and the communication condition is changed when a positive response to the change in the communication condition is obtained from the data transmission source.

【0017】[0017]

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

【0018】<第1の実施の形態>図1は本発明の一実
施の形態を示す。これは赤外線通信可能なインクジェッ
トプリンタの例である。図1において、101は赤外線
ポートであり、赤外線受光部で受けた光信号を電気信号
に変換するものである。102は通信処理部であり、パ
ラレルポート100または赤外線ポート101を介して
受信されたデータから通信エラーおよびパラメータエラ
ーを検出し、検出された通信エラーおよびパラメータエ
ラーを記憶領域にストアし、この記憶領域にストアされ
た通信エラーおよびパラメータエラーを解析し、解析結
果に応じて通信条件の変更を決定し、通信条件の変更が
決定された場合に通信条件を変更し、変更した通信条件
をデータ送信元に通知するものである。通信処理部10
2の記憶領域にストアされるエラー情報としては、最下
層で生じる光信号の受信に関するエラーから、最上層で
生じるプロトコルエラーまでの全ての階層のエラーがあ
る。階層としては、最下層から最上層へ、物理層、赤外
線リンク層、赤外線リンク多重層、データフロー制御
層、ポートエミュレート層がある。103は受信バッフ
ァであり、通信処理部102を介して得られた印字デー
タを一時的にストアするためのものである。104は解
析部であり、受信バッファ103にストアされた印字デ
ータを通信プロトコルに基づき解析し、データの確認を
行うものである。105は印字処理部であり、印字処理
を行うものである。
<First Embodiment> FIG. 1 shows an embodiment of the present invention. This is an example of an inkjet printer capable of infrared communication. In FIG. 1, reference numeral 101 denotes an infrared port, which converts an optical signal received by the infrared light receiving unit into an electric signal. Reference numeral 102 denotes a communication processing unit which detects a communication error and a parameter error from data received via the parallel port 100 or the infrared port 101, stores the detected communication error and the parameter error in a storage area, Analyzes communication errors and parameter errors stored in the server, determines the change of communication conditions according to the analysis result, changes the communication conditions when the change of communication conditions is determined, and transmits the changed communication conditions to the data source. Is to be notified. Communication processing unit 10
The error information stored in the second storage area includes errors in all layers from an error relating to the reception of an optical signal occurring in the lowermost layer to a protocol error occurring in the uppermost layer. The layers include a physical layer, an infrared link layer, an infrared link multiplex layer, a data flow control layer, and a port emulation layer from the bottom layer to the top layer. Reference numeral 103 denotes a reception buffer for temporarily storing print data obtained via the communication processing unit 102. An analysis unit 104 analyzes print data stored in the reception buffer 103 based on a communication protocol and confirms the data. A print processing unit 105 performs a print process.

【0019】このように構成したインクジェットプリン
タでは、接続形態が赤外線を用いて確立されている場合
には、赤外線ポート101の赤外線受光部で受けた光信
号を電気信号に変換し、得られた電気信号を受信バッフ
ァ103に順次ストアしていき、受信バッファ103の
データを通信プロトコルに基づき解析部104により解
析し、データの確認を行い、このデータに対して印字処
理部105により印字処理を行う。
In the ink jet printer configured as described above, when the connection mode is established using infrared light, the optical signal received by the infrared light receiving section of the infrared port 101 is converted into an electric signal, and the obtained electric signal is converted. The signals are sequentially stored in the reception buffer 103, the data in the reception buffer 103 is analyzed by the analysis unit 104 based on the communication protocol, the data is confirmed, and the print processing is performed on the data by the print processing unit 105.

【0020】パラレルポートを介して供給された印字デ
ータに対しても本質的に同様の処理が行われるので説明
は省略する。
Since essentially the same processing is performed on print data supplied via the parallel port, the description is omitted.

【0021】図2は接続形態が赤外線を用いて確立され
ている場合の図1の通信処理部102による通信処理手
順の一例を示すフローチャートである。赤外線ポート1
01を介して受信されたデータから、通信エラーおよび
パラメータエラーを検出するたびに、記憶領域の各エラ
ータイプごとのカウンタをインクリメントする(S20
1)。例えば、通信中にネゴシエーションで確立した通
信データサイズに対して、データサイズオーバのエラー
が起こるたびに、通信規格の処理とは別に、記憶領域の
データサイズオーバのカウンタをインクリメントする。
記憶領域にストアされるデータの例を表1に示す。
FIG. 2 is a flowchart showing an example of a communication processing procedure by the communication processing unit 102 in FIG. 1 when the connection mode is established using infrared rays. Infrared port 1
Every time a communication error and a parameter error are detected from the data received via the data area 01, the counter for each error type in the storage area is incremented (S20).
1). For example, whenever a data size over error occurs with respect to the communication data size established by negotiation during communication, the data size over counter of the storage area is incremented separately from the processing of the communication standard.
Table 1 shows an example of data stored in the storage area.

【0022】[0022]

【表1】 [Table 1]

【0023】そして、記憶領域にストアされた通信エラ
ーおよびパラメータエラーを解析する(S202)。例
えば、このカウンタが予め定めた設定値を超えた場合
に、特定のエラーが発生したと判定し、通信条件の変更
を決定すると(S203)、通信条件を変更し(S20
4)、変更された通信条件と、記憶領域にストアされて
いる通信エラーおよびパラメータエラーをデータ送信元
に通知する(S205)。
Then, the communication error and the parameter error stored in the storage area are analyzed (S202). For example, when this counter exceeds a predetermined set value, it is determined that a specific error has occurred, and when it is determined to change the communication condition (S203), the communication condition is changed (S20).
4) The changed communication condition and the communication error and the parameter error stored in the storage area are notified to the data transmission source (S205).

【0024】よって、エラーが頻発しても、通信が中断
されず継続されることになる。なお、送信条件が変更さ
れたとき、その旨を表示して操作者に知らせるようにし
てもよい。
Therefore, even if an error occurs frequently, communication is continued without interruption. When the transmission condition is changed, the fact may be displayed to notify the operator.

【0025】記憶領域にストアされている通信エラーお
よびパラメータエラーは、変更された通信条件を通知す
る際に送信元に通知するだけでなく、定期的に送信元に
通知するようにしてもよい。
The communication error and the parameter error stored in the storage area may be notified not only to the transmission source when notifying the changed communication condition but also to the transmission source periodically.

【0026】<第2の実施の形態>図3は接続形態が赤
外線を用いて確立されている場合の図1の通信処理部1
02による通信処理手順の一例を示すフローチャートで
ある。
<Second Embodiment> FIG. 3 shows the communication processing unit 1 of FIG. 1 when the connection mode is established using infrared rays.
13 is a flowchart illustrating an example of a communication processing procedure according to a second embodiment.

【0027】本実施の形態は第1の実施の形態との比較
でいえば、通信条件の変更方法が相違する。すなわち、
第1の実施の形態では、通信エラーおよびパラメータエ
ラーを解析した結果に基づき通信条件の変更を決定した
場合に通信条件を変更するようにした。
The present embodiment differs from the first embodiment in the method of changing the communication conditions. That is,
In the first embodiment, the communication condition is changed when the change of the communication condition is determined based on the result of analyzing the communication error and the parameter error.

【0028】これに対して、本実施の形態では、通信エ
ラーおよびパラメータエラーを解析した結果に基づき通
信条件の変更を決定し(S203)、しかも、データ送
信元から通信条件変更の肯定応答が得られた場合に(S
304)、通信条件を変更する(S305)ようにし
た。通信条件の変更を決定した場合に、記録されている
通信エラーおよびパラメータエラーをデータ送信元に伝
送するようにした。
On the other hand, in the present embodiment, the change of the communication condition is determined based on the result of analyzing the communication error and the parameter error (S203), and an acknowledgment of the change of the communication condition is obtained from the data source. (S
304), the communication condition is changed (S305). When a change in communication conditions is determined, the recorded communication error and parameter error are transmitted to the data transmission source.

【0029】第1の実施の形態で説明した機能は、コン
ピュータに、受信データから通信エラーおよびパラメー
タエラーを検出させ、検出された通信エラーおよびパラ
メータエラーを記録させ、記録された通信エラーおよび
パラメータエラーを解析させ、解析結果に基づき通信条
件の変更が決定された場合に、通信条件を変更させ、変
更された通信条件をデータ送信元に通知させる制御プロ
グラムを記録したコンピュータ読取り可能な記録媒体か
ら、コンピュータが読み出し実行することによっても実
現させることができる。
The functions described in the first embodiment allow a computer to detect communication errors and parameter errors from received data, record the detected communication errors and parameter errors, and record the recorded communication errors and parameter errors. Is analyzed, when the change of the communication condition is determined based on the analysis result, from the computer-readable recording medium that records the control program to change the communication condition and notify the changed communication condition to the data transmission source, It can also be realized by reading and executing by a computer.

【0030】第2の実施の形態で説明した機能は、コン
ピュータに、受信データから通信エラーおよびパラメー
タエラーを検出させ、検出された通信エラーおよびパラ
メータエラーを記録させ、記録された通信エラーおよび
パラメータエラーを解析させ、解析結果に基づき通信条
件の変更を決定し、しかも、データ送信元から通信条件
変更の肯定応答が得られた場合に、通信条件を変更させ
る制御プログラムを記録したコンピュータ読取り可能な
記録媒体から、コンピュータが読み出し実行することに
よっても実現させることができる。
The functions described in the second embodiment allow a computer to detect communication errors and parameter errors from received data, record the detected communication errors and parameter errors, and record the recorded communication errors and parameter errors. And a computer-readable recording which records a control program for changing the communication conditions when a change in the communication conditions is determined based on the analysis result and a positive response to the change of the communication conditions is obtained from the data source. It can also be realized by a computer reading and executing the medium.

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

【0032】また、第1および第2の実施の形態の機能
は、コンピュータが読み出したプログラムコードを実行
することにより実現されるだけでなく、そのプログラム
コードの指示に従って、0S(operating system)等が実
際の処理の一部または全部を行うことによっても実現さ
せることができる。
The functions of the first and second embodiments can be realized not only by executing the program code read out by the computer, but also by operating an OS (operating system) or the like in accordance with the instruction of the program code. It can also be realized by performing part or all of the actual processing.

【0033】さらに、第1および第2の実施の形態の機
能は、コンピュータ読取り可能な記憶媒体から読み出さ
れたプログラムコードが、コンピュータに挿入された機
能拡張ボードや、コンピュータに接続された機能拡張ユ
ニットに備わるメモリに書き込まれた後に、そのプログ
ラムコードの指示に基づき、その機能拡張ボードや機能
拡張ユニットに備わるCPU(central processing uni
t) 等が実際の処理の一部または全部を行うことによっ
ても実現させることができる。
Further, the functions of the first and second embodiments are such that a program code read from a computer-readable storage medium is stored in a function expansion board inserted into a computer or a function expansion board connected to a computer. After being written into the memory provided in the unit, the CPU (central processing unit) provided in the function expansion board or function expansion unit is operated based on the instructions of the program code.
t) etc. can also be realized by performing part or all of the actual processing.

【0034】プログラムコードを供給するためのコンピ
ュータ読取り可能な記憶媒体としては、例えば、フロッ
ピーディスク、ハードディスク、光ディスク、光磁気デ
ィスク、CD−R0M(compact disk read only memor
y )、CD‐R(compact disk recordable) 、磁気テー
プ、不揮発性のメモリカード、R0M(read only memor
y)、等々を用いることができる。
As a computer-readable storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-R0M (compact disk read only memory)
y), CD-R (compact disk recordable), magnetic tape, nonvolatile memory card, R0M (read only memor)
y), etc. can be used.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
上記のように構成したので、通信の中断を防止すること
ができる。
As described above, according to the present invention,
With the configuration described above, interruption of communication can be prevented.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】図1に示す通信処理部102による処理手順の
一例を示すフローチャートである。
FIG. 2 is a flowchart illustrating an example of a processing procedure performed by a communication processing unit 102 illustrated in FIG.

【図3】本発明の第2の実施の形態における通信処理部
102による処理手順の一例を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating an example of a processing procedure performed by a communication processing unit 102 according to the second embodiment of the present invention.

【図4】通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence.

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

100 パラレルポート 101 赤外線ポート 102 通信処理部 103 受信バッファ 104 解析部 105 印字処理部 Reference Signs List 100 parallel port 101 infrared port 102 communication processing unit 103 reception buffer 104 analysis unit 105 print processing unit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 受信データから通信エラーおよびパラメ
ータエラーを検出する検出手段と、 該検出手段により検出された通信エラーおよびパラメー
タエラーを記録する記録手段と、 該記録手段より記録された通信エラーおよびパラメータ
エラーを解析する解析手段と、 該解析手段による解析結果に応じて通信条件の変更を決
定した場合に、通信条件を変更する第1変更手段と、 該第1変更手段により変更された通信条件をデータ送信
元に通知する通知手段とを備えたことを特徴とする通信
処理装置。
1. A detecting means for detecting a communication error and a parameter error from received data, a recording means for recording a communication error and a parameter error detected by the detecting means, and a communication error and a parameter recorded by the recording means Analysis means for analyzing an error; first change means for changing the communication condition when a change in the communication condition is determined in accordance with the analysis result by the analysis means; and communication condition changed by the first change means. A communication processing device comprising: a notification unit that notifies a data transmission source.
【請求項2】 受信データから通信エラーおよびパラメ
ータエラーを検出する検出手段と、 該検出手段により検出された通信エラーおよびパラメー
タエラーを記録する記録手段と、 該記録手段より記録された通信エラーおよびパラメータ
エラーを解析する解析手段と、 該解析手段による解析結果に基づき通信条件の変更を決
定し、しかも、データ送信元から通信条件変更の肯定応
答が得られた場合に、通信条件を変更する第2変更手段
とを備えたことを特徴とする通信処理装置。
2. A detecting means for detecting a communication error and a parameter error from received data, a recording means for recording the communication error and the parameter error detected by the detecting means, and a communication error and a parameter recorded by the recording means. Analyzing means for analyzing the error; determining a change in the communication condition based on a result of the analysis by the analyzing means; and changing the communication condition when a positive response to the change in the communication condition is obtained from the data transmission source. A communication processing device comprising: a changing unit.
【請求項3】 請求項1または2において、通信条件の
変更を報知する報知手段をさらに備えたことを特徴とす
る通信処理装置。
3. The communication processing apparatus according to claim 1, further comprising a notifying unit for notifying a change in a communication condition.
【請求項4】 請求項1または2において、前記記録手
段により記録されている通信エラーおよびパラメータエ
ラーを定期的にデータ送信元に通知する定期通知手段を
さらに備えたことを特徴とする通信処理装置。
4. The communication processing apparatus according to claim 1, further comprising a periodic notification unit for periodically notifying a data transmission source of a communication error and a parameter error recorded by said recording unit. .
【請求項5】 請求項1において、前記第1変更手段
は、通信エラーおよびパラメータエラーが予め定めたエ
ラー回数を超えた場合に通信条件変更を決定することを
特徴とする通信処理装置。
5. The communication processing apparatus according to claim 1, wherein the first change unit determines a change in communication conditions when the number of communication errors and parameter errors exceeds a predetermined number of errors.
【請求項6】 請求項2において、前記第2変更手段
は、通信エラーおよびパラメータエラーが予め定めたエ
ラー回数を超えた場合に通信条件変更を決定することを
特徴とする通信処理装置。
6. The communication processing apparatus according to claim 2, wherein the second change unit determines a change in communication condition when the communication error and the parameter error exceed a predetermined number of errors.
【請求項7】 請求項2において、前記第2変更手段
は、通信条件の変更を決定した場合に、記録されている
通信エラーおよびパラメータエラーをデータ送信元に伝
送することを特徴とする通信処理装置。
7. A communication process according to claim 2, wherein said second change means transmits the recorded communication error and parameter error to a data transmission source when a change in communication conditions is determined. apparatus.
【請求項8】 受信データから通信エラーおよびパラメ
ータエラーが検出されるたびに、検出された通信エラー
およびパラメータエラーを記録するステップと、 記録された通信エラーおよびパラメータエラーを解析す
るステップと、 解析結果に基づき通信条件の変更を決定した場合に通信
条件を変更するステップと、 変更された通信条件をデータ送信元に通知するステップ
とを備えたことを特徴とする通信処理方法。
8. Whenever a communication error and a parameter error are detected from received data, a step of recording the detected communication error and the parameter error, a step of analyzing the recorded communication error and the parameter error, and an analysis result A communication processing method, comprising: a step of changing a communication condition when a change of a communication condition is determined based on a communication condition; and a step of notifying the changed communication condition to a data transmission source.
【請求項9】 受信されたデータから通信エラーおよび
パラメータエラーが検出されるたびに、検出された通信
エラーおよびパラメータエラーを記録するステップと、 記録された通信エラーおよびパラメータエラーを解析す
るステップと、 解析結果に基づき通信条件の変更を決定し、しかも、デ
ータ送信元から通信条件変更の肯定応答が得られた場合
に、通信条件を変更するステップとを備えたことを特徴
とする通信処理方法。
9. Whenever a communication error and a parameter error are detected from the received data, recording the detected communication error and the parameter error; analyzing the recorded communication error and the parameter error; Determining a change in the communication condition based on the analysis result, and changing the communication condition when an affirmative response to the change in the communication condition is obtained from the data transmission source.
【請求項10】 コンピュータに、 受信データから通信エラーおよびパラメータエラーを検
出させ、 検出された通信エラーおよびパラメータエラーを記録さ
せ、 記録された通信エラーおよびパラメータエラーを解析さ
せ、 解析結果に基づき通信条件の変更が決定された場合に、
通信条件を変更させ、 変更された通信条件をデータ送信元に通知させることを
特徴とする制御プログラムを記録したコンピュータ読取
り可能な記録媒体。
10. A computer that detects a communication error and a parameter error from received data, records the detected communication error and the parameter error, analyzes the recorded communication error and the parameter error, and sets a communication condition based on the analysis result. Is decided to change,
A computer-readable recording medium storing a control program, wherein a communication condition is changed, and the changed communication condition is notified to a data transmission source.
【請求項11】 コンピュータに、 受信データから通信エラーおよびパラメータエラーを検
出させ、 検出された通信エラーおよびパラメータエラーを記録さ
せ、 記録された通信エラーおよびパラメータエラーを解析さ
せ、 解析結果に基づき通信条件の変更を決定し、しかも、デ
ータ送信元から通信条件変更の肯定応答が得られた場合
に、通信条件を変更させることを特徴とする制御プログ
ラムを記録したコンピュータ読取り可能な記録媒体。
11. A computer which detects a communication error and a parameter error from received data, records the detected communication error and a parameter error, analyzes the recorded communication error and the parameter error, and sets a communication condition based on the analysis result. A computer-readable recording medium having recorded thereon a control program for determining a change in the communication condition and changing the communication condition when an acknowledgment of the change of the communication condition is obtained from the data transmission source.
JP9307416A 1997-11-10 1997-11-10 Communication processor, method therefor and computer-readable recording medium storing control program Pending JPH11146031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9307416A JPH11146031A (en) 1997-11-10 1997-11-10 Communication processor, method therefor and computer-readable recording medium storing control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9307416A JPH11146031A (en) 1997-11-10 1997-11-10 Communication processor, method therefor and computer-readable recording medium storing control program

Publications (1)

Publication Number Publication Date
JPH11146031A true JPH11146031A (en) 1999-05-28

Family

ID=17968802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9307416A Pending JPH11146031A (en) 1997-11-10 1997-11-10 Communication processor, method therefor and computer-readable recording medium storing control program

Country Status (1)

Country Link
JP (1) JPH11146031A (en)

Similar Documents

Publication Publication Date Title
US8135871B2 (en) Computer system and control method of the same
JP2000306056A (en) Magnetic card reader
US20070069856A1 (en) Image forming apparatus having diagnosis function using RFID, and diagnosis system and method therefor
CN101630964B (en) Image forming system, image forming apparatus, information processing apparatus and control method thereof
JP4630766B2 (en) A system having a primary system and a secondary system
CN100394377C (en) Print system and printing method
KR100484157B1 (en) Method and apparatus informing print error of a wireless printer
US20070086047A1 (en) Image forming system, host device, image forming apparatus and image forming method using the same
EP2320301B1 (en) Control apparatus and method thereof
JPH11146031A (en) Communication processor, method therefor and computer-readable recording medium storing control program
US5975775A (en) Information recording apparatus and program storage device readable by the apparatus having emulation processing with error recovery
EP1524595B1 (en) Removable media device, host device, program and recording medium thereof
JP3114218B2 (en) Data processing device and data communication system
US20070215701A1 (en) Information processing device that writes data to an attachable/detachable recording medium and control method thereof
EP1179907A2 (en) Data communication apparatus and method with error correction mode
JP2002073539A (en) Peripheral equipment for computer, and communication control method for the same
JPH0981342A (en) Print system
JP2010009121A (en) Data controller, control method, and program
JP2570995B2 (en) Disk controller
JPH11102263A (en) Printer device and control method
JP2004017388A (en) Image output unit
JPH04631A (en) Printing system
JP2000118055A (en) Printing system, printer, method for printing and recording medium
JP2000236357A (en) Device and method for processing information
JP5198029B2 (en) Peripheral device and peripheral device control method