JP2003115888A - Automatic setting method for communication condition, communication device and communication system - Google Patents

Automatic setting method for communication condition, communication device and communication system

Info

Publication number
JP2003115888A
JP2003115888A JP2001310193A JP2001310193A JP2003115888A JP 2003115888 A JP2003115888 A JP 2003115888A JP 2001310193 A JP2001310193 A JP 2001310193A JP 2001310193 A JP2001310193 A JP 2001310193A JP 2003115888 A JP2003115888 A JP 2003115888A
Authority
JP
Japan
Prior art keywords
communication
communication condition
setting
data
data pattern
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
JP2001310193A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kida
宏幸 貴田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001310193A priority Critical patent/JP2003115888A/en
Publication of JP2003115888A publication Critical patent/JP2003115888A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically set a communication condition when executing serial communication among a plurality of information equipment and to change the communication condition corresponding to the transaction of data even during the communication. SOLUTION: When setting the communication condition before starting the communication, a transmitting side communication device 10 sends out a communication condition change request signal. A receiving side communication device 20, receiving this communication condition change request signal, is turned into communication condition setting mode. Continuously, the transmitting side communication device 10 sends a data pattern for setting communication condition and the receiving side communication device 20 analyzes this data pattern. In the receiving side communication device 20, the communication condition is determined from this data pattern, and setting of the communication condition is automatically executed. Besides, by sending the communication condition change request signal during the communication, the communication condition can be changed during the communication as well.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の情報機器間
で通信を行う際に通信条件の自動設定を行うための通信
条件の自動設定方法と、通信装置および通信システムに
関するものである。特に情報機器間で最適な通信条件の
自動設定を行うことができる通信条件の自動設定方法と
通信装置および通信システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication condition automatic setting method for automatically setting communication conditions when a plurality of information devices communicate with each other, a communication device and a communication system. In particular, the present invention relates to a communication condition automatic setting method, a communication device, and a communication system capable of automatically setting optimum communication conditions between information devices.

【0002】[0002]

【従来の技術】複数の情報機器間でシリアル通信を行う
際の通信条件(パラメータ)を設定する方法として、従
来、以下に説明する手法が用いられてきた。
2. Description of the Related Art As a method of setting communication conditions (parameters) for serial communication between a plurality of information devices, the following method has been conventionally used.

【0003】情報機器のユーザは通信の開始に先立っ
て、情報機器の入力装置からコマンドラインや設定メニ
ュー等を用いて、通信条件の設定を行う。すなわち、双
方の情報機器の入力装置から通信条件である通信速度、
ビット長、パリティ長、ストップビット長等を入力もし
くは選択し、設定を行う。以上の設定により、情報機器
はシリアル通信によるデータの送受信が可能となる。
Prior to the start of communication, a user of the information equipment sets communication conditions using an input device of the information equipment using a command line or a setting menu. That is, the communication speed, which is the communication condition, from the input devices of both information devices,
Input or select the bit length, parity length, stop bit length, etc., and set. With the above settings, the information device can transmit and receive data by serial communication.

【0004】通信開始後には、上記でユーザが設定を行
った通信条件で、通信が行われる。通信開始後に通信条
件の変更を行うには、いったん通信を切断し、通信条件
を設定後、再度通信を開始する必要がある。
After the start of communication, the communication is carried out under the communication conditions set by the user. In order to change the communication condition after the communication is started, it is necessary to disconnect the communication, set the communication condition, and then restart the communication.

【0005】このようにユーザが通信条件の設定を行う
場合には、つぎのような問題点がある。設定する通信条
件が数多く存在し、双方の情報機器間で全く同じように
設定されていなければならないため、ユーザが通信条件
の設定を誤ることがありうる。通信条件の設定を誤った
場合、情報機器間のデータ通信は正常に行うことができ
ない。また、ユーザが設定した通信条件は必ずしも最適
なものとは限らない。
When the user thus sets the communication conditions, there are the following problems. Since there are many communication conditions to be set and both information devices must be set exactly the same, the user may mistakenly set the communication conditions. If the communication conditions are set incorrectly, data communication between information devices cannot be performed normally. Also, the communication conditions set by the user are not always optimal.

【0006】[0006]

【発明が解決しようとする課題】このように、シリアル
通信の開始に先立って、ユーザが情報機器の入力装置か
ら通信条件を入力することによって設定を行う方法で
は、通信条件の設定が確実に行われるという保証がな
く、また必ずしも最適な設定であるとは限らない。
As described above, in the method in which the user inputs the communication condition from the input device of the information equipment before the start of the serial communication, the communication condition is surely set. There is no guarantee that it will be displayed, and it is not always the optimum setting.

【0007】また、近年、電子部品や電子機器における
動作周波数の高速化、高集積化が顕著になっており、こ
れらの電子部品・機器から発生される電磁波ノイズをい
かに抑えるかを考慮することがますます重要になってき
ている。また、電子部品や電子機器における低消費電力
化は不可欠なものとなっている。
Further, in recent years, the operating frequencies of electronic parts and electronic devices have become remarkably increased in speed and integration, and it is necessary to consider how to suppress electromagnetic noise generated from these electronic parts and devices. It is becoming more and more important. In addition, low power consumption in electronic components and electronic devices is indispensable.

【0008】シリアル通信を行う際に、必要以上に高速
な通信速度で通信を行うと、EMI(Electric Magneti
c Interference)の原因や消費電力の増大につながる。
When serial communication is performed at an unnecessarily high communication speed, EMI (Electric Magneti)
c Interference) and increase in power consumption.

【0009】そこで、通信するデータの量に応じて通信
速度を制御することができれば、EMIの低減や消費電
力の低減に貢献することが可能となる。
Therefore, if the communication speed can be controlled according to the amount of data to be communicated, it is possible to contribute to the reduction of EMI and power consumption.

【0010】本発明は、上記課題を鑑みてなされたもの
で、その目的とするところは通信条件を自動設定するこ
とができる通信条件の自動設定方法と通信装置および通
信システムを提供することであり、また通信の開始後に
もデータのトランザクションに応じて通信速度を適宜変
更できる通信条件の自動設定方法と通信装置および通信
システムを提供することである。
The present invention has been made in view of the above problems, and an object thereof is to provide a communication condition automatic setting method, a communication device, and a communication system capable of automatically setting communication conditions. Another object of the present invention is to provide a communication condition automatic setting method, a communication device, and a communication system that can appropriately change the communication speed according to a transaction of data even after the start of communication.

【0011】[0011]

【課題を解決するための手段】本発明の請求項1記載の
通信条件の自動設定方法は、通信の開始に先立って通信
条件を設定し、他の通信装置に対して通信条件の設定を
要求するとともに通信条件設定用のデータパターンを他
の通信装置へ送ることを特徴とする。
According to an automatic communication condition setting method according to claim 1 of the present invention, a communication condition is set prior to the start of communication, and another communication device is requested to set the communication condition. In addition, the data pattern for communication condition setting is sent to another communication device.

【0012】この方法によれば、通信の開始に先立って
通信条件を設定し、他の通信装置に対して通信条件の設
定を要求するとともに通信条件設定用のデータパターン
を他の通信装置へ送るので、通信条件を自動設定するこ
とが可能となる。
According to this method, the communication condition is set prior to the start of communication, the communication condition is requested to the other communication device, and the data pattern for setting the communication condition is sent to the other communication device. Therefore, it becomes possible to automatically set the communication conditions.

【0013】本発明の請求項2記載の通信条件の自動設
定方法は、通信中にデータのトランザクションを監視し
データのトランザクションに応じて通信条件を設定変更
し、他の通信装置に対して通信条件の設定変更を要求す
るとともに通信条件設定用のデータパターンを他の通信
装置へ送ることを特徴とする。
An automatic communication condition setting method according to a second aspect of the present invention monitors a data transaction during communication, changes the communication condition according to the data transaction, and sets the communication condition for another communication device. Is requested and the data pattern for communication condition setting is sent to another communication device.

【0014】この方法によれば、通信中にデータのトラ
ンザクションを監視しデータのトランザクションに応じ
て通信条件を設定変更し、他の通信装置に対して通信条
件の設定変更を要求するとともに通信条件設定用のデー
タパターンを他の通信装置へ送るので、通信中において
通信条件の自動設定変更が可能である。これによりデー
タの送受信中においてもデータのトランザクションに応
じて、最適な通信条件への変更が可能となる。トランザ
クションに応じて可能な限り通信速度を低速にすれば、
EMIの低減や消費電力の低減に貢献することができ
る。
According to this method, the transaction of data is monitored during communication, the communication condition is set and changed according to the transaction of data, and another communication device is requested to change the setting of the communication condition and the communication condition is set. Since the data pattern for communication is sent to another communication device, it is possible to automatically change the setting of communication conditions during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. If you make the communication speed as slow as possible depending on the transaction,
It can contribute to reduction of EMI and reduction of power consumption.

【0015】本発明の請求項3記載の通信条件の自動設
定方法は、通信の開始に先立って通信条件を設定し、他
の通信装置に対して通信条件の設定を要求するとともに
通信条件設定用のデータパターンを他の通信装置へ送
り、通信中にデータのトランザクションを監視しデータ
のトランザクションに応じて通信条件を設定変更し、他
の通信装置に対して通信条件の設定変更を要求するとと
もに通信条件設定用のデータパターンを他の通信装置へ
送ることを特徴とする。
An automatic communication condition setting method according to a third aspect of the present invention sets a communication condition prior to the start of communication, requests another communication device to set the communication condition, and sets the communication condition. Data pattern to other communication device, monitor data transaction during communication, change communication condition setting according to data transaction, request communication condition setting change to other communication device, and communicate It is characterized in that a data pattern for condition setting is sent to another communication device.

【0016】この方法によれば、請求項1と同様に、通
信条件を自動設定することが可能となる。また請求項2
と同様に、通信中においても通信条件の自動設定変更が
可能である。これによりデータの送受信中においてもデ
ータのトランザクションに応じて、最適な通信条件への
変更が可能となる。トランザクションに応じて可能な限
り通信速度を低速にすれば、EMIの低減や消費電力の
低減に貢献することができる。
According to this method, it is possible to automatically set the communication conditions, as in the first aspect. Claim 2
Similarly, the automatic setting change of the communication condition can be performed during the communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0017】本発明の請求項4記載の通信条件の自動設
定方法は、通信の開始に先立って通信条件の設定の要求
を受け付けるとともに、他の通信装置から通信条件設定
用のデータパターンを受け取り、データパターンを解析
し、データパターンの解析結果に従って通信条件の設定
を行うことを特徴とする。
According to a fourth aspect of the present invention, a method for automatically setting communication conditions receives a request for setting communication conditions prior to the start of communication, and also receives a data pattern for setting communication conditions from another communication device. It is characterized in that the data pattern is analyzed and the communication condition is set according to the analysis result of the data pattern.

