JP6734556B1 - Information processing system and information processing apparatus - Google Patents

Information processing system and information processing apparatus Download PDF

Info

Publication number
JP6734556B1
JP6734556B1 JP2019225526A JP2019225526A JP6734556B1 JP 6734556 B1 JP6734556 B1 JP 6734556B1 JP 2019225526 A JP2019225526 A JP 2019225526A JP 2019225526 A JP2019225526 A JP 2019225526A JP 6734556 B1 JP6734556 B1 JP 6734556B1
Authority
JP
Japan
Prior art keywords
terminal
information processing
transmission
data
reception
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.)
Expired - Fee Related
Application number
JP2019225526A
Other languages
Japanese (ja)
Other versions
JP2021097271A (en
Inventor
基樹 宮田
基樹 宮田
正博 高橋
正博 高橋
朋史 小山
朋史 小山
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.)
Fujitsu Client Computing Ltd
Original Assignee
Fujitsu Client Computing 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 Fujitsu Client Computing Ltd filed Critical Fujitsu Client Computing Ltd
Priority to JP2019225526A priority Critical patent/JP6734556B1/en
Application granted granted Critical
Publication of JP6734556B1 publication Critical patent/JP6734556B1/en
Publication of JP2021097271A publication Critical patent/JP2021097271A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

【課題】データ衝突の発生を防止して単一の通信ポートで双方向通信を行う。【解決手段】制御部1aは、データを送信する場合、データの送信開始前に情報処理装置2に要求パルスm1を送信して情報処理装置2の送受信状態を認識するための事前通信を行う。制御部1aは、情報処理装置2から応答パルスm2が返信された場合は情報処理装置2にデータを送信する。通信部1bは、単一の通信ポートp1を介して情報処理装置2との双方向通信インタフェースを行う。制御部2aは、データを受信する場合、情報処理装置1から送信された要求パルスm1を受信した場合は応答パルスm2を情報処理装置1に返信して、情報処理装置1から送信されるデータを受信する。通信部2bは、単一の通信ポートp2を介して情報処理装置1との双方向通信インタフェースを行う。【選択図】図1PROBLEM TO BE SOLVED: To prevent occurrence of data collision and perform bidirectional communication with a single communication port. When transmitting data, a control unit 1a performs prior communication for recognizing a transmission/reception state of the information processing device 2 by transmitting a request pulse m1 to the information processing device 2 before starting the transmission of the data. When the response pulse m2 is returned from the information processing device 2, the control unit 1a transmits data to the information processing device 2. The communication unit 1b serves as a bidirectional communication interface with the information processing device 2 via the single communication port p1. When receiving the data, when the control unit 2a receives the request pulse m1 transmitted from the information processing device 1, the control unit 2a returns a response pulse m2 to the information processing device 1 to transmit the data transmitted from the information processing device 1. To receive. The communication unit 2b performs a bidirectional communication interface with the information processing device 1 via the single communication port p2. [Selection diagram] Figure 1

Description

本発明は、情報処理システムおよび情報処理装置に関する。 The present invention relates to an information processing system and information processing equipment.

近年、タブレット型PC(Personal Computer)等の情報処理端末に対して、クレードル(cradle)と呼ばれる拡張機器を接続して、外部との通信やバッテリの充電/給電等を行うケースが増えている。 In recent years, an increasing number of cases have been made in which an expansion device called a cradle is connected to an information processing terminal such as a tablet PC (Personal Computer) to communicate with the outside and charge/power the battery.

タブレット型PCをクレードルに接続することで、例えば、外部機器接続ポート(USB(Universal Serial Bus)機器接続用ポート等)、映像出力ポート、音声入出力ポート、Ethernet(登録商標)用ポート、バッテリの充電/給電の拡張機能がクレードルから提供される。 By connecting the tablet PC to the cradle, for example, an external device connection port (USB (Universal Serial Bus) device connection port or the like), a video output port, an audio input/output port, an Ethernet (registered trademark) port, a battery Extended charging/powering functionality is provided from the cradle.

また、クレードルは、接続されたタブレット型PCからACPI(Advanced Configuration and Power Interface)ステートや、タブレット型PCの固有情報(MAC(Media Access Control)アドレス、シリアルナンバ、充電電力の定格値等)を取り込む。
さらに、クレードルからタブレット型PCに対して、遠隔電源投入機能であるWake-On-LAN(Local Area Network)のWake用トリガの通知や、クレードル側の状態に異常が発生した際のアラート通知が発信される。
Further, the cradle fetches ACPI (Advanced Configuration and Power Interface) state and unique information (MAC (Media Access Control) address, serial number, rated value of charging power, etc.) of the tablet PC from the connected tablet PC. ..
In addition, the cradle sends a wake-on-wake (local area network) wake trigger notification, which is a remote power-on function, to the tablet PC, and an alert notification when an abnormality occurs on the cradle side. To be done.

特開2019−040239号公報Japanese Unexamined Patent Publication No. 2019-040239

上記のように、タブレット型PCとクレードルとの間では多様な情報の通信が行われている。しかし、タブレット型PCとクレードルとの間で通信するためのポート数が多くなると、例えば、コネクタの端子数の増加や基板の実装・配線面積の増加等の問題が生じ、薄型化・軽量化の障害となる。 As described above, various kinds of information are communicated between the tablet PC and the cradle. However, if the number of ports for communication between the tablet PC and the cradle increases, problems such as an increase in the number of terminals of the connector and an increase in board mounting/wiring area will occur, resulting in reduction in thickness and weight. It becomes an obstacle.

このため、タブレット型PCとクレードルとの間の通信に要する通信ポート数は可能な限り少ないことが望ましく、例えば、通信ポート数を1つにして単一の通信ポートで双方向通信を行うことが考えられる。しかし、単一の通信ポートで双方向通信を行う場合、データ衝突が発生する可能性がある。 Therefore, it is desirable that the number of communication ports required for communication between the tablet PC and the cradle is as small as possible. For example, the number of communication ports may be one and bidirectional communication may be performed using a single communication port. Conceivable. However, when bidirectional communication is performed using a single communication port, data collision may occur.

1つの側面では、本発明は、データ衝突の発生を防止して単一の通信ポートで双方向通信を行うことを可能にした情報処理システムおよび情報処理装置を提供することを目的とする。 In one aspect, the present invention aims to provide an information processing system and information processing equipment and to prevent the occurrence of data collisions allows two-way communication in a single communication port.

上記課題を解決するために、情報処理システムが提供される。情報処理システムは、データを送信する場合、データの送信開始前に対向装置に要求パルスを送信して対向装置の送受信状態を認識するための事前通信を行い、対向装置から応答パルスが返信されて対向装置がデータの受信状態にあることを検出した場合は対向装置にデータを送信する第1の制御部と、単一の通信ポートを介して対向装置との双方向通信インタフェースを行う第1の通信部と、を備える第1の情報処理装置と、データを受信する場合、第1の情報処理装置から送信された要求パルスを受信した場合は応答パルスを第1の情報処理装置に返信して、第1の情報処理装置から送信されるデータを受信する第2の制御部と、単一の通信ポートを介して第1の情報処理装置との双方向通信インタフェースを行う第2の通信部と、を備える対向装置である第2の情報処理装置と、を備え、第1の情報処理装置は、第1の制御部の切替制御にもとづいて、双方向通信インタフェースの送信方向および受信方向の切替を行う第1の送受信切替部をさらに備え、第2の情報処理装置は、第2の制御部の切替制御にもとづいて、双方向通信インタフェースの送信方向および受信方向の切替を行う第2の送受信切替部をさらに備え、第1の制御部は、送受信方向の切替制御信号を出力する第1の切替制御端子、データを送信する第1の送信端子およびデータを受信する第1の受信端子を有し、第1の通信部は、データの送受信を行う第1の送受信端子を有し、第1の送受信切替部は、第1のスイッチおよび第2のスイッチを有し、双方向通信インタフェースを送信方向に切り替える場合、第1の切替制御端子は、第1の切替制御信号を出力し、第1のスイッチは、第1の切替制御信号の反転レベルによりオフし、第2のスイッチは第1の切替制御信号の非反転レベルによりオンして、第1の送信端子と第1の送受信端子を導通状態にし、第1の受信端子と第1の送受信端子を非導通状態にし、双方向通信インタフェースを受信方向に切り替える場合、第1の切替制御端子は、第2の切替制御信号を出力し、第1のスイッチは、第2の切替制御信号の反転レベルによりオンし、第2のスイッチは第2の切替制御信号の非反転レベルによりオフして、第1の送信端子と第1の送受信端子を非導通状態にし、第1の受信端子と第1の送受信端子を導通状態にし、第2の制御部は、送受信方向の切替制御信号を出力する第2の切替制御端子、データを送信する第2の送信端子およびデータを受信する第2の受信端子を有し、第2の通信部は、データの送受信を行う第2の送受信端子を有し、第2の送受信切替部は、第3のスイッチおよび第4のスイッチを有し、双方向通信インタフェースを送信方向に切り替える場合、第2の切替制御端子は、第3の切替制御信号を出力し、第3のスイッチは、第3の切替制御信号の反転レベルによりオフし、第4のスイッチは第3の切替制御信号の非反転レベルによりオンして、第2の送信端子と第2の送受信端子を導通状態にし、第2の受信端子と第2の送受信端子を非導通状態にし、双方向通信インタフェースを受信方向に切り替える場合、第2の切替制御端子は、第4の切替制御信号を出力し、第3のスイッチは、第4の切替制御信号の反転レベルによりオンし、第4のスイッチは第4の切替制御信号の非反転レベルによりオフして、第2の送信端子と第2の送受信端子を非導通状態にし、第2の受信端子と第2の送受信端子を導通状態にする
また、上記課題を解決するために、上記情報処理システムと同様の制御を実行する情報処理装置が提供される。
An information processing system is provided to solve the above problems. When transmitting data, the information processing system transmits a request pulse to the opposite device before data transmission to perform pre-communication for recognizing the transmission/reception state of the opposite device, and a response pulse is returned from the opposite device. A first controller that transmits data to the opposite device when it detects that the opposite device is in a data receiving state, and a first bidirectional communication interface with the opposite device through a single communication port. A first information processing device including a communication unit, and when receiving data, when a request pulse transmitted from the first information processing device is received, a response pulse is returned to the first information processing device. A second control unit that receives data transmitted from the first information processing device, and a second communication unit that performs a bidirectional communication interface with the first information processing device via a single communication port. And a second information processing apparatus which is an opposite apparatus including the first information processing apparatus and the second information processing apparatus , the first information processing apparatus switching the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the first control unit. The second information processing apparatus further includes a first transmission/reception switching unit that performs the second transmission/reception switching of the bidirectional communication interface based on the switching control of the second control unit. The first control unit further includes a switching unit, and has a first switching control terminal that outputs a switching control signal in a transmission/reception direction, a first transmission terminal that transmits data, and a first reception terminal that receives data. The first communication unit has a first transmission/reception terminal for transmitting/receiving data, and the first transmission/reception switching unit has a first switch and a second switch to transmit the bidirectional communication interface. When switching to the direction, the first switch control terminal outputs the first switch control signal, the first switch is turned off by the inversion level of the first switch control signal, and the second switch is switched to the first switch. It is turned on by the non-inversion level of the switching control signal to bring the first transmission terminal and the first transmission/reception terminal into the conduction state, the first reception terminal and the first transmission/reception terminal into the non-conduction state, and the bidirectional communication interface. When switching to the reception direction, the first switching control terminal outputs a second switching control signal, the first switch is turned on by the inversion level of the second switching control signal, and the second switch is switched to the second switch. Is turned off by the non-inversion level of the switching control signal of 1 to make the first transmission terminal and the first transmission/reception terminal non-conducting, the first reception terminal and the first transmission/reception terminal conductive, and the second control Is a second switching control terminal that outputs a switching control signal in the transmission/reception direction. A second transmission terminal that transmits and receives data, and a second transmission terminal that transmits and receives data; and a second transmission terminal that transmits and receives data. The switching unit has a third switch and a fourth switch, and when switching the bidirectional communication interface in the transmission direction, the second switching control terminal outputs the third switching control signal, and the third switch Is turned off by the inversion level of the third switching control signal, and the fourth switch is turned on by the non-inversion level of the third switching control signal to make the second transmission terminal and the second transmission/reception terminal conductive. , The second reception terminal and the second transmission/reception terminal are made non-conducting and the bidirectional communication interface is switched to the reception direction, the second switching control terminal outputs the fourth switching control signal and the third switching control signal is output. The switch is turned on by the inversion level of the fourth switching control signal, the fourth switch is turned off by the non-inversion level of the fourth switching control signal, and the second transmission terminal and the second transmission/reception terminal are brought out of conduction. Then, the second receiving terminal and the second transmitting/receiving terminal are brought into conduction .
Further, in order to solve the above problems, an information processing apparatus that executes the same control as the information processing system Ru are provided.

1側面によれば、データ衝突の発生を防止して単一の通信ポートで双方向通信を行うことができる。 According to one aspect, it is possible to prevent the occurrence of data collision and perform bidirectional communication with a single communication port.

第1の実施の形態の情報処理システムの一例を説明するための図である。It is a figure for explaining an example of an information processing system of a 1st embodiment. 第2の実施の形態の情報処理システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the information processing system of 2nd Embodiment. 情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of an information processing apparatus. 情報処理装置の構成の一例を示す図である。It is a figure which shows an example of a structure of an information processing apparatus. 情報処理装置の構成の一例を示す図である。It is a figure which shows an example of a structure of an information processing apparatus. 事前ネゴシエーションの動作の一例を示すフローチャートである。It is a flow chart which shows an example of operation of prior negotiation. 事前ネゴシエーションの動作の一例を示すフローチャートである。It is a flow chart which shows an example of operation of prior negotiation. 事前ネゴシエーションのタイミングチャートの一例を示す図である。It is a figure which shows an example of the timing chart of prior negotiation. 事前ネゴシエーションのタイミングチャートの一例を示す図である。It is a figure which shows an example of the timing chart of prior negotiation. 事前ネゴシエーションのタイミングチャートの一例を示す図である。It is a figure which shows an example of the timing chart of prior negotiation. 事前ネゴシエーションのタイミングチャートの一例を示す図である。It is a figure which shows an example of the timing chart of prior negotiation. リトライ処理が行われる場合のタイミングチャートの一例を示す図である。It is a figure which shows an example of a timing chart at the time of performing a retry process. リトライ処理が行われる場合のタイミングチャートの一例を示す図である。It is a figure which shows an example of a timing chart at the time of performing a retry process. データ衝突の一例を説明するための図である。It is a figure for explaining an example of data collision. データ衝突の一例を説明するための図である。It is a figure for explaining an example of data collision.

以下、本実施の形態について図面を参照して説明する。
[第1の実施の形態]
図1は第1の実施の形態の情報処理システムの一例を説明するための図である。情報処理システム1−1は、情報処理装置1(第1の情報処理装置)と、情報処理装置2(第2の情報処理装置)を備える。情報処理装置1と情報処理装置2は、無線または有線で接続される。
Hereinafter, the present embodiment will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a diagram for explaining an example of the information processing system according to the first embodiment. The information processing system 1-1 includes an information processing device 1 (first information processing device) and an information processing device 2 (second information processing device). The information processing device 1 and the information processing device 2 are connected wirelessly or by wire.

情報処理装置1は、制御部1a(第1の制御部)、通信部1b(第1の通信部)および送受信切替部1c(第1の送受信切替部)を含む。情報処理装置2は、制御部2a(第2の制御部)、通信部2b(第2の通信部)および送受信切替部2c(第2の送受信切替部)を含む。 The information processing device 1 includes a control unit 1a (first control unit), a communication unit 1b (first communication unit), and a transmission/reception switching unit 1c (first transmission/reception switching unit). The information processing device 2 includes a control unit 2a (second control unit), a communication unit 2b (second communication unit), and a transmission/reception switching unit 2c (second transmission/reception switching unit).

情報処理装置1において、制御部1aは、データを送信する場合、データの送信開始前に情報処理装置2に要求パルスを送信して情報処理装置2の送受信状態を認識するための事前通信を行う。
そして、制御部1aは、情報処理装置2から応答パルスが返信されて情報処理装置2が受信状態にあることを検出した場合は情報処理装置2にデータを送信する。
In the information processing device 1, when transmitting data, the control unit 1a performs a prior communication for recognizing the transmission/reception state of the information processing device 2 by transmitting a request pulse to the information processing device 2 before the start of data transmission. ..
Then, the control unit 1a transmits data to the information processing device 2 when the response pulse is returned from the information processing device 2 and it is detected that the information processing device 2 is in the receiving state.

また、制御部1aは、データを受信する場合、情報処理装置2から送信された事前通信のための要求パルスを受信した場合は応答パルスを情報処理装置2に返信し、情報処理装置2から送信されるデータを受信する。 Further, the control unit 1a returns a response pulse to the information processing device 2 when receiving a request pulse for prior communication transmitted from the information processing device 2 when receiving data and transmitting from the information processing device 2. Received data.

通信部1bは、単一の通信ポートp1を介して情報処理装置2との双方向通信インタフェースを行う。送受信切替部1cは、制御部1aの切替制御にもとづいて、双方向通信インタフェースの送信方向および受信方向の切替を行う。 The communication unit 1b performs a bidirectional communication interface with the information processing device 2 via the single communication port p1. The transmission/reception switching unit 1c switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the control unit 1a.

情報処理装置2において、制御部2aは、データを送信する場合、データの送信開始前に、情報処理装置1に要求パルスを送信して情報処理装置1の送受信状態を認識するための事前通信を行う。
そして、制御部2aは、情報処理装置1から応答パルスが返信されて情報処理装置1が受信状態にあることを検出した場合は情報処理装置1にデータを送信する。
In the information processing device 2, when transmitting data, the control unit 2a performs prior communication for transmitting a request pulse to the information processing device 1 and recognizing the transmission/reception state of the information processing device 1 before starting the transmission of data. To do.
Then, the control unit 2a transmits data to the information processing device 1 when a response pulse is returned from the information processing device 1 and it is detected that the information processing device 1 is in the receiving state.

また、制御部2aは、データを受信する場合、情報処理装置1から送信された要求パルスを受信した場合は応答パルスを情報処理装置1に返信して、情報処理装置1から送信されるデータを受信する。 Further, the control unit 2a returns a response pulse to the information processing device 1 when receiving the data, when receiving the request pulse transmitted from the information processing device 1, and receiving the data transmitted from the information processing device 1. To receive.

通信部2bは、単一の通信ポートp2を介して情報処理装置1との双方向通信インタフェースを行う。送受信切替部2cは、制御部2aの切替制御にもとづいて、双方向通信インタフェースの送信方向および受信方向の切替を行う。 The communication unit 2b serves as a bidirectional communication interface with the information processing apparatus 1 via the single communication port p2. The transmission/reception switching unit 2c switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the control unit 2a.

ここで、情報処理装置1がデータ送信側になり、情報処理装置2がデータ受信側になるときの事前通信の動作について説明する。なお、初期運用時は、情報処理装置1、2は共に受信状態になっている(図中、送信をTx、受信をRxと表記している)。 Here, the operation of pre-communication when the information processing device 1 becomes the data transmitting side and the information processing device 2 becomes the data receiving side will be described. During the initial operation, both the information processing devices 1 and 2 are in a receiving state (in the figure, transmission is represented by Tx and reception is represented by Rx).

〔ステップS1a〕制御部1aは、送信方向にするための切替指示を送受信切替部1cに出力し、送受信切替部1cは、通信部1bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS2a〕制御部1aは、情報処理装置2に要求パルスm1を送信して情報処理装置2の送受信状態を認識するための事前通信を行う。
[Step S1a] The control unit 1a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 1c, and the transmission/reception switching unit 1c switches the bidirectional communication interface of the communication unit 1b to the transmission direction.
[Step S2a] The control unit 1a transmits a request pulse m1 to the information processing device 2 to perform prior communication for recognizing the transmission/reception state of the information processing device 2.

〔ステップS3a〕制御部1aは、受信方向にするための切替指示を送受信切替部1cに出力し、送受信切替部1cは、通信部1bの双方向通信インタフェースを受信方向に切り替える。
〔ステップS4a〕制御部2aは、情報処理装置1から送信された要求パルスm1を受信する。
[Step S3a] The control unit 1a outputs a switching instruction for setting the reception direction to the transmission/reception switching unit 1c, and the transmission/reception switching unit 1c switches the bidirectional communication interface of the communication unit 1b to the reception direction.
[Step S4a] The control unit 2a receives the request pulse m1 transmitted from the information processing device 1.

〔ステップS5a〕制御部2aは、送信方向にするための切替指示を送受信切替部2cに出力し、送受信切替部2cは、通信部2bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS6a〕制御部2aは、応答パルスm2を情報処理装置1に返信する。
[Step S5a] The control unit 2a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 2c, and the transmission/reception switching unit 2c switches the bidirectional communication interface of the communication unit 2b to the transmission direction.
[Step S6a] The control unit 2a returns the response pulse m2 to the information processing device 1.

〔ステップS7a〕制御部2aは、受信方向にするための切替指示を送受信切替部2cに出力し、送受信切替部2cは、通信部2bの双方向通信インタフェースを受信方向に切り替える。
〔ステップS8a〕制御部1aは、情報処理装置2から返信された応答パルスm2を受信すると情報処理装置2がデータの受信状態にあることを検出する。
[Step S7a] The control unit 2a outputs a switching instruction for switching to the reception direction to the transmission/reception switching unit 2c, and the transmission/reception switching unit 2c switches the bidirectional communication interface of the communication unit 2b to the reception direction.
[Step S8a] Upon receipt of the response pulse m2 returned from the information processing device 2, the control unit 1a detects that the information processing device 2 is in the data receiving state.

〔ステップS9a〕制御部1aは、送信方向にするための切替指示を送受信切替部1cに出力し、送受信切替部1cは、通信部1bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS10a〕制御部1aは、情報処理装置2にデータ(実データ)を送信する。
〔ステップS11a〕制御部2aは、データを受信する。
[Step S9a] The control unit 1a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 1c, and the transmission/reception switching unit 1c switches the bidirectional communication interface of the communication unit 1b to the transmission direction.
[Step S10a] The control unit 1a transmits data (actual data) to the information processing device 2.
[Step S11a] The control unit 2a receives data.

次に、情報処理装置2がデータ送信側になり、情報処理装置1がデータ受信側になるときの事前通信の動作について説明する。初期運用時は、情報処理装置1、2は共に受信状態である。 Next, the operation of pre-communication when the information processing device 2 becomes the data transmitting side and the information processing device 1 becomes the data receiving side will be described. At the time of initial operation, both the information processing devices 1 and 2 are in the receiving state.

〔ステップS1b〕制御部2aは、送信方向にするための切替指示を送受信切替部2cに出力し、送受信切替部2cは、通信部2bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS2b〕制御部2aは、情報処理装置1に要求パルスm1を送信して情報処理装置1の送受信状態を認識するための事前通信を行う。
[Step S1b] The control unit 2a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 2c, and the transmission/reception switching unit 2c switches the bidirectional communication interface of the communication unit 2b to the transmission direction.
[Step S2b] The control unit 2a transmits a request pulse m1 to the information processing device 1 to perform prior communication for recognizing the transmission/reception state of the information processing device 1.

〔ステップS3b〕制御部2aは、受信方向にするための切替指示を送受信切替部2cに出力し、送受信切替部2cは、通信部2bの双方向通信インタフェースを受信方向に切り替える。
〔ステップS4b〕制御部1aは、情報処理装置2から送信された要求パルスm1を受信する。
[Step S3b] The control unit 2a outputs a switching instruction for switching to the reception direction to the transmission/reception switching unit 2c, and the transmission/reception switching unit 2c switches the bidirectional communication interface of the communication unit 2b to the reception direction.
[Step S4b] The control unit 1a receives the request pulse m1 transmitted from the information processing device 2.

〔ステップS5b〕制御部1aは、送信方向にするための切替指示を送受信切替部1cに出力し、送受信切替部1cは、通信部1bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS6b〕制御部1aは、応答パルスm2を情報処理装置2に返信する。
[Step S5b] The control unit 1a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 1c, and the transmission/reception switching unit 1c switches the bidirectional communication interface of the communication unit 1b to the transmission direction.
[Step S6b] The control unit 1a returns the response pulse m2 to the information processing device 2.

〔ステップS7b〕制御部1aは、受信方向にするための切替指示を送受信切替部1cに出力し、送受信切替部1cは、通信部1bの双方向通信インタフェースを受信方向に切り替える。
〔ステップS8b〕制御部2aは、情報処理装置1から返信された応答パルスm2を受信すると情報処理装置1がデータの受信状態にあることを検出する。
[Step S7b] The control unit 1a outputs a switching instruction for setting the reception direction to the transmission/reception switching unit 1c, and the transmission/reception switching unit 1c switches the bidirectional communication interface of the communication unit 1b to the reception direction.
[Step S8b] Upon receipt of the response pulse m2 returned from the information processing device 1, the control unit 2a detects that the information processing device 1 is in a data receiving state.

〔ステップS9b〕制御部2aは、送信方向にするための切替指示を送受信切替部2cに出力し、送受信切替部2cは、通信部2bの双方向通信インタフェースを送信方向に切り替える。
〔ステップS10b〕制御部2aは、情報処理装置1にデータ(実データ)を送信する。
〔ステップS11b〕制御部1aは、データを受信する。
[Step S9b] The control unit 2a outputs a switching instruction to the transmission direction to the transmission/reception switching unit 2c, and the transmission/reception switching unit 2c switches the bidirectional communication interface of the communication unit 2b to the transmission direction.
[Step S10b] The control unit 2a transmits data (actual data) to the information processing device 1.
[Step S11b] The control unit 1a receives data.

このように、情報処理システム1−1では、データ送信側の情報処理装置は、データの送信開始前に、対向装置に要求パルスを送信して対向装置の送受信状態を認識するための事前通信を行う。 As described above, in the information processing system 1-1, the information processing device on the data transmission side performs the prior communication for recognizing the transmission/reception state of the opposite device by transmitting the request pulse to the opposite device before starting the data transmission. To do.

そして、対向装置から応答パルスが返信されて対向装置が受信状態にあることを検出した場合は対向装置にデータを送信する。また、データ受信側の情報処理装置は、要求パルスを受信した場合は応答パルスを返信し、対向装置から送信されるデータを受信する。これにより、データ衝突の発生を防止して単一の通信ポートでの双方向通信を行うことが可能になる。 Then, when a response pulse is returned from the opposite device and it is detected that the opposite device is in the receiving state, the data is transmitted to the opposite device. In addition, the information processing device on the data receiving side returns a response pulse when receiving the request pulse, and receives the data transmitted from the opposite device. This makes it possible to prevent data collision and perform bidirectional communication with a single communication port.

また、情報処理装置は、制御部の切替制御にもとづいて、双方向通信インタフェースの送信方向および受信方向の切替を行う送受信切替部を備えている。これにより、自装置の送信状態および受信状態を適切に切り替えて通信を行うことが可能になる。 Further, the information processing device includes a transmission/reception switching unit that switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the control unit. As a result, it becomes possible to appropriately switch the transmission state and the reception state of the own device to perform communication.

[第2の実施の形態]
次に第2の実施の形態について説明する。第2の実施の形態は、UART(Universal Asynchronous Receiver/Transmitter)のプロトコルにもとづいて双方向通信を行うシステムに、第1の実施の形態の機能を適用したものである。なお、以降では、事前通信を事前ネゴシエーションと呼ぶ。
[Second Embodiment]
Next, a second embodiment will be described. The second embodiment is a system in which the functions of the first embodiment are applied to a system that performs bidirectional communication based on a UART (Universal Asynchronous Receiver/Transmitter) protocol. In the following, pre-communication is called pre-negotiation.

図2は第2の実施の形態の情報処理システムの構成の一例を示す図である。情報処理システム1−2は、情報処理装置10と情報処理装置20を備える。情報処理装置10は例えば、タブレット型PCに該当し、情報処理装置20は例えば、クレードルに該当する。情報処理装置10、20は、UARTのプロトコルにもとづいて、近距離無線による双方向のデータ通信を行って情報交換を行う(アンテナの図示は省略している)。 FIG. 2 is a diagram showing an example of the configuration of the information processing system according to the second embodiment. The information processing system 1-2 includes an information processing device 10 and an information processing device 20. The information processing device 10 corresponds to, for example, a tablet PC, and the information processing device 20 corresponds to, for example, a cradle. The information processing devices 10 and 20 perform bidirectional data communication by short-distance wireless communication to exchange information based on the UART protocol (the antenna is not shown).

情報処理装置10は、制御部11、通信部12およびスイッチ部13を含む。制御部11は、情報処理装置10の全体制御を行う。通信部12は、単一の通信ポートp1を有する無線通信IC(Integrated Circuit)であって、対向する情報処理装置20との双方向無線通信インタフェースを行う。スイッチ部13は、データの送受信の切替制御、および制御部11と通信部12との間の伝送制御を行う。 The information processing device 10 includes a control unit 11, a communication unit 12, and a switch unit 13. The control unit 11 performs overall control of the information processing device 10. The communication unit 12 is a wireless communication IC (Integrated Circuit) having a single communication port p1 and serves as a bidirectional wireless communication interface with the opposing information processing device 20. The switch unit 13 controls switching between transmission and reception of data, and transmission control between the control unit 11 and the communication unit 12.

情報処理装置20は、制御部21、通信部22およびスイッチ部23を含む。制御部21は、情報処理装置20の全体制御を行う。通信部22は、単一の通信ポートp2を有する無線通信ICであって、対向する情報処理装置10との双方向無線通信インタフェースを行う。スイッチ部23は、データの送受信の切替制御、および制御部21と通信部22との間の伝送制御を行う。 The information processing device 20 includes a control unit 21, a communication unit 22, and a switch unit 23. The control unit 21 performs overall control of the information processing device 20. The communication unit 22 is a wireless communication IC having a single communication port p2, and performs a bidirectional wireless communication interface with the opposing information processing device 10. The switch unit 23 performs switching control of data transmission/reception and transmission control between the control unit 21 and the communication unit 22.

<ハードウェア>
図3は情報処理装置のハードウェア構成の一例を示す図である。情報処理装置10は、プロセッサ(コンピュータ)100によって全体が制御されている。プロセッサ100は、制御部11の機能を実現する。
<Hardware>
FIG. 3 is a diagram illustrating an example of the hardware configuration of the information processing device. The information processing apparatus 10 is entirely controlled by a processor (computer) 100. The processor 100 realizes the function of the control unit 11.

プロセッサ100には、バス103を介して、メモリ101、入出力インタフェース102およびネットワークインタフェース104が接続されている。また、プロセッサ100には、上述の通信部12およびスイッチ部13が接続されている。 A memory 101, an input/output interface 102, and a network interface 104 are connected to the processor 100 via a bus 103. Further, the communication unit 12 and the switch unit 13 described above are connected to the processor 100.

プロセッサ100は、マルチプロセッサであってもよい。プロセッサ100は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、ASIC(Application Specific Integrated Circuit)、またはPLD(Programmable Logic Device)である。またプロセッサ100は、CPU、MPU、DSP、ASIC、PLDのうちの2以上の要素の組み合わせであってもよい。 The processor 100 may be a multiprocessor. The processor 100 is, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device). Further, the processor 100 may be a combination of two or more elements of CPU, MPU, DSP, ASIC, PLD.

メモリ101は、情報処理装置10の主記憶装置として使用される。メモリ101には、プロセッサ100に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、メモリ101には、プロセッサ100による処理に要する各種データが格納される。 The memory 101 is used as a main storage device of the information processing device 10. The memory 101 temporarily stores at least part of an OS (Operating System) program and an application program to be executed by the processor 100. The memory 101 also stores various data required for processing by the processor 100.

また、メモリ101は、情報処理装置10の補助記憶装置としても使用され、OSのプログラム、アプリケーションプログラム、および各種データが格納される。メモリ101は、補助記憶装置として、フラッシュメモリやSSD(Solid State Drive)等の半導体記憶装置やHDD(Hard Disk Drive)等の磁気記録媒体を含んでもよい。 The memory 101 is also used as an auxiliary storage device of the information processing device 10, and stores an OS program, application programs, and various data. The memory 101 may include a semiconductor storage device such as a flash memory or an SSD (Solid State Drive) or a magnetic recording medium such as an HDD (Hard Disk Drive) as an auxiliary storage device.

バス103に接続されている周辺機器としては、入出力インタフェース102およびネットワークインタフェース104がある。入出力インタフェース102は、プロセッサ100からの命令にしたがって情報処理装置10の状態を表示する表示装置として機能するモニタ(例えば、LED(Light Emitting Diode)やLCD(Liquid Crystal Display)等)が接続できる。 Peripheral devices connected to the bus 103 include an input/output interface 102 and a network interface 104. The input/output interface 102 can be connected to a monitor (for example, an LED (Light Emitting Diode) or an LCD (Liquid Crystal Display)) that functions as a display device that displays the state of the information processing device 10 according to an instruction from the processor 100.

さらに、入出力インタフェース102は、キーボードやマウス等の情報入力装置を接続可能であって、情報入力装置から送られてくる信号をプロセッサ100に送信する。
さらにまた、入出力インタフェース102は、周辺機器を接続するための通信インタフェースとしても機能する。例えば、入出力インタフェース102は、レーザ光等を利用して、光ディスクに記録されたデータの読み取りを行う光学ドライブ装置を接続することができる。光ディスクには、Blu−rayDisc(登録商標)、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(Rewritable)等がある。
Further, the input/output interface 102 can be connected to an information input device such as a keyboard and a mouse, and transmits a signal sent from the information input device to the processor 100.
Furthermore, the input/output interface 102 also functions as a communication interface for connecting peripheral devices. For example, the input/output interface 102 can be connected to an optical drive device that reads data recorded on an optical disc using laser light or the like. Optical discs include Blu-ray Disc (registered trademark), CD-ROM (Compact Disc Read Only Memory), and CD-R (Recordable)/RW (Rewritable).

また、入出力インタフェース102は、メモリ装置やメモリリーダライタを接続することができる。メモリ装置は、入出力インタフェース102との通信機能を搭載した記録媒体である。メモリリーダライタは、メモリカードへのデータの書き込み、またはメモリカードからのデータの読み出しを行う装置である。メモリカードは、カード型の記録媒体である。 The input/output interface 102 can be connected to a memory device or a memory reader/writer. The memory device is a recording medium having a function of communicating with the input/output interface 102. The memory reader/writer is a device that writes data in a memory card or reads data from the memory card. The memory card is a card-type recording medium.

ネットワークインタフェース104は、ネットワークに接続してネットワークインタフェース制御を行う。この場合、例えば、NIC(Network Interface Card)、無線LAN(Local Area Network)カード等を使用することもできる。ネットワークインタフェース104で受信されたデータは、メモリ101やプロセッサ100に出力される。 The network interface 104 connects to a network and controls the network interface. In this case, for example, a NIC (Network Interface Card), a wireless LAN (Local Area Network) card, or the like can be used. The data received by the network interface 104 is output to the memory 101 and the processor 100.

以上のようなハードウェア構成によって、情報処理装置10の処理機能を実現することができる。例えば、情報処理装置10は、プロセッサ100がそれぞれ所定のプログラムを実行することで本発明の処理を行うことができる。 With the above hardware configuration, the processing function of the information processing device 10 can be realized. For example, the information processing apparatus 10 can perform the processing of the present invention by the processor 100 executing a predetermined program.

情報処理装置10は、例えば、コンピュータで読み取り可能な記録媒体に記録されたプログラムを実行することにより、本発明の処理機能を実現する。情報処理装置10に実行させる処理内容を記述したプログラムは、様々な記録媒体に記録しておくことができる。 The information processing device 10 realizes the processing functions of the present invention by executing a program recorded in a computer-readable recording medium, for example. The program describing the processing content to be executed by the information processing apparatus 10 can be recorded in various recording media.

例えば、情報処理装置10に実行させるプログラムを補助記憶装置に格納しておくことができる。プロセッサ100は、補助記憶装置内のプログラムの少なくとも一部を主記憶装置にロードし、プログラムを実行する。 For example, the program to be executed by the information processing device 10 can be stored in the auxiliary storage device. The processor 100 loads at least a part of the program in the auxiliary storage device into the main storage device and executes the program.

また、光ディスク、メモリ装置、メモリカード等の可搬型記録媒体に記録しておくこともできる。可搬型記録媒体に格納されたプログラムは、例えば、プロセッサ100からの制御により、補助記憶装置にインストールされた後、実行可能となる。またプロセッサ100が、可搬型記録媒体から直接プログラムを読み出して実行することもできる。なお、情報処理装置20もコンピュータを備えて、図3に示した同様のハードウェアにより実現することができる。 It can also be recorded in a portable recording medium such as an optical disk, a memory device, a memory card, or the like. The program stored in the portable recording medium becomes executable after being installed in the auxiliary storage device under the control of the processor 100, for example. Further, the processor 100 can directly read the program from the portable recording medium and execute it. The information processing device 20 also includes a computer and can be realized by the same hardware as shown in FIG.