【0018】この方法によれば、通信の開始に先立って
通信条件の設定の要求を受け付けるとともに、他の通信
装置から通信条件設定用のデータパターンを受け取り、
データパターンを解析し、データパターンの解析結果に
従って通信条件の設定を行うので、通信条件を自動設定
することが可能となる。
According to this method, a request for setting communication conditions is received prior to the start of communication, and a data pattern for setting communication conditions is received from another communication device.
Since the data pattern is analyzed and the communication condition is set according to the analysis result of the data pattern, it is possible to automatically set the communication condition.

【0019】本発明の請求項5記載の通信条件の自動設
定方法は、通信中に他の通信装置から通信条件の設定変
更の要求があったときに、通信条件の設定変更の要求を
受け付けるとともに、他の通信装置から通信条件設定用
のデータパターンを受け取り、データパターンを解析
し、データパターンの解析結果に従って通信条件の設定
変更を行うことを特徴とする。
According to a fifth aspect of the present invention, the automatic communication condition setting method accepts a communication condition setting change request when another communication device requests a communication condition setting change during communication. , Receiving a data pattern for communication condition setting from another communication device, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern.

【0020】この方法によれば、通信中に他の通信装置
から通信条件の設定変更の要求があったときに、通信条
件の設定変更の要求を受け付けるとともに、他の通信装
置から通信条件設定用のデータパターンを受け取り、デ
ータパターンを解析し、データパターンの解析結果に従
って通信条件の設定変更を行うので、通信中において通
信条件の自動設定変更が可能である。これによりデータ
の送受信中においてもデータのトランザクションに応じ
て、最適な通信条件への変更が可能となる。トランザク
ションに応じて可能な限り通信速度を低速にすれば、E
MIの低減や消費電力の低減に貢献することができる。
According to this method, when there is a request for changing the setting of the communication condition from another communication device during communication, the request for changing the setting of the communication condition is accepted and the communication condition setting request is sent from the other communication device. Since the data pattern is received, the data pattern is analyzed, and the setting of the communication condition is changed according to the analysis result of the data pattern, it is possible to automatically change the setting of the communication condition during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. If the communication speed is set as low as possible according to the transaction, E
It can contribute to reduction of MI and reduction of power consumption.

【0021】本発明の請求項6記載の通信条件の自動設
定方法は、通信の開始に先立って通信条件の設定の要求
を受け付けるとともに、他の通信装置から通信条件設定
用のデータパターンを受け取り、データパターンを解析
し、データパターンの解析結果に従って通信条件の設定
を行い、通信中に他の通信装置から通信条件の設定変更
の要求があったときに、通信条件の設定変更の要求を受
け付けるとともに、他の通信装置から通信条件設定用の
データパターンを受け取り、データパターンを解析し、
データパターンの解析結果に従って通信条件の設定変更
を行うことを特徴とする。
The communication condition automatic setting method according to claim 6 of the present invention receives a request for setting communication conditions prior to the start of communication, and also receives a data pattern for communication condition setting from another communication device, It analyzes the data pattern, sets the communication conditions according to the analysis result of the data pattern, and accepts the request for changing the communication condition setting when there is a request for changing the communication condition setting from another communication device during communication. , Receives a data pattern for communication condition setting from another communication device, analyzes the data pattern,
The feature is that the setting of the communication condition is changed according to the analysis result of the data pattern.

【0022】この方法によれば、請求項4同様に、通信
条件を自動設定することが可能となる。また請求項5と
同様に、通信中において通信条件の自動設定変更が可能
である。これによりデータの送受信中においてもデータ
のトランザクションに応じて、最適な通信条件への変更
が可能となる。トランザクションに応じて可能な限り通
信速度を低速にすれば、EMIの低減や消費電力の低減
に貢献することができる。
According to this method, it is possible to automatically set the communication conditions, as in the fourth aspect. Further, similarly to the fifth aspect, it is possible to change the communication condition automatic setting during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0023】本発明の請求項7記載の通信条件の自動設
定方法は、第1の通信装置で、通信の開始に先立って通
信条件を設定し、第2の通信装置に対して通信条件の設
定を要求するとともに通信条件設定用のデータパターン
を第2の通信装置へ送り、第2の通信装置で、通信の開
始に先立って通信条件の設定の要求を受け付けるととも
に、第2の通信装置から通信条件設定用のデータパター
ンを受け取り、データパターンを解析し、データパター
ンの解析結果に従って通信条件の設定を行うことを特徴
とする。
According to a seventh aspect of the present invention, in the automatic communication condition setting method, the communication condition is set in the first communication device prior to the start of communication, and the communication condition is set in the second communication device. Requesting the communication condition and sending a data pattern for setting the communication condition to the second communication device, the second communication device accepting the request for setting the communication condition prior to the start of the communication, and communicating from the second communication device. It is characterized in that it receives a data pattern for condition setting, analyzes the data pattern, and sets the communication condition according to the analysis result of the data pattern.

【0024】この方法によれば、第1の通信装置で、通
信の開始に先立って通信条件を設定し、第2の通信装置
に対して通信条件の設定を要求するとともに通信条件設
定用のデータパターンを第2の通信装置へ送り、第2の
通信装置で、通信の開始に先立って通信条件の設定の要
求を受け付けるとともに、第2の通信装置から通信条件
設定用のデータパターンを受け取り、データパターンを
解析し、データパターンの解析結果に従って通信条件の
設定を行うので、第1および第2の通信装置で通信条件
を自動設定することが可能となる。
According to this method, the first communication device sets the communication condition prior to the start of the communication, requests the second communication device to set the communication condition, and sets the communication condition setting data. The pattern is sent to the second communication device, and the second communication device receives a request for setting communication conditions prior to the start of communication, and also receives a data pattern for communication condition setting from the second communication device, Since the pattern is analyzed and the communication condition is set according to the analysis result of the data pattern, the communication condition can be automatically set by the first and second communication devices.

【0025】本発明の請求項8記載の通信条件の自動設
定方法は、第1の通信装置で、通信中にデータのトラン
ザクションを監視しデータのトランザクションに応じて
通信条件を設定変更し、第2の通信装置に対して通信条
件の設定変更を要求するとともに通信条件設定用のデー
タパターンを第2の通信装置へ送り、第2の通信装置
で、通信中に第1の通信装置から通信条件の設定変更の
要求があったときに、通信条件の設定変更の要求を受け
付けるとともに、第2の通信装置から通信条件設定用の
データパターンを受け取り、データパターンを解析し、
データパターンの解析結果に従って通信条件の設定変更
を行うことを特徴とする。
According to the eighth aspect of the present invention, in the communication condition automatic setting method, the first communication device monitors a data transaction during communication, and changes the communication condition according to the data transaction. Requesting the communication device to change the setting of the communication condition and sending a data pattern for setting the communication condition to the second communication device, and the second communication device transmits the communication condition of the communication condition from the first communication device during communication. When a setting change request is received, the communication condition setting change request is received, a communication condition setting data pattern is received from the second communication device, and the data pattern is analyzed.
The feature is that the setting of the communication condition is changed according to the analysis result of the data pattern.

【0026】この方法によれば、第1の通信装置で、通
信中にデータのトランザクションを監視しデータのトラ
ンザクションに応じて通信条件を設定変更し、第2の通
信装置に対して通信条件の設定変更を要求するとともに
通信条件設定用のデータパターンを第2の通信装置へ送
り、第2の通信装置で、通信中に第1の通信装置から通
信条件の設定変更の要求があったときに、通信条件の設
定変更の要求を受け付けるとともに、第2の通信装置か
ら通信条件設定用のデータパターンを受け取り、データ
パターンを解析し、データパターンの解析結果に従って
通信条件の設定変更を行うので、通信中において第1お
よび第2の通信装置で通信条件の自動設定変更が可能で
ある。これによりデータの送受信中においてもデータの
トランザクションに応じて、最適な通信条件への変更が
可能となる。トランザクションに応じて可能な限り通信
速度を低速にすれば、EMIの低減や消費電力の低減に
貢献することができる。
According to this method, the first communication device monitors the data transaction during communication, changes the communication condition according to the data transaction, and sets the communication condition for the second communication device. When a change is requested and a data pattern for communication condition setting is sent to the second communication device, and the second communication device requests the communication condition setting change from the first communication device during communication, While receiving the request for changing the setting of the communication condition, receiving the data pattern for setting the communication condition from the second communication device, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern. In the first and second communication devices, automatic setting change of communication conditions is possible. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0027】本発明の請求項9記載の通信条件の自動設
定方法は、第1の通信装置で、通信の開始に先立って通
信条件を設定し、第2の通信装置に対して通信条件の設
定を要求するとともに通信条件設定用のデータパターン
を第2の通信装置へ送り、第2の通信装置で、通信の開
始に先立って通信条件の設定の要求を受け付けるととも
に、第2の通信装置から通信条件設定用のデータパター
ンを受け取り、データパターンを解析し、データパター
ンの解析結果に従って通信条件の設定を行い、第1の通
信装置で、通信中にデータのトランザクションを監視し
データのトランザクションに応じて通信条件を設定変更
し、第2の通信装置に対して通信条件の設定変更を要求
するとともに通信条件設定用のデータパターンを第2の
通信装置へ送り、第2の通信装置で、通信中に第1の通
信装置から通信条件の設定変更の要求があったときに、
通信条件の設定変更の要求を受け付けるとともに、第2
の通信装置から通信条件設定用のデータパターンを受け
取り、データパターンを解析し、データパターンの解析
結果に従って通信条件の設定変更を行うことを特徴とす
る。
In the communication condition automatic setting method according to claim 9 of the present invention, the communication condition is set in the first communication device prior to the start of communication, and the communication condition is set in the second communication device. Requesting the communication condition and sending a data pattern for setting the communication condition to the second communication device, the second communication device accepting the request for setting the communication condition prior to the start of the communication, and communicating from the second communication device. The data pattern for condition setting is received, the data pattern is analyzed, the communication condition is set according to the analysis result of the data pattern, and the first communication device monitors the data transaction during communication and responds to the data transaction. Change the setting of the communication condition, request the second communication device to change the setting of the communication condition, and send the data pattern for setting the communication condition to the second communication device, In second communication device, from the first communication device during communication when there is a request for a setting change of the communication condition,
While accepting a request to change the setting of communication conditions,
Receiving the data pattern for communication condition setting from the communication device, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern.