<情報処理装置の構成>
図4、図5は情報処理装置の構成の一例を示す図である。図4に示す情報処理装置10は、上述の制御部11、通信部12およびスイッチ部13を備え、スイッチ部13は、スイッチsw1、sw2、インバータ(反転回路素子)IC1、IC2、IC3、抵抗R1、R2、R4、・・・、R8を含む。
<Configuration of information processing device>
4 and 5 are diagrams showing an example of the configuration of the information processing apparatus. The information processing apparatus 10 illustrated in FIG. 4 includes the control unit 11, the communication unit 12, and the switch unit 13 described above, and the switch unit 13 includes switches sw1 and sw2, inverters (inverting circuit elements) IC1, IC2, IC3, and a resistor R1. , R2, R4,..., R8.

制御部11は、端子RST_11、端子Tx/Rx_SW_11、端子UART_Tx1および端子UART_Rx1を有する。通信部12は、端子RST_12、端子Tx/Rx_SW_12および端子UART_Tx1/Rx1を有する。 The control unit 11 has a terminal RST_11, a terminal Tx/Rx_SW_11, a terminal UART_Tx1 and a terminal UART_Rx1. The communication unit 12 has a terminal RST_12, a terminal Tx/Rx_SW_12, and a terminal UART_Tx1/Rx1.

端子RST_11は、リセット信号を出力し、端子RST_12は、インバータIC1でレベルが反転されたリセット信号を受信する。 The terminal RST_11 outputs a reset signal, and the terminal RST_12 receives the reset signal whose level is inverted by the inverter IC1.

端子Tx/Rx_SW_11は、通信部12のデータ送受信の切替(無線通信の指向の切替)を行うための切替制御信号を出力し、端子Tx/Rx_SW_12は、切替制御信号を受信する。
端子UART_Tx1は、情報処理装置20へ送信すべきデータを出力する。端子UART_Rx1は、情報処理装置20から送信されたデータを受信する。
The terminal Tx/Rx_SW_11 outputs a switching control signal for switching the data transmission/reception of the communication unit 12 (switching the orientation of wireless communication), and the terminal Tx/Rx_SW_12 receives the switching control signal.
The terminal UART_Tx1 outputs data to be transmitted to the information processing device 20. The terminal UART_Rx1 receives the data transmitted from the information processing device 20.

端子UART_Tx1/Rx1は、通信部12が送信状態のときは受信端子となって、端子UART_Tx1から出力されたデータを受信する。そして、端子UART_Tx1/Rx1で受信されたデータは、通信部12から無線を通じて情報処理装置20へ送信される。 The terminal UART_Tx1/Rx1 serves as a receiving terminal when the communication unit 12 is in the transmitting state, and receives the data output from the terminal UART_Tx1. Then, the data received at the terminal UART_Tx1/Rx1 is wirelessly transmitted from the communication unit 12 to the information processing device 20.

また、端子UART_Tx1/Rx1は、通信部12が受信状態のときは送信端子となって、通信部12が無線を通じて受信した情報処理装置20からのデータを、端子UART_Rx1に送信する。 Further, the terminal UART_Tx1/Rx1 serves as a transmission terminal when the communication unit 12 is in the receiving state, and transmits the data, which is received by the communication unit 12 wirelessly from the information processing device 20, to the terminal UART_Rx1.

各構成要素の接続関係を記すと、端子RST_11は、抵抗R1の一端とインバータIC1の入力端子に接続され、インバータIC1の出力端子は、抵抗R2の一端と端子RST_12に接続される。抵抗R1の他端は、3Vでプルアップされ、抵抗R2の他端は、1.8Vでプルアップされる。 Regarding the connection relationship of each component, the terminal RST_11 is connected to one end of the resistor R1 and the input terminal of the inverter IC1, and the output terminal of the inverter IC1 is connected to one end of the resistor R2 and the terminal RST_12. The other end of the resistor R1 is pulled up at 3V, and the other end of the resistor R2 is pulled up at 1.8V.

端子Tx/Rx_SW_11は、インバータIC2の入力端子に接続され、インバータIC2の出力端子は、抵抗R4の一端、スイッチsw1の制御端子a3およびインバータIC3の入力端子に接続される。 The terminal Tx/Rx_SW_11 is connected to the input terminal of the inverter IC2, and the output terminal of the inverter IC2 is connected to one end of the resistor R4, the control terminal a3 of the switch sw1 and the input terminal of the inverter IC3.

インバータIC3の出力端子は、抵抗R5の一端、スイッチsw2の制御端子b3および端子Tx/Rx_SW_12に接続される。抵抗R4、R5の他端は、1.8Vでプルアップされる。
端子UART_Tx1は、抵抗R6の一端とスイッチsw2の端子b1に接続され、スイッチsw2の端子b2は、抵抗R7の一端、スイッチsw1の端子a2および端子UART_Tx1/Rx1に接続される。抵抗R6の他端は、3Vにプルアップされ、抵抗R7の他端は、1.8Vにプルアップされる。
The output terminal of the inverter IC3 is connected to one end of the resistor R5, the control terminal b3 of the switch sw2 and the terminal Tx/Rx_SW_12. The other ends of the resistors R4 and R5 are pulled up at 1.8V.
The terminal UART_Tx1 is connected to one end of the resistor R6 and the terminal b1 of the switch sw2, and the terminal b2 of the switch sw2 is connected to one end of the resistor R7, the terminal a2 of the switch sw1 and the terminal UART_Tx1/Rx1. The other end of the resistor R6 is pulled up to 3V, and the other end of the resistor R7 is pulled up to 1.8V.

端子UART_Rx1は、抵抗R8の一端、スイッチsw1の端子a1に接続される。抵抗R8の他端は、3Vにプルアップされる。なお、通信部12には、1.2Vおよび1.8Vの電力が供給されている。 The terminal UART_Rx1 is connected to one end of the resistor R8 and the terminal a1 of the switch sw1. The other end of the resistor R8 is pulled up to 3V. The communication unit 12 is supplied with electric power of 1.2V and 1.8V.

ここで、端子Tx/Rx_SW_11から出力される切替制御信号がHレベルのときに通信部12はTx状態に設定され、Lレベルのときに通信部12はRx状態に設定される。また、スイッチsw1は、制御端子a3がHレベルのときはオンし、制御端子a3がLレベルのときはオフする。スイッチsw2は、制御端子b3がHレベルのときはオンし、制御端子b3がLレベルのときはオフする。 Here, the communication unit 12 is set to the Tx state when the switching control signal output from the terminal Tx/Rx_SW_11 is at the H level, and the communication unit 12 is set to the Rx state when it is at the L level. The switch sw1 is turned on when the control terminal a3 is at H level, and is turned off when the control terminal a3 is at L level. The switch sw2 is turned on when the control terminal b3 is at the H level, and is turned off when the control terminal b3 is at the L level.

したがって、通信部12をTx状態に設定する場合、端子Tx/Rx_SW_11からHレベルの切替制御信号が出力される。このとき、スイッチsw1の制御端子a3はLレベルになるのでオフになり、スイッチsw2の制御端子b3はHレベルになるのでオンになる。 Therefore, when the communication unit 12 is set to the Tx state, the terminal Tx/Rx_SW_11 outputs the H level switching control signal. At this time, the control terminal a3 of the switch sw1 is turned off because it is at L level, and the control terminal b3 of the switch sw2 is turned on because it is at H level.

よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通し、端子UART_Rx1と端子UART_Tx1/Rx1は非導通になるので、端子UART_Tx1と端子UART_Tx1/Rx1を結ぶラインが生成され、制御部11から通信部12に向かってデータが流れる。 Therefore, since the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are conductive and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are non-conductive, a line connecting the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 is generated, and the control unit 11 goes to the communication unit 12. Data flows.

また、通信部12をRx状態に設定する場合、端子Tx/Rx_SW_11からLレベルの切替制御信号が出力される。このとき、スイッチsw1の制御端子a3はHレベルになるのでオンになり、スイッチsw2の制御端子b3はLレベルになるのでオフになる。 Further, when the communication unit 12 is set to the Rx state, the terminal Tx/Rx_SW_11 outputs the L level switching control signal. At this time, the control terminal a3 of the switch sw1 is turned on because it is at H level, and the control terminal b3 of the switch sw2 is turned off because it is at L level.

よって、端子UART_Rx1と端子UART_Tx1/Rx1は導通し、端子UART_Tx1と端子UART_Tx1/Rx1は非導通になるので、端子UART_Tx1/Rx1と端子UART_Rx1を結ぶラインが生成され、通信部12から制御部11に向かってデータが流れる。 Therefore, since the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive and the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, a line connecting the terminal UART_Tx1/Rx1 and the terminal UART_Rx1 is generated, and the communication unit 12 goes to the control unit 11. Data flows.

一方、図5に示す情報処理装置20は、上述の制御部21、通信部22およびスイッチ部23を備え、スイッチ部23は、スイッチsw11、sw12、インバータIC4、IC5、IC6、抵抗R9、・・・、R14を含む。 On the other hand, the information processing apparatus 20 shown in FIG. 5 includes the above-described control unit 21, communication unit 22, and switch unit 23, and the switch unit 23 includes switches sw11, sw12, inverters IC4, IC5, IC6, a resistor R9,... · Including R14.

制御部21は、端子RST_21、端子TX/RX_SW_21、端子UART_Tx2および端子UART_Rx2を有する。通信部22は、端子RST_22、端子TX/RX_SW_22および端子UART_Tx2/Rx2を有する。
端子RST_21は、リセット信号を出力し、端子RST_22は、インバータIC4でレベルが反転されたリセット信号を受信する。端子TX/RX_SW_21は、通信部22のデータ送受信の切替(無線通信の指向の切替)を行うための切替制御信号を出力し、端子TX/RX_SW_22は、切替制御信号を受信する。
The control unit 21 has a terminal RST_21, a terminal TX/RX_SW_21, a terminal UART_Tx2, and a terminal UART_Rx2. The communication unit 22 has a terminal RST_22, a terminal TX/RX_SW_22, and a terminal UART_Tx2/Rx2.
The terminal RST_21 outputs a reset signal, and the terminal RST_22 receives the reset signal whose level is inverted by the inverter IC4. The terminal TX/RX_SW_21 outputs a switching control signal for switching the data transmission/reception of the communication unit 22 (switching the direction of wireless communication), and the terminal TX/RX_SW_22 receives the switching control signal.

端子UART_Tx2は、情報処理装置10へ送信すべきデータを出力する。端子UART_Rx2は、情報処理装置10から送信されたデータを受信する。
端子UART_Tx2/Rx2は、通信部22がTx状態のときは受信端子となって、端子UART_Tx2から出力されたデータを受信する。そして、端子UART_Tx2/Rx2で受信されたデータは、通信部22から無線を通じて情報処理装置10へ送信される。
The terminal UART_Tx2 outputs data to be transmitted to the information processing device 10. The terminal UART_Rx2 receives the data transmitted from the information processing device 10.
The terminal UART_Tx2/Rx2 serves as a receiving terminal when the communication unit 22 is in the Tx state, and receives the data output from the terminal UART_Tx2. Then, the data received at the terminal UART_Tx2/Rx2 is wirelessly transmitted from the communication unit 22 to the information processing device 10.

また、端子UART_Tx2/Rx2は、通信部22がRx状態のときは送信端子となって、通信部22が無線を通じて受信した情報処理装置10からのデータを、端子UART_Rx2に送信する。 Further, the terminal UART_Tx2/Rx2 becomes a transmission terminal when the communication unit 22 is in the Rx state, and transmits the data from the information processing device 10 received by the communication unit 22 wirelessly to the terminal UART_Rx2.

各構成要素の接続関係を記すと、端子RST_21は、インバータIC4の入力端子に接続され、インバータIC4の出力端子は、抵抗R9の一端と端子RST_22に接続される。抵抗R9の他端は、1.8Vにプルアップされる。 Regarding the connection relationship of each component, the terminal RST_21 is connected to the input terminal of the inverter IC4, and the output terminal of the inverter IC4 is connected to one end of the resistor R9 and the terminal RST_22. The other end of the resistor R9 is pulled up to 1.8V.

端子TX/RX_SW_21は、インバータIC5の入力端子に接続され、インバータIC5の出力端子は、抵抗R10の一端、スイッチsw11の制御端子c3およびインバータIC6の入力端子に接続される。 The terminal TX/RX_SW_21 is connected to the input terminal of the inverter IC5, and the output terminal of the inverter IC5 is connected to one end of the resistor R10, the control terminal c3 of the switch sw11, and the input terminal of the inverter IC6.

インバータIC6の出力端子は、スイッチsw12の制御端子d3、抵抗R11の一端および端子TX/RX_SW_22に接続される。抵抗R10、R11は、1.8Vにプルアップされる。 The output terminal of the inverter IC6 is connected to the control terminal d3 of the switch sw12, one end of the resistor R11, and the terminal TX/RX_SW_22. The resistors R10 and R11 are pulled up to 1.8V.

端子UART_Tx2は、抵抗R12の一端とスイッチsw12の端子d1に接続され、スイッチsw12の端子d2は、抵抗R13の一端、スイッチsw11の端子c2および端子UART_Tx2/Rx2に接続される。抵抗R12の他端は3Vにプルアップされ、抵抗R13は1.8Vにプルアップされる。 The terminal UART_Tx2 is connected to one end of the resistor R12 and the terminal d1 of the switch sw12, and the terminal d2 of the switch sw12 is connected to one end of the resistor R13, the terminal c2 of the switch sw11, and the terminal UART_Tx2/Rx2. The other end of the resistor R12 is pulled up to 3V and the resistor R13 is pulled up to 1.8V.

端子UART_Rx2は、抵抗R14の一端とスイッチsw11の端子c1に接続される。抵抗R14の他端は、3Vにプルアップされる。なお、通信部22には、1.2Vおよび1.8Vの電力が供給されている。 The terminal UART_Rx2 is connected to one end of the resistor R14 and the terminal c1 of the switch sw11. The other end of the resistor R14 is pulled up to 3V. The communication unit 22 is supplied with electric power of 1.2V and 1.8V.

ここで、端子TX/RX_SW_21から出力される切替制御信号がHレベルのときに通信部22はTx状態に設定され、Lレベルのときに通信部22はRx状態に設定される。また、スイッチsw11は、制御端子c3がHレベルのときはオンし、制御端子c3がLレベルのときはオフする。スイッチsw12は、制御端子d3がHレベルのときはオンし、制御端子d3がLレベルのときはオフする。 Here, the communication unit 22 is set to the Tx state when the switching control signal output from the terminal TX/RX_SW_21 is at the H level, and is set to the Rx state when it is at the L level. The switch sw11 is turned on when the control terminal c3 is at the H level, and is turned off when the control terminal c3 is at the L level. The switch sw12 is turned on when the control terminal d3 is at the H level, and is turned off when the control terminal d3 is at the L level.

したがって、通信部22をTx状態に設定する場合、端子TX/RX_SW_21からHレベルの切替制御信号が出力される。このとき、スイッチsw11の制御端子c3はLレベルになるのでオフになり、スイッチsw12の制御端子d3はHレベルになるのでオンになる。 Therefore, when the communication unit 22 is set to the Tx state, the H-level switching control signal is output from the terminal TX/RX_SW_21. At this time, the control terminal c3 of the switch sw11 is turned off because it is at L level, and the control terminal d3 of the switch sw12 is turned on because it is at H level.

よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通し、端子UART_Rx2と端子UART_Tx2/Rx2は非導通になるので、端子UART_Tx2と端子UART_Tx2/Rx2を結ぶラインが生成され、制御部21から通信部22に向かってデータが流れる。 Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive, so that a line connecting the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 is generated, and the control unit 21 goes to the communication unit 22. Data flows.

また、通信部22をRx状態に設定する場合、端子TX/RX_SW_21からLレベルの切替制御信号が出力される。このとき、スイッチsw11の制御端子c3はHレベルになるのでオンになり、スイッチsw12の制御端子d3はLレベルになるのでオフになる。 When the communication unit 22 is set to the Rx state, the terminal TX/RX_SW_21 outputs the L level switching control signal. At this time, the control terminal c3 of the switch sw11 is turned on because it is at H level, and the control terminal d3 of the switch sw12 is turned off because it is at L level.

よって、端子UART_Rx2と端子UART_Tx2/Rx2は導通し、端子UART_Tx2と端子UART_Tx2/Rx2は非導通になるので、端子UART_Tx2/Rx2と端子UART_Rx2を結ぶラインが生成され、通信部22から制御部21に向かってデータが流れる。 Therefore, since the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are conductive and the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are non-conductive, a line connecting the terminal UART_Tx2/Rx2 and the terminal UART_Rx2 is generated, and the communication unit 22 goes to the control unit 21. Data flows.

<事前ネゴシエーション>
情報処理システム1−2では、情報処理装置10は無線通信ICとして単一通信ポートを有する通信部12を含み、情報処理装置20は無線通信ICとして単一通信ポートを有する通信部22を含んでいる。そして、互いに1ペアの無線通信ICを使って、無線通信ICの指向方向(Tx/Rx)を切替えて双方向通信を行う。
<Pre-negotiation>
In the information processing system 1-2, the information processing device 10 includes a communication unit 12 having a single communication port as a wireless communication IC, and the information processing device 20 includes a communication unit 22 having a single communication port as a wireless communication IC. There is. Then, the pair of wireless communication ICs are used to switch the directivity direction (Tx/Rx) of the wireless communication ICs to perform bidirectional communication.

また、このような構成では、情報処理装置10、20が共に無線通信の指向がTx状態になっていると、データ衝突が発生する。したがって、事前ネゴシエーションを行って、データ衝突の発生の防止を図る。 Further, in such a configuration, when the information processing apparatuses 10 and 20 are both in the Tx state in the direction of wireless communication, data collision occurs. Therefore, pre-negotiation is performed to prevent the occurrence of data collision.

事前ネゴシエーションとしては、情報処理装置10がデータを情報処理装置20に送信する場合、例えば、情報処理装置10は、無線通信の指向をTx状態にして一定時間のHレベルパルス(要求パルスに該当)を情報処理装置20に送信する。その後、情報処理装置10は、無線通信の指向をRx状態に切替えて、情報処理装置20からの返信を待ち受ける。 As the pre-negotiation, when the information processing device 10 transmits data to the information processing device 20, for example, the information processing device 10 sets the direction of wireless communication to the Tx state for an H level pulse (corresponding to a request pulse) for a certain period of time. Is transmitted to the information processing device 20. After that, the information processing device 10 switches the direction of wireless communication to the Rx state and waits for a reply from the information processing device 20.

情報処理装置20は、無線通信の指向がRx状態のときに情報処理装置10からのHレベルパルスを受信した場合は、Tx状態に切替えてから返信としてHレベルパルス(応答パルスに該当)を情報処理装置10に送信する。その後、情報処理装置20は、無線通信の指向をRx状態に切替えて、情報処理装置10から送信されるデータ(実データ)を待ち受ける。 When the information processing device 20 receives the H level pulse from the information processing device 10 when the direction of wireless communication is in the Rx state, the information processing device 20 switches to the Tx state and then returns the H level pulse (corresponding to a response pulse) as a reply. It is transmitted to the processing device 10. After that, the information processing device 20 switches the direction of wireless communication to the Rx state and waits for data (actual data) transmitted from the information processing device 10.