【0028】この方法によれば、請求項7同様に、第1
および第2の通信装置で通信条件を自動設定することが
可能となる。また請求項8と同様に、通信中において第
1および第2の通信装置で通信条件の自動設定変更が可
能である。これによりデータの送受信中においてもデー
タのトランザクションに応じて、最適な通信条件への変
更が可能となる。トランザクションに応じて可能な限り
通信速度を低速にすれば、EMIの低減や消費電力の低
減に貢献することができる。
According to this method, as in claim 7, the first
And, it becomes possible to automatically set the communication condition in the second communication device. Further, similarly to the eighth aspect, it is possible to automatically change the setting of the communication condition by the first and second communication devices during the communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0029】本発明の請求項10記載の通信装置は、通
信条件を設定する通信条件設定モードと通常のデータを
送受信する通常データ送信モードとに動作モードを切り
替え可能な制御部と、通信条件設定モード時に制御部か
らの指令を受け、通信条件変更要求信号を生成し、通信
条件変更要求信号を送信する通信条件変更要求信号生成
部と、通信条件設定モード時に制御部からの指令を受
け、設定される通信条件に対応した通信条件設定用のデ
ータパターンの生成を行うデータパターン生成部と、通
信条件設定モード時に制御部によって通信条件が設定さ
れるとともに、データパターン生成部で生成された通信
条件設定用のデータパターンの送信を行い、通常データ
送受信モード時に通常のデータの送受信を行うデータ送
受信部とを備えている。
According to a tenth aspect of the present invention, there is provided a communication device, wherein a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting / receiving normal data, and a control unit capable of switching operation modes, and communication condition setting. A communication condition change request signal generation unit that receives a command from the control unit in the mode to generate a communication condition change request signal and transmits the communication condition change request signal, and a command from the control unit in the communication condition setting mode Data pattern generation unit that generates a data pattern for communication condition setting that corresponds to the communication condition that is set, and the communication condition that is set by the control unit in the communication condition setting mode and that is generated by the data pattern generation unit It is equipped with a data transmitter / receiver that sends data patterns for setting and sends and receives normal data in normal data send / receive mode. .

【0030】この構成によれば、通信条件変更要求信号
生成部とデータパターン生成部とを設けたので、通信条
件を自動設定することが可能となる。
According to this structure, since the communication condition change request signal generator and the data pattern generator are provided, it is possible to automatically set the communication condition.

【0031】本発明の請求項11記載の通信装置は、請
求項10記載の通信装置において、通常データ送受信モ
ード時に通信中の通常のデータのトランザクションを監
視し、トランザクションが現在の通信速度に対応して設
定されている範囲から外れたときに、制御部に対して、
通信条件の変更を依頼するトランザクション監視部をさ
らに備えている。
A communication device according to an eleventh aspect of the present invention is the communication device according to the tenth aspect, which monitors a transaction of normal data during communication in the normal data transmission / reception mode, and the transaction corresponds to a current communication speed. When it goes out of the range set by the
It further comprises a transaction monitoring unit that requests a change in communication conditions.

【0032】この構成によれば、トランザクション監視
部を設けたので、通信中においても通信条件の自動設定
変更が可能である。これによりデータの送受信中におい
てもデータのトランザクションに応じて、最適な通信条
件への変更が可能となる。トランザクションに応じて可
能な限り通信速度を低速にすれば、EMIの低減や消費
電力の低減に貢献することができる。
According to this configuration, since the transaction monitoring unit is provided, it is possible to change the communication condition automatic setting even during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0033】本発明の請求項12記載の通信装置は、通
信条件を設定する通信条件設定モードと通常のデータを
送受信する通常データ送信モードとに動作モードを切り
替え可能な制御部と、通信条件変更要求信号を受信した
ときに制御部に対して通信条件設定モードに入ることを
依頼する通信条件変更要求信号受信部と、通信条件設定
モード時に、通信条件設定用のデータパターンの受信を
行い、通常データ送受信モード時に通常のデータの送受
信を行うデータ送受信部と、通信条件設定用のデータパ
ターンを解析する際に必要な解析用情報を保持している
データパターン情報保持部と、通信条件設定モード時
に、データ受信部で受信した通信条件設定用のデータパ
ターンをデータパターン情報保持部の解析用情報をもと
に解析し、その解析結果を制御部に通知し解析結果に従
って通信条件をデータ送受信部に対して設定させるデー
タパターン情報解析部とを備えている。
According to a twelfth aspect of the present invention, in a communication device, a control section capable of switching an operation mode between a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting / receiving normal data, and communication condition change. When a request signal is received, a communication condition change request signal receiving unit that requests the control unit to enter the communication condition setting mode and a data pattern for communication condition setting are received in the communication condition setting mode. In the data transmission / reception mode, the data transmission / reception unit that transmits / receives normal data, the data pattern information storage unit that stores the information for analysis required to analyze the data pattern for communication condition setting, and the communication condition setting mode , The data pattern for communication condition setting received by the data receiving unit is analyzed based on the analysis information of the data pattern information holding unit, and the analysis is performed. And a data pattern information analysis unit which is set for data transmission and reception unit of the communication conditions according to the notification analyzes results results to the control unit.

【0034】この構成によれば、通信条件変更要求信号
受信部とデータパターン情報保持部とデータパターン情
報解析部とを設けたので、通信条件を自動設定すること
が可能となる。また、通信中においても通信条件の設定
変更が可能である。これによりデータの送受信中におい
てもデータのトランザクションに応じて、最適な通信条
件への変更が可能となる。トランザクションに応じて可
能な限り通信速度を低速にすれば、EMIの低減や消費
電力の低減に貢献することができる。
According to this structure, since the communication condition change request signal receiving section, the data pattern information holding section and the data pattern information analyzing section are provided, the communication conditions can be automatically set. Further, the setting of communication conditions can be changed even during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0035】本発明の請求項13記載の通信システム
は、相互間で通信を行う第1および第2の通信装置とで
構成されている。
A communication system according to a thirteenth aspect of the present invention is composed of first and second communication devices which communicate with each other.

【0036】第1の通信装置が、通信条件を設定する通
信条件設定モードと通常のデータを送受信する通常デー
タ送信モードとに動作モードを切り替え可能な第1の制
御部と、通信条件設定モード時に第1の制御部からの指
令を受け、通信条件変更要求信号を生成し、通信条件変
更要求信号を送信する通信条件変更要求信号生成部と、
通信条件設定モード時に第1の制御部からの指令を受
け、設定される通信条件に対応した通信条件設定用のデ
ータパターンの生成を行うデータパターン生成部と、通
信条件設定モード時に第1の制御部によって通信条件が
設定されるとともに、データパターン生成部で生成され
た通信条件設定用のデータパターンの送信を行い、通常
データ送受信モード時に通常のデータの送受信を行う第
1のデータ送受信部とを備えている。
In the communication condition setting mode, the first communication device can switch the operation mode between a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting / receiving normal data. A communication condition change request signal generation unit that receives a command from the first control unit, generates a communication condition change request signal, and transmits the communication condition change request signal;
A data pattern generation unit that receives a command from the first control unit in the communication condition setting mode and generates a data pattern for communication condition setting corresponding to the communication condition to be set, and a first control in the communication condition setting mode The communication condition is set by the unit, the data pattern for the communication condition setting generated by the data pattern generation unit is transmitted, and the first data transmission / reception unit that transmits / receives normal data in the normal data transmission / reception mode is provided. I have it.

【0037】第2の通信装置が、通信条件を設定する通
信条件設定モードと通常のデータを送受信する通常デー
タ送信モードとに動作モードを切り替え可能な第2の制
御部と、通信条件変更要求信号生成部から送信された通
信条件変更要求信号を受信したときに第2の制御部に対
して通信条件設定モードに入ることを依頼する通信条件
変更要求信号受信部と、通信条件設定モード時に、第1
のデータ送受信部から送信された通信条件設定用のデー
タパターンの受信を行い、通常データ送受信モード時に
第1のデータ送受信部との間で通常のデータの送受信を
行う第2のデータ送受信部と、通信条件設定用のデータ
パターンを解析する際に必要な解析用情報を保持してい
るデータパターン情報保持部と、通信条件設定モード時
に、データ受信部で受信した通信条件設定用のデータパ
ターンをデータパターン情報保持部の解析用情報をもと
に解析し、その解析結果を第2の制御部に通知し解析結
果に従って通信条件を第2のデータ送受信部に対して設
定させるデータパターン情報解析部とを備えることを特
徴とする。
The second communication device is capable of switching the operation mode between a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting / receiving normal data, and a communication condition change request signal. A communication condition change request signal receiving unit that requests the second control unit to enter the communication condition setting mode when receiving the communication condition change request signal transmitted from the generating unit, and 1
A second data transmission / reception unit that receives a data pattern for communication condition setting transmitted from the data transmission / reception unit and that transmits / receives normal data to / from the first data transmission / reception unit in the normal data transmission / reception mode; The data pattern information holding unit that holds the analysis information required when analyzing the data pattern for communication condition setting and the data pattern for communication condition setting received by the data receiving unit in the communication condition setting mode A data pattern information analysis unit that analyzes based on the analysis information of the pattern information holding unit, notifies the second control unit of the analysis result, and sets the communication condition for the second data transmission / reception unit according to the analysis result; It is characterized by including.

【0038】この構成によれば、第1の通信装置に通信
条件変更要求信号生成部とデータパターン生成部とを設
け、第2の通信装置に通信条件変更要求信号受信部とデ
ータパターン情報保持部とデータパターン情報解析部と
を設けたので、第1および第2の通信装置で通信条件を
自動設定することが可能となる。
According to this structure, the first communication device is provided with the communication condition change request signal generation unit and the data pattern generation unit, and the second communication device is provided with the communication condition change request signal reception unit and the data pattern information holding unit. Since the data pattern information analysis unit is provided, the communication conditions can be automatically set by the first and second communication devices.