情報処理装置10は、Hレベルパルスの送信後に、情報処理装置20から返信されたHレベルパルスを受信すると、情報処理装置20はRx状態であることを認識し、無線通信の指向をTx状態に切替えて、情報処理装置20にデータ(実データ)を送信する。 When the information processing apparatus 10 receives the H level pulse returned from the information processing apparatus 20 after transmitting the H level pulse, the information processing apparatus 20 recognizes that the information processing apparatus 20 is in the Rx state and sets the direction of wireless communication to the Tx state. The data is switched to transmit the data (actual data) to the information processing device 20.

情報処理装置10、20間で、このような事前ネゴシエーションが行われることで、データ衝突の発生を防止することができる。なお、情報処理装置20から情報処理装置10へデータ送信を行う場合も同様の事前ネゴシエーションが行われる。 By performing such pre-negotiation between the information processing devices 10 and 20, it is possible to prevent the occurrence of data collision. Note that similar pre-negotiation is performed when data is transmitted from the information processing device 20 to the information processing device 10.

図6は事前ネゴシエーションの動作の一例を示すフローチャートである。図6は、事前ネゴシエーションのトリガを出力する側(事前ネゴシエーションの呼びかけを行う側)の情報処理装置の動作を示している。 FIG. 6 is a flowchart showing an example of the operation of the pre-negotiation. FIG. 6 shows the operation of the information processing device on the side that outputs a trigger for pre-negotiation (the side that calls for pre-negotiation).

情報処理装置10が情報処理装置20に対して事前ネゴシエーションのトリガを出力するものとする。事前ネゴシエーションのトリガは、図1に示した要求パルスm1に該当し、例えば、一定時間のHレベルパルスとする。 It is assumed that the information processing device 10 outputs a trigger for pre-negotiation to the information processing device 20. The trigger of the pre-negotiation corresponds to the request pulse m1 shown in FIG. 1, and is, for example, an H level pulse for a fixed time.

〔ステップS10〕情報処理装置10の制御部11は、初期の装置状態として、データ送信の要否を不要、無線通信の指向をRx、受信対象をHレベルパルスとする。
〔ステップS11〕制御部11は、データ送信が要になったか否かを判定する。データ送信が要になった場合はステップS12に処理が進み、データ送信が不要の場合はステップS10に処理が戻る。
[Step S10] As the initial device state, the control unit 11 of the information processing device 10 determines whether or not data transmission is necessary, sets the radio communication direction to Rx, and sets the reception target to the H level pulse.
[Step S11] The control unit 11 determines whether or not data transmission is required. If data transmission is required, the process proceeds to step S12, and if data transmission is not required, the process returns to step S10.

〔ステップS12〕制御部11は、無線通信の指向をRxからTxに変更する。
〔ステップS13〕制御部11は、装置状態を、データ送信の要否を要、無線通信の指向をTx、送信対象をHレベルパルスとする。
[Step S12] The control unit 11 changes the direction of wireless communication from Rx to Tx.
[Step S13] The control unit 11 sets the device state to the necessity of data transmission, the direction of wireless communication to Tx, and the transmission target to H level pulse.

〔ステップS14〕制御部11は、対向装置である情報処理装置20に、Hレベルパルスを送信する。
〔ステップS15〕制御部11は、無線通信の指向をTxからRxに変更する。
[Step S14] The control unit 11 transmits an H level pulse to the information processing apparatus 20 which is the opposite apparatus.
[Step S15] The control unit 11 changes the direction of wireless communication from Tx to Rx.

〔ステップS16〕制御部11は、装置状態を、データ送信の要否を不要、無線通信の指向をRx、受信対象をHレベルパルスとする。ここでの受信対象は、図1に示した応答パルスm2に該当する。応答パルスm2も要求パルスm1と同様な一定時間のHレベルパルスとする。 [Step S16] The control unit 11 sets the device state to whether or not data transmission is necessary, the direction of wireless communication is Rx, and the reception target is an H level pulse. The reception target here corresponds to the response pulse m2 shown in FIG. The response pulse m2 is also an H level pulse for a fixed time similar to the request pulse m1.

〔ステップS17〕制御部11は、情報処理装置20から返信されたHレベルパルスを受信したか否かを判定する。情報処理装置20からのHレベルパルスを受信した場合はステップS18に処理が進み、Hレベルパルスを受信しない場合はステップS17aに処理が進む。 [Step S17] The control unit 11 determines whether or not the H-level pulse returned from the information processing device 20 has been received. When the H level pulse from the information processing device 20 is received, the process proceeds to step S18, and when the H level pulse is not received, the process proceeds to step S17a.

〔ステップS17a〕制御部11は、所定時間待機し、所定時間に達するとステップS13に処理が戻る。
〔ステップS18〕制御部11は、無線通信の指向をRxからTxに変更する。
[Step S17a] The control unit 11 waits for a predetermined time, and when the predetermined time is reached, the process returns to step S13.
[Step S18] The control unit 11 changes the direction of wireless communication from Rx to Tx.

〔ステップS19〕制御部11は、装置状態を、データ送信の要否を要、無線通信の指向をTx、送信対象をデータ(実データ)とする。
〔ステップS20〕制御部11は、データを情報処理装置20に送信する。
〔ステップS21〕制御部11は、データの送信後、無線通信の指向をTxからRxに変更する。ステップS10に処理が戻る。
[Step S19] The control unit 11 sets the device state to the necessity of data transmission, the direction of wireless communication to Tx, and the transmission target to data (actual data).
[Step S20] The control unit 11 transmits data to the information processing device 20.
[Step S21] After transmitting the data, the control unit 11 changes the direction of wireless communication from Tx to Rx. The process returns to step S10.

図7は事前ネゴシエーションの動作の一例を示すフローチャートである。図7は、事前ネゴシエーションのトリガを受信する側(事前ネゴシエーションの呼びかけを受ける側)の情報処理装置の動作を示している。例えば、情報処理装置20が情報処理装置10からの事前ネゴシエーションのトリガ(Hレベルパルス(要求パルス))を受信するものとする。 FIG. 7 is a flowchart showing an example of the operation of the pre-negotiation. FIG. 7 illustrates the operation of the information processing device on the side that receives the trigger of the pre-negotiation (the side that receives the call for the pre-negotiation). For example, it is assumed that the information processing device 20 receives a pre-negotiation trigger (H level pulse (request pulse)) from the information processing device 10.

〔ステップS30〕情報処理装置20の制御部21は、初期の装置状態として、データ送信の要否を不要、無線通信の指向をRx、受信対象をHレベルパルスとする(上述のステップS10と同じ状態である)。 [Step S30] As an initial device state, the control unit 21 of the information processing device 20 does not need data transmission, sets the direction of wireless communication to Rx, and sets the reception target to an H level pulse (the same as step S10 described above). State).

〔ステップS31〕制御部21は、対向装置である情報処理装置10から送信されたHレベルパルスを受信したか否かを判定する。Hレベルパルスを受信した場合はステップS32に処理が進み、Hレベルパルスを受信しない場合はステップS30に処理が戻る。 [Step S31] The control unit 21 determines whether or not the H level pulse transmitted from the information processing apparatus 10 which is the opposite apparatus has been received. When the H level pulse is received, the process proceeds to step S32, and when the H level pulse is not received, the process returns to step S30.

〔ステップS32〕制御部21は、Hレベルパルスの受信を完了する。
〔ステップS33〕制御部21は、無線通信の指向をRxからTxに変更する。
〔ステップS34〕制御部21は、装置状態を、データ送信の要否を要、無線通信の指向をTx、送信対象をHレベルパルスとする。ここでの送信対象のHレベルパルスは応答パルスm2に該当する。
[Step S32] The controller 21 completes the reception of the H level pulse.
[Step S33] The control unit 21 changes the direction of wireless communication from Rx to Tx.
[Step S34] The control unit 21 sets the device state to the necessity of data transmission, the direction of wireless communication to Tx, and the transmission target to H level pulse. The H level pulse to be transmitted here corresponds to the response pulse m2.

〔ステップS35〕制御部21は、情報処理装置10に、Hレベルパルスを送信する。
〔ステップS36〕制御部21は、無線通信の指向をTxからRxに変更する。
〔ステップS37〕制御部21は、装置状態を、データ送信の要否を不要、無線通信の指向をRx、受信対象をデータ(実データ)とする。
〔ステップS38〕制御部21は、データを受信する。データの受信完了後はステップS30の処理に戻る。
[Step S35] The control unit 21 transmits an H level pulse to the information processing device 10.
[Step S36] The control unit 21 changes the direction of wireless communication from Tx to Rx.
[Step S37] The control unit 21 sets the device status to whether or not data transmission is necessary, the radio communication orientation to Rx, and the reception target to data (actual data).
[Step S38] The control unit 21 receives the data. After the data reception is completed, the process returns to step S30.

<事前ネゴシエーションのタイミングチャート>
次にタイミングチャートを用いて事前ネゴシエーションの詳細について説明する。図8、図9は事前ネゴシエーションのタイミングチャートの一例を示す図である。情報処理装置10が事前ネゴシエーションのトリガを情報処理装置20に出力するものとする。図8は情報処理装置10側の動作を示し、図9は情報処理装置20側の動作を示している。
<Timing chart of pre-negotiation>
Next, the details of the pre-negotiation will be described using a timing chart. 8 and 9 are diagrams showing an example of a timing chart of pre-negotiation. It is assumed that the information processing device 10 outputs a trigger for pre-negotiation to the information processing device 20. 8 shows the operation on the information processing apparatus 10 side, and FIG. 9 shows the operation on the information processing apparatus 20 side.

図8の時間t1から時間t4における情報処理装置10の動作について、図4の構成も参照しながら説明する。
〔時間t1〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
端子RST_11は、Hレベルのリセット信号を出力して、通信部12をアイドル状態からアクティブ状態にする。
The operation of the information processing device 10 from time t1 to time t4 in FIG. 8 will be described with reference to the configuration in FIG.
[Time t1] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.
The terminal RST_11 outputs an H-level reset signal to change the communication unit 12 from the idle state to the active state.

端子Tx/Rx_SW_11は、Lレベル信号を出力する。よって、端子Tx/Rx_SW_12は、Lレベル信号を受信し、通信部12はRx状態に設定される。
また、端子Tx/Rx_SW_11から出力されるLレベル信号により、インバータIC2はHレベル信号を出力してスイッチsw1はオンし、インバータIC3はLレベル信号を出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。
端子UART_Tx1は、Hレベル信号を出力している。端子UART_Rx1は、この状態ではLレベル信号を出力し、端子UART_Rx1および端子UART_Tx1/Rx1は、Lレベル状態になる。
The terminal Tx/Rx_SW_11 outputs an L level signal. Therefore, the terminal Tx/Rx_SW_12 receives the L level signal, and the communication unit 12 is set to the Rx state.
Further, the inverter IC2 outputs an H level signal and the switch sw1 is turned on by the L level signal output from the terminal Tx/Rx_SW_11, and the inverter IC3 outputs an L level signal and the switch sw2 is turned off. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.
The terminal UART_Tx1 outputs an H level signal. The terminal UART_Rx1 outputs an L level signal in this state, and the terminals UART_Rx1 and UART_Tx1/Rx1 are in the L level state.

〔時間t2〕情報処理装置10がHレベルパルスを情報処理装置20に送信して、事前ネゴシエーションのトリガを送信する状態である。
端子Tx/Rx_SW_11は、Hレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Hレベルパルスを受信し、通信部12はTx状態に設定される。
[Time t2] The information processing apparatus 10 is in a state of transmitting an H level pulse to the information processing apparatus 20 and transmitting a trigger for pre-negotiation.
The terminal Tx/Rx_SW_11 outputs an H level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the H level pulse, and the communication unit 12 is set to the Tx state.

また、端子Tx/Rx_SW_11から出力されるHレベルパルスにより、インバータIC2はLレベルパルスを出力してスイッチsw1はオフし、インバータIC3はHレベルパルスを出力してスイッチsw2はオンする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は非導通状態になる。 Further, the H level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an L level pulse to turn off the switch sw1, and the inverter IC3 to output an H level pulse to turn on the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 become conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 become non-conductive.

端子UART_Tx1は、Hレベル信号を出力している。また、スイッチsw2は端子Tx/Rx_SW_11から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw2の端子b2からは、端子UART_Tx1のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx1/Rx1は、このHレベルパルスを受信する。通信部12は、端子UART_Tx1/Rx1で受信したHレベルパルスを情報処理装置20へ無線送信する。端子UART_Rx1は、Lレベル状態を維持する。 The terminal UART_Tx1 outputs an H level signal. Also, the switch sw2 is turned on for the time of the H level pulse output from the terminal Tx/Rx_SW_11. Therefore, the terminal b2 of the switch sw2 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx1, and the terminal UART_Tx1/Rx1 receives this H level pulse. The communication unit 12 wirelessly transmits the H level pulse received at the terminal UART_Tx1/Rx1 to the information processing device 20. The terminal UART_Rx1 maintains the L level state.

〔時間t3〕情報処理装置10が情報処理装置20から返信されたHレベルパルスを受信する状態である。
端子Tx/Rx_SW_11は、Lレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Lレベルパルスを受信し、通信部12はRx状態に設定される。
[Time t3] The information processing apparatus 10 is in a state of receiving the H level pulse returned from the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an L level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the L level pulse, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベルパルスにより、インバータIC2はHレベルパルスを出力してスイッチsw1はオンし、インバータIC3はLレベルパルスを出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。 In addition, the L level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an H level pulse to turn on the switch sw1, and the inverter IC3 to output an L level pulse to turn off the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.

端子UART_Tx1は、Hレベル状態を維持している。また、通信部12は、情報処理装置20から返信されたHレベルパルスを受信し、端子UART_Tx1/Rx1は、返信されたHレベルパルスを制御部11に向けて出力する。制御部11は、端子UART_Rx1で、返信されたHレベルパルスを受信する。 The terminal UART_Tx1 maintains the H level state. Further, the communication unit 12 receives the H level pulse returned from the information processing device 20, and the terminal UART_Tx1/Rx1 outputs the returned H level pulse to the control unit 11. The control unit 11 receives the returned H level pulse at the terminal UART_Rx1.

〔時間t4〕情報処理装置10は、情報処理装置20がRx状態であることを認識して事前ネゴシエーションを終了し、情報処理装置20にデータ(実データ)を送信する状態である。
端子Tx/Rx_SW_11は、Hレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Hレベルパルスを受信し、通信部12はTx状態に設定される。
[Time t4] The information processing apparatus 10 is in a state of recognizing that the information processing apparatus 20 is in the Rx state, ending the pre-negotiation, and transmitting data (actual data) to the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an H level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the H level pulse, and the communication unit 12 is set to the Tx state.

また、端子Tx/Rx_SW_11から出力されるHレベルパルスにより、インバータIC2はLレベルパルスを出力してスイッチsw1はオフし、インバータIC3はHレベルパルスを出力してスイッチsw2はオンする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は非導通状態になる。 Further, the H level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an L level pulse to turn off the switch sw1, and the inverter IC3 to output an H level pulse to turn on the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 become conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 become non-conductive.

端子UART_Tx1は、データを出力する。また、スイッチsw2はオンしているので、スイッチsw2の端子b2からは、端子UART_Tx1からのデータが出力され、端子UART_Tx1/Rx1は、データを受信する。通信部12は、端子UART_Tx1/Rx1で受信したデータを情報処理装置20へ無線送信する。端子UART_Rx1は、Lレベル状態を維持する。 The terminal UART_Tx1 outputs data. Also, since the switch sw2 is turned on, the data from the terminal UART_Tx1 is output from the terminal b2 of the switch sw2, and the terminal UART_Tx1/Rx1 receives the data. The communication unit 12 wirelessly transmits the data received at the terminals UART_Tx1/Rx1 to the information processing device 20. The terminal UART_Rx1 maintains the L level state.

次に図9の時間t1から時間t4における情報処理装置20の動作について、図5の構成も参照しながら説明する。
〔時間t1〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
Next, the operation of the information processing apparatus 20 from time t1 to time t4 in FIG. 9 will be described with reference to the configuration in FIG.
[Time t1] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.

端子RST_21は、Lレベルのリセット信号を出力して、通信部22をアイドル状態からアクティブ状態にする。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
The terminal RST_21 outputs an L-level reset signal to change the communication unit 22 from the idle state to the active state.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。
端子UART_Tx2は、Hレベル信号を出力している。端子UART_Rx2はこの状態ではLレベル信号を出力し、端子UART_Rx2および端子UART_Tx2/Rx2は、Lレベル状態になる。
Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.
The terminal UART_Tx2 outputs an H level signal. The terminal UART_Rx2 outputs an L level signal in this state, and the terminals UART_Rx2 and UART_Tx2/Rx2 are in the L level state.

〔時間t2〕情報処理装置20が情報処理装置10から送信されたHレベルパルスを受信する状態である。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
[Time t2] The information processing apparatus 20 is in a state of receiving the H level pulse transmitted from the information processing apparatus 10.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。 Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.

端子UART_Tx2は、Hレベル信号を出力している。また、通信部22は、情報処理装置10から送信された事前ネゴシエーションのトリガであるHレベルパルスを受信する。端子UART_Tx2/Rx2は、送信されたHレベルパルスを制御部21に向けて出力する。制御部21は、端子UART_Rx2で、送信されたHレベルパルスを受信する。 The terminal UART_Tx2 outputs an H level signal. In addition, the communication unit 22 receives the H-level pulse that is the trigger of the pre-negotiation transmitted from the information processing device 10. The terminal UART_Tx2/Rx2 outputs the transmitted H level pulse to the control unit 21. The control unit 21 receives the transmitted H level pulse at the terminal UART_Rx2.

〔時間t3〕情報処理装置20が情報処理装置10に対して、Hレベルパルスを返信する状態である。
端子TX/RX_SW_21は、Hレベルパルスを出力する。よって、端子TX/RX_SW_22は、Hレベルパルスを受信し、通信部22はTx状態に設定される。
[Time t3] The information processing apparatus 20 is in a state of returning an H level pulse to the information processing apparatus 10.
The terminal TX/RX_SW_21 outputs an H level pulse. Therefore, the terminal TX/RX_SW_22 receives the H level pulse, and the communication unit 22 is set to the Tx state.

また、端子TX/RX_SW_21から出力されるHレベルパルスにより、インバータIC5はLレベルパルスを出力してスイッチsw11はオフし、インバータIC6はHレベルパルスを出力してスイッチsw12はオンする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は非導通状態になる。 Further, the H level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an L level pulse to turn off the switch sw11, and the inverter IC6 to output an H level pulse to turn on the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive.

端子UART_Tx2は、Hレベル信号を出力している。また、スイッチsw12は端子TX/RX_SW_21から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw12の端子d2からは、端子UART_Tx2のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx2/Rx2は、このHレベルパルスを受信する。通信部22は、端子UART_Tx2/Rx2で受信したHレベルパルスを情報処理装置10へ送信する。端子UART_Rx2は、Lレベル状態を維持する。 The terminal UART_Tx2 outputs an H level signal. Further, the switch sw12 is turned on for the time of the H level pulse output from the terminal TX/RX_SW_21. Therefore, the terminal d2 of the switch sw12 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx2, and the terminal UART_Tx2/Rx2 receives this H level pulse. The communication unit 22 transmits the H level pulse received at the terminal UART_Tx2/Rx2 to the information processing device 10. The terminal UART_Rx2 maintains the L level state.

〔時間t4〕事前ネゴシエーションが終了し、情報処理装置20は、情報処理装置10からのデータ(実データ)を受信する状態である。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
[Time t4] The pre-negotiation is completed, and the information processing device 20 is in a state of receiving data (actual data) from the information processing device 10.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。 Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.

端子UART_Tx2は、Hレベル状態を維持している。通信部22は、情報処理装置10から送信されたデータを受信し、端子UART_Tx2/Rx2からデータを制御部21に送信する。端子UART_Rx2は、データを受信する。 The terminal UART_Tx2 maintains the H level state. The communication unit 22 receives the data transmitted from the information processing device 10, and transmits the data from the terminal UART_Tx2/Rx2 to the control unit 21. The terminal UART_Rx2 receives data.

図10、図11は事前ネゴシエーションのタイミングチャートの一例を示す図である。情報処理装置20が事前ネゴシエーションのトリガを情報処理装置10に出力するものとする。図10は情報処理装置20側の動作を示し、図11は情報処理装置10側の動作を示している。 10 and 11 are diagrams showing an example of a timing chart of pre-negotiation. It is assumed that the information processing device 20 outputs a trigger for pre-negotiation to the information processing device 10. 10 shows the operation on the information processing apparatus 20 side, and FIG. 11 shows the operation on the information processing apparatus 10 side.

図10の時間t11から時間t14における情報処理装置20の動作について、図5の構成も参照しながら説明する。
〔時間t11〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
The operation of the information processing device 20 from time t11 to time t14 in FIG. 10 will be described with reference to the configuration in FIG.
[Time t11] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.

端子RST_21は、Hレベルのリセット信号を出力して、通信部22をアイドル状態からアクティブ状態にする。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
The terminal RST_21 outputs an H-level reset signal to change the communication unit 22 from the idle state to the active state.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。
端子UART_Tx2は、Hレベル信号を出力している。端子UART_Rx2はこの状態ではLレベル信号を出力し、端子UART_Rx2および端子UART_Tx2/Rx2は、Lレベル状態になる。
Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.
The terminal UART_Tx2 outputs an H level signal. The terminal UART_Rx2 outputs an L level signal in this state, and the terminals UART_Rx2 and UART_Tx2/Rx2 are in the L level state.

〔時間t12〕情報処理装置20がHレベルパルスを情報処理装置10に送信して、事前ネゴシエーションのトリガを送信する状態である。
端子TX/RX_SW_21は、Hレベルパルスを出力する。よって、端子TX/RX_SW_22は、Hレベルパルスを受信し、通信部22はTx状態に設定される。
[Time t12] The information processing device 20 is in a state of transmitting an H level pulse to the information processing device 10 and transmitting a trigger for pre-negotiation.
The terminal TX/RX_SW_21 outputs an H level pulse. Therefore, the terminal TX/RX_SW_22 receives the H level pulse, and the communication unit 22 is set to the Tx state.

また、端子TX/RX_SW_21から出力されるHレベルパルスにより、インバータIC5はLレベルパルスを出力してスイッチsw11はオフし、インバータIC6はHレベルパルスを出力してスイッチsw12はオンする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は非導通状態になる。 Further, the H level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an L level pulse to turn off the switch sw11, and the inverter IC6 to output an H level pulse to turn on the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive.

端子UART_Tx2は、Hレベル信号を出力している。また、スイッチsw12は端子TX/RX_SW_21から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw12の端子d2からは、端子UART_Tx2のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx2/Rx2は、このHレベルパルスを受信する。通信部22は、端子UART_Tx2/Rx2で受信したHレベルパルスを情報処理装置10へ無線送信する。端子UART_Rx2は、Lレベル状態を維持する。 The terminal UART_Tx2 outputs an H level signal. Further, the switch sw12 is turned on for the time of the H level pulse output from the terminal TX/RX_SW_21. Therefore, the terminal d2 of the switch sw12 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx2, and the terminal UART_Tx2/Rx2 receives this H level pulse. The communication unit 22 wirelessly transmits the H level pulse received at the terminal UART_Tx2/Rx2 to the information processing device 10. The terminal UART_Rx2 maintains the L level state.

〔時間t13〕情報処理装置20が情報処理装置10から返信されたHレベルパルスを受信する状態である。
端子TX/RX_SW_21は、Lレベルパルスを出力する。よって、端子TX/RX_SW_22は、Lレベルパルスを受信し、通信部22はRx状態に設定される。
[Time t13] The information processing device 20 is in a state of receiving the H-level pulse returned from the information processing device 10.
The terminal TX/RX_SW_21 outputs an L level pulse. Therefore, the terminal TX/RX_SW_22 receives the L level pulse, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベルパルスにより、インバータIC5はHレベルパルスを出力してスイッチsw11はオンし、インバータIC6はLレベルパルスを出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。 In addition, the L level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an H level pulse to turn on the switch sw11, and the inverter IC6 to output an L level pulse to turn off the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.

端子UART_Tx2は、Hレベル状態を維持している。また、通信部22は、情報処理装置20から返信されたHレベルパルスを受信し、端子UART_Tx2/Rx2は、返信されたHレベルパルスを制御部21に向けて出力する。制御部21は、端子UART_Rx2で、返信されたHレベルパルスを受信する。 The terminal UART_Tx2 maintains the H level state. Further, the communication unit 22 receives the H level pulse returned from the information processing device 20, and the terminal UART_Tx2/Rx2 outputs the returned H level pulse to the control unit 21. The control unit 21 receives the returned H level pulse at the terminal UART_Rx2.

〔時間t14〕情報処理装置20は、情報処理装置10がRx状態であることを認識して事前ネゴシエーションを終了し、情報処理装置10にデータ(実データ)を送信する状態である。 [Time t14] The information processing device 20 is in a state of recognizing that the information processing device 10 is in the Rx state, ending the pre-negotiation, and transmitting data (actual data) to the information processing device 10.

端子TX/RX_SW_21は、Hレベルパルスを出力する。よって、端子TX/RX_SW_22は、Hレベルパルスを受信し、通信部22はTx状態に設定される。
また、端子TX/RX_SW_21から出力されるHレベルパルスにより、インバータIC5はLレベルパルスを出力してスイッチsw11はオフし、インバータIC6はHレベルパルスを出力してスイッチsw12はオンする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は非導通状態になる。
The terminal TX/RX_SW_21 outputs an H level pulse. Therefore, the terminal TX/RX_SW_22 receives the H level pulse, and the communication unit 22 is set to the Tx state.
Further, the H level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an L level pulse to turn off the switch sw11, and the inverter IC6 to output an H level pulse to turn on the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive.

端子UART_Tx2は、データを出力する。また、スイッチsw12はオンしているので、スイッチsw12の端子d2からは、端子UART_Tx2からのデータが出力され、端子UART_Tx2/Rx2は、データを受信する。通信部22は、端子UART_Tx2/Rx2で受信したデータを情報処理装置10へ無線送信する。端子UART_Rx2は、Lレベル状態を維持する。 The terminal UART_Tx2 outputs data. Moreover, since the switch sw12 is turned on, the data from the terminal UART_Tx2 is output from the terminal d2 of the switch sw12, and the terminal UART_Tx2/Rx2 receives the data. The communication unit 22 wirelessly transmits the data received at the terminal UART_Tx2/Rx2 to the information processing device 10. The terminal UART_Rx2 maintains the L level state.

次に図11の時間t11から時間t14における情報処理装置10の動作について、図4の構成も参照しながら説明する。
〔時間t11〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
Next, the operation of the information processing apparatus 10 from time t11 to time t14 in FIG. 11 will be described with reference to the configuration in FIG.
[Time t11] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.

端子RST_11は、Hレベルのリセット信号を出力して、通信部12をアイドル状態からアクティブ状態にする。
端子Tx/Rx_SW_11は、Lレベル信号を出力する。よって、端子Tx/Rx_SW_12は、Lレベル信号を受信し、通信部12はRx状態に設定される。
The terminal RST_11 outputs an H-level reset signal to change the communication unit 12 from the idle state to the active state.
The terminal Tx/Rx_SW_11 outputs an L level signal. Therefore, the terminal Tx/Rx_SW_12 receives the L level signal, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベル信号により、インバータIC2はHレベル信号を出力してスイッチsw1はオンし、インバータIC3はLレベル信号を出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。
端子UART_Tx1は、Hレベル信号を出力している。端子UART_Rx1はこの状態ではLレベル信号を出力し、端子UART_Rx1および端子UART_Tx1/Rx1は、Lレベル状態になる。
Further, the inverter IC2 outputs an H level signal and the switch sw1 is turned on by the L level signal output from the terminal Tx/Rx_SW_11, and the inverter IC3 outputs an L level signal and the switch sw2 is turned off. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.
The terminal UART_Tx1 outputs an H level signal. The terminal UART_Rx1 outputs an L level signal in this state, and the terminals UART_Rx1 and UART_Tx1/Rx1 are in the L level state.

〔時間t12〕情報処理装置10が情報処理装置20から送信されたHレベルパルスを受信する状態である。
端子Tx/Rx_SW_11は、Lレベル信号を出力する。よって、端子Tx/Rx_SW_12は、Lレベル信号を受信し、通信部12はRx状態に設定される。
[Time t12] The information processing apparatus 10 is in a state of receiving the H level pulse transmitted from the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an L level signal. Therefore, the terminal Tx/Rx_SW_12 receives the L level signal, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベル信号により、インバータIC2はHレベル信号を出力してスイッチsw1はオンし、インバータIC3はLレベル信号を出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。 Further, the inverter IC2 outputs an H level signal and the switch sw1 is turned on by the L level signal output from the terminal Tx/Rx_SW_11, and the inverter IC3 outputs an L level signal and the switch sw2 is turned off. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.

端子UART_Tx1は、Hレベル信号を出力している。また、通信部12は、情報処理装置20から送信された事前ネゴシエーションのトリガであるHレベルパルスを受信する。端子UART_Tx1/Rx1は、送信されたHレベルパルスを制御部11に向けて出力する。制御部11は、端子UART_Rx1で、送信されたHレベルパルスを受信する。 The terminal UART_Tx1 outputs an H level signal. Further, the communication unit 12 receives the H-level pulse that is the trigger of the pre-negotiation transmitted from the information processing device 20. The terminal UART_Tx1/Rx1 outputs the transmitted H level pulse to the control unit 11. The control unit 11 receives the transmitted H level pulse at the terminal UART_Rx1.

〔時間t13〕情報処理装置10が情報処理装置20にHレベルパルスを返信する状態である。
端子Tx/Rx_SW_11は、Hレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Hレベルパルスを受信し、通信部12はTx状態に設定される。
[Time t13] The information processing apparatus 10 is in a state of returning an H level pulse to the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an H level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the H level pulse, and the communication unit 12 is set to the Tx state.

また、端子Tx/Rx_SW_11から出力されるHレベルパルスにより、インバータIC2はLレベルパルスを出力してスイッチsw1はオフし、インバータIC3はHレベルパルスを出力してスイッチsw2はオンする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は非導通状態になる。 Further, the H level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an L level pulse to turn off the switch sw1, and the inverter IC3 to output an H level pulse to turn on the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 become conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 become non-conductive.

端子UART_Tx1は、Hレベル信号を出力している。また、スイッチsw2は端子Tx/Rx_SW_11から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw2の端子b2からは、端子UART_Tx1のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx1/Rx1は、このHレベルパルスを受信する。通信部12は、端子UART_Tx1/Rx1で受信したHレベルパルスを情報処理装置20へ送信する。端子UART_Rx1は、Lレベル状態を維持する。 The terminal UART_Tx1 outputs an H level signal. Also, the switch sw2 is turned on for the time of the H level pulse output from the terminal Tx/Rx_SW_11. Therefore, the terminal b2 of the switch sw2 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx1, and the terminal UART_Tx1/Rx1 receives this H level pulse. The communication unit 12 transmits the H level pulse received at the terminal UART_Tx1/Rx1 to the information processing device 20. The terminal UART_Rx1 maintains the L level state.

〔時間t14〕事前ネゴシエーションが終了し、情報処理装置10は、情報処理装置20からのデータ(実データ)を受信する状態である。
端子Tx/Rx_SW_11は、Lレベル信号を出力する。よって、端子Tx/Rx_SW_12は、Lレベル信号を受信し、通信部12はRx状態に設定される。
[Time t14] The pre-negotiation is completed, and the information processing device 10 is in a state of receiving data (actual data) from the information processing device 20.
The terminal Tx/Rx_SW_11 outputs an L level signal. Therefore, the terminal Tx/Rx_SW_12 receives the L level signal, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベル信号により、インバータIC2はHレベル信号を出力してスイッチsw1はオンし、インバータIC3はLレベル信号を出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。 Further, the inverter IC2 outputs an H level signal to turn on the switch sw1 by the L level signal output from the terminal Tx/Rx_SW_11, and the inverter IC3 outputs an L level signal to turn off the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.

端子UART_Tx1は、Hレベル状態を維持している。通信部12は、情報処理装置20から送信されたデータを受信し、端子UART_Tx1/Rx1からデータを制御部11に送信する。端子UART_Rx1は、データを受信する。 The terminal UART_Tx1 maintains the H level state. The communication unit 12 receives the data transmitted from the information processing device 20, and transmits the data from the terminal UART_Tx1/Rx1 to the control unit 11. The terminal UART_Rx1 receives data.

以上説明したように、情報処理装置10の制御部11は、送受信方向の切替信号を出力する端子Tx/Rx_SW_11(第1の切替制御端子)、データを送信する端子UART_Tx1(第1の送信端子)およびデータを受信する端子UART_Rx1(第1の受信端子)を有し、通信部12は、データの送受信を行う端子UART_Tx1/Rx1(第1の送受信端子)を有する。スイッチ部13は、スイッチsw1(第1のスイッチ)およびスイッチsw2(第2のスイッチ)を有する。 As described above, the control unit 11 of the information processing device 10 has a terminal Tx/Rx_SW_11 ( first switching control terminal) that outputs a switching signal in the transmission/reception direction and a terminal UART_Tx1 ( first transmission terminal) that transmits data. And a terminal UART_Rx1 ( first reception terminal) for receiving data, and the communication unit 12 has a terminal UART_Tx1/Rx1 ( first transmission/reception terminal) for transmitting/receiving data. The switch unit 13 includes a switch sw1 (first switch) and a switch sw2 (second switch).

双方向通信インタフェースを送信方向に切り替える場合、端子Tx/Rx_SW_11は、Hレベルの切替制御信号(第1の切替制御信号)を出力する。スイッチsw1は、Hレベルの切替制御信号の反転レベルによりオフし(Lレベルでオフ)、スイッチsw2は、Hレベルの切替制御信号の非反転レベルによりオンする(Hレベルでオン)。そして、端子UART_Tx1と端子UART_Tx1/Rx1を導通状態にし、端子UART_Rx1と端子UART_Tx1/Rx1を非導通状態にする。 When switching the bidirectional communication interface in the transmission direction, the terminal Tx/Rx_SW_11 outputs the H-level switching control signal (first switching control signal). The switch sw1 is turned off by the inversion level of the H level switching control signal (OFF at the L level), and the switch sw2 is turned on by the non-inversion level of the H level switching control signal (ON at the H level). Then, the terminals UART_Tx1 and UART_Tx1/Rx1 are made conductive, and the terminals UART_Rx1 and UART_Tx1/Rx1 are made non-conductive.

また、双方向通信インタフェースを受信方向に切り替える場合、端子Tx/Rx_SW_11は、Lレベルの切替制御信号(第2の切替制御信号)を出力する。スイッチsw1は、Lレベルの切替制御信号の反転レベルによりオンし(Hレベルでオン)、スイッチsw2は、Lレベルの切替制御信号の非反転レベルによりオフする(Lレベルでオフ)。そして、端子UART_Tx1と端子UART_Tx1/Rx1を非導通状態にし、端子UART_Rx1と端子UART_Tx1/Rx1を導通状態にする。
このような、情報処理装置10の内部構成によって、双方向通信インタフェースの送受信方向を少ない回路数で精度よく切り替えることができる。
When the bidirectional communication interface is switched to the receiving direction, the terminal Tx/Rx_SW_11 outputs the L level switching control signal (second switching control signal). The switch sw1 is turned on by the inverted level of the L level switching control signal (ON at the H level), and the switch sw2 is turned off by the non-inverted level of the L level switching control signal (OFF at the L level). Then, the terminals UART_Tx1 and UART_Tx1/Rx1 are made non-conductive, and the terminals UART_Rx1 and UART_Tx1/Rx1 are made conductive.
With such an internal configuration of the information processing device 10, the transmission/reception direction of the bidirectional communication interface can be accurately switched with a small number of circuits.

一方、情報処理装置20の制御部21は、送受信方向の切替制御信号を出力する端子TX/RX_SW_21(第2の切替制御端子)、データを送信する端子UART_Tx2(第2の送信端子)およびデータを受信する端子UART_Rx2(第2の受信端子)を有し、通信部22は、データの送受信を行う端子UART_Tx2/Rx2(第2の送受信端子)を有する。スイッチ部23は、スイッチsw11(第3のスイッチ)およびスイッチsw12(第4のスイッチ)を有する。 On the other hand, the control unit 21 of the information processing device 20 outputs a terminal TX/RX_SW_21 ( second switching control terminal) that outputs a switching control signal in the transmission/reception direction, a terminal UART_Tx2 ( second transmission terminal) that transmits data, and data. The communication unit 22 has a terminal UART_Rx2 ( second receiving terminal) for receiving, and the communication unit 22 has a terminal UART_Tx2/Rx2 ( second transmitting/receiving terminal) for transmitting and receiving data. The switch unit 23 includes a switch sw11 (third switch) and a switch sw12 (fourth switch).