【0039】本発明の請求項14記載の通信システム
は、請求項13記載の通信システムにおいて、第1の通
信装置が、通常データ送受信モード時に通信中の通常の
データのトランザクションを監視し、トランザクション
が現在の通信速度に対応して設定されている範囲から外
れたときに、第1の制御部に対して、通信条件の変更を
依頼するトランザクション監視部をさらに備えている。
According to a fourteenth aspect of the present invention, in the communication system according to the thirteenth aspect, the first communication device monitors a normal data transaction during communication in the normal data transmission / reception mode, and the transaction is The system further includes a transaction monitoring unit that requests the first control unit to change the communication condition when the range deviates from the range set corresponding to the current communication speed.

【0040】この構成によれば、第1の通信装置にトラ
ンザクション監視部とを設けたので、通信中においても
第1および第2の通信装置で通信条件の変更が可能であ
る。これによりデータの送受信中においてもデータのト
ランザクションに応じて、最適な通信条件への変更が可
能となる。トランザクションに応じて可能な限り通信速
度を低速にすれば、EMIの低減や消費電力の低減に貢
献することができる。
According to this structure, since the transaction monitoring unit is provided in the first communication device, it is possible to change the communication condition between the first and second communication devices even during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

【0041】[0041]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本発明の実施の形態
における通信条件の自動設定を行う通信システムの構成
を示すブロック図である。図1において、1はPC等の
第1の情報機器で、2は第1の情報機器1と通信を行う
第2の情報機器である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a communication system for automatically setting communication conditions according to the embodiment of the present invention. In FIG. 1, 1 is a first information device such as a PC, and 2 is a second information device that communicates with the first information device 1.

【0042】PC等の第1の情報機器1は、通信装置1
0、入力装置11、表示装置12、記憶装置13、処理
装置14、およびこれらを制御するソフトウェアから構
成されている。
The first information device 1 such as a PC is the communication device 1
0, an input device 11, a display device 12, a storage device 13, a processing device 14, and software for controlling them.

【0043】通信装置10は、制御部100、データ送
受信部101、データパターン生成部102、通信条件
変更要求信号生成部103、トランザクション監視部1
04を有している。
The communication device 10 includes a control unit 100, a data transmission / reception unit 101, a data pattern generation unit 102, a communication condition change request signal generation unit 103, and a transaction monitoring unit 1.
Has 04.

【0044】第2の情報機器2は、通信装置20、入力
装置21、表示装置22、記憶装置23、処理装置2
4、およびこれらを制御するソフトウェアから構成され
ている。
The second information equipment 2 includes a communication device 20, an input device 21, a display device 22, a storage device 23, and a processing device 2.
4 and software that controls them.

【0045】通信装置20は、PC等の第1の情報機器
1とシリアルインターフェースで接続されており、第1
の情報機器1の通信装置10と通信を行うもので、制御
部200、データ送受信部201、データパターン解析
部202、データパターン情報保持部203、通信条件
変更要求信号受信部204から構成される。
The communication device 20 is connected to the first information device 1 such as a PC by a serial interface, and
The communication device 10 communicates with the communication device 10 of the information device 1, and includes a control unit 200, a data transmission / reception unit 201, a data pattern analysis unit 202, a data pattern information holding unit 203, and a communication condition change request signal reception unit 204.

【0046】制御部100は、第1の情報機器1のシリ
アル通信を司る機能を持っており、データ送受信部10
1、データパターン生成部102、通信条件変更要求信
号生成部103、トランザクション監視部104を制御
する機能を持つ。
The control unit 100 has a function of controlling the serial communication of the first information device 1, and the data transmission / reception unit 10
1, it has a function of controlling the data pattern generation unit 102, the communication condition change request signal generation unit 103, and the transaction monitoring unit 104.

【0047】データ送受信部101は、データの送受信
をシリアルインターフェースを用いて行う機能を持って
おり、一般的なUART(Universal Asynchronous Rec
eiver and Transmitter)と同様の構成であり、送信デ
ータレジスタ、受信データレジスタ、通信条件設定レジ
スタ、状態表示レジスタ等からなる。
The data transmission / reception unit 101 has a function of transmitting / receiving data using a serial interface, and has a general UART (Universal Asynchronous Rec
eiver and Transmitter) is the same configuration, consisting of a transmit data register, receive data register, communication condition setting register, status display register, etc.

【0048】データパターン生成部102は、制御部1
00からの指令を受け、通信条件設定用のデータパター
ンの送出を行う。通信条件設定用のデータパターンは、
例えば0と1の二値の繰り返しである。
The data pattern generation unit 102 includes the control unit 1
00, a data pattern for communication condition setting is transmitted. The data pattern for communication condition setting is
For example, it is a binary repetition of 0 and 1.

【0049】通信条件変更要求信号生成部103は、制
御部100からの指令を受け、通信条件変更要求信号を
生成し、第2の情報機器2に対して同信号を送信する機
能を有する。
The communication condition change request signal generation unit 103 has a function of receiving a command from the control unit 100, generating a communication condition change request signal, and transmitting the same signal to the second information device 2.

【0050】トランザクション監視部104は、データ
送受信部101を流れるデータの量(トランザクショ
ン)を監視し、必要があれば制御部100に対して、通
信条件の変更を依頼する機能を持つ。
The transaction monitoring unit 104 has a function of monitoring the amount of data (transaction) flowing through the data transmission / reception unit 101 and requesting the control unit 100 to change the communication conditions if necessary.

【0051】データ通信線105は、第1の情報機器1
と第2の情報機器2との間でシリアルデータ通信を行う
際に利用される信号線であり、送信線、受信線、制御線
等から構成される。
The data communication line 105 is the first information device 1
Is a signal line used when serial data communication is performed between the second information device 2 and the second information device 2, and includes a transmission line, a reception line, a control line, and the like.

【0052】通信条件変更要求信号線106は、第1の
情報機器1から第2の情報機器2に対して通信条件の変
更要求信号を送出する際に利用されるものとする。
The communication condition change request signal line 106 is used when the communication condition change request signal is sent from the first information device 1 to the second information device 2.

【0053】制御部200は、第2の情報機器2のシリ
アル通信を司る機能を持っており、データ送受信部20
1、データパターン解析部202、データパターン情報
保持部203、通信条件変更要求信号受信部204を制
御する機能を持つ。
The control unit 200 has a function of controlling the serial communication of the second information device 2, and the data transmission / reception unit 20.
1, it has a function of controlling the data pattern analysis unit 202, the data pattern information holding unit 203, and the communication condition change request signal reception unit 204.

【0054】データ送受信部201は、データ送受信部
101と同様で、データの送受信をシリアルインターフ
ェースを用いて行う機能を持っている。
The data transmission / reception unit 201 has the same function as that of the data transmission / reception unit 101 for transmitting / receiving data using a serial interface.

【0055】データパターン解析部202は、第1の情
報機器1のデータパターン生成部102が生成した通信
条件設定用のデータパターンをデータパターン情報保持
部203の解析用情報をもとに解析し、その解析結果を
制御部200に通知する。
The data pattern analysis unit 202 analyzes the data pattern for communication condition setting generated by the data pattern generation unit 102 of the first information device 1 based on the analysis information of the data pattern information holding unit 203, The analysis result is notified to the control unit 200.

【0056】データパターン情報保持部203は、デー
タパターン解析部202が通信条件設定用のデータパタ
ーンを解析する際に必要な解析用情報を保持している。
The data pattern information holding unit 203 holds the analysis information required when the data pattern analysis unit 202 analyzes the communication condition setting data pattern.

【0057】通信条件変更要求信号受信部204は、通
信条件変更要求信号生成部103からの通信条件変更要
求信号を受信し、制御部200に対して、通信条件設定
モードに入ることを依頼する機能を有する。なお、第1
の情報機器1の通信条件変更要求信号生成部103と、
第2の情報機器2の通信条件変更要求信号受信部204
とは通信条件変更線106を介してハードウェア的に結
線されているものとする。
The communication condition change request signal receiving unit 204 receives the communication condition change request signal from the communication condition change request signal generating unit 103 and requests the control unit 200 to enter the communication condition setting mode. Have. The first
A communication condition change request signal generation unit 103 of the information device 1,
Communication condition change request signal reception unit 204 of second information device 2
Is assumed to be connected by hardware via the communication condition change line 106.

【0058】つぎに、このように構成された本実施の形
態の動作で、通信開始時における通信条件の自動設定の
動作をフローチャートを用いて説明する。図2のフロー
チャートは第1の情報機器1の動作を示し、図3のフロ
ーチャートは第2の情報機器2の動作を示す。
Next, an operation of automatically setting communication conditions at the start of communication in the operation of this embodiment having the above-described configuration will be described with reference to a flowchart. The flowchart of FIG. 2 shows the operation of the first information device 1, and the flowchart of FIG. 3 shows the operation of the second information device 2.

【0059】(ステップS1)シリアル通信の開始に先
立ち、第1の情報機器1の制御部100はデータ送受信
部101の初期化を行い、通信条件の設定を行う(通信
条件設定モード)。同時に、トランザクション監視部1
04に、通信速度等の通信条件を通知する。つぎに、制
御部100は通信条件変更要求信号生成部103に第2
の情報機器2への通信条件変更要求信号の送出を指示す
る。上記の初期化の際の通信条件は、できるだけ低速と
し、EMIの低減や消費電力の低減を図るように設定さ
れる。
(Step S1) Prior to the start of serial communication, the control unit 100 of the first information device 1 initializes the data transmission / reception unit 101 and sets communication conditions (communication condition setting mode). At the same time, the transaction monitoring unit 1
The communication conditions such as the communication speed are notified to 04. Next, the control unit 100 causes the communication condition change request signal generation unit 103 to perform the second operation.
To send the communication condition change request signal to the information device 2. The communication conditions at the time of the above initialization are set as low as possible and are set so as to reduce EMI and power consumption.

【0060】(ステップS2)第1の情報機器1の制御
部100からの指示を受けた第1の情報機器1の通信条
件変更要求信号生成部103は、予めLowレベルであ
った通信条件変更要求信号線106をHighレベルに
することにより、第2の情報機器2に対して通信条件設
定モードに入ることを通知する。
(Step S2) The communication condition change request signal generation unit 103 of the first information device 1 that has received the instruction from the control unit 100 of the first information device 1 requests the communication condition change request that was previously at the Low level. By setting the signal line 106 to the high level, the second information device 2 is notified that the communication condition setting mode is entered.