双方向通信インタフェースを送信方向に切り替える場合、端子TX/RX_SW_21は、Hレベルの切替制御信号(第3の切替制御信号)を出力し、スイッチsw11は、Hレベルの切替制御信号の反転レベルによりオフし(Lレベルでオフ)、スイッチsw12はHレベルの切替制御信号の非反転レベルによりオンする(Hレベルでオン)。そして、端子UART_Tx2と端子UART_Tx2/Rx2を導通状態にさせ、端子UART_Rx2と端子UART_Tx2/Rx2を非導通状態にする。 When switching the bidirectional communication interface to the transmission direction, the terminal TX/RX_SW_21 outputs the H level switching control signal (third switching control signal), and the switch sw11 is turned off by the inverted level of the H level switching control signal. Then, the switch sw12 is turned on by the non-inverted level of the H level switching control signal (turned on at the H level). Then, the terminals UART_Tx2 and UART_Tx2/Rx2 are made conductive, and the terminals UART_Rx2 and UART_Tx2/Rx2 are made non-conductive.

また、双方向通信インタフェースを受信方向に切り替える場合、端子TX/RX_SW_21は、Lレベルの切替制御信号(第4の切替制御信号)を出力し、スイッチsw11は、Lレベルの切替制御信号の反転レベルによりオンし(Hレベルでオン)、スイッチsw12はLレベルの切替制御信号の非反転レベルによりオフする(Lレベルでオフ)。そして、端子UART_Tx2と端子UART_Tx2/Rx2を非導通状態にさせ、端子UART_Rx2と端子UART_Tx2/Rx2を導通状態にする。
このような、情報処理装置20の内部構成によって、双方向通信インタフェースの送受信方向を少ない回路数で精度よく切り替えることができる。
When the bidirectional communication interface is switched to the receiving direction, the terminal TX/RX_SW_21 outputs the L level switching control signal (fourth switching control signal), and the switch sw11 is the inversion level of the L level switching control signal. The switch sw12 is turned on by the non-inversion level of the L level switching control signal (turned off by the L level). Then, the terminals UART_Tx2 and UART_Tx2/Rx2 are made non-conductive, and the terminals UART_Rx2 and UART_Tx2/Rx2 are made conductive.
With such an internal configuration of the information processing apparatus 20, the transmission/reception direction of the bidirectional communication interface can be accurately switched with a small number of circuits.

<リトライ処理のタイミングチャート>
上記では、事前ネゴシエーションのトリガを受けた側が、Rx状態のときの動作であった。これに対し、該トリガを受けた側がTx状態の場合もありえる。以降ではこのようなときにリトライ処理を行って双方向通信を開始する場合について説明する。
<Timing chart of retry processing>
In the above, the operation that was performed when the side that received the trigger of the pre-negotiation was in the Rx state. On the other hand, the side receiving the trigger may be in the Tx state. Hereinafter, a case will be described in which a retry process is performed in such a case and bidirectional communication is started.

図12、図13はリトライ処理が行われる場合のタイミングチャートの一例を示す図である。情報処理装置10が事前ネゴシエーションのトリガを情報処理装置20に出力するものとする。図12は情報処理装置10側の動作を示し、図13は情報処理装置20側の動作を示している。 12 and 13 are diagrams showing an example of a timing chart when the retry process is performed. It is assumed that the information processing device 10 outputs a trigger for pre-negotiation to the information processing device 20. 12 shows the operation on the information processing apparatus 10 side, and FIG. 13 shows the operation on the information processing apparatus 20 side.

図12の時間t31から時間t36における情報処理装置10の動作について、図4の構成も参照しながら説明する。
〔時間t31〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
The operation of the information processing device 10 from time t31 to time t36 in FIG. 12 will be described with reference to the configuration in FIG.
[Time t31] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.

端子RST_11は、Hレベルのリセット信号を出力して、通信部12をアイドル状態からアクティブ状態にする。
端子Tx/Rx_SW_11は、Lレベル信号を出力する。よって、端子Tx/Rx_SW_12は、Lレベル信号を受信し、通信部12はRx状態に設定される。
The terminal RST_11 outputs an H-level reset signal to change the communication unit 12 from the idle state to the active state.
The terminal Tx/Rx_SW_11 outputs an L level signal. Therefore, the terminal Tx/Rx_SW_12 receives the L level signal, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベル信号により、インバータIC2はHレベル信号を出力してスイッチsw1はオンし、インバータIC3はLレベル信号を出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。
端子UART_Tx1は、Hレベル信号を出力している。端子UART_Rx1はこの状態ではLレベル信号を出力し、端子UART_Rx1および端子UART_Tx1/Rx1は、Lレベル状態になる。
Further, the inverter IC2 outputs an H level signal and the switch sw1 is turned on by the L level signal output from the terminal Tx/Rx_SW_11, and the inverter IC3 outputs an L level signal and the switch sw2 is turned off. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.
The terminal UART_Tx1 outputs an H level signal. The terminal UART_Rx1 outputs an L level signal in this state, and the terminals UART_Rx1 and UART_Tx1/Rx1 are in the L level state.

〔時間t32〕情報処理装置10がHレベルパルスを情報処理装置20に送信して、事前ネゴシエーションのトリガを送信する状態である。
端子Tx/Rx_SW_11は、Hレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Hレベルパルスを受信し、通信部12はTx状態に設定される。
[Time t32] The information processing apparatus 10 is in a state of transmitting an H level pulse to the information processing apparatus 20 and transmitting a trigger for pre-negotiation.
The terminal Tx/Rx_SW_11 outputs an H level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the H level pulse, and the communication unit 12 is set to the Tx state.

また、端子Tx/Rx_SW_11から出力されるHレベルパルスにより、インバータIC2はLレベルパルスを出力してスイッチsw1はオフし、インバータIC3はHレベルパルスを出力してスイッチsw2はオンする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は非導通状態になる。 Further, the H level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an L level pulse to turn off the switch sw1, and the inverter IC3 to output an H level pulse to turn on the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 become conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 become non-conductive.

端子UART_Tx1は、Hレベル信号を出力している。また、スイッチsw2は端子Tx/Rx_SW_11から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw2の端子b2からは、端子UART_Tx1のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx1/Rx1は、このHレベルパルスを受信する。通信部12は、端子UART_Tx1/Rx1で受信したHレベルパルスを情報処理装置20へ無線送信する。端子UART_Rx1は、Lレベル状態を維持する。 The terminal UART_Tx1 outputs an H level signal. Also, the switch sw2 is turned on for the time of the H level pulse output from the terminal Tx/Rx_SW_11. Therefore, the terminal b2 of the switch sw2 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx1, and the terminal UART_Tx1/Rx1 receives this H level pulse. The communication unit 12 wirelessly transmits the H level pulse received at the terminal UART_Tx1/Rx1 to the information processing device 20. The terminal UART_Rx1 maintains the L level state.

〔時間t33〕Hレベルパルスを送信してから、情報処理装置10から返信されるHレベルパルスの受信待ち状態である。なお、情報処理装置10がHレベルパルスを送信してから所定時間経過しても返信用のHレベルパルスを受信できないとする。返信用のHレベルパルスを受信しないので、端子UART_Tx1/Rx1および端子UART_Rx1は、Lレベルのままである。 [Time t33] It is in a waiting state for receiving the H level pulse returned from the information processing device 10 after transmitting the H level pulse. It is assumed that the reply H-level pulse cannot be received even if a predetermined time has elapsed since the information processing device 10 transmitted the H-level pulse. Since the H level pulse for reply is not received, the terminals UART_Tx1/Rx1 and the terminal UART_Rx1 are still at the L level.

制御部11は、事前ネゴシエーションのトリガであるHレベルパルスを送信してから所定時間T1以内に、情報処理装置20から返信されるHレベルパルスを受信できない場合、要求パルスの送信衝突の発生や正常通信ができなかったものと判定する。 When the control unit 11 cannot receive the H-level pulse returned from the information processing device 20 within the predetermined time T1 after transmitting the H-level pulse that is the trigger of the pre-negotiation, the control unit 11 generates a request pulse transmission collision or normally. It is determined that communication could not be performed.

〔時間t34〕情報処理装置10がHレベルパルスを情報処理装置20に再度送信する状態である。制御部11は、時間t32で行ったHレベルパルスの送信を再度行うリトライ処理を実行する(各端子のレベル状態やスイッチング状態は、時間t32と同じなので説明は省略する)。 [Time t34] The information processing device 10 is in a state of transmitting the H level pulse to the information processing device 20 again. The control unit 11 executes a retry process of transmitting the H level pulse again at the time t32 (the level state and switching state of each terminal are the same as those at the time t32, and the description thereof is omitted).

〔時間t35〕情報処理装置10が情報処理装置20から返信されたHレベルパルスを受信する状態である。
端子Tx/Rx_SW_11は、Lレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Lレベルパルスを受信し、通信部12はRx状態に設定される。
[Time t35] The information processing apparatus 10 is in a state of receiving the H level pulse returned from the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an L level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the L level pulse, and the communication unit 12 is set to the Rx state.

また、端子Tx/Rx_SW_11から出力されるLレベルパルスにより、インバータIC2はHレベルパルスを出力してスイッチsw1はオンし、インバータIC3はLレベルパルスを出力してスイッチsw2はオフする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は非導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は導通状態になる。 In addition, the L level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an H level pulse to turn on the switch sw1, and the inverter IC3 to output an L level pulse to turn off the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 are non-conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 are conductive.

端子UART_Tx1は、Hレベル状態を維持している。また、通信部12は、情報処理装置20から返信されたHレベルパルスを受信し、端子UART_Tx1/Rx1は、返信されたHレベルパルスを制御部11に向けて出力する。制御部11は、端子UART_Rx1で、返信されたHレベルパルスを受信する。 The terminal UART_Tx1 maintains the H level state. Further, the communication unit 12 receives the H level pulse returned from the information processing device 20, and the terminal UART_Tx1/Rx1 outputs the returned H level pulse to the control unit 11. The control unit 11 receives the returned H level pulse at the terminal UART_Rx1.

〔時間t36〕情報処理装置10は、情報処理装置20がRx状態であることを認識して事前ネゴシエーションを終了し、情報処理装置20にデータ(実データ)を送信する状態である。
端子Tx/Rx_SW_11は、Hレベルパルスを出力する。よって、端子Tx/Rx_SW_12は、Hレベルパルスを受信し、通信部12はTx状態に設定される。
[Time t36] The information processing apparatus 10 is in a state of recognizing that the information processing apparatus 20 is in the Rx state, ending the pre-negotiation, and transmitting data (actual data) to the information processing apparatus 20.
The terminal Tx/Rx_SW_11 outputs an H level pulse. Therefore, the terminal Tx/Rx_SW_12 receives the H level pulse, and the communication unit 12 is set to the Tx state.

また、端子Tx/Rx_SW_11から出力されるHレベルパルスにより、インバータIC2はLレベルパルスを出力してスイッチsw1はオフし、インバータIC3はHレベルパルスを出力してスイッチsw2はオンする。よって、端子UART_Tx1と端子UART_Tx1/Rx1は導通状態になり、端子UART_Rx1と端子UART_Tx1/Rx1は非導通状態になる。 Further, the H level pulse output from the terminal Tx/Rx_SW_11 causes the inverter IC2 to output an L level pulse to turn off the switch sw1, and the inverter IC3 to output an H level pulse to turn on the switch sw2. Therefore, the terminal UART_Tx1 and the terminal UART_Tx1/Rx1 become conductive, and the terminal UART_Rx1 and the terminal UART_Tx1/Rx1 become non-conductive.

端子UART_Tx1は、データを出力する。また、スイッチsw2はオンしているので、スイッチsw2の端子b2からは、端子UART_Tx1からのデータが出力され、端子UART_Tx1/Rx1は、データを受信する。通信部12は、端子UART_Tx1/Rx1で受信したデータを情報処理装置20へ無線送信する。端子UART_Rx1は、Lレベル状態を維持する。 The terminal UART_Tx1 outputs data. Also, since the switch sw2 is turned on, the data from the terminal UART_Tx1 is output from the terminal b2 of the switch sw2, and the terminal UART_Tx1/Rx1 receives the data. The communication unit 12 wirelessly transmits the data received at the terminals UART_Tx1/Rx1 to the information processing device 20. The terminal UART_Rx1 maintains the L level state.

次に図13の時間t31から時間t36における情報処理装置20の動作について、図5の構成も参照しながら説明する。
〔時間t31〕情報処理装置10、20による事前ネゴシエーションが行われる前の初期状態である。
Next, the operation of the information processing device 20 from time t31 to time t36 in FIG. 13 will be described with reference to the configuration in FIG.
[Time t31] This is the initial state before the pre-negotiation by the information processing devices 10 and 20.

端子RST_21は、Hレベルのリセット信号を出力して、通信部22をアイドル状態からアクティブ状態にする。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
The terminal RST_21 outputs an H-level reset signal to change the communication unit 22 from the idle state to the active state.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。
端子UART_Tx2は、Hレベル信号を出力している。端子UART_Rx2はこの状態ではLレベル信号を出力し、端子UART_Rx2および端子UART_Tx2/Rx2は、Lレベル状態になる。
Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.
The terminal UART_Tx2 outputs an H level signal. The terminal UART_Rx2 outputs an L level signal in this state, and the terminals UART_Rx2 and UART_Tx2/Rx2 are in the L level state.

〔時間t32〕情報処理装置20がHレベルパルスを情報処理装置10に送信して、事前ネゴシエーションのトリガを送信する状態である。情報処理装置10からもこの時間帯でHレベルパルスを送信しているため要求パルスの送信衝突が発生する。 [Time t32] The information processing apparatus 20 is in a state of transmitting an H level pulse to the information processing apparatus 10 and transmitting a trigger for pre-negotiation. Since the information processing apparatus 10 also transmits the H-level pulse during this time period, a request pulse transmission collision occurs.

端子TX/RX_SW_21は、Hレベルパルスを出力する。よって、端子TX/RX_SW_22は、Hレベルパルスを受信し、通信部22はTx状態に設定される。
また、端子TX/RX_SW_21から出力されるHレベルパルスにより、インバータIC5はLレベルパルスを出力してスイッチsw11はオフし、インバータIC6はHレベルパルスを出力してスイッチsw12はオンする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は非導通状態になる。
The terminal TX/RX_SW_21 outputs an H level pulse. Therefore, the terminal TX/RX_SW_22 receives the H level pulse, and the communication unit 22 is set to the Tx state.
Further, the H level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an L level pulse to turn off the switch sw11, and the inverter IC6 to output an H level pulse to turn on the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive.

端子UART_Tx2は、Hレベル信号を出力している。また、スイッチsw12は端子TX/RX_SW_21から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw12の端子d2からは、端子UART_Tx2のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx2/Rx2は、このHレベルパルスを受信する。通信部22は、端子UART_Tx2/Rx2で受信したHレベルパルスを情報処理装置10へ無線送信する(情報処理装置10からもこの時間帯でHレベルパルスを送信しているため要求パルスの送信衝突が起きる)。端子UART_Rx2は、Lレベル状態を維持する。 The terminal UART_Tx2 outputs an H level signal. Further, the switch sw12 is turned on for the time of the H level pulse output from the terminal TX/RX_SW_21. Therefore, the terminal d2 of the switch sw12 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx2, and the terminal UART_Tx2/Rx2 receives this H level pulse. The communication unit 22 wirelessly transmits the H level pulse received at the terminal UART_Tx2/Rx2 to the information processing device 10 (since the information processing device 10 also transmits the H level pulse during this time period, a request pulse transmission collision occurs. Get up). The terminal UART_Rx2 maintains the L level state.

〔時間t33〕Hレベルパルスを送信してから、情報処理装置10から返信されるHレベルパルスの受信待ち状態である。
なお、情報処理装置20側の制御部21は、事前ネゴシエーションのトリガを送信した後、時間T2(図の例では、時間t33、t34、t35が含まれている)が経過するまでRx状態を維持しようとする。
[Time t33] It is in a waiting state for receiving the H level pulse returned from the information processing device 10 after transmitting the H level pulse.
Note that the control unit 21 on the information processing device 20 side maintains the Rx state until time T2 (in the example of the figure, includes times t33, t34, and t35) has elapsed after transmitting the pre-negotiation trigger. try to.

ただし、時間T2以内で情報処理装置10からのHレベルパルスを受信した場合は、時間T2の経過を待たずにRx状態になって、返信用のHレベルパルスを情報処理装置10に送信する。 However, when the H level pulse from the information processing device 10 is received within the time T2, the Rx state is entered without waiting the elapse of the time T2, and the reply H level pulse is transmitted to the information processing device 10.

ここで、情報処理装置10、20間のリトライ処理では、情報処理装置10の制御部11側は、上記のように、要求パルスを送信してから時間T1(第1の所定時間)のうちに応答パルスを受信できない場合、時間T1が経過したときに要求パルスを情報処理装置20に再送する。 Here, in the retry process between the information processing devices 10 and 20, the control unit 11 side of the information processing device 10 transmits the request pulse within the time T1 (first predetermined time) as described above. When the response pulse cannot be received, the request pulse is retransmitted to the information processing device 20 when the time T1 has elapsed.

一方、情報処理装置20側の制御部21は、要求パルスを送信してから時間T1よりも長い時間T2(第2の所定時間)のうちに応答パルスを受信できない場合、時間T2が経過したときに要求パルスを情報処理装置10に再送するものとする。 On the other hand, when the control unit 21 on the information processing device 20 side cannot receive the response pulse within the time T2 (second predetermined time) longer than the time T1 after transmitting the request pulse, when the time T2 elapses. Then, the request pulse is retransmitted to the information processing device 10.

なお、時間T1の長さは、送信対象のデータのデータ長の10倍を超え(T1>10×データ長)、時間T2は、時間T1の長さの2倍以上に設定されている(T2≧2T1)。
〔時間t34〕時間T2内で、情報処理装置10から送信されたHレベルパルスを受信する状態である。
The length of the time T1 exceeds 10 times the data length of the transmission target data (T1>10×data length), and the time T2 is set to be twice or more the length of the time T1 (T2. ≧2T1).
[Time t34] Within the time T2, the H level pulse transmitted from the information processing device 10 is received.

端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.
Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.

端子UART_Tx2は、Hレベル信号を出力している。また、通信部22は、情報処理装置10から送信された事前ネゴシエーションのトリガであるHレベルパルスを受信する。端子UART_Tx2/Rx2は、送信されたHレベルパルスを制御部21に向けて出力する。制御部21は、端子UART_Rx2で、送信されたHレベルパルスを受信する。 The terminal UART_Tx2 outputs an H level signal. In addition, the communication unit 22 receives the H-level pulse that is the trigger of the pre-negotiation transmitted from the information processing device 10. The terminal UART_Tx2/Rx2 outputs the transmitted H level pulse to the control unit 21. The control unit 21 receives the transmitted H level pulse at the terminal UART_Rx2.