【0061】(ステップS3)第2の情報機器2の通信
条件変更要求信号受信部204は、通信条件変更要求信
号を受信すると、すなわち通信条件変更要求信号線10
6がHighレベルになったことを検知すると、制御部
200に対して通信条件設定モードに入ることを依頼す
る。これを受けて第2の情報機器2の制御部200は通
信条件設定モードに入る。また、制御部200は、デー
タ送受信部201を通信条件の最高速度をもって初期化
を行う。通信条件設定モードでは、第2の情報機器2は
データ通信線105から入る信号をデータパターン解析
部202で解析できる状態となる。
(Step S3) When the communication condition change request signal receiving unit 204 of the second information device 2 receives the communication condition change request signal, that is, the communication condition change request signal line 10
When detecting that 6 has become High level, the control unit 200 is requested to enter the communication condition setting mode. In response to this, the control unit 200 of the second information device 2 enters the communication condition setting mode. Further, the control unit 200 initializes the data transmitting / receiving unit 201 at the maximum speed of the communication conditions. In the communication condition setting mode, the second information device 2 is in a state in which the signal input from the data communication line 105 can be analyzed by the data pattern analysis unit 202.

【0062】(ステップS4)第1の情報機器1の制御
部100はデータパターン生成部102に、通信条件設
定用のデータパターンの送出を依頼する。上記の依頼を
受けてデータパターン生成部102は、通信条件設定用
のデータパターンをデータ送受信部101を通してデー
タ通信線105上に送信する。
(Step S4) The control unit 100 of the first information device 1 requests the data pattern generation unit 102 to send out the data pattern for setting the communication condition. In response to the above request, the data pattern generation unit 102 transmits the data pattern for communication condition setting to the data communication line 105 via the data transmission / reception unit 101.

【0063】(ステップS5)第2の情報機器2のデー
タパターン解析部202は、データ送受信部201を通
して、第1の情報機器1のデータパターン生成部102
から送信されてきたデータパターンの解析をデータパタ
ーン情報保持部203に保持されているデータを用いて
行い、通信条件の特定を行う。
(Step S5) The data pattern analysis unit 202 of the second information device 2 passes the data transmission / reception unit 201, and the data pattern generation unit 102 of the first information device 1
The data pattern transmitted from is analyzed using the data held in the data pattern information holding unit 203 to specify the communication condition.

【0064】ここで、通信条件設定用のデータパターン
の解析方法を図4のフローチャートと図5とを用いて以
下に説明する。図4のフローチャートに示すように、第
2の情報機器2のデータパターン解析部202は、受信
した通信条件設定用のデータパターンから通信速度を解
析する。第2の情報機器2の通信速度は通信条件の最高
速度(例えば、38400bps)で初期化されてい
る。
Now, a method of analyzing a data pattern for setting communication conditions will be described below with reference to the flowchart of FIG. 4 and FIG. As shown in the flowchart of FIG. 4, the data pattern analysis unit 202 of the second information device 2 analyzes the communication speed from the received data pattern for communication condition setting. The communication speed of the second information device 2 is initialized to the maximum communication condition speed (for example, 38400 bps).

【0065】いま、設定用のデータパターンは0と1の
二値の繰り返しであるので、第1の情報機器1が最高速
度すなわち38400bpsでデータパターンを送信し
た場合、第2の情報機器2での受信データは図5(a)
のようになる。すなわち、受信データは0101の繰り
返しとなる。このことから、第2の情報機器2のデータ
パターン解析部202は第1の情報機器1が送信してい
る通信速度を最高速度すなわち38400bpsである
と判断する。
Since the data pattern for setting is a binary repetition of 0 and 1, when the first information device 1 transmits the data pattern at the maximum speed, that is, 38400 bps, the second information device 2 operates. The received data is shown in Figure 5 (a).
become that way. That is, the received data is a repetition of 0101. From this, the data pattern analysis unit 202 of the second information device 2 determines that the communication speed transmitted by the first information device 1 is the maximum speed, that is, 38400 bps.

【0066】また、第1の情報機器1が最高速度の1/
2の速度すなわち19200bpsでデータパターンを
送信した場合、第2の情報機器2での受信データは図5
(b)のようになる。すなわち、受信データは0011
0011の繰り返しとなる。このことから、第2の情報
機器2のデータパターン解析部202は第1の情報機器
1が送信している通信速度を最高速度の1/2、すなわ
ち19200bpsであると判断する。
In addition, the first information device 1 has a maximum speed of 1 /
When the data pattern is transmitted at the speed of 2, that is, 19200 bps, the received data in the second information device 2 is as shown in FIG.
It becomes like (b). That is, the received data is 0011
0011 is repeated. From this, the data pattern analysis unit 202 of the second information device 2 determines that the communication speed transmitted by the first information device 1 is 1/2 of the maximum speed, that is, 19200 bps.

【0067】同様に、第1の情報機器1が最高速度の1
/4の速度すなわち9600bpsでデータパターンを
送信した場合、第2の情報機器2での受信データは図5
(c)のようになる。すなわち、受信データは0000
111100001111の繰り返しとなる。このこと
から、第2の情報機器2のデータパターン解析部202
は第1の情報機器1が送信している通信速度を最高速度
の1/4、すなわち9600bpsであると判断する。
Similarly, the first information device 1 has a maximum speed of 1
When a data pattern is transmitted at a speed of / 4, that is, 9600 bps, the received data in the second information device 2 is as shown in FIG.
It becomes like (c). That is, the received data is 0000
111100001111 is repeated. From this, the data pattern analysis unit 202 of the second information device 2
Determines that the communication speed transmitted by the first information device 1 is ¼ of the maximum speed, that is, 9600 bps.

【0068】このように、第2の情報機器2のデータパ
ターン解析部202は、第1の情報機器1から送信され
た通信条件設定信号の受信結果を解析することにより、
通信速度を特定することができる。第2の情報機器2の
データパターン解析部202は、データパターンの解析
ができるまで、順次候補を変えてデータパターンの解析
を繰り返す。解析ができなかった場合には、再び第1の
情報機器1から通信条件設定用のデータパターンが送信
されるのを待ち、同データパターンを受信後に、いま説
明したものと同様の方法で解析を行う。
As described above, the data pattern analysis unit 202 of the second information device 2 analyzes the reception result of the communication condition setting signal transmitted from the first information device 1 to
The communication speed can be specified. The data pattern analysis unit 202 of the second information device 2 repeats the analysis of the data pattern by sequentially changing the candidates until the data pattern can be analyzed. If the analysis is not possible, wait for the data pattern for communication condition setting to be transmitted from the first information device 1 again, and after receiving the data pattern, perform the analysis by the same method as described above. To do.

【0069】(ステップS6)図3に戻って、第2の情
報機器2の制御部200は、ステップS5で特定された
通信条件をもって、データ送受信部201の設定を行
う。つぎに、第2の情報機器2の制御部200は、第1
の情報機器1に対して、あらかじめ決められた設定完了
のデータパターンを送信する。
(Step S6) Returning to FIG. 3, the control unit 200 of the second information device 2 sets the data transmission / reception unit 201 under the communication conditions specified in Step S5. Next, the control unit 200 of the second information device 2 is
A predetermined data pattern of completion of setting is transmitted to the information device 1.

【0070】(ステップS7)第1の情報機器1の制御
部100は、第2の情報機器2からの設定完了データパ
ターンを受け取ると、Highレベルであった通信条件
変更要求信号線106をLowレベルにし、データ通信
を開始する(通常データ通信モード)。第2の情報機器
2は、通信条件変更要求信号線106がLowレベルに
なったことを検知し、通常データ送受信モードに入る。
以後、これまでに説明した方法によって設定された通信
条件で、第1の情報機器1と第2の情報機器2はシリア
ル通信を行う。
(Step S7) Upon receiving the setting completion data pattern from the second information device 2, the control section 100 of the first information device 1 sets the communication condition change request signal line 106, which was at the high level, to the low level. To start data communication (normal data communication mode). The second information device 2 detects that the communication condition change request signal line 106 has become Low level, and enters the normal data transmission / reception mode.
After that, the first information device 1 and the second information device 2 perform serial communication under the communication conditions set by the method described so far.

【0071】なお、第1の情報機器1が通信条件変更線
106をHighレベルにしてから一定時間の間に、第
2の情報機器2から設定完了データパターンを受信でき
なかった場合は、データパターン生成部12は、再度、
通信条件設定用のデータパターンをデータ送受信部10
1を通してデータ通信線105上に送信する。
If the first information device 1 cannot receive the setting completion data pattern from the second information device 2 within a certain time after the communication condition change line 106 is set to the high level, the data pattern The generation unit 12 again
The data transmitting / receiving unit 10 sets the data pattern for setting the communication conditions.
1 through the data communication line 105.

【0072】つぎに、通信中における通信条件の変更の
動作を図6のフローチャートを用いて説明する。第1の
情報機器1と第2の情報機器2が通信中には、第1の情
報機器1のトランザクション監視部104はデータ送受
信部101を流れるデータ量を常に監視している。トラ
ンザクション監視部104は、第1の情報機器1と第2
の情報機器2の間の通信速度を第1の情報機器1のデー
タ送受信部101の初期化の際に制御部100から通知
を受けており、既知である。通信速度が分かれば、単位
時間当たりに伝送できる情報量は一意的に決定される。
例えば、通信速度が9600bps(bit per second)
であれば、1秒間に伝送できるデータ量は1200バイ
トである。
Next, the operation of changing the communication condition during communication will be described with reference to the flowchart of FIG. During communication between the first information device 1 and the second information device 2, the transaction monitoring unit 104 of the first information device 1 constantly monitors the amount of data flowing through the data transmitting / receiving unit 101. The transaction monitoring unit 104 includes a first information device 1 and a second information device 1.
The communication speed between the information devices 2 is known from the control unit 100 when the data transmission / reception unit 101 of the first information device 1 is initialized. If the communication speed is known, the amount of information that can be transmitted per unit time is uniquely determined.
For example, the communication speed is 9600 bps (bit per second)
If so, the amount of data that can be transmitted in one second is 1200 bytes.

【0073】トランザクション監視部104は、データ
送受信部101を流れるデータ量と設定された通信速度
で単位時間当たりに伝送可能なデータ量に対して、あら
かじめ上限(ハイウオーターマーク)と下限(ローウオ
ーターマーク)を決めておく。この値は初めから決めら
れていても良いし、適宜ユーザが変更することが可能で
あっても良く、その値は任意に設定可能である。
The transaction monitoring unit 104 preliminarily sets an upper limit (high water mark) and a lower limit (low water mark) for the amount of data flowing through the data transmitting / receiving unit 101 and the amount of data that can be transmitted per unit time at a set communication speed. ) Is decided. This value may be determined from the beginning or may be changed by the user as appropriate, and the value may be set arbitrarily.

【0074】データ送受信部101を流れるデータ量が
上限を上回った場合、トランザクション監視部104は
制御部100に対して、通信速度を設定されているもの
よりも高速にすることを依頼する。また逆に、単位時間
当たりにデータ送受信部101を流れるデータ量が下限
を下回った場合、トランザクション監視部104は制御
部100に対して、通信速度を現在設定されているもの
よりも低速にすることを依頼する。
When the amount of data flowing through the data transmission / reception unit 101 exceeds the upper limit, the transaction monitoring unit 104 requests the control unit 100 to set the communication speed higher than that set. On the contrary, when the amount of data flowing through the data transmitting / receiving unit 101 per unit time falls below the lower limit, the transaction monitoring unit 104 sets the communication speed of the control unit 100 to be lower than that currently set. Ask.

【0075】例えば、ハイウオーターマークを90%、
ローウオーターマークを20%とすると、先の通信速度
を9600bpsとした場合では次のような動作とな
る。データ送受信部101を流れるデータが1秒間に1
080バイト以上の場合、トランザクション監視部10
4は、通信速度を現在設定されているものよりも高速に
することを制御部100に依頼する。逆に、データ送受
信部101を流れるデータが1秒間に240バイト以下
の場合、トランザクション監視部104は、通信速度を
現在設定されているものよりも低速にすることを制御部
100に依頼する。トランザクション監視部104から
通信速度の変更の依頼を受けた制御部100は、通信条
件の変更を開始する。
For example, the high water mark is 90%,
When the low water mark is 20%, the following operation is performed when the previous communication speed is 9600 bps. The data flowing through the data transmitting / receiving unit 101 is 1 per second.
If it is 080 bytes or more, the transaction monitoring unit 10
4 requests the control unit 100 to set the communication speed higher than the currently set one. On the contrary, when the data flowing through the data transmitting / receiving unit 101 is 240 bytes or less per second, the transaction monitoring unit 104 requests the control unit 100 to set the communication speed lower than the currently set one. Upon receiving the request for changing the communication speed from the transaction monitoring unit 104, the control unit 100 starts changing the communication condition.

【0076】通信中における、通信条件の変更はつぎの
ように行われる。
The communication conditions are changed during communication as follows.

【0077】(ステップS1)第1の情報機器1の制御
部100は、データ送受信部101のデータ通信を中断
させる。つぎに、第1の情報機器1の制御部100は、
データ送受信部101の初期化を行い、新たな通信条件
をもって設定を行う。同時に、トランザクション監視部
104に、通信条件を通知する。つぎに、制御部100
は通信条件変更要求信号生成部103に第2の情報機器
2への通信条件変更要求信号の送出を指示する。以下、
ステップS2からステップS7は前述したものと同様で
ある(図2および図3参照)。
(Step S1) The control unit 100 of the first information device 1 suspends the data communication of the data transmitting / receiving unit 101. Next, the control unit 100 of the first information device 1
The data transmission / reception unit 101 is initialized, and settings are made with new communication conditions. At the same time, the transaction monitoring unit 104 is notified of the communication conditions. Next, the control unit 100
Instructs the communication condition change request signal generation unit 103 to send the communication condition change request signal to the second information device 2. Less than,
Steps S2 to S7 are the same as those described above (see FIGS. 2 and 3).

【0078】なお、発明の実施の形態では、第1の情報
機器1の通信条件変更要求信号生成部103と、第2の
情報機器2の通信条件変更要求信号受信部204とは通
信条件変更線106を介してハードウェア的に結線され
ているものとして説明したが、この通信条件変更線10
6を省くことも可能である。すなわち、データ送受信線
(データ通信線105)を用いて、通信条件の変更を通
知することも可能である。
In the embodiment of the invention, the communication condition change request signal generation unit 103 of the first information device 1 and the communication condition change request signal reception unit 204 of the second information device 2 are connected to each other via a communication condition change line. Although it has been described that the hardware is connected via 106, the communication condition changing line 10
It is also possible to omit 6. That is, it is possible to notify the change of the communication condition by using the data transmission / reception line (data communication line 105).

【0079】例えば、データ送受信線(データ通信線1
05)に0と1の中間値を通信条件変更要求信号として
送信する方法や、シリアル通信で用いるものよりも極端
に周波数が高い信号を通信条件変更要求信号として送信
する方法が考えられる。この場合、通信条件変更要求信
号生成部103は0と1の中間値や極端に周波数が高い
信号を生成する機能を有している。また、通信条件変更
要求信号受信部204は0と1の中間値や極端に周波数
が高い信号を受信したら、制御部200に対して、通信
条件設定モードに入ることを依頼する機能を有してい
る。
For example, a data transmission / reception line (data communication line 1
There may be a method of transmitting an intermediate value between 0 and 1 in 05) as a communication condition change request signal, and a method of transmitting a signal having a frequency extremely higher than that used in serial communication as a communication condition change request signal. In this case, the communication condition change request signal generation unit 103 has a function of generating an intermediate value between 0 and 1 or a signal having an extremely high frequency. Further, the communication condition change request signal receiving unit 204 has a function of requesting the control unit 200 to enter the communication condition setting mode when it receives an intermediate value between 0 and 1 or a signal having an extremely high frequency. There is.

【0080】このように、第1の情報機器1から第2の
情報機器2に通信条件の変更を依頼し、第2の情報機器
2がそれを受け、通信条件を変更する装置および方法で
あれば本発明は適用される。
As described above, the first information device 1 requests the second information device 2 to change the communication condition, and the second information device 2 receives the request and changes the communication condition. For example, the present invention is applicable.

【0081】また、発明の実施の形態では、第1の情報
機器1は通信条件の変更依頼を行う機能を有し、第2の
情報機器2は通信条件の変更依頼を受け付ける機能を有
するものとして説明を行ったが、第2の情報機器2が通
信条件の変更依頼を行う機能を有し、第1の情報機器1
が通信条件の変更を受け付ける機能を有する場合であっ
ても本発明は適用される。
In the embodiment of the invention, it is assumed that the first information device 1 has a function of making a request for changing communication conditions, and the second information device 2 has a function of receiving a request for changing communication conditions. As described above, the second information device 2 has a function of requesting a change in communication conditions, and the first information device 1
The present invention can be applied even when has a function of accepting a change in communication conditions.

【0082】さらに、第1の情報機器1および第2の情
報機器2がそれぞれ通信条件の変更依頼を行う機能と通
信条件の変更依頼を受け付ける機能の双方を併せ持つ場
合にも適用される。
Furthermore, the present invention is also applied to the case where the first information device 1 and the second information device 2 each have both a function for requesting a change in communication conditions and a function for accepting a request for change in communication conditions.

【0083】以上に説明したように、本発明の通信条件
の自動設定方法は、複数の情報機器間でシリアル通信を
行う場合において、通信の開始に先立って通信条件を設
定する際に、送信側の通信装置は通信条件変更要求信号
を送出する。この通信条件変更要求信号を受けた受信側
の通信装置は、通信条件設定モードに入る。続いて、送
信側の通信装置は通信条件設定用のデータパターンを送
出し、受信側の通信装置はこのデータパターンを解析す
る。受信側の通信装置ではこのデータパターンから通信
条件を決定し、通信条件の設定を自動で行う。また、通
信中に通信条件変更要求信号を送出することによって、
通信中にもトランザクションに応じて通信条件を変更す
ることも可能となる。
As described above, in the communication condition automatic setting method of the present invention, when serial communication is performed between a plurality of information devices, when the communication conditions are set prior to the start of communication, the transmitting side The communication device sends a communication condition change request signal. The communication device on the receiving side that has received this communication condition change request signal enters the communication condition setting mode. Then, the communication device on the transmission side sends out a data pattern for setting communication conditions, and the communication device on the reception side analyzes this data pattern. The communication device on the receiving side determines the communication condition from this data pattern and automatically sets the communication condition. Also, by sending a communication condition change request signal during communication,
It is also possible to change the communication conditions according to the transaction even during communication.

【0084】なお、上記の実施の形態では、通信開始初
期の通信条件の設定と、通信中のトランザクションの変
化に伴う通信条件の設定変更の両方を実行するものにつ
いて説明したが、通信開始初期の通信条件の設定のみを
自動設定し、通信中は通信条件を変更しないものも実施
の形態として含む。また、初期の通信条件の設定につい
ては、上記の実施の形態のような構成をとらず、トラン
ザクションの変化に応じて通信条件の設定変更を行うと
きにのみ、上記のような自動設定を行う場合も実施の形
態として含む。
In the above embodiment, the setting of the communication condition at the initial stage of the communication start and the setting change of the communication condition due to the change of the transaction during the communication are both executed. The embodiment includes a case where only the setting of the communication condition is automatically set and the communication condition is not changed during the communication. Further, in the case of setting the initial communication condition, when the automatic setting as described above is performed only when the setting of the communication condition is changed according to the change of the transaction without taking the configuration of the above embodiment. Is also included as an embodiment.

【0085】[0085]

【発明の効果】本発明によれば、通信条件を自動設定す
ることが可能となる。また、通信中においても通信条件
の変更が可能である。これによりデータの送受信中にお
いてもデータのトランザクションに応じて、最適な通信
条件への変更が可能となる。トランザクションに応じて
可能な限り通信速度を低速にすれば、EMIの低減や消
費電力の低減に貢献することができる。
According to the present invention, communication conditions can be automatically set. Also, the communication conditions can be changed during communication. As a result, it is possible to change to the optimum communication condition according to the transaction of the data even during the data transmission / reception. By reducing the communication speed as low as possible according to the transaction, it is possible to contribute to the reduction of EMI and power consumption.

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

【図1】通信条件の自動設定を行う通信システムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication system that automatically sets communication conditions.

【図2】第1の情報機器1の動作を示すフローチャート
である。
FIG. 2 is a flowchart showing an operation of the first information device 1.

【図3】第2の情報機器2の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing an operation of the second information device 2.

【図4】通信条件設定用データパターンの解析方法を示
すフローチャートである。
FIG. 4 is a flowchart showing a method for analyzing a communication condition setting data pattern.

【図5】通信条件設定用のデータパターンの解析方法を
説明するための波形図である。
FIG. 5 is a waveform diagram for explaining a method of analyzing a data pattern for setting communication conditions.