〔時間t35〕情報処理装置20が情報処理装置10に対して、Hレベルパルスを返信する状態である。
端子TX/RX_SW_21は、Hレベルパルスを出力する。よって、端子TX/RX_SW_22は、Hレベルパルスを受信し、通信部22はTx状態に設定される。
[Time t35] The information processing apparatus 20 is in a state of returning an H level pulse to the information processing apparatus 10.
The terminal TX/RX_SW_21 outputs an H level pulse. Therefore, the terminal TX/RX_SW_22 receives the H level pulse, and the communication unit 22 is set to the Tx state.

また、端子TX/RX_SW_21から出力されるHレベルパルスにより、インバータIC5はLレベルパルスを出力してスイッチsw11はオフし、インバータIC6はHレベルパルスを出力してスイッチsw12はオンする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は非導通状態になる。 Further, the H level pulse output from the terminal TX/RX_SW_21 causes the inverter IC5 to output an L level pulse to turn off the switch sw11, and the inverter IC6 to output an H level pulse to turn on the switch sw12. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 become conductive, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 become non-conductive.

端子UART_Tx2は、Hレベル信号を出力している。また、スイッチsw12は端子TX/RX_SW_21から出力されるHレベルパルスの時間だけオンする。したがって、スイッチsw12の端子d2からは、端子UART_Tx2のHレベル信号から切り出されたHレベルパルスが出力され、端子UART_Tx2/Rx2は、このHレベルパルスを受信する。通信部22は、端子UART_Tx2/Rx2で受信したHレベルパルスを情報処理装置10へ送信する。端子UART_Rx2は、Lレベル状態を維持する。 The terminal UART_Tx2 outputs an H level signal. Further, the switch sw12 is turned on for the time of the H level pulse output from the terminal TX/RX_SW_21. Therefore, the terminal d2 of the switch sw12 outputs the H level pulse cut out from the H level signal of the terminal UART_Tx2, and the terminal UART_Tx2/Rx2 receives this H level pulse. The communication unit 22 transmits the H level pulse received at the terminal UART_Tx2/Rx2 to the information processing device 10. The terminal UART_Rx2 maintains the L level state.

〔時間t36〕事前ネゴシエーションが終了し、情報処理装置20は、情報処理装置10からのデータ(実データ)を受信する状態である。
端子TX/RX_SW_21は、Lレベル信号を出力する。よって、端子TX/RX_SW_22は、Lレベル信号を受信し、通信部22はRx状態に設定される。
[Time t36] The pre-negotiation is completed, and the information processing device 20 is in a state of receiving data (actual data) from the information processing device 10.
The terminal TX/RX_SW_21 outputs an L level signal. Therefore, the terminal TX/RX_SW_22 receives the L level signal, and the communication unit 22 is set to the Rx state.

また、端子TX/RX_SW_21から出力されるLレベル信号により、インバータIC5はHレベル信号を出力してスイッチsw11はオンし、インバータIC6はLレベル信号を出力してスイッチsw12はオフする。よって、端子UART_Tx2と端子UART_Tx2/Rx2は非導通状態になり、端子UART_Rx2と端子UART_Tx2/Rx2は導通状態になる。 Further, the inverter IC5 outputs an H level signal and the switch sw11 is turned on by the L level signal output from the terminal TX/RX_SW_21, and the inverter IC6 outputs an L level signal and the switch sw12 is turned off. Therefore, the terminal UART_Tx2 and the terminal UART_Tx2/Rx2 are in the non-conductive state, and the terminal UART_Rx2 and the terminal UART_Tx2/Rx2 are in the conductive state.

端子UART_Tx2は、Hレベル状態を維持している。通信部22は、情報処理装置10から送信されたデータを受信し、端子UART_Tx2/Rx2からデータを制御部21に送信する。端子UART_Rx2は、データを受信する。 The terminal UART_Tx2 maintains the H level state. The communication unit 22 receives the data transmitted from the information processing device 10, and transmits the data from the terminal UART_Tx2/Rx2 to the control unit 21. The terminal UART_Rx2 receives data.

以上説明したように、情報処理システム1−2では、情報処理装置10の制御部11は、要求パルスの送信後に応答パルスを受信できない場合、要求パルスを情報処理装置20に再送する。同様に、情報処理装置20の制御部21は、要求パルスの送信後に応答パルスを受信できない場合、要求パルスを情報処理装置10に再送する。 As described above, in the information processing system 1-2, the control unit 11 of the information processing device 10 retransmits the request pulse to the information processing device 20 when the response pulse cannot be received after the request pulse is transmitted. Similarly, the control unit 21 of the information processing device 20 retransmits the request pulse to the information processing device 10 when the response pulse cannot be received after the request pulse is transmitted.

このようなリトライ処理が行われることで、要求パルスの送信衝突が生じた場合でも、その後に事前ネゴシエーションが繰り返し行われることになるので、データ通信を確実に実施することが可能になる。 By performing such a retry process, even if a request pulse transmission collision occurs, the pre-negotiation is repeated thereafter, so that it is possible to reliably perform data communication.

また、リトライ処理においては、情報処理装置10の制御部11は、要求パルスを送信してから時間T1(第1の所定時間)のうちに応答パルスを受信できない場合、時間T1が経過したときに要求パルスを情報処理装置20に再送する。 Further, in the retry process, when the control unit 11 of the information processing device 10 cannot receive the response pulse within the time T1 (first predetermined time) after transmitting the request pulse, when the time T1 elapses. The request pulse is retransmitted to the information processing device 20.

そして、情報処理装置20の制御部21は、要求パルスを送信してから時間T1よりも長い時間T2(第2の所定時間)のうちに応答パルスを受信できない場合、時間T2が経過したときに要求パルスを情報処理装置10に再送する。 Then, the control unit 21 of the information processing device 20, when the response pulse cannot be received within the time T2 (second predetermined time) longer than the time T1 after transmitting the request pulse, when the time T2 elapses. The request pulse is retransmitted to the information processing device 10.

このように、事前ネゴシエーションを行う際の要求パルスの再送タイミングを情報処理装置10、20間で互いにずらして設定しているため、要求パルスの送信衝突の繰り返し発生を防止することができる。
また、要求パルスの送信衝突の繰り返し発生の防止により、要求パルスが衝突した後には、事前ネゴシエーションが再度行われてデータ通信が実施される。したがって、本発明では、実データが衝突してしまうといった現象を防止することができ、データ消失を防止することができる。すなわち、要求パルスの1回の衝突が発生したとしても要求パルスの再度の衝突は防止され、さらに事前ネゴシエーションが行われた後にデータ通信が実施されるので、データ自身の衝突が防止される。
As described above, since the retransmission timing of the request pulse at the time of performing the pre-negotiation is set so as to be shifted from each other between the information processing devices 10 and 20, it is possible to prevent the repeated occurrence of the request pulse transmission collision.
Further, by preventing repeated occurrence of request pulse transmission collisions, after the request pulse collisions, pre-negotiation is performed again and data communication is performed. Therefore, according to the present invention, it is possible to prevent a phenomenon in which actual data collide with each other, and it is possible to prevent data loss. That is, even if one collision of the request pulse occurs, the collision of the request pulse is prevented again, and the data communication is performed after the pre-negotiation is performed, so that the collision of the data itself is prevented.

さらに、時間T1の長さは、送信対象のデータのデータ長の10倍を超え(T1>10×データ長)、時間T2は、時間T1の長さの2倍以上に設定してある(T2≧2T1)。これにより、情報処理装置10、20の互いの要求パルスの再送タイミングを確実にずらしてリトライ処理を行うことができるので、例えば、伝搬環境の変化で再送タイミングが一致してしまうといった現象を防止することができる。 Furthermore, the length of the time T1 exceeds 10 times the data length of the data to be transmitted (T1>10×data length), and the time T2 is set to be twice or more the length of the time T1 (T2 ≧2T1). This makes it possible to surely shift the retransmission timings of the request pulses of the information processing devices 10 and 20 and perform the retry process, so that, for example, a phenomenon in which the retransmission timings match due to changes in the propagation environment is prevented. be able to.

<データ衝突>
図14、図15はデータ衝突の一例を説明するための図である。本発明の事前ネゴシエーションを実施しなかった場合に起こりうるデータ衝突の一例を示しており、図14、図15を用いて簡潔に説明する。
<Data collision>
14 and 15 are diagrams for explaining an example of data collision. An example of data collision that may occur when the pre-negotiation of the present invention is not performed is shown, which will be briefly described with reference to FIGS. 14 and 15.

情報処理装置10は、時間t4において、情報処理装置20に対してデータ送信を行う。この場合、端子Tx/Rx_SW_11は、Hレベルになって通信部12はTx状態になり、端子UART_Tx1からデータD1が端子UART_Tx1/Rx1に送信されて、通信部12からデータD1が情報処理装置20に送信される。 The information processing device 10 transmits data to the information processing device 20 at time t4. In this case, the terminal Tx/Rx_SW_11 becomes the H level, the communication unit 12 enters the Tx state, the data D1 is transmitted from the terminal UART_Tx1 to the terminal UART_Tx1/Rx1, and the data D1 is transmitted from the communication unit 12 to the information processing device 20. Sent.

対向する情報処理装置20は、時間t4の前半の時間t4aでは、端子TX/RX_SW_21は、Lレベルになって通信部22はRx状態になっている。
また、時間t4の後半の時間t4bを含む時間t5では、端子TX/RX_SW_21は、Hレベルになって通信部22はTx状態になり、端子UART_Tx2からデータD2が端子UART_Tx2/Rx2に送信されて、通信部22からデータD2が情報処理装置10に送信される。
In the opposing information processing apparatus 20, at the time t4a in the first half of the time t4, the terminal TX/RX_SW_21 is at the L level and the communication unit 22 is in the Rx state.
Further, at time t5 including time t4b in the latter half of time t4, the terminal TX/RX_SW_21 becomes H level, the communication unit 22 enters the Tx state, and the data D2 is transmitted from the terminal UART_Tx2 to the terminal UART_Tx2/Rx2. The data D2 is transmitted from the communication unit 22 to the information processing device 10.

ここで、情報処理装置20は、時間t4aにおいて、情報処理装置10から送信されたデータD1のうちの前半のデータD1aは受信できる。しかし、情報処理装置20は、時間t4bにおいて、情報処理装置10に対してデータD2の送信を開始している。このとき、時間t4bではデータ衝突が発生し、情報処理装置20は、情報処理装置10から送信されたデータD1の後半部のデータD1bを受信することができない(状態st1)。 Here, the information processing device 20 can receive the first half data D1a of the data D1 transmitted from the information processing device 10 at time t4a. However, the information processing device 20 starts transmitting the data D2 to the information processing device 10 at time t4b. At this time, a data collision occurs at time t4b, and the information processing device 20 cannot receive the data D1b in the latter half of the data D1 transmitted from the information processing device 10 (state st1).

一方、情報処理装置10は、時間t4bにおいて、情報処理装置20に対してデータD1の後半部のデータD1bを送信しているが、時間t4bでデータ衝突が発生している。情報処理装置10は、情報処理装置20から送信されたデータD2の前半部のデータD2aを受信することができない(状態st2)。 On the other hand, the information processing device 10 transmits the data D1b of the latter half of the data D1 to the information processing device 20 at time t4b, but a data collision has occurred at time t4b. The information processing device 10 cannot receive the first half data D2a of the data D2 transmitted from the information processing device 20 (state st2).

このように、単一通信ポートでの双方向通信を行う場合、図14、図15に示したようなデータ衝突が発生する可能性がある。本発明では、上述した事前ネゴシエーションを行うことで、データ衝突の発生を防止して、単一通信ポートでの双方向通信を可能にしている。また、本発明では、単一通信ポートを有する1ペアの無線通信ICでの双方向通信が可能なので、情報処理装置の回路規模を低減することができ、情報処理装置の薄型化・軽量化に貢献することができる。 As described above, when bidirectional communication is performed using the single communication port, data collision as shown in FIGS. 14 and 15 may occur. In the present invention, by performing the above-described pre-negotiation, the occurrence of data collision is prevented, and the bidirectional communication through the single communication port is enabled. Further, according to the present invention, since bidirectional communication is possible with a pair of wireless communication ICs having a single communication port, the circuit scale of the information processing device can be reduced, and the information processing device can be made thin and lightweight. You can contribute.

<本発明とCSMA/CDとの対比>
Ethernet等で行われているCSMA/CD(Carrier Sense Multiple Access/Collision Detection)のデータ衝突の回避制御と、本発明の情報処理システム1−2のデータ衝突の回避制御との違いについて以下説明する。
<Comparison between the present invention and CSMA/CD>
The difference between the CSMA/CD (Carrier Sense Multiple Access/Collision Detection) data collision avoidance control performed by Ethernet or the like and the data collision avoidance control of the information processing system 1-2 of the present invention will be described below.

CSMA/CDでは、データの衝突検知後にランダムな時間を置いてデータを再送信するので再度衝突する可能性が高い。これに対し、情報処理システム1−2では、データ通信の実施前に事前ネゴシエーションを行って、対向側の送受信状態を認識し、対向側が受信状態にあるときにデータ送信を行う。
このように、本発明では、実データの衝突を検知した後に実データを再送するというような制御とは異なり、事前ネゴシエーションの実行後にデータ通信を行うので、データ自身の衝突を防止することができ、またデータ消失の発生も防止できる。
In CSMA/CD, data is retransmitted at a random time after the data collision is detected, and thus there is a high possibility of collision again. On the other hand, in the information processing system 1-2, pre-negotiation is performed before the data communication is performed, the transmission/reception state of the opposite side is recognized, and data transmission is performed when the opposite side is in the reception state.
As described above, in the present invention, unlike the control of retransmitting the actual data after detecting the collision of the actual data, the data communication is performed after the execution of the pre-negotiation, so that the collision of the data itself can be prevented. Moreover, the occurrence of data loss can be prevented.

さらに、事前ネゴシエーション時に要求パルスが衝突したとしても、要求パルスの再送タイミングを情報処理装置10、20間で互いにずらして設定しているため、要求パルスの衝突の繰り返し発生を防止することができる。すなわち、データ通信が実施される場合には、データ通信の実施前に事前ネゴシエーションが確実に実行されることになる。 Further, even if the request pulse collides during the pre-negotiation, the retransmit timing of the request pulse is set so as to be shifted between the information processing apparatuses 10 and 20, so that the repetitive occurrence of the request pulse collision can be prevented. That is, when the data communication is performed, the pre-negotiation is surely executed before the data communication is performed.

また、CSMA/CDでは、バックオフ(再送処理)を16回続けても接続できない場合は通信失敗になるが、情報処理システム1−2では、上述のように、事前ネゴシエーションの1回目のやりとりで要求パルスが衝突したとしても2回目以降の要求パルスの衝突の発生を防止している。このため、事前ネゴシエーションの実行後には、装置間においてデータ衝突が発生しないような送受信状態になっているので、データ衝突によって通信が失敗するといったことが生じえない。 Further, in CSMA/CD, if the connection cannot be established even after backoff (retransmission processing) is repeated 16 times, the communication fails, but in the information processing system 1-2, as described above, the communication is performed in the first pre-negotiation exchange. Even if the request pulses collide, the second and subsequent request pulse collisions are prevented from occurring. Therefore, after the pre-negotiation is executed, the transmission and reception state is such that the data collision does not occur between the devices, so that the communication cannot fail due to the data collision.

さらに、CSMA/CDでは、データのレベル変動が激しい電圧にも耐えられるような回路構成にするため追加回路を要する場合がある。これに対し、情報処理システム1−2では、対向側からの応答があるか否かで対向側の送受信状態を判定する事前ネゴシエーションを行うものであり、また単一通信ポートを有する無線通信ICを使用して双方向通信インタフェースを行う。これにより、回路構成を簡易化でき、回路規模の増大を抑制することができる。 Further, in the CSMA/CD, an additional circuit may be required in order to have a circuit configuration that can withstand a voltage in which the data level changes drastically. On the other hand, in the information processing system 1-2, pre-negotiation is performed to determine the transmission/reception state of the opposite side based on whether or not there is a response from the opposite side, and a wireless communication IC having a single communication port Use for bi-directional communication interface. As a result, the circuit configuration can be simplified and an increase in the circuit scale can be suppressed.

上記で説明した本発明の情報処理システム内の情報処理装置の処理機能は、コンピュータによって実現することができる。この場合、情報処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。 The processing functions of the information processing device in the information processing system of the present invention described above can be realized by a computer. In this case, a program describing the processing content of the function that the information processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer.

処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記憶部、光ディスク、光磁気記録媒体、半導体メモリ等がある。磁気記憶部には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープ等がある。光ディスクには、CD−ROM/RW等がある。光磁気記録媒体には、MO(Magneto Optical disk)等がある。 The program describing the processing content can be recorded in a computer-readable recording medium. Computer-readable recording media include magnetic storage units, optical disks, magneto-optical recording media, semiconductor memories, and the like. The magnetic storage unit includes a hard disk device (HDD), a flexible disk (FD), a magnetic tape and the like. The optical disc includes a CD-ROM/RW and the like. Magneto-optical recording media include MO (Magneto Optical disk).

プログラムを流通させる場合、例えば、そのプログラムが記録されたCD−ROM等の可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶部に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。 When the program is distributed, for example, a portable recording medium such as a CD-ROM in which the program is recorded is sold. It is also possible to store the program in the storage unit of the server computer and transfer the program from the server computer to another computer via the network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶部に格納する。そして、コンピュータは、自己の記憶部からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded in the portable recording medium or the program transferred from the server computer in its own storage unit. Then, the computer reads the program from its own storage unit and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program.

また、コンピュータは、ネットワークを介して接続されたサーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。また、上記の処理機能の少なくとも一部を、DSP、ASIC、PLD等の電子回路で実現することもできる。 Further, the computer can also sequentially execute processing according to the received program every time the program is transferred from a server computer connected via a network. Further, at least a part of the above processing functions can be realized by an electronic circuit such as DSP, ASIC, PLD.

以上、実施の形態を例示したが、実施の形態で示した各部の構成は同様の機能を有する他のものに置換することができる。また、他の任意の構成物や工程が付加されてもよい。さらに、前述した実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。 Although the embodiment has been illustrated above, the configuration of each unit described in the embodiment can be replaced with another having the same function. In addition, other arbitrary components and steps may be added. Further, any two or more configurations (features) of the above-described embodiments may be combined.

1−1 情報処理システム
1、2 情報処理装置
1a、2a 制御部
1b、2b 通信部
1c、2c 送受信切替部
p1、p2 通信ポート
m1 要求パルス
m2 応答パルス
1-1 Information processing system 1, 2 Information processing device 1a, 2a Control unit 1b, 2b Communication unit 1c, 2c Transmission/reception switching unit p1, p2 Communication port m1 Request pulse m2 Response pulse

Claims (7)