【図6】通信中における通信条件の変更の動作を示すフ
ローチャートである。
FIG. 6 is a flowchart showing an operation of changing communication conditions during communication.

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

1 第1の情報機器 10 通信装置 11 入力装置 12 表示装置 13 記憶装置 14 処理装置 100 制御部 101 データ送受信部 102 データパターン生成部 103 通信条件変更要求信号生成部 104 トランザクション監視部 105 データ通信線 106 通信条件変更要求信号線 2 第2の情報機器 20 通信装置 21 入力装置 22 表示装置 23 記憶装置 24 処理装置 200 制御部 201 データ送受信部 202 データパターン解析部 203 データパターン情報保持部 204 通信条件変更要求信号受信部 1st information equipment 10 Communication device 11 Input device 12 Display 13 Storage device 14 Processor 100 control unit 101 data transceiver 102 data pattern generator 103 communication condition change request signal generation unit 104 transaction monitor 105 data communication line 106 communication condition change request signal line 2 Second information equipment 20 communication devices 21 Input device 22 Display 23 Storage 24 processor 200 Control unit 201 Data transceiver 202 Data pattern analysis unit 203 data pattern information holding unit 204 Communication condition change request signal receiver

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 通信の開始に先立って通信条件を設定
し、他の通信装置に対して通信条件の設定を要求すると
ともに通信条件設定用のデータパターンを前記他の通信
装置へ送ることを特徴とする通信条件の自動設定方法。
1. A communication condition is set prior to the start of communication, a communication condition setting is requested to another communication device, and a data pattern for communication condition setting is sent to the other communication device. How to automatically set communication conditions.
【請求項2】 通信中にデータのトランザクションを監
視しデータのトランザクションに応じて通信条件を設定
変更し、他の通信装置に対して通信条件の設定変更を要
求するとともに通信条件設定用のデータパターンを前記
他の通信装置へ送ることを特徴とする通信条件の自動設
定方法。
2. A data pattern for monitoring a data transaction during communication, changing the communication condition setting according to the data transaction, requesting another communication device to change the communication condition setting, and setting the communication condition. Is sent to the other communication device.
【請求項3】 通信の開始に先立って通信条件を設定
し、他の通信装置に対して通信条件の設定を要求すると
ともに通信条件設定用のデータパターンを前記他の通信
装置へ送り、通信中にデータのトランザクションを監視
しデータのトランザクションに応じて通信条件を設定変
更し、前記他の通信装置に対して通信条件の設定変更を
要求するとともに通信条件設定用のデータパターンを前
記他の通信装置へ送ることを特徴とする通信条件の自動
設定方法。
3. A communication condition is set prior to the start of communication, a communication condition setting request is made to another communication device, and a data pattern for communication condition setting is sent to the other communication device to perform communication. To monitor the data transaction, change the communication condition setting according to the data transaction, request the other communication device to change the communication condition setting, and set the communication condition data pattern to the other communication device. A method for automatically setting communication conditions, which is characterized by sending to.
【請求項4】 通信の開始に先立って通信条件の設定の
要求を受け付けるとともに、他の通信装置から通信条件
設定用のデータパターンを受け取り、前記データパター
ンを解析し、前記データパターンの解析結果に従って通
信条件の設定を行うことを特徴とする通信条件の自動設
定方法。
4. A communication condition setting request is received prior to the start of communication, a data pattern for communication condition setting is received from another communication device, the data pattern is analyzed, and the data pattern is analyzed according to the analysis result. A method for automatically setting communication conditions, characterized by setting communication conditions.
【請求項5】 通信中に他の通信装置から通信条件の設
定変更の要求があったときに、前記通信条件の設定変更
の要求を受け付けるとともに、前記他の通信装置から通
信条件設定用のデータパターンを受け取り、前記データ
パターンを解析し、前記データパターンの解析結果に従
って通信条件の設定変更を行うことを特徴とする通信条
件の自動設定方法。
5. When a communication condition setting change request is received from another communication device during communication, the communication condition setting change request is accepted and the communication condition setting data is received from the other communication device. An automatic communication condition setting method comprising receiving a pattern, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern.
【請求項6】 通信の開始に先立って通信条件の設定の
要求を受け付けるとともに、他の通信装置から通信条件
設定用のデータパターンを受け取り、前記データパター
ンを解析し、前記データパターンの解析結果に従って通
信条件の設定を行い、通信中に前記他の通信装置から通
信条件の設定変更の要求があったときに、前記通信条件
の設定変更の要求を受け付けるとともに、前記他の通信
装置から通信条件設定用のデータパターンを受け取り、
前記データパターンを解析し、前記データパターンの解
析結果に従って通信条件の設定変更を行うことを特徴と
する通信条件の自動設定方法。
6. A communication condition setting request is received prior to the start of communication, a data pattern for communication condition setting is received from another communication device, the data pattern is analyzed, and the data pattern is analyzed according to the analysis result. The communication condition is set, and when the communication condition setting change request is received from the other communication device during communication, the communication condition setting change request is accepted and the communication condition setting is performed from the other communication device. Receive the data pattern for
A method for automatically setting communication conditions, characterized by analyzing the data pattern and changing the setting of the communication condition according to the analysis result of the data pattern.
【請求項7】 第1の通信装置で、通信の開始に先立っ
て通信条件を設定し、第2の通信装置に対して通信条件
の設定を要求するとともに通信条件設定用のデータパタ
ーンを前記第2の通信装置へ送り、前記第2の通信装置
で、通信の開始に先立って前記通信条件の設定の要求を
受け付けるとともに、前記第2の通信装置から通信条件
設定用のデータパターンを受け取り、前記データパター
ンを解析し、前記データパターンの解析結果に従って通
信条件の設定を行うことを特徴とする通信条件の自動設
定方法。
7. The first communication device sets a communication condition prior to the start of communication, requests the second communication device to set the communication condition, and sets a data pattern for setting the communication condition to the first communication device. To the second communication device, the second communication device receives a request for setting the communication condition prior to the start of communication, and receives a data pattern for communication condition setting from the second communication device. An automatic communication condition setting method, characterized in that a data pattern is analyzed and communication conditions are set according to the analysis result of the data pattern.
【請求項8】 第1の通信装置で、通信中にデータのト
ランザクションを監視しデータのトランザクションに応
じて通信条件を設定変更し、第2の通信装置に対して通
信条件の設定変更を要求するとともに通信条件設定用の
データパターンを前記第2の通信装置へ送り、前記第2
の通信装置で、通信中に前記第1の通信装置から通信条
件の設定変更の要求があったときに、前記通信条件の設
定変更の要求を受け付けるとともに、前記第2の通信装
置から通信条件設定用のデータパターンを受け取り、前
記データパターンを解析し、前記データパターンの解析
結果に従って通信条件の設定変更を行うことを特徴とす
る通信条件の自動設定方法。
8. The first communication device monitors a data transaction during communication, changes the communication condition setting according to the data transaction, and requests the second communication device to change the communication condition setting. Together with sending a data pattern for setting communication conditions to the second communication device,
In the communication device, when a request for changing the setting of the communication condition is received from the first communication device during communication, the request for changing the setting of the communication condition is accepted, and the communication condition setting is performed from the second communication device. An automatic communication condition setting method, comprising: receiving a data pattern for use in communication, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern.
【請求項9】 第1の通信装置で、通信の開始に先立っ
て通信条件を設定し、第2の通信装置に対して通信条件
の設定を要求するとともに通信条件設定用のデータパタ
ーンを前記第2の通信装置へ送り、前記第2の通信装置
で、通信の開始に先立って前記通信条件の設定の要求を
受け付けるとともに、前記第2の通信装置から通信条件
設定用のデータパターンを受け取り、前記データパター
ンを解析し、前記データパターンの解析結果に従って通
信条件の設定を行い、 前記第1の通信装置で、通信中にデータのトランザクシ
ョンを監視しデータのトランザクションに応じて通信条
件を設定変更し、第2の通信装置に対して通信条件の設
定変更を要求するとともに通信条件設定用のデータパタ
ーンを前記第2の通信装置へ送り、前記第2の通信装置
で、通信中に前記第1の通信装置から通信条件の設定変
更の要求があったときに、前記通信条件の設定変更の要
求を受け付けるとともに、前記第2の通信装置から通信
条件設定用のデータパターンを受け取り、前記データパ
ターンを解析し、前記データパターンの解析結果に従っ
て通信条件の設定変更を行うことを特徴とする通信条件
の自動設定方法。
9. The first communication device sets a communication condition prior to the start of communication, requests the second communication device to set the communication condition, and sets a data pattern for setting the communication condition to the first communication device. To the second communication device, the second communication device receives a request for setting the communication condition prior to the start of communication, and receives a data pattern for communication condition setting from the second communication device. Analyzing the data pattern, setting the communication conditions according to the analysis result of the data pattern, in the first communication device, monitor the transaction of data during communication, and change the setting of the communication condition according to the transaction of data, The second communication device is requested to change the setting of the communication condition, and a data pattern for setting the communication condition is sent to the second communication device, and the second communication is performed. When the communication condition setting change request is received from the first communication device during communication, the communication condition setting change request is accepted and the second communication device sets the communication condition setting condition. An automatic communication condition setting method, comprising: receiving a data pattern, analyzing the data pattern, and changing the setting of the communication condition according to the analysis result of the data pattern.
【請求項10】 通信条件を設定する通信条件設定モー
ドと通常のデータを送受信する通常データ送信モードと
に動作モードを切り替え可能な制御部と、 前記通信条件設定モード時に前記制御部からの指令を受
け、通信条件変更要求信号を生成し、前記通信条件変更
要求信号を送信する通信条件変更要求信号生成部と、 前記通信条件設定モード時に前記制御部からの指令を受
け、設定される通信条件に対応した通信条件設定用のデ
ータパターンの生成を行うデータパターン生成部と、 前記通信条件設定モード時に前記制御部によって通信条
件が設定されるとともに、前記データパターン生成部で
生成された前記通信条件設定用のデータパターンの送信
を行い、通常データ送受信モード時に通常のデータの送
受信を行うデータ送受信部とを備えた通信装置。
10. A control unit capable of switching an operation mode between a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting / receiving normal data, and a command from the control unit in the communication condition setting mode. Receiving, generating a communication condition change request signal, and transmitting a communication condition change request signal, a communication condition change request signal generation unit, and receiving a command from the control unit in the communication condition setting mode to set a communication condition A data pattern generation unit that generates a corresponding data pattern for communication condition setting, and the communication condition setting generated by the data pattern generation unit while the communication condition is set by the control unit in the communication condition setting mode Equipped with a data transmission / reception unit that transmits data patterns for use in normal data transmission / reception mode Communication device.
【請求項11】 前記通常データ送受信モード時に通信
中の通常のデータのトランザクションを監視し、前記ト
ランザクションが現在の通信速度に対応して設定されて
いる範囲から外れたときに、前記制御部に対して、通信
条件の変更を依頼するトランザクション監視部をさらに
備えた請求項10記載の通信装置。
11. A transaction of normal data during communication in the normal data transmission / reception mode is monitored, and when the transaction deviates from a range set corresponding to the current communication speed, the control unit is notified. The communication device according to claim 10, further comprising a transaction monitoring unit that requests a change in communication conditions.
【請求項12】 通信条件を設定する通信条件設定モー
ドと通常のデータを送受信する通常データ送信モードと
に動作モードを切り替え可能な制御部と、 通信条件変更要求信号を受信したときに前記制御部に対
して前記通信条件設定モードに入ることを依頼する通信
条件変更要求信号受信部と、 前記通信条件設定モード時に、通信条件設定用のデータ
パターンの受信を行い、通常データ送受信モード時に通
常のデータの送受信を行うデータ送受信部と、 前記通信条件設定用のデータパターンを解析する際に必
要な解析用情報を保持しているデータパターン情報保持
部と、 前記通信条件設定モード時に、前記データ受信部で受信
した前記通信条件設定用のデータパターンを前記データ
パターン情報保持部の解析用情報をもとに解析し、その
解析結果を前記制御部に通知し前記解析結果に従って通
信条件を前記データ送受信部に対して設定させるデータ
パターン情報解析部とを備えた通信装置。
12. A control unit capable of switching an operation mode between a communication condition setting mode for setting communication conditions and a normal data transmission mode for transmitting and receiving normal data, and the control unit when a communication condition change request signal is received. To the communication condition setting request signal receiving unit for requesting to enter the communication condition setting mode, and receiving the data pattern for communication condition setting in the communication condition setting mode, and receiving the normal data in the normal data transmitting / receiving mode. A data transmission / reception unit that transmits and receives data, a data pattern information holding unit that holds information for analysis required when analyzing the data pattern for setting the communication conditions, and the data receiving unit in the communication condition setting mode The data pattern for communication condition setting received by the above is analyzed based on the analysis information of the data pattern information holding unit, and its solution is obtained. Communication apparatus and a data pattern information analysis unit for the communication conditions according to the notification by the analysis result to the controller the results set for the data transmission and reception unit.
【請求項13】 相互間で通信を行う第1および第2の
通信装置とで構成され、 前記第1の通信装置が、通信条件を設定する通信条件設
定モードと通常のデータを送受信する通常データ送信モ
ードとに動作モードを切り替え可能な第1の制御部と、 前記通信条件設定モード時に前記第1の制御部からの指
令を受け、通信条件変更要求信号を生成し、前記通信条
件変更要求信号を送信する通信条件変更要求信号生成部
と、 前記通信条件設定モード時に前記第1の制御部からの指
令を受け、設定される通信条件に対応した通信条件設定
用のデータパターンの生成を行うデータパターン生成部
と、 前記通信条件設定モード時に前記第1の制御部によって
通信条件が設定されるとともに、前記データパターン生
成部で生成された前記通信条件設定用のデータパターン
の送信を行い、通常データ送受信モード時に通常のデー
タの送受信を行う第1のデータ送受信部とを備え、 前記第2の通信装置が、通信条件を設定する通信条件設
定モードと通常のデータを送受信する通常データ送信モ
ードとに動作モードを切り替え可能な第2の制御部と、 前記通信条件変更要求信号生成部から送信された前記通
信条件変更要求信号を受信したときに前記第2の制御部
に対して前記通信条件設定モードに入ることを依頼する
通信条件変更要求信号受信部と、 前記通信条件設定モード時に、前記第1のデータ送受信
部から送信された前記通信条件設定用のデータパターン
の受信を行い、通常データ送受信モード時に前記第1の
データ送受信部との間で通常のデータの送受信を行う第
2のデータ送受信部と、 前記通信条件設定用のデータパターンを解析する際に必
要な解析用情報を保持しているデータパターン情報保持
部と、 前記通信条件設定モード時に、前記データ受信部で受信
した前記通信条件設定用のデータパターンを前記データ
パターン情報保持部の解析用情報をもとに解析し、その
解析結果を前記第2の制御部に通知し前記解析結果に従
って通信条件を前記第2のデータ送受信部に対して設定
させるデータパターン情報解析部とを備えることを特徴
とする通信システム。
13. A communication condition setting mode for setting communication conditions, and normal data for transmitting and receiving normal data, comprising first and second communication devices communicating with each other. A first control unit capable of switching the operation mode to a transmission mode, and receiving a command from the first control unit in the communication condition setting mode to generate a communication condition change request signal, the communication condition change request signal And a data for generating a data pattern for communication condition setting corresponding to the communication condition to be set in response to a command from the first control unit in the communication condition setting mode. A pattern generation unit, and the communication condition setting mode, in which the communication condition is set by the first control unit in the communication condition setting mode, and the communication condition setting is generated by the data pattern generation unit. A first data transmission / reception unit for transmitting a data pattern and transmitting / receiving normal data in the normal data transmission / reception mode, wherein the second communication device sets a communication condition setting mode and normal data A second control unit capable of switching the operation mode to a normal data transmission mode for transmitting and receiving data, and the second control when the communication condition change request signal transmitted from the communication condition change request signal generation unit is received. A communication condition change request signal receiving unit that requests the unit to enter the communication condition setting mode, and a data pattern for the communication condition setting transmitted from the first data transmitting / receiving unit in the communication condition setting mode. A second data transmitter / receiver for receiving normal data and transmitting / receiving normal data to / from the first data transmitter / receiver in the normal data transmission / reception mode; A data pattern information holding unit that holds information for analysis necessary when analyzing a data pattern for communication condition setting, and the communication condition setting received by the data receiving unit in the communication condition setting mode. A data pattern is analyzed based on the analysis information of the data pattern information holding unit, the analysis result is notified to the second control unit, and communication conditions are sent to the second data transmission / reception unit according to the analysis result. A communication system, comprising: a data pattern information analysis unit for setting.
【請求項14】 前記第1の通信装置が、前記通常デー
タ送受信モード時に通信中の通常のデータのトランザク
ションを監視し、前記トランザクションが現在の通信速
度に対応して設定されている範囲から外れたときに、前
記第1の制御部に対して、通信条件の変更を依頼するト
ランザクション監視部をさらに備えた請求項13記載の
通信システム。
14. The first communication device monitors a transaction of normal data during communication in the normal data transmission / reception mode, and the transaction is out of a range set corresponding to a current communication speed. The communication system according to claim 13, further comprising a transaction monitor that requests the first controller to change communication conditions.
JP2001310193A 2001-10-05 2001-10-05 Automatic setting method for communication condition, communication device and communication system Pending JP2003115888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001310193A JP2003115888A (en) 2001-10-05 2001-10-05 Automatic setting method for communication condition, communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001310193A JP2003115888A (en) 2001-10-05 2001-10-05 Automatic setting method for communication condition, communication device and communication system

Publications (1)

Publication Number Publication Date
JP2003115888A true JP2003115888A (en) 2003-04-18

Family

ID=19129214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001310193A Pending JP2003115888A (en) 2001-10-05 2001-10-05 Automatic setting method for communication condition, communication device and communication system

Country Status (1)

Country Link
JP (1) JP2003115888A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302971A (en) * 2008-06-13 2009-12-24 Sharp Corp Information processing apparatus
US20140006591A1 (en) * 2012-06-27 2014-01-02 Braxton K. Davis Method and apparatus for generating recommended changes to communication behaviors

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009302971A (en) * 2008-06-13 2009-12-24 Sharp Corp Information processing apparatus
US20140006591A1 (en) * 2012-06-27 2014-01-02 Braxton K. Davis Method and apparatus for generating recommended changes to communication behaviors
US9451539B2 (en) * 2012-06-27 2016-09-20 At&T Intellectual Property I, L.P. Method and apparatus for generating recommended changes to communication behaviors
US10142924B2 (en) 2012-06-27 2018-11-27 At&T Intellectual Property I, L.P. Method and apparatus for generating recommended changes to communication behaviors
US10743249B2 (en) 2012-06-27 2020-08-11 At&T Intellectual Property I, L.P. Methods and apparatus for generating recommended changes to communication behaviors

Similar Documents

Publication Publication Date Title
KR100606577B1 (en) Apparatus and method for controlling data transmission speed of serial ata interface
KR100309941B1 (en) Wireless handset
US20090010371A1 (en) Serial data communication system and method
US7373134B2 (en) Multiple-CPU portable terminal with communication function and control method
CN111683358A (en) Control method, control device, mobile terminal, storage medium and wireless headset
EP1563610A1 (en) Interface transceiver power management method and apparatus
JP2003115888A (en) Automatic setting method for communication condition, communication device and communication system
US20230378767A1 (en) Charging control method and apparatus, electronic device, and charger
JPH11150876A (en) Power supply method and device for personal computer
KR20030057250A (en) USB Camera System with Host Function
JP3204301B2 (en) Control method between pointing device and computer
CN101887313A (en) Wireless mouse capable of switching wireless data return rate, and computer system applying same
JP3039395B2 (en) Activation method of information processing unit in wireless portable terminal
US20020013148A1 (en) Telephone set identifying method, telephone set type identifying apparatus, processing apparatus and storage medium
WO2017057152A1 (en) Communication device, information processing device, and communication method
JP4977943B2 (en) Communications system
CN112135292B (en) Signal acquisition method, signal acquisition device, electronic equipment and storage medium
US20030163616A1 (en) Communication Device, Computer, and Communication Control Method
JP2003248525A (en) Apparatus and method for power saving control of electronic equipment
JPH0323725A (en) Mobile radio communication equipment
JPH07334280A (en) Power-on system
JP2000155628A (en) Consumption current control method and peripheral equipment for information processing system
CN118238942A (en) Electric surfboard and wireless connection method thereof
CN115119078A (en) System comprising a field device and a control device, and method for operating such a system
JP2006350665A (en) Electronic device