データを送信する場合、前記データの送信開始前に対向装置に要求パルスを送信して前記対向装置の送受信状態を認識するための事前通信を行い、前記対向装置から応答パルスが返信されて前記対向装置が前記データの受信状態にあることを検出した場合は前記対向装置に前記データを送信する第1の制御部と、単一の通信ポートを介して前記対向装置との双方向通信インタフェースを行う第1の通信部と、を備える第1の情報処理装置と、
前記データを受信する場合、前記第1の情報処理装置から送信された前記要求パルスを受信した場合は前記応答パルスを前記第1の情報処理装置に返信して、前記第1の情報処理装置から送信される前記データを受信する第2の制御部と、単一の通信ポートを介して前記第1の情報処理装置との双方向通信インタフェースを行う第2の通信部と、を備える前記対向装置である第2の情報処理装置と、
を備え、
前記第1の情報処理装置は、前記第1の制御部の切替制御にもとづいて、前記双方向通信インタフェースの送信方向および受信方向の切替を行う第1の送受信切替部をさらに備え、
前記第2の情報処理装置は、前記第2の制御部の切替制御にもとづいて、前記双方向通信インタフェースの送信方向および受信方向の切替を行う第2の送受信切替部をさらに備え、
前記第1の制御部は、送受信方向の切替制御信号を出力する第1の切替制御端子、前記データを送信する第1の送信端子および前記データを受信する第1の受信端子を有し、前記第1の通信部は、前記データの送受信を行う第1の送受信端子を有し、前記第1の送受信切替部は、第1のスイッチおよび第2のスイッチを有し、
前記双方向通信インタフェースを送信方向に切り替える場合、前記第1の切替制御端子は、第1の切替制御信号を出力し、前記第1のスイッチは、前記第1の切替制御信号の反転レベルによりオフし、前記第2のスイッチは前記第1の切替制御信号の非反転レベルによりオンして、前記第1の送信端子と前記第1の送受信端子を導通状態にし、前記第1の受信端子と前記第1の送受信端子を非導通状態にし、
前記双方向通信インタフェースを受信方向に切り替える場合、前記第1の切替制御端子は、第2の切替制御信号を出力し、前記第1のスイッチは、前記第2の切替制御信号の反転レベルによりオンし、前記第2のスイッチは前記第2の切替制御信号の非反転レベルによりオフして、前記第1の送信端子と前記第1の送受信端子を非導通状態にし、前記第1の受信端子と前記第1の送受信端子を導通状態にし、
前記第2の制御部は、送受信方向の切替制御信号を出力する第2の切替制御端子、前記データを送信する第2の送信端子および前記データを受信する第2の受信端子を有し、前記第2の通信部は、前記データの送受信を行う第2の送受信端子を有し、前記第2の送受信切替部は、第3のスイッチおよび第4のスイッチを有し、
前記双方向通信インタフェースを送信方向に切り替える場合、前記第2の切替制御端子は、第3の切替制御信号を出力し、前記第3のスイッチは、前記第3の切替制御信号の反転レベルによりオフし、前記第4のスイッチは前記第3の切替制御信号の非反転レベルによりオンして、前記第2の送信端子と前記第2の送受信端子を導通状態にし、前記第2の受信端子と前記第2の送受信端子を非導通状態にし、
前記双方向通信インタフェースを受信方向に切り替える場合、前記第2の切替制御端子は、第4の切替制御信号を出力し、前記第3のスイッチは、前記第4の切替制御信号の反転レベルによりオンし、前記第4のスイッチは前記第4の切替制御信号の非反転レベルによりオフして、前記第2の送信端子と前記第2の送受信端子を非導通状態にし、前記第2の受信端子と前記第2の送受信端子を導通状態にする、
報処理システム。
When transmitting data, prior communication for transmitting a request pulse to the opposite device to recognize the transmission/reception status of the opposite device is performed before starting the transmission of the data, and a response pulse is returned from the opposite device and the opposite device is sent. When the device detects that it is in the reception state of the data, it performs a two-way communication interface between the first control unit that transmits the data to the opposite device and the opposite device through a single communication port. A first information processing device including a first communication unit;
When receiving the data, when the request pulse transmitted from the first information processing apparatus is received, the response pulse is returned to the first information processing apparatus, and the first information processing apparatus transmits the response pulse. The opposite device including a second control unit that receives the transmitted data, and a second communication unit that performs a bidirectional communication interface with the first information processing device via a single communication port. A second information processing device that is
Equipped with
The first information processing apparatus further includes a first transmission/reception switching unit that switches a transmission direction and a reception direction of the bidirectional communication interface based on switching control of the first control unit.
The second information processing apparatus further includes a second transmission/reception switching unit that switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the second control unit.
The first control unit has a first switching control terminal that outputs a switching control signal in a transmission/reception direction, a first transmission terminal that transmits the data, and a first reception terminal that receives the data, The first communication unit has a first transmission/reception terminal for transmitting/receiving the data, and the first transmission/reception switching unit has a first switch and a second switch,
When switching the bidirectional communication interface in the transmission direction, the first switching control terminal outputs a first switching control signal, and the first switch is turned off by an inversion level of the first switching control signal. Then, the second switch is turned on by the non-inverted level of the first switching control signal to bring the first transmission terminal and the first transmission/reception terminal into conduction, and the first reception terminal and the first reception terminal. Make the first transmission/reception terminal non-conductive,
When switching the bidirectional communication interface in the receiving direction, the first switching control terminal outputs a second switching control signal, and the first switch is turned on by an inversion level of the second switching control signal. Then, the second switch is turned off by the non-inverting level of the second switching control signal to bring the first transmission terminal and the first transmission/reception terminal into a non-conduction state, and the first reception terminal To make the first transmission/reception terminal conductive,
The second control unit has a second switching control terminal that outputs a switching control signal in a transmission/reception direction, a second transmission terminal that transmits the data, and a second reception terminal that receives the data, The second communication unit has a second transmission/reception terminal for transmitting/receiving the data, and the second transmission/reception switching unit has a third switch and a fourth switch,
When switching the bidirectional communication interface in the transmission direction, the second switching control terminal outputs a third switching control signal, and the third switch is turned off by an inversion level of the third switching control signal. Then, the fourth switch is turned on by the non-inverted level of the third switching control signal to bring the second transmission terminal and the second transmission/reception terminal into a conductive state, and the second reception terminal and the Make the second transmission/reception terminal non-conductive,
When switching the bidirectional communication interface in the receiving direction, the second switching control terminal outputs a fourth switching control signal, and the third switch is turned on by an inversion level of the fourth switching control signal. Then, the fourth switch is turned off by the non-inverting level of the fourth switching control signal to bring the second transmission terminal and the second transmission/reception terminal into a non-conduction state, and the second reception terminal Making the second transmission/reception terminal conductive.
Information processing system.
前記第1の制御部は、前記データを受信する場合、前記第2の情報処理装置から送信された前記事前通信のための前記要求パルスを受信した場合は前記応答パルスを前記第2の情報処理装置に返信し、前記第2の情報処理装置から送信される前記データを受信し、
前記第2の制御部は、前記データを送信する場合、前記データの送信開始前に、前記第1の情報処理装置に前記要求パルスを送信して前記第1の情報処理装置の送受信状態を認識するための前記事前通信を行い、前記第1の情報処理装置から前記応答パルスが返信されて前記第1の情報処理装置が前記データの受信状態にあることを検出した場合は前記第1の情報処理装置に前記データを送信する、
請求項1記載の情報処理システム。
The first control unit, when receiving the data, receives the response pulse when receiving the request pulse for the prior communication transmitted from the second information processing device. Replying to the processing device, receiving the data transmitted from the second information processing device,
When transmitting the data, the second control unit transmits the request pulse to the first information processing apparatus and recognizes the transmission/reception state of the first information processing apparatus before transmission of the data is started. If the first information processing apparatus returns the response pulse and detects that the first information processing apparatus is in the reception state of the data, the first communication Transmitting the data to the information processing device,
The information processing system according to claim 1.
前記第1の制御部は、前記要求パルスの送信後に前記応答パルスを受信できない場合、前記要求パルスを前記第2の情報処理装置に再送し、
前記第2の制御部は、前記要求パルスの送信後に前記応答パルスを受信できない場合、前記要求パルスを前記第1の情報処理装置に再送する、
請求項記載の情報処理システム。
If the response pulse cannot be received after transmitting the request pulse, the first control unit retransmits the request pulse to the second information processing device,
If the response pulse cannot be received after the request pulse is transmitted, the second control unit retransmits the request pulse to the first information processing device,
The information processing system according to claim 2 .
前記第1の制御部は、前記要求パルスを送信してから第1の所定時間のうちに前記応答パルスを受信できない場合、前記第1の所定時間が経過したときに前記要求パルスを前記第2の情報処理装置に再送し、
前記第2の制御部は、前記要求パルスを送信してから前記第1の所定時間よりも長い第2の所定時間のうちに前記応答パルスを受信できない場合、前記第2の所定時間が経過したときに前記要求パルスを前記第1の情報処理装置に再送する請求項記載の情報処理システム。
If the first control unit cannot receive the response pulse within a first predetermined time after transmitting the request pulse, the first control unit outputs the request pulse when the first predetermined time elapses. To the information processing device of
If the second control unit cannot receive the response pulse within a second predetermined time that is longer than the first predetermined time after transmitting the request pulse, the second predetermined time has elapsed. The information processing system according to claim 3 , wherein the request pulse is sometimes retransmitted to the first information processing device.
前記第1の所定時間の長さは、前記データのデータ長の10倍を超え、前記第2の所定時間は、前記第1の所定時間の長さの2倍以上である請求項記載の情報処理システム。 The length of the first predetermined time is greater than 10 times the data length of the data, the second predetermined time, according to claim 4, wherein said at first more than twice the length of the predetermined time Information processing system. データを送信する場合、前記データの送信開始前に対向装置に要求パルスを送信して前記対向装置の送受信状態を認識するための事前通信を行い、前記対向装置から応答パルスが返信されて前記対向装置が前記データの受信状態にあることを検出した場合は前記対向装置に前記データを送信する制御部と、単一の通信ポートを介して前記対向装置との双方向通信インタフェースを行う通信部と、を備え、
前記制御部の切替制御にもとづいて、前記双方向通信インタフェースの送信方向および受信方向の切替を行う第1の送受信切替部をさらに備え、
前記制御部は、送受信方向の切替制御信号を出力する第1の切替制御端子、前記データを送信する第1の送信端子および前記データを受信する第1の受信端子を有し、前記通信部は、前記データの送受信を行う第1の送受信端子を有し、前記第1の送受信切替部は、第1のスイッチおよび第2のスイッチを有し、
前記双方向通信インタフェースを送信方向に切り替える場合、前記第1の切替制御端子は、第1の切替制御信号を出力し、前記第1のスイッチは、前記第1の切替制御信号の反転レベルによりオフし、前記第2のスイッチは前記第1の切替制御信号の非反転レベルによりオンして、前記第1の送信端子と前記第1の送受信端子を導通状態にし、前記第1の受信端子と前記第1の送受信端子を非導通状態にし、
前記双方向通信インタフェースを受信方向に切り替える場合、前記第1の切替制御端子は、第2の切替制御信号を出力し、前記第1のスイッチは、前記第2の切替制御信号の反転レベルによりオンし、前記第2のスイッチは前記第2の切替制御信号の非反転レベルによりオフして、前記第1の送信端子と前記第1の送受信端子を非導通状態にし、前記第1の受信端子と前記第1の送受信端子を導通状態にする、
情報処理装置。
When transmitting data, prior communication for transmitting a request pulse to the opposite device to recognize the transmission/reception status of the opposite device is performed before starting the transmission of the data, and a response pulse is returned from the opposite device and the opposite device is sent. said opposing the data that sends control section in the apparatus if it is detected that the device is in the reception state of the data, intends row two-way communication interface with the opposing device via the single communication port for example Bei communicate part, the,
Further comprising a first transmission/reception switching unit that switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the control unit,
The control unit has a first switching control terminal that outputs a switching control signal in a transmission/reception direction, a first transmission terminal that transmits the data, and a first reception terminal that receives the data, and the communication unit is , A first transmission/reception terminal for transmitting/receiving the data, the first transmission/reception switching unit having a first switch and a second switch,
When switching the bidirectional communication interface in the transmission direction, the first switching control terminal outputs a first switching control signal, and the first switch is turned off by an inversion level of the first switching control signal. Then, the second switch is turned on by the non-inverted level of the first switching control signal to bring the first transmission terminal and the first transmission/reception terminal into conduction, and the first reception terminal and the first reception terminal. Make the first transmission/reception terminal non-conductive,
When switching the bidirectional communication interface in the receiving direction, the first switching control terminal outputs a second switching control signal, and the first switch is turned on by an inversion level of the second switching control signal. Then, the second switch is turned off by the non-inverting level of the second switching control signal to bring the first transmission terminal and the first transmission/reception terminal into a non-conduction state, and the first reception terminal Making the first transmission/reception terminal conductive.
Information processing device.
対向装置からデータが送信される前に前記対向装置が受信側の送受信状態を認識するための事前通信を行うための要求パルスが前記対向装置から送信されて前記要求パルスを受信した場合は応答パルスを前記対向装置に返信して、前記対向装置から送信される前記データを受信する制御部と、単一の通信ポートを介して前記対向装置との双方向通信インタフェースを行う通信部と、を備え、
前記制御部の切替制御にもとづいて、前記双方向通信インタフェースの送信方向および受信方向の切替を行う第2の送受信切替部をさらに備え、
前記制御部は、送受信方向の切替制御信号を出力する第2の切替制御端子、前記データを送信する第2の送信端子および前記データを受信する第2の受信端子を有し、前記通信部は、前記データの送受信を行う第2の送受信端子を有し、前記第2の送受信切替部は、第3のスイッチおよび第4のスイッチを有し、
前記双方向通信インタフェースを送信方向に切り替える場合、前記第2の切替制御端子は、第3の切替制御信号を出力し、前記第3のスイッチは、前記第3の切替制御信号の反転レベルによりオフし、前記第4のスイッチは前記第3の切替制御信号の非反転レベルによりオンして、前記第2の送信端子と前記第2の送受信端子を導通状態にし、前記第2の受信端子と前記第2の送受信端子を非導通状態にし、
前記双方向通信インタフェースを受信方向に切り替える場合、前記第2の切替制御端子は、第4の切替制御信号を出力し、前記第3のスイッチは、前記第4の切替制御信号の反転レベルによりオンし、前記第4のスイッチは前記第4の切替制御信号の非反転レベルによりオフして、前記第2の送信端子と前記第2の送受信端子を非導通状態にし、前記第2の受信端子と前記第2の送受信端子を導通状態にする、
情報処理装置。
Response if the request pulse received the request pulse transmitted from the counter apparatus for performing pre-communication for the opposing device before data from the opposing device is transmitted to recognize a reception state of the reception side reply pulses to the counter device, wherein said data that will receive control section which is transmitted from the counter apparatus, two-way communication interface lines cormorants communication with the opposing device via the single communication port and parts, the Bei example,
A second transmission/reception switching unit that switches the transmission direction and the reception direction of the bidirectional communication interface based on the switching control of the control unit;
The control unit has a second switching control terminal that outputs a switching control signal in the transmission/reception direction, a second transmission terminal that transmits the data, and a second reception terminal that receives the data, and the communication unit is A second transmission/reception terminal for transmitting/receiving the data, and the second transmission/reception switching unit has a third switch and a fourth switch,
When switching the bidirectional communication interface in the transmission direction, the second switching control terminal outputs a third switching control signal, and the third switch is turned off by an inversion level of the third switching control signal. Then, the fourth switch is turned on by the non-inverted level of the third switching control signal to bring the second transmission terminal and the second transmission/reception terminal into a conductive state, and the second reception terminal and the Make the second transmission/reception terminal non-conductive,
When switching the bidirectional communication interface in the receiving direction, the second switching control terminal outputs a fourth switching control signal, and the third switch is turned on by an inversion level of the fourth switching control signal. Then, the fourth switch is turned off by the non-inverting level of the fourth switching control signal to bring the second transmission terminal and the second transmission/reception terminal into a non-conduction state, and the second reception terminal Making the second transmission/reception terminal conductive.
Information processing device.
JP2019225526A 2019-12-13 2019-12-13 Information processing system and information processing apparatus Expired - Fee Related JP6734556B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019225526A JP6734556B1 (en) 2019-12-13 2019-12-13 Information processing system and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019225526A JP6734556B1 (en) 2019-12-13 2019-12-13 Information processing system and information processing apparatus

Publications (2)

Publication Number Publication Date
JP6734556B1 true JP6734556B1 (en) 2020-08-05
JP2021097271A JP2021097271A (en) 2021-06-24

Family

ID=71892304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019225526A Expired - Fee Related JP6734556B1 (en) 2019-12-13 2019-12-13 Information processing system and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6734556B1 (en)

Also Published As

Publication number Publication date
JP2021097271A (en) 2021-06-24

Similar Documents

Publication Publication Date Title
TWI733752B (en) System and method for side band communication, and tangible, non-transitory, computer-readable medium
US10042797B2 (en) Voltage mode and current mode device enumeration
US10606778B2 (en) Bus system
US20020108011A1 (en) Dual interface serial bus
JP2988918B1 (en) Monitoring system for multiple battery packs in electronic equipment
TW201923606A (en) I3C in-band interrupts directed to multiple execution environments
JPH02501245A (en) Method and apparatus for interconnecting buses in a multibus computer system
CN110770706B (en) Apparatus and method for diagnosing communication failure
WO2007030978A1 (en) Method, reset apparatus and equipment for realizing reset of master device in i2c bus
US10891242B2 (en) Embedded USB2 (eUSB2) repeater operation
JP6734556B1 (en) Information processing system and information processing apparatus
CN111433756B (en) Terminal and Type C interface anti-corrosion method
WO2012137411A1 (en) Interface relay device and interface relay method
CN112486899B (en) Integrated circuit, bus system and scheduling method
US20170371830A1 (en) Accelerated i3c master stop
JP2000293485A (en) Communication interface
CN111913904A (en) Method for automatically assigning mutually different addresses to a plurality of slave devices using a master-slave communication protocol and device therefor
CN117222994A (en) I2C bus architecture using shared clock and dedicated data lines
JP4056832B2 (en) Data communication method
CN112947287A (en) Control method, controller and electronic equipment
JP4431768B2 (en) Portable electronic device, reading method and writing method
JP2009130684A (en) Control signal communication method and optical transceiver device
EP2704368A1 (en) Information processing apparatus and controlling method
CN115934598B (en) Method, device, electronic equipment and storage medium for node to user interface board communication
CN117112480B (en) Two-wire communication method, device and chip

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200110

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20200116

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200124

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20200206

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20200212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200406

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200609

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200622

R150 Certificate of patent or registration of utility model

Ref document number: 6734556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees