JP2007310780A - Dynamic selection method, dynamic selection system and its program of communication protocol between a plurality of computers - Google Patents

Dynamic selection method, dynamic selection system and its program of communication protocol between a plurality of computers Download PDF

Info

Publication number
JP2007310780A
JP2007310780A JP2006141317A JP2006141317A JP2007310780A JP 2007310780 A JP2007310780 A JP 2007310780A JP 2006141317 A JP2006141317 A JP 2006141317A JP 2006141317 A JP2006141317 A JP 2006141317A JP 2007310780 A JP2007310780 A JP 2007310780A
Authority
JP
Japan
Prior art keywords
communication
negotiation
computer
communication protocol
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006141317A
Other languages
Japanese (ja)
Other versions
JP4786412B2 (en
Inventor
Hidemitsu Saito
秀充 齋藤
Satoshi Komatsu
智 小松
Yoshiyuki Yamagata
義幸 山形
Tatsuo Sato
龍生 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006141317A priority Critical patent/JP4786412B2/en
Publication of JP2007310780A publication Critical patent/JP2007310780A/en
Application granted granted Critical
Publication of JP4786412B2 publication Critical patent/JP4786412B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for dynamic switching of communication protocols between a plurality of computers such as is hiding a transport layer communication protocol from an application. <P>SOLUTION: A transmission side computer PC-S is composed of a negotiation management part 11-S, a negotiation communication part 12-S, a communication protocol determining part 13-S, a communication mate management part 14-S, a communication mate summary data file 15-S, a negotiation information file 16-S, a communication protocol summary data file 17-S, a data communication part 18-S, and the application 19-S. A reception side computer PC-R is composed of a negotiation management part 11-R, a negotiation communication part 12R, a negotiation information file 16-R, a data communication part 18-R, and the application 19-R. The transmission side computer automatically selects the communication protocol used in data communication in response to the number of reception side computers and a computer constitution. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数計算機間における通信プロトコルの動的選択方法、動的選択システムおよびそのプログラムに係り、特にOSI参照モデルにおけるトランスポート層のプロトコルの動的選択方法、動的選択システムおよびそのプログラムに関する。   The present invention relates to a method for dynamically selecting a communication protocol between a plurality of computers, a dynamic selection system, and a program thereof. .

一台の計算機から複数台の計算機に同報通信を行う場合、利用可能な通信プロトコルとしては、OSI(Open Systems Interconnect)参照モデルの第3層(ネットワーク層)の通信プロトコルであるTCPやUDPでのブロードキャスト通信、マルチキャスト通信等がある。それぞれの通信プロトコルを利用するにあたってはメリットあるいはデメリットが生じる。   When performing broadcast communication from one computer to multiple computers, the available communication protocols are TCP and UDP, which are communication protocols in the third layer (network layer) of the OSI (Open Systems Interconnect) reference model. Broadcast communication, multicast communication, and the like. There are advantages and disadvantages in using each communication protocol.

これら通信プロトコルのうち、どの通信プロトコルを利用するかについては、通常、アプリケーション開発時に決定し、アプリケーションの実装についても通信プロトコルに依存するものを作成している。   Of these communication protocols, which communication protocol is used is usually determined at the time of application development, and an application implementation that depends on the communication protocol is created.

上述したように、アプリケーション開発時に使用する通信プロトコルを決定した場合、アプリケーションを実装する際、通信プロトコルに依存するため、使用する通信プロトコルを変更するたびにアプリケーションを開発する必要があり、アプリケーションの生産性が悪い。   As described above, when the communication protocol to be used at the time of application development is decided, it depends on the communication protocol when the application is implemented. Therefore, it is necessary to develop the application every time the communication protocol to be used is changed. The nature is bad.

また、通信対象の計算機台数が変化する場合、通信を行う計算機によって回線品質等の通信環境も異なるため、特定の通信プロトコルを利用することにより、計算機の台数増加による計算機負荷、通信負荷、リソース使用量が増大する。   In addition, when the number of computers subject to communication changes, the communication environment such as line quality varies depending on the computer that communicates, so by using a specific communication protocol, the computer load, communication load, and resource usage due to the increase in the number of computers The amount increases.

さらに、通信環境の異なる計算機の間で通信することにより、回線品質が悪い計算機については再送が頻発し、通信負荷が増大する恐れがある。このため、計算機の台数およびネットワーク内の配置により適切な通信プロトコルを選択する必要があった。   Furthermore, by communicating between computers with different communication environments, retransmissions frequently occur for computers with poor line quality, which may increase the communication load. For this reason, it was necessary to select an appropriate communication protocol depending on the number of computers and the arrangement in the network.

本発明は、上述した従来技術の問題点を解決するためになされたものであり、その目的とするところは、通信環境の異なる複数の計算機間での一斉同報通信に際して、OSI参照モデルのセッション層に相当する論理的な通信路の制御を行うものであり、トランスポート層の通信プロトコルに関する通信の開始、終了および通信プロトコルの切り替えを、通信環境の変化に対して動的に行うことにより、アプリケーションからトランスポート層通信プロトコルを隠蔽するような複数計算機間における通信プロトコルの動的切替方法、動的切換システムおよびそのプログラムを提供することにある。   The present invention has been made to solve the above-described problems of the prior art, and an object of the present invention is to provide an OSI reference model session for simultaneous broadcast communication between a plurality of computers having different communication environments. By controlling the logical communication path corresponding to the layer, the start and end of communication related to the communication protocol of the transport layer and the switching of the communication protocol are performed dynamically in response to changes in the communication environment. An object of the present invention is to provide a dynamic switching method, a dynamic switching system, and a program for a communication protocol between a plurality of computers that hide a transport layer communication protocol from an application.

上記の目的を達成するために、請求項1に係る発明は、ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための複数計算機間における通信プロトコルを選択する方法であって、前記送信側計算機および前記受信側計算機に対してデータ通信手段、ネゴシエーション管理手段、ネゴシエーション通信手段およびアプリケーションを共通して設けるとともに、前記送信側計算機に対して更に通信プロトコル判定手段および通信相手管理手段を付加するようにし、受信側計算機の前記ネゴシエーション管理手段は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信手段にネゴシエーション要求を通知し、当該ネゴシエーション通信手段より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信手段に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、受信側計算機の前記ネゴシエーション通信手段は、前記ネゴシエーション管理手段から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信手段に送信し、送信側計算機の当該ネゴシエーション通信手段から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理手段に通知し、送信側計算機の前記ネゴシエーション管理手段は、前記ネゴシエーション通信手段から受け取ったネゴシエーション要求を前記通信プロトコル判定手段に通知して当該通信プロトコル判定手段から使用する通信プロトコルを受け取り、前記データ通信手段に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用する通信プロトコルを通知するために前記ネゴシエーション通信手段にネゴシエーション応答要求を通知し、送信側計算機の前記ネゴシエーション通信手段は、受信側計算機の前記ネゴシエーション通信手段から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理手段に通知し、前記ネゴシエーション管理手段からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信手段に対してネゴシエーション応答を送信し、前記通信プロトコル判定手段は、送信側計算機の前記ネゴシエーション管理手段からネゴシエーション要求を受け取り、前記通信相手管理手段に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理手段から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理手段に通知し、前記通信相手管理手段は、前記通信プロトコル判定手段からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定手段からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定手段に渡し、送信側計算機の前記データ通信手段は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信手段に対してデータを送信し、前記ネゴシエーション管理手段からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、受信側計算機の前記データ通信手段は、送信側計算機の前記データ通信手段から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理手段からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする。   To achieve the above object, according to the first aspect of the present invention, among a plurality of computers arranged on a network, one computer or more that becomes a reception side computer from one computer that becomes a transmission side computer. A method of selecting a communication protocol between a plurality of computers for performing broadcast communication, and common data communication means, negotiation management means, negotiation communication means and application for the transmission side computer and the reception side computer In addition, a communication protocol determination unit and a communication partner management unit are further added to the transmission side computer, and the negotiation management unit of the reception side computer communicates with the transmission side computer when starting communication. In order to query the protocol, the negotiation communication means is negotiated. Notifying the request, receiving the communication protocol transmitted from the transmission side computer from the negotiation communication means, making a communication protocol setting request of the received communication protocol to the data communication means, the negotiation communication means of the reception side computer, The negotiation request received from the negotiation management unit is transmitted to the negotiation communication unit of the transmission side computer, the negotiation response transmitted from the negotiation communication unit of the transmission side computer is received, and the received negotiation response is transmitted to the negotiation management unit. The negotiation management means of the sending computer notifies the communication protocol determination means of the negotiation request received from the negotiation communication means, and transmits the communication protocol. A communication protocol to be used is received from the determination means, a communication protocol setting request for the communication protocol to be used is sent to the data communication means, and a negotiation response request is sent to the negotiation communication means to notify the communication protocol to be used to the receiving computer. The negotiation communication means of the sending computer receives the negotiation request transmitted from the negotiation communication means of the receiving computer, notifies the negotiation management means of the negotiation request, and from the negotiation management means The negotiation response request is received, a negotiation response is transmitted to the negotiation communication means of the receiving computer, and the communication protocol determination means is the negotiation management means of the transmitting computer. Receiving the negotiation request, notifying the communication partner management means of the information on the receiving computer included in the negotiation request, obtaining the list data of the receiving computer from the communication partner management means, and receiving the list data The communication protocol is selected according to the rules according to the number of computers on the side computer and the computer configuration, the selected communication protocol is notified to the negotiation management means, and the communication partner management means is information on the receiving side computer from the communication protocol determination means. To update the list data of the receiving computer, and pass the list data of the receiving computer to the communication protocol determining unit in response to the receiving computer list data acquisition request from the communication protocol determining unit, The data communication means transmits data from the application. When a request is received, data is transmitted to the data communication means of the receiving computer, and a communication protocol setting request is received from the negotiation management means, the communication protocol used for data transmission is switched and received. The data communication means of the side computer receives the data transmitted from the data communication means of the transmission side computer, passes the received data to the application, and receives a communication protocol change notification from the negotiation management means, The communication protocol used for data reception is switched.

また、請求項9に係る発明は、ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための通信プロトコルを選択するようにしたシステムであって、前記送信側計算機および前記受信側計算機には共通してデータ通信部、ネゴシエーション管理部、ネゴシエーション通信部およびアプリケーションを設けるとともに、前記送信側計算機に対して更に通信プロトコル判定部および通信相手管理部を付加するようにし、前記受信側計算機のネゴシエーション管理部は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信部にネゴシエーション要求を通知し、当該ネゴシエーション通信部より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信部に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、前記受信側計算機のネゴシエーション通信部は、前記ネゴシエーション管理部から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信部に送信し、当該送信側計算機のネゴシエーション通信部から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理部に通知し、前記送信側計算機のネゴシエーション管理部は、前記ネゴシエーション通信部から受け取ったネゴシエーション要求を通信プロトコル判定部に通知して当該通信プロトコル判定部から使用する通信プロトコルを受け取り、前記データ通信部に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用するプロトコルを通知するためにネゴシエーション通信部にネゴシエーション応答要求を通知し、前記送信側計算機のネゴシエーション通信部は、受信側計算機の前記ネゴシエーション通信部から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理部に通知し、前記ネゴシエーション管理部からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信部へネゴシエーション応答を送信し、前記通信プロトコル判定部は、送信側計算機の前記ネゴシエーション管理部からネゴシエーション要求を受け取り、前記通信相手管理部に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理部から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理部に通知し、前記通信相手管理部は、前記通信プロトコル判定部からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定部からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定部に渡し、送信側計算機の前記データ通信部は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信部に対してデータを送信し、前記ネゴシエーション管理部からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、受信側計算機の前記データ通信部は、送信側計算機の前記データ通信部から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理部からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする。   The invention according to claim 9 is for performing broadcast communication from one computer serving as a transmitting computer to one or more computers serving as receiving computers among a plurality of computers arranged on a network. The transmission side computer and the reception side computer are provided with a data communication unit, a negotiation management unit, a negotiation communication unit, and an application in common, and the transmission side computer In addition, a communication protocol determination unit and a communication partner management unit are further added, and the negotiation management unit of the receiving computer, when initiating communication, inquires about the communication protocol used by the transmitting computer. From the negotiation communication unit. The communication protocol transmitted from the receiving computer is received, the communication protocol setting request of the received communication protocol is made to the data communication unit, and the negotiation communication unit of the receiving computer receives the negotiation request received from the negotiation management unit. Transmitting to the negotiation communication unit of the transmission side computer, receiving the negotiation response transmitted from the negotiation communication unit of the transmission side computer, notifying the received negotiation response to the negotiation management unit, of the transmission side computer The negotiation management unit notifies the communication protocol determination unit of the negotiation request received from the negotiation communication unit, receives a communication protocol to be used from the communication protocol determination unit, and A communication protocol setting request for a communication protocol to be used, and a negotiation response request is notified to the negotiation communication unit to notify the protocol to be used to the reception side computer, and the negotiation communication unit of the transmission side computer A negotiation request transmitted from the negotiation communication unit is received, the negotiation request is notified to the negotiation management unit, a negotiation response request is received from the negotiation management unit, and a negotiation response is sent to the negotiation communication unit of the receiving computer. The communication protocol determination unit receives a negotiation request from the negotiation management unit of the transmission side computer, and receives the negotiation request from the communication partner management unit of the reception side computer. Notify the information, acquire the list data of the receiving computer from the communication partner management unit, select the communication protocol according to the number of computers of the receiving computer and the computer configuration of the list data, and select the selected communication protocol The negotiation management unit is notified, and the communication partner management unit receives information on the receiving computer from the communication protocol determining unit, updates the list data of the receiving computer, and receives the receiving computer from the communication protocol determining unit. In response to the list data acquisition request, the list data of the receiving computer is passed to the communication protocol determination unit, and the data communication unit of the transmitting computer receives the data transmission request from the application, and the data communication unit of the receiving computer Data to the communication protocol setting from the negotiation management unit. When a request is received, the communication protocol used for data transmission is switched, and the data communication unit of the receiving computer receives the data transmitted from the data communication unit of the transmitting computer, and the application When receiving the received data and receiving a communication protocol change notification from the negotiation management unit, the communication protocol used for data reception is switched.

さらに、請求項14に係る発明は、ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機および受信側計算機となる一台以上の計算機にそれぞれ共通するデータ通信手段、ネゴシエーション管理手段、ネゴシエーション通信手段およびアプリケーションを設けるとともに、前記送信側計算機に対して更に通信プロトコル判定手段および通信相手管理手段を付加するようにし、前記送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための通信プロトコルを選択するプログラムであって、受信側計算機の前記ネゴシエーション管理手段は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信手段にネゴシエーション要求を通知し、当該ネゴシエーション通信手段より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信手段に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、受信側計算機の前記ネゴシエーション通信手段は、前記ネゴシエーション管理手段から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信手段に送信し、当該送信側計算機のネゴシエーション通信手段から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理手段に通知し、送信側計算機の前記ネゴシエーション管理手段は、前記ネゴシエーション通信手段から受け取ったネゴシエーション要求を前記通信プロトコル判定手段に通知して当該通信プロトコル判定手段から使用する通信プロトコルを受け取り、前記データ通信手段に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用する通信プロトコルを通知するために前記ネゴシエーション通信手段にネゴシエーション応答要求を通知し、送信側計算機の前記ネゴシエーション通信手段は、受信側計算機の前記ネゴシエーション通信手段から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理手段に通知し、前記ネゴシエーション管理手段からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信手段に対してネゴシエーション応答を送信し、前記通信プロトコル判定手段は、送信側計算機の前記ネゴシエーション管理手段からネゴシエーション要求を受け取り、前記通信相手管理手段に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理手段から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理手段に通知し、前記通信相手管理手段は、前記通信プロトコル判定手段からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定手段からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定手段に渡し、送信側計算機の前記データ通信手段は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信手段に対してデータを送信し、前記ネゴシエーション管理手段からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、受信側計算機の前記データ通信手段は、送信側計算機の前記データ通信手段から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理手段からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする。   Furthermore, the invention according to claim 14 is a data communication means that is common to one computer as a transmission side computer and one or more computers as a reception side computer among a plurality of computers arranged on a network. A negotiation management means, a negotiation communication means, and an application, and a communication protocol determination means and a communication partner management means are further added to the transmission side computer so that the transmission side computer can receive from one computer as the transmission side computer. A program for selecting a communication protocol for performing broadcast communication to one or more computers as computers, wherein the negotiation management means of the receiving computer uses a communication protocol used by the transmitting computer when starting communication To negotiate the negotiation communication means. A communication protocol transmitted from the transmission side computer from the negotiation communication means, a communication protocol setting request for the received communication protocol is sent to the data communication means, and the negotiation communication means of the reception side computer The negotiation request received from the negotiation management means is transmitted to the negotiation communication means of the transmitting computer, the negotiation response transmitted from the negotiation communication means of the transmitting computer is received, and the received negotiation response is received as the negotiation response. The negotiation management unit of the sending computer notifies the communication protocol determination unit of the negotiation request received from the negotiation communication unit, and notifies the communication protocol. A communication protocol used from the protocol determining means is received, a communication protocol setting request for the communication protocol used is sent to the data communication means, and a negotiation response is sent to the negotiation communication means to notify the communication protocol used to the receiving computer The negotiation communication means of the transmission side computer receives the negotiation request transmitted from the negotiation communication means of the reception side computer, notifies the negotiation management means of the negotiation request, and the negotiation management means The negotiation response request from the transmission side computer is received, a negotiation response is transmitted to the negotiation communication means of the reception side computer, and the communication protocol determination means is configured to transmit the negotiation management of the transmission side computer. Receiving the negotiation request from the means, notifying the communication partner management means of the information on the receiving computer included in the negotiation request, obtaining the list data of the receiving computer from the communication partner management means, The communication protocol is selected according to the rules according to the number of computers on the receiving side computer and the computer configuration, the selected communication protocol is notified to the negotiation management means, and the communication partner management means is connected to the communication side of the receiving side computer from the communication protocol determination means. The information is received and the list data of the receiving computer is updated, and the list data of the receiving computer is passed to the communication protocol determining unit in response to the receiving computer list data acquisition request from the communication protocol determining unit, The data communication means is a data communication from the application. Switch the communication protocol used for data transmission when receiving a communication protocol setting request from the negotiation management means. The data communication unit of the receiving computer receives the data transmitted from the data communication unit of the transmitting computer, passes the received data to the application, and receives a communication protocol change notification from the negotiation management unit. In this case, the communication protocol used for data reception is switched.

本発明によれば、送信側計算機が受信側計算機の台数および計算機構成に応じてデータ通信で使用する通信プロトコルを自動的に選択するため、計算機構成に対応した最適な通信プロトコルを使用することができ、これにより計算機負荷、通信負荷、リソース使用量を低減することができる。また、送信側計算機および受信側計算機で動作するアプリケーションは通信プロトコルを意識することなく通信が行えるため、通信プロトコルに依存した通信処理手順を記述する必要がなく、アプリケーションの生産性向上が期待できる。   According to the present invention, since the transmitting computer automatically selects the communication protocol to be used for data communication according to the number of receiving computers and the computer configuration, it is possible to use the optimum communication protocol corresponding to the computer configuration. This can reduce the computer load, communication load, and resource usage. In addition, since applications that operate on the transmission side computer and the reception side computer can communicate without being conscious of the communication protocol, it is not necessary to describe a communication processing procedure depending on the communication protocol, and an improvement in application productivity can be expected.

以下、本発明に係る複数計算機間における通信プロトコルの動的選択方法、動的選択システムおよびそのプログラムの実施の形態について図面を参照して説明するが、まずその前に本明細書で用いる主な用語について説明する。   Hereinafter, embodiments of a dynamic selection method, a dynamic selection system, and a program for a communication protocol between a plurality of computers according to the present invention will be described with reference to the drawings. Terminology will be explained.

(1)送信側計算機
受信側計算機へデータを送信するアプリケーションが動作する計算機。
(1) Transmission computer A computer on which an application for transmitting data to the reception computer operates.

(2)受信側計算機
送信側計算機から送信されたデータを受信するアプリケーションが動作する計算機。
(2) Receiving computer A computer on which an application for receiving data transmitted from a transmitting computer operates.

(3)オートネゴシエーション
送信側計算機と受信側計算機間でお互いの情報を遣り取りすることにより、データ通で使用する通信プロトコルを決定する処理。受信側計算機からのネゴシエーション要求とそれに対するネゴシエーション応答によりネゴシエーションを行う。
(3) Auto-negotiation Processing to determine the communication protocol used for data communication by exchanging information between the sending computer and the receiving computer. Negotiation is performed by a negotiation request from the receiving computer and a negotiation response thereto.

(4)通信相手
送信側計算機からみて受信側計算機、またはその逆を指す。本発明では、送信側計算機から見た受信側計算機のことを指す。
(4) Communication partner This refers to the receiving computer or vice versa when viewed from the transmitting computer. In the present invention, it refers to a receiving computer as viewed from a transmitting computer.

(5)通信品質
計算機間のデータ通信が損失なしに行われているかを示すもの。受信側計算機での再送要求送信頻度が実際例である。
(5) Communication quality Indicates whether data communication between computers is performed without loss. The frequency of retransmission request transmission at the receiving computer is an actual example.

(6)通信状態
計算機間でのデータ通信が正常に行われているかを示すもの。通信状態が悪いとは、送信側計算機が送信したデータが受信側計算機に届かない状況を指す。
(6) Communication status Indicates whether data communication between computers is normally performed. A bad communication state refers to a situation in which data transmitted by the transmitting computer does not reach the receiving computer.

(7)一斉同報通信
送信が複数の計算機に対して同時一斉に行われる。受信側の受信状況に関わらず送信する一方的な通信である。複数の計算機が、特定のグループである場合と、不特定多数である場合がある。IP網では、マルチキャスト通信マルチブロードキャスト通信が実際例である。
(7) Simultaneous broadcast transmission Transmission is performed simultaneously to a plurality of computers. It is a one-sided communication that is transmitted regardless of the reception status on the receiving side. A plurality of computers may be a specific group or may be an unspecified number. In an IP network, multicast communication multi-broadcast communication is an actual example.

(実施の形態1)
図1ないし図9を参照して本発明の実施の形態1に係る複数計算機間における通信プロトコルの動的選択システムについて説明する。
(Embodiment 1)
A communication protocol dynamic selection system between a plurality of computers according to Embodiment 1 of the present invention will be described with reference to FIGS.

(構成)
図1は本発明の実施の形態1に係る複数計算機間における通信プロトコルの動的選択システム構成図である。なお、実施の形態2以降のシステム構成図においても、送信側計算機およびその構成部品(機能)には添字符号(−S)を、また、受信側計算機およびその構成部品(機能)には添字符号(−R)をそれぞれ付けて区別する。
(Constitution)
FIG. 1 is a configuration diagram of a system for dynamically selecting a communication protocol between a plurality of computers according to Embodiment 1 of the present invention. In the system configuration diagrams of the second and subsequent embodiments, the subscript code (-S) is used for the transmitting computer and its component parts (functions), and the subscript code is used for the receiver computer and its component parts (functions). A distinction is made by adding (-R).

図1を参照して、本実施の形態1のシステム構成から説明する。
送信側計算機PC−Sは、ネゴシエーション管理部11−Sと、ネゴシエーション通信部12−Sと、通信プロトコル判定部13−Sと、通信相手管理部14−Sと、通信相手一覧データファイル15−Sと、ネゴシエーション情報ファイル16−Sと、通信プロトコル一覧データファイル17−Sと、データ用通信部18−Sと、アプリケーション19−Sとを備えている。
The system configuration of the first embodiment will be described with reference to FIG.
The transmission side computer PC-S includes a negotiation management unit 11-S, a negotiation communication unit 12-S, a communication protocol determination unit 13-S, a communication partner management unit 14-S, and a communication partner list data file 15-S. A negotiation information file 16-S, a communication protocol list data file 17-S, a data communication unit 18-S, and an application 19-S.

これに対して、受信側計算機PC−Rは、ネゴシエーション管理部11−Rと、ネゴシエーション通信部12−Rと、ネゴシエーション情報ファイル16−Rと、データ用通信部18−Rと、アプリケーション19−Rとを備えており、送信側計算機PC−Sに設けてある通信プロトコル判定部、通信相手管理部、通信相手一覧データファイルおよび通信プロトコル一覧データファイル等は備えていない。   On the other hand, the reception side computer PC-R includes a negotiation management unit 11-R, a negotiation communication unit 12-R, a negotiation information file 16-R, a data communication unit 18-R, and an application 19-R. The communication protocol determination unit, the communication partner management unit, the communication partner list data file, the communication protocol list data file, and the like provided in the transmitting computer PC-S are not provided.

次に、送信側計算機PC−Sおよび受信側計算機PC−Rの各部の詳細機能について説明する。
受信側計算機PC−Rのネゴシエーション管理部11−Rは、送信側計算機PC−Sへネゴシエーション要求を行うために、ネゴシエーション要求をネゴシエーション通信部12−Rに渡し、その結果送信側計算機PC−Sから返ってきたネゴシエーション応答に含まれる通信プロトコルをデータ用通信部18−Rに設定する。
Next, detailed functions of each part of the transmitting computer PC-S and the receiving computer PC-R will be described.
The negotiation management unit 11-R of the reception side computer PC-R passes the negotiation request to the negotiation communication unit 12-R in order to make a negotiation request to the transmission side computer PC-S, and as a result, from the transmission side computer PC-S. The communication protocol included in the returned negotiation response is set in the data communication unit 18-R.

ネゴシエーション要求は、例えば図5に示すように受信側計算機PC−Rのアドレス情報として「IPアドレス;192.168.20.51」、「サブネットマスク;255.255.255.0」および「通信プロトコル;空」を含むように構成されている。   The negotiation request is configured to include “IP address; 192.168.20.51”, “subnet mask; 255.255.255.0”, and “communication protocol: empty” as address information of the receiving computer PC-R, for example, as shown in FIG. Has been.

送信側計算機PC−Sでは、受信側計算機PC−Rのネゴシエーション通信部12−Rから送信されてきたネゴシエーション要求を自機のネゴシエーション通信部12−Sで受信し、ネゴシエーション管理部11−Sを経由して通信プロトコル判定部13−Sに対して「通信プロトコル自動判定処理」を依頼する。   In the transmission side computer PC-S, the negotiation request transmitted from the negotiation communication unit 12-R of the reception side computer PC-R is received by the negotiation communication unit 12-S of the own device, and passes through the negotiation management unit 11-S. Then, the communication protocol determination unit 13-S is requested to perform “communication protocol automatic determination processing”.

通信プロトコル判定部13−Sによって判定された通信プロトコルは、ネゴシエーション管理部11−Sを経由してネゴシエーション情報ファイル16−Sに格納され、かつデータ用通信部18−Sに設定され、ネゴシエーション応答を送信するために、応答データをネゴシエーション通信部12−Sに渡す。   The communication protocol determined by the communication protocol determination unit 13-S is stored in the negotiation information file 16-S via the negotiation management unit 11-S and set in the data communication unit 18-S, and the negotiation response is sent. In order to transmit, the response data is passed to the negotiation communication unit 12-S.

ネゴシエーション応答は、図6に示すように「IPアドレス;192.168.20.51」、「サブネットマスク;255.255.255.0」および「通信プロトコル;ブロードキャスト」構成されている。このようにネゴシエーション応答のデータには、ネゴシエーション要求に加えて、判定結果としての通信プロトコルも付加されている。   As shown in FIG. 6, the negotiation response includes “IP address; 192.168.20.51”, “subnet mask; 255.255.255.0”, and “communication protocol; broadcast”. Thus, in addition to the negotiation request, the communication protocol as the determination result is added to the negotiation response data.

受信側計算機PC−Rのネゴシエーション通信部12−Rは、ネゴシエーション管理部11−Rから受け取った図6のネゴシエーション要求を送信側計算機PC−Sに送信し、要求した結果として送信側計算機PC−Sから送信されてきたネゴシエーション応答を受信し、そのネゴシエーション応答をネゴシエーション管理部11−Rに渡す。   The negotiation communication unit 12-R of the reception side computer PC-R transmits the negotiation request of FIG. 6 received from the negotiation management unit 11-R to the transmission side computer PC-S, and as a result of the request, the transmission side computer PC-S. The negotiation response transmitted from is received, and the negotiation response is passed to the negotiation manager 11-R.

送信側計算機PC−Sのネゴシエーション通信部12−Sは、受信側計算機PC−Rから送信されてきたネゴシエーション要求を受信し、通信プロトコルの判定を行うために、ネゴシエーション管理部11−Sに渡し、通信プロトコル判定結果を含むネゴシエーション応答をネゴシエーション管理部11−Sから受け取り、受信側計算機PC−Rに送信する。   The negotiation communication unit 12-S of the transmission side computer PC-S receives the negotiation request transmitted from the reception side computer PC-R and passes it to the negotiation management unit 11-S in order to determine the communication protocol. The negotiation response including the communication protocol determination result is received from the negotiation management unit 11-S and transmitted to the receiving computer PC-R.

送信側計算機PC−Sの通信プロトコル判定部13−Sは、ネゴシエーション管理部11−Sからネゴシエーション要求を受け取って通信相手管理部14−Sに渡すとともに、通信相手管理部14−Sから情報を取得した受信側計算機PC−Rの順に、受信側計算機PC−Rの計算機台数および計算機構成によるルールに従って、通信プロトコル一覧データファイル17−Sに格納されている通信プロトコル一覧データで定義されている通信プロトコルの中から使用する通信プロトコルを選択する。   The communication protocol determination unit 13-S of the sending computer PC-S receives the negotiation request from the negotiation management unit 11-S and passes it to the communication partner management unit 14-S, and acquires information from the communication partner management unit 14-S. Communication protocols defined in the communication protocol list data stored in the communication protocol list data file 17-S in accordance with the rules based on the number of computers on the receiving computer PC-R and the computer configuration in the order of the receiving computer PC-R. Select the communication protocol to use.

送信側計算機PC−Sに設けられた通信相手管理部14−Sは、通信プロトコル判定部13−Sから受け取ったネゴシエーション要求に含まれる受信側計算機PC−Rの情報を送信側計算機PC−Sに設けられた通信相手一覧データファイル15−Sに格納し、通信プロトコル判定部13−Sからの受信側計算機PC−Rの情報の取得要求に対して、通信相手一覧データファイル15−Sに格納済みの全データを渡す。   The communication partner management unit 14-S provided in the transmission side computer PC-S sends the information on the reception side computer PC-R included in the negotiation request received from the communication protocol determination unit 13-S to the transmission side computer PC-S. Stored in the communication partner list data file 15-S provided, and stored in the communication partner list data file 15-S in response to an acquisition request for information on the receiving computer PC-R from the communication protocol determination unit 13-S Pass all the data.

通信相手一覧データファイル15−Sに格納されるデータは図7に示すように受信側計算機PC−Rの情報を表形式で格納している。この図7の例では、受信側計算機PC−Rの情報を3台分格納しており、具体的には各受信側計算機PC−R1〜3のアドレス情報としてIPアドレス(192.168.20.51、192.168.20.52、192.168.100.71)およびサブネットマスク(255.255.255.0、255.255.255.0、255.255.255.0)を格納している。なお、このアドレス情報はネットワーク上の配置を一意に特定できる値であればよく、例えば数値や文字列のようなIPアドレス以外の情報を用いることでも良い。   The data stored in the communication partner list data file 15-S stores information on the receiving computer PC-R in a table format as shown in FIG. In the example of FIG. 7, the information of the receiving side computer PC-R is stored for three units. Specifically, as the address information of each of the receiving side computers PC-R1 to 3, IP addresses (192.168.20.51, 192.168. 20.52, 192.168.100.71) and subnet mask (255.255.255.0, 255.255.255.0, 255.255.255.0) are stored. The address information may be a value that can uniquely identify the arrangement on the network. For example, information other than an IP address such as a numerical value or a character string may be used.

送信側計算機PC−Sおよび受信側計算機PC−R双方のネゴシエーション情報ファイル16−Sおよびネゴシエーション情報ファイル16−Rに格納されるデータは、図8に示すようなオートネゴシエーションに関連するデータを格納している。このうち、受信側計算機PC−Rのネゴシエーション情報ファイル16−Rではネゴシエーション応答に格納された通信プロトコルを格納し、送信側計算機PC−Sのネゴシエーション情報ファイル16−Sではネゴシエーション要求に対して通信プロトコル判定部13−Sが判定した通信プロトコルを格納する。   The data stored in the negotiation information file 16-S and the negotiation information file 16-R of both the transmitting computer PC-S and the receiving computer PC-R stores data related to auto-negotiation as shown in FIG. ing. Of these, the negotiation information file 16-R of the receiving computer PC-R stores the communication protocol stored in the negotiation response, and the negotiation information file 16-S of the transmitting computer PC-S stores the communication protocol in response to the negotiation request. The communication protocol determined by the determination unit 13-S is stored.

送信側計算機PC−Sに設けられている通信プロトコル一覧データファイル17−Sは、送信側計算機PC−Sのデータ用通信部18−Sと受信側計算機PC−Rのデータ用通信部18−Rとが利用可能な図9に示すように構成された通信プロトコルの一覧、すなわち、TCP/IP、ブロードキャスト(UDP)、マルチキャスト(UDP)を格納している。   The communication protocol list data file 17-S provided in the transmission side computer PC-S includes the data communication unit 18-S of the transmission side computer PC-S and the data communication unit 18-R of the reception side computer PC-R. And a list of communication protocols configured as shown in FIG. 9, that is, TCP / IP, broadcast (UDP), and multicast (UDP) are stored.

通信プロトコル判定部13−Sは、この通信プロトコル一覧データファイル17−Sに格納されているプロトコル一覧の中から、使用する通信プロトコルを選択するように自動判定処理を行う。なお、OSI参照モデルのトランスポート層の通信プロトコルとしては、TCP、UDPが挙げられる。また、UDPについては、一斉同報通信を実施するための通信プロトコルとしてブロードキャスト、マルチキャストが挙げられる。   The communication protocol determination unit 13-S performs automatic determination processing so as to select the communication protocol to be used from the protocol list stored in the communication protocol list data file 17-S. In addition, TCP and UDP are mentioned as a communication protocol of the transport layer of an OSI reference model. As for UDP, broadcast and multicast can be cited as communication protocols for carrying out simultaneous broadcast communication.

データ用通信部18−Sおよびデータ用通信部18−Rは、送信側計算機PC−Sと受信側計算機PC−Rの間でアプリケーション19−Sおよびアプリケーション19−Rの送受信処理を行う。送信側計算機PC−Sのデータ用通信部18−Sはアプリケーション19−Sからの送信要求に対して受信側計算機PC−Rにデータを送信し、受信側計算機PC−Rのデータ用通信部18−Rは送信側計算機PC−Sから送信されたデータを受信し、受信通知と受信データとをアプリケーション19−Rに渡すようになっている。   The data communication unit 18-S and the data communication unit 18-R perform transmission / reception processing of the application 19-S and the application 19-R between the transmission side computer PC-S and the reception side computer PC-R. The data communication unit 18-S of the transmission side computer PC-S transmits data to the reception side computer PC-R in response to the transmission request from the application 19-S, and the data communication unit 18 of the reception side computer PC-R. -R receives the data transmitted from the transmitting computer PC-S, and passes the reception notification and the received data to the application 19-R.

(作用)
次に、図1で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図2および図3のフローチャートを参照して説明する。
図2は送信側計算機PC−Sでのオートネゴシエーションによる通信プロトコルの選択処理手順を示すフローチャートである。なお、既に受信側計算機PC−Rとの通信が行われている状態でもそうでない状態でも同様の処理を行う。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 1 will be described with reference to the flowcharts of FIGS.
FIG. 2 is a flowchart showing a communication protocol selection processing procedure by auto-negotiation in the sending computer PC-S. The same processing is performed in a state where communication with the receiving computer PC-R has already been performed or not.

まず、第1の処理ステップ(S201)でネゴシエーション通信部12−Sは、受信側計算機PC−Rから送信されたネゴシエーション要求を受信し受付ける。   First, in the first processing step (S201), the negotiation communication unit 12-S receives and accepts the negotiation request transmitted from the receiving computer PC-R.

次の第2の処理ステップ(S202)でネゴシエーション通信部12−Sは、受信したネゴシエーション要求をネゴシエーション管理部11−Sに渡す。当該ネゴシエーション管理部11−Sは受け取ったネゴシエーション要求に基づいて、通信プロトコル判定部13−Sに対して通信プロトコル判定要求を行う。この判定要求を受けて通信プロトコル判定部13−Sは通信相手管理部14−Sにネゴシエーション要求を渡す。これにより、通信相手管理部14−Sはネゴシエーション要求中のアドレス情報を通信相手一覧データファイル15−Sに格納する。   In the next second processing step (S202), the negotiation communication unit 12-S passes the received negotiation request to the negotiation management unit 11-S. The negotiation management unit 11-S makes a communication protocol determination request to the communication protocol determination unit 13-S based on the received negotiation request. In response to this determination request, the communication protocol determination unit 13-S passes the negotiation request to the communication partner management unit 14-S. As a result, the communication partner manager 14-S stores the address information in the negotiation request in the communication partner list data file 15-S.

次の第3の処理ステップ(S203)で通信プロトコル判定部13−Sは、現状の受信側計算機PC−Rの情報により「通信プロトコル自動判定処理」を行い、その判定結果をネゴシエーション管理部11−Sに渡す。なお、この「通信プロトコル自動判定処理」については後で図3を参照して詳しく述べる。   In the next third processing step (S203), the communication protocol determination unit 13-S performs “communication protocol automatic determination processing” based on the information of the current receiving computer PC-R, and the determination result is transmitted to the negotiation management unit 11-. Pass to S. The “communication protocol automatic determination process” will be described in detail later with reference to FIG.

続く第4の処理ステップ(S204)でネゴシエーション管理部11−Sは、通信プロトコル判定部13−Sから受け取った判定結果をネゴシエーション情報ファイル16−Sに格納する。   In the subsequent fourth processing step (S204), the negotiation management unit 11-S stores the determination result received from the communication protocol determination unit 13-S in the negotiation information file 16-S.

次に、第5の処理ステップ(S205)でネゴシエーション管理部11−Sは、判定結果の通信プロトコル情報を含むネゴシエーション応答の通信データを作成し、ネゴシエーション通信部12−Sに渡す。すると、当該ネゴシエーション通信部12−Sは受け取ったネゴシエーション応答を受信側計算機PC−Rのネゴシエーション通信部12−Rに送信する。   Next, in the fifth processing step (S205), the negotiation management unit 11-S creates negotiation response communication data including the communication protocol information of the determination result, and passes the communication data to the negotiation communication unit 12-S. Then, the negotiation communication unit 12-S transmits the received negotiation response to the negotiation communication unit 12-R of the receiving computer PC-R.

最後に第6の処理ステップ(S206)において、送信側計算機PC−Sのネゴシエーション管理部11−S、受信側計算機PC−Rのネゴシエーション管理部11−Rは判定結果の通信プロトコルをデータ用通信部18−Sおよびデータ用通信部18−Rにそれぞれ設定する。これにより、通信プロトコル判定結果によるデータ通信が送信側計算機PC−Sおよび受信側計算機PC−R間で実施可能になる。   Finally, in the sixth processing step (S206), the negotiation management unit 11-S of the transmission side computer PC-S and the negotiation management unit 11-R of the reception side computer PC-R specify the communication protocol of the determination result as the data communication unit. Set to 18-S and data communication unit 18-R, respectively. As a result, data communication based on the communication protocol determination result can be performed between the transmitting computer PC-S and the receiving computer PC-R.

次に、図3のフローチャートを参照して通信プロトコル判定部13−Sで行われる通信プロトコル自動判定処理(図2のS203)の詳細を説明する。   Next, details of the communication protocol automatic determination processing (S203 in FIG. 2) performed by the communication protocol determination unit 13-S will be described with reference to the flowchart of FIG.

図3において、第1の処理ステップ(S301)で通信プロトコル判定部13−Sは、通信相手管理部14−Sから通信相手一覧データファイル15−Sに格納されている受信側計算機PC−Rの情報を取得する。   In FIG. 3, in the first processing step (S301), the communication protocol determination unit 13-S receives the data of the receiving computer PC-R stored in the communication partner list data file 15-S from the communication partner management unit 14-S. Get information.

次の第2の処理ステップ(S302)で通信プロトコル判定部13−Sは、受信側計算機PC−Rの計算機台数を確認する。この第2の処理ステップ(S302)での確認結果、受信側計算機PC−Rの台数が1台(=1)であれば、第3の処理ステップ(S303)で通信プロトコルとしてTCP/IPを選択する。ここで、受信側計算機PC−Rの台数が1台の場合、TCP/IPの替わりにユニキャスト(UDP/IP)を選択させることも可能である。その場合は、通信プロトコル一覧データファイル17−Sにユニキャスト(UDP/IP)を追加すれば良い。   In the next second processing step (S302), the communication protocol determination unit 13-S confirms the number of computers of the receiving computer PC-R. As a result of the confirmation in the second processing step (S302), if the number of receiving side computers PC-R is one (= 1), TCP / IP is selected as the communication protocol in the third processing step (S303). To do. Here, when the number of receiving side computers PC-R is one, it is possible to select unicast (UDP / IP) instead of TCP / IP. In that case, unicast (UDP / IP) may be added to the communication protocol list data file 17-S.

第2の処理ステップ(S302)での確認の結果、受信側計算機PC−Rの台数が1台より多い場合(>1)、第4の処理ステップ(S304)で受信側計算機PC−Rが同一ネットワークセグメントに属するか否かの確認を行う。   As a result of the confirmation in the second processing step (S302), when the number of receiving side computers PC-R is more than one (> 1), the receiving side computer PC-R is the same in the fourth processing step (S304). Check if it belongs to the network segment.

この確認の結果、全ての受信側計算機PC−Rが同一ネットワークセグメントに属する場合(Yes)、第5の処理ステップ(S305)では通信プロトコルとしてUDP/IPのブロードキャストを選択する。第3の処理ステップS303での確認の結果、1台でも受信側計算機PC−Rが異なるネットワークセグメントに属する場合(No)、第6の処理ステップ(S306)では通信プロトコルとしてマルチキャストを選択する。   If all the receiving side computers PC-R belong to the same network segment as a result of this confirmation (Yes), UDP / IP broadcast is selected as the communication protocol in the fifth processing step (S305). As a result of the confirmation in the third processing step S303, when even one receiver computer PC-R belongs to a different network segment (No), multicast is selected as the communication protocol in the sixth processing step (S306).

このように、第3の処理ステップ(S303)、第5の処理ステップ(S305)あるいは第6の処理ステップ(S306)で通信プロトコルを選択することによって通信プロトコル判定部13−Sによる「通信プロトコル自動判定処理」を終える。   In this way, by selecting a communication protocol in the third processing step (S303), the fifth processing step (S305), or the sixth processing step (S306), the “communication protocol automatic” by the communication protocol determination unit 13-S is selected. The “determination process” is finished.

図4は、受信側計算機PC−Rでのネゴシエーション処理手順を示すフローチャートである。第1の処理ステップ(S401)で、ネゴシエーション管理部11−Rは自計算機のアドレス情報を格納したネゴシエーション要求を作成し、ネゴシエーション通信部12−Rに渡す。すると、ネゴシエーション通信部12−Rは受け取ったネゴシエーション要求を送信側計算機PC−Sに送信する。   FIG. 4 is a flowchart showing a negotiation processing procedure in the receiving computer PC-R. In the first processing step (S401), the negotiation management unit 11-R creates a negotiation request storing the address information of its own computer, and passes it to the negotiation communication unit 12-R. Then, the negotiation communication unit 12-R transmits the received negotiation request to the transmitting computer PC-S.

続く第2のステップ(S402)で、ネゴシエーション通信部12−Rは送信側計算機PC−Sからのネゴシエーション応答の受信待ちを行い、受信したネゴシエーション応答をネゴシエーション管理部11−Rに渡す。   In the subsequent second step (S402), the negotiation communication unit 12-R waits to receive a negotiation response from the transmission side computer PC-S, and passes the received negotiation response to the negotiation management unit 11-R.

更に次の第3のステップ(S403)では、ネゴシエーション管理部11−Rはネゴシエーション応答に含まれている通信プロトコルをネゴシエーション情報ファイル16−Rに格納し、かつ、データ用通信部18−Rに通信プロトコルを設定する。   In the next third step (S403), the negotiation management unit 11-R stores the communication protocol included in the negotiation response in the negotiation information file 16-R and communicates to the data communication unit 18-R. Set the protocol.

次に、通信プロトコル自動判定処理について、受信側計算機PC−Rの台数に具体的台数例をあげて説明する。
受信側計算機PC−Rが3台あり、そのうち2台(PC−R1、PC−R2とする)が送信側計算機PC−Sと同一ネットワーク内に存在し、1台(PC−R3とする)が異なるネットワークに存在するものとする。
Next, the communication protocol automatic determination processing will be described with reference to a specific example of the number of receiving side computers PC-R.
There are three receiving side computers PC-R, of which two (PC-R1 and PC-R2) exist in the same network as the transmitting side computer PC-S, and one (PC-R3). Suppose they are in different networks.

受信側計算機をPC−R1→PC−R2→PC−R3の順に起動する場合、PC−R1がオートネゴシエーションを行うと、送信側計算機PC−Sの通信相手一覧データファイル15−Sに受信側計算機PC−R1の情報が格納される。この場合、受信側計算機PC−Rは1台であるため、送信側計算機PC−Sと受信側計算機PC−R1の間ではTCP/IPによる通信が行われる。   When the receiving computer is activated in the order of PC-R1, PC-R2, and PC-R3, when PC-R1 performs auto-negotiation, the receiving computer is added to the communication partner list data file 15-S of the transmitting computer PC-S. Information on the PC-R1 is stored. In this case, since there is one receiving computer PC-R, communication by TCP / IP is performed between the transmitting computer PC-S and the receiving computer PC-R1.

次に、受信側計算機PC−R2がオートネゴシエーションを行うと、通信相手一覧データファイル15−Sに受信側計算機PC−R2の情報が格納される。この時点では受信側計算機PC−Rは2台全て同一ネットワークであるため、ブロードキャスト(UDP/IP)による通信が行われる。   Next, when the receiving computer PC-R2 performs auto-negotiation, information on the receiving computer PC-R2 is stored in the communication partner list data file 15-S. At this time, since all the two receiving side computers PC-R are in the same network, communication by broadcast (UDP / IP) is performed.

更に、受信側計算機PC−R3がオートネゴシエーションを行うと、送信側計算機PC−Sの通信相手一覧データファイル15−Sに受信側計算機PC−R3の情報が格納される。この時点では受信側計算機PC−R3台は同一ネットワークにはないため、マルチキャスト(UDP/IP)による通信が行われる。   Further, when the receiving computer PC-R3 performs auto-negotiation, the information on the receiving computer PC-R3 is stored in the communication partner list data file 15-S of the transmitting computer PC-S. At this time, since the three reception side computers PC-R are not in the same network, communication by multicast (UDP / IP) is performed.

(効果)
以上述べたように、本実施の形態1によれば送信側計算機PC−Sが受信側計算機PC−Rの台数および計算機構成に応じてデータ通信で使用する通信プロトコルを自動的に選択するため、計算機構成に対応した最適な通信プロトコルを使用することができ、これにより計算機負荷、通信負荷およびリソース使用量を低減することができる。
(effect)
As described above, according to the first embodiment, the transmission computer PC-S automatically selects the communication protocol to be used for data communication according to the number of the reception computer PC-R and the computer configuration. An optimal communication protocol corresponding to the computer configuration can be used, thereby reducing the computer load, communication load, and resource usage.

また、送信側計算機PC−Sおよび受信側計算機PC−Rで動作するアプリケーションは通信プロトコルを意識することなく通信が行えるため、通信プロトコルに依存した通信処理手順を記述する必要がなく、アプリケーションの生産性の向上が期待できる。   In addition, since applications that operate on the transmission side computer PC-S and the reception side computer PC-R can communicate without being aware of the communication protocol, it is not necessary to describe the communication processing procedure depending on the communication protocol, and the application production The improvement of sex can be expected.

(実施の形態2)
次に、本発明の実施の形態2に係る複数計算機間における通信プロトコルの動的選択システムについて図10、図11および図12を参照して説明する。なお実施の形態1と同一の機能部には同一の符号を付け、関連する機能部分には´を付けて重複する説明は適宜省略する。
(Embodiment 2)
Next, a communication protocol dynamic selection system between a plurality of computers according to the second embodiment of the present invention will be described with reference to FIG. 10, FIG. 11, and FIG. In addition, the same code | symbol is attached | subjected to the function part same as Embodiment 1, and it attaches | subjects the related function part, and the overlapping description is abbreviate | omitted suitably.

(構成)
図10は本発明の実施の形態2に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
本実施の形態2と前述した実施の形態1との違いを以下述べる。
(Constitution)
FIG. 10 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to the second embodiment of the present invention.
Differences between the second embodiment and the first embodiment will be described below.

送信側計算機PC−S内に設けられた通信相手管理部14−S´が受信側計算機PC−Rの台数を監視し、受信側計算機PC−Rのネゴシエーション要求等により台数が変化した場合、台数の変化を検出して通信プロトコル判定部13−S´に通信プロトコルの再判定要求を行う。   If the communication partner manager 14-S 'provided in the transmission side computer PC-S monitors the number of reception side computers PC-R and the number changes due to the negotiation request of the reception side computer PC-R, the number of units Is detected, and a communication protocol re-determination request is sent to the communication protocol determination unit 13-S ′.

通信プロトコル判定部13−S´はこの再判定要求を受けて変更後の計算機台数および計算機構成により通信プロトコルを決定し、ネゴシエーション管理部11−S´に通信プロトコルの変更通知を行う。ネゴシエーション管理部11−S´は台数変更により通信プロトコルが変更された場合のみ、ネゴシエーション通信部12−Sにより受信側計算機PC−Rのネゴシエーション通信部12−Rに通信プロトコル変更通知を行う。その他の点については実施の形態1と同じなので説明を省略する。   Upon receiving this re-determination request, the communication protocol determination unit 13-S ′ determines the communication protocol according to the changed number of computers and the computer configuration, and notifies the negotiation management unit 11-S ′ of the change of the communication protocol. Only when the communication protocol is changed due to the change in the number of units, the negotiation management unit 11-S ′ sends a communication protocol change notification to the negotiation communication unit 12-R of the reception-side computer PC-R by the negotiation communication unit 12-S. Since other points are the same as those of the first embodiment, the description thereof is omitted.

(作用)
次に、図10で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図11および図12のフローチャートを参照して説明する。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 10 will be described with reference to the flowcharts of FIG. 11 and FIG.

図11は送信側計算機PC−Sでの「通信相手監視処理」を示すフローチャートである。
図11において、第1の処理ステップ(S1101)で通信相手管理部14−Sは、通信相手一覧データファイル15−S中の受信側計算機PC−Rの台数を取得する。
FIG. 11 is a flowchart showing the “communication partner monitoring process” in the sending computer PC-S.
In FIG. 11, in the first processing step (S1101), the communication partner management unit 14-S acquires the number of receiving side computers PC-R in the communication partner list data file 15-S.

次に、第2の処理ステップ(S1102)において、取得した台数によって受信側計算機PC−R側に台数の変化があるか否かを判定する。第2の処理ステップ(S1102)で台数が前回の台数取得時から変化している場合(Yes)は、第3の処理ステップ(S1103)で通信プロトコル判定部13−Sに通信プロトコルの再判定要求を行い、通信プロトコル判定部13−Sは前述した図3に示す通信プロトコル自動判定処理を行う。   Next, in the second processing step (S1102), it is determined whether or not there is a change in the number on the reception-side computer PC-R side according to the acquired number. If the number has changed from the previous acquisition of the number (Yes) in the second processing step (S1102), a request for re-determination of the communication protocol is made to the communication protocol determination unit 13-S in the third processing step (S1103). The communication protocol determination unit 13-S performs the communication protocol automatic determination process shown in FIG.

続いて第4の処理ステップ(S1104)において、通信プロトコル判定部13−Sは判定結果の通信プロトコルをネゴシエーション管理部11−Sに渡し、ネゴシエーション管理部11−Sは判定結果の通信プロトコルとネゴシエーション情報ファイル16−Sに格納済みの通信プロトコルとを比較してプロトコルが変更されているか否かを確認する。   Subsequently, in the fourth processing step (S1104), the communication protocol determination unit 13-S passes the determination result communication protocol to the negotiation management unit 11-S, and the negotiation management unit 11-S determines the determination result communication protocol and negotiation information. The communication protocol stored in the file 16-S is compared to check whether the protocol has been changed.

前記第4の処理ステップ(S1104)において、プロトコルが変更されていることが確認された場合(Yes)は、続く第5の処理ステップ(S1105)においてネゴシエーション管理部11−Sは変更後の通信プロトコルをネゴシエーション情報ファイル16−Sに格納する。次に第6の処理ステップ(S1106)において変更後の通信プロトコルを含む通信プロトコル変更通知を作成し、ネゴシエーション通信部12−Sにより受信側計算機PC−Rに送信する。   In the fourth processing step (S1104), when it is confirmed that the protocol has been changed (Yes), the negotiation management unit 11-S determines the changed communication protocol in the subsequent fifth processing step (S1105). Is stored in the negotiation information file 16-S. Next, in a sixth processing step (S1106), a communication protocol change notification including the changed communication protocol is created and transmitted to the receiving computer PC-R by the negotiation communication unit 12-S.

最後に第7の処理ステップ(S1107)においてネゴシエーション管理部11−Sは変更後の通信プロトコルをデータ用通信部18−Sに設定する。   Finally, in the seventh processing step (S1107), the negotiation management unit 11-S sets the changed communication protocol in the data communication unit 18-S.

図12は受信側計算機PC−Rでの通信プロトコル変更処理手順を示すフローチャートである。
図12において、ネゴシエーション通信部12−Rは第1の処理ステップ(S1101)において、通信プロトコル変更通知を受信し、ネゴシエーション管理部11−Rに渡す。次に第2の処理ステップ(S1202)においてネゴシエーション管理部11−Rは既に利用中の通信プロトコルをネゴシエーション情報ファイル16−Rから取得し、変更通知に含まれる通信プロトコルと比較する。第2の処理ステップ(S1202)で通信プロトコルが変更されていると判断した場合(Yes)、第3の処理ステップ(S1203)においてネゴシエーション情報ファイル16−Rに変更後の通信プロトコルを格納し、データ用通信部18に通信プロトコルを設定する。
FIG. 12 is a flowchart showing a communication protocol change processing procedure in the receiving computer PC-R.
In FIG. 12, the negotiation communication unit 12-R receives the communication protocol change notification and passes it to the negotiation management unit 11-R in the first processing step (S1101). Next, in the second processing step (S1202), the negotiation management unit 11-R acquires the communication protocol already in use from the negotiation information file 16-R and compares it with the communication protocol included in the change notification. If it is determined that the communication protocol has been changed in the second processing step (S1202) (Yes), the changed communication protocol is stored in the negotiation information file 16-R in the third processing step (S1203), and the data A communication protocol is set in the communication unit 18 for communication.

(効果)
本実施の形態2によれば、既に送信側計算機PC−Sと通信を行っている受信側計算機PC−Rが存在する場合、計算機台数が増加したとき送信側計算機PC−Sで台数変更を検出し、検出した時点での計算機構成に対する最適な通信プロトコルを動的に選択することにより、受信側計算機PC−Rの台数変更による送信側計算機PC−Sの計算機負荷、通信負荷、リソース使用量の増加を抑制することができる。
また、通信プロトコルの変更を受信側計算機PC−Rに通知することにより、最適な通信プロトコルを維持しつつアプリケーション間のデータ通信を継続することができる。
(effect)
According to the second embodiment, when there is a receiving computer PC-R that is already communicating with the transmitting computer PC-S, when the number of computers increases, the transmitting computer PC-S detects a change in the number of computers. Then, by dynamically selecting the optimal communication protocol for the computer configuration at the time of detection, the computer load, communication load, and resource usage of the sending computer PC-S by changing the number of receiving computers PC-R Increase can be suppressed.
In addition, by notifying the receiving computer PC-R of the change of the communication protocol, it is possible to continue data communication between applications while maintaining the optimum communication protocol.

(実施の形態3)
次に、本実施の形態3について図13、図14、図15、図16、図17、図18および図19を参照して説明する。なお実施の形態1と同一の構成には同一の符号を付し、重複する説明は省略する。
(Embodiment 3)
Next, the third embodiment will be described with reference to FIGS. 13, 14, 15, 16, 16, 17, and 19. FIG. In addition, the same code | symbol is attached | subjected to the structure same as Embodiment 1, and the overlapping description is abbreviate | omitted.

(構成)
図13は本発明の実施の形態2に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
本実施の形態3と実施の形態1との違いを以下述べる。
(Constitution)
FIG. 13 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to the second embodiment of the present invention.
Differences between the third embodiment and the first embodiment will be described below.

受信側計算機PC−Rがネゴシエーション処理を行う際、送信側計算機PC−Sおよび受信側計算機PC−Rで使用する通信プロトコルをネゴシエーション情報ファイル16−S´および16−R´に格納し、ネゴシエーション管理部11−S´および11−R´が使用する通信プロトコルを取り出し、図16に示すような通信プロトコルを含んだネゴシエーション要求データを送信側計算機PC−Sに送信する。   When the receiving computer PC-R performs the negotiation process, the communication protocol used by the transmitting computer PC-S and the receiving computer PC-R is stored in the negotiation information files 16-S ′ and 16-R ′, and the negotiation management is performed. The communication protocols used by the units 11-S ′ and 11-R ′ are extracted, and negotiation request data including the communication protocol as shown in FIG. 16 is transmitted to the transmitting computer PC-S.

送信側計算機PC−Sはネゴシエーション管理部11−S´が受信側計算機PC−Rの通信プロトコルと送信側計算機PC−Sで使用する通信プロトコルを通信プロトコル判定部13−S´に渡し、通信プロトコル判定部13−S´は図17に示した通信プロトコル判定表に従った通信プロトコル自動判定処理を行う。   The transmission side computer PC-S passes the communication protocol of the reception side computer PC-R and the communication protocol used by the transmission side computer PC-S to the communication protocol determination unit 13-S 'by the negotiation management unit 11-S' The determination unit 13-S ′ performs communication protocol automatic determination processing according to the communication protocol determination table shown in FIG.

判定の結果、受信側計算機PC−Rの通信プロトコルが利用可能である場合、図18に示すような要求時と同一の通信プロトコルをネゴシエーション応答に含めて正常判定として受信側計算機PC−Rに送信し、受信側計算機PC−Rの通信プロトコルが利用不可である場合、異常判定の情報をネゴシエーション応答に含めて受信側計算機PC−Rに送信し、受信側計算機PC−Rとの通信を行わないようにするか、受信側計算機PC−Rで利用可能な通信プロトコルを選択したものをネゴシエーション応答に含めて受信側計算機PC−Rに送信し、通知された代替の通信プロトコルで通信を行う。   As a result of the determination, when the communication protocol of the receiving computer PC-R is available, the same communication protocol as that shown in FIG. 18 is included in the negotiation response and transmitted to the receiving computer PC-R as a normal determination. If the communication protocol of the receiving computer PC-R is not available, the information on the abnormality determination is included in the negotiation response and transmitted to the receiving computer PC-R, and communication with the receiving computer PC-R is not performed. Alternatively, a communication protocol that can be used by the receiving computer PC-R is selected and transmitted to the receiving computer PC-R by including it in the negotiation response, and communication is performed using the notified alternative communication protocol.

ここでの代替通信プロトコルとは、計算機構成に制約されないプロトコル(TCP/IP等)を使用することが望ましい。また、通信プロトコル自動判定処理の際、図19に示すように通信相手一覧データファイルに受信側計算機PC−Rに通信プロトコルを格納し、通信プロトコルを指定していない受信側計算機PC−Rに対してのみ実施の形態1の通信プロトコル自動判定を行う。   As the alternative communication protocol here, it is desirable to use a protocol (TCP / IP or the like) that is not restricted by the computer configuration. In the communication protocol automatic determination process, as shown in FIG. 19, the communication protocol is stored in the receiving computer PC-R in the communication partner list data file, and the receiving computer PC-R for which the communication protocol is not specified is stored. Only the communication protocol automatic determination of the first embodiment is performed.

(作用)
次に、図13で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図14および図15のフローチャートを参照して説明する。
図14は送信側計算機PC−Sでの通信プロトコル選択処理手順を示すフローチャートである。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 13 will be described with reference to the flowcharts of FIG. 14 and FIG.
FIG. 14 is a flowchart showing a communication protocol selection processing procedure in the transmission side computer PC-S.

ネゴシエーション管理部11−Sは第1の処理ステップ(S1401)で受信側計算機PC−Rからネゴシエーション要求を受信する。次に第2の処理ステップ(S1402)でネゴシエーション要求から受信側計算機PC−Rの通信プロトコルを取り出し、通信プロトコル判定部13−Sで通信プロトコル判定を実施する。そして、ネゴシエーション情報ファイル16−Sから取り出した送信側計算機PC−Sの通信プロトコルが自動選択かどうか確認する。   The negotiation manager 11-S receives the negotiation request from the receiving computer PC-R in the first processing step (S1401). Next, in the second processing step (S1402), the communication protocol of the receiving computer PC-R is extracted from the negotiation request, and the communication protocol determination unit 13-S performs communication protocol determination. Then, it is confirmed whether or not the communication protocol of the transmitting computer PC-S extracted from the negotiation information file 16-S is automatically selected.

前記第2の処理ステップ(S1402)で自動選択が確認された場合(Yes)、次の第3の処理ステップ(S1403)で受信側計算機PC−Rの通信プロトコルが自動選択か否かを確認する。第3の処理ステップ(S1403)において受信側計算機PC−Rも自動選択であることが確認された場合(Yes)は、第4の処理ステップ(S1404)で、実施の形態1で実施した「通信プロトコル自動判定処理」を行い、通信プロトコルを決定する。   If automatic selection is confirmed in the second processing step (S1402) (Yes), it is confirmed in the next third processing step (S1403) whether or not the communication protocol of the receiving computer PC-R is automatic selection. . If it is confirmed in the third processing step (S1403) that the receiving computer PC-R is also automatically selected (Yes), the “communication” performed in the first embodiment in the fourth processing step (S1404). "Protocol automatic determination processing" is performed, and the communication protocol is determined.

一方、前記第2の処理ステップ(S1402)で送信側計算機PC−Sの通信プロトコルが自動選択でないことが確認された場合(No)、第5の処理ステップ(S1405)で送信側計算機PC−Sの通信プロトコルと受信側計算機PC−Rの通信プロトコルとが同一か否かを確認し、同一(Yes)であれば第6の処理ステップ(S1406)で判定OKとする。   On the other hand, if it is confirmed in the second processing step (S1402) that the communication protocol of the sending computer PC-S is not automatically selected (No), the sending computer PC-S is used in the fifth processing step (S1405). Whether or not the communication protocol of the receiving computer PC-R is the same, and if it is the same (Yes), the determination is OK in the sixth processing step (S1406).

しかし、第5の処理ステップ(S1405)で送信側計算機PC−Sの通信プロトコルと受信側計算機PC−Rの通信プロトコルとが一致していない場合(No)、または前記第3の処理ステップ(S1403)で受信側計算機PC−Rの通信プロトコルが自動選択でない場合(No)は、第7の処理ステップ(S1407)において代替通信プロトコルを利用するか否かについて確認する。   However, if the communication protocol of the sending computer PC-S and the communication protocol of the receiving computer PC-R do not match in the fifth processing step (S1405) (No), or the third processing step (S1403). ), If the communication protocol of the receiving computer PC-R is not automatically selected (No), it is confirmed whether or not the alternative communication protocol is used in the seventh processing step (S1407).

そして、この第7の処理ステップ(S1407)で代替通信プロトコルを利用する場合(Yes)、次の第8の処理ステップ(S1408)で代替通信プロトコルを選択する。しかし、第7の処理ステップで代替通信プロトコルを利用しない場合(No)、第9の処理ステップ(S1409)で判定NGとする。   If an alternative communication protocol is used in this seventh processing step (S1407) (Yes), an alternative communication protocol is selected in the next eighth processing step (S1408). However, if the alternative communication protocol is not used in the seventh processing step (No), the determination is NG in the ninth processing step (S1409).

判定NG以外の判定OKや代替通信プロトコルを選択した場合は、第10の処理ステップ(S1410)で判定結果をネゴシエーション情報ファイル16−Sに格納し、続く第11の処理ステップ(S1411)で受信側計算機PC−Rにネゴシエーション応答を送信する。以上で送信側計算機PC−Sでの通信プロトコル選択処理を終了する。   If a determination OK other than determination NG or an alternative communication protocol is selected, the determination result is stored in the negotiation information file 16-S in the tenth processing step (S1410), and the receiving side in the subsequent eleventh processing step (S1411). A negotiation response is transmitted to the computer PC-R. This completes the communication protocol selection process in the sending computer PC-S.

図15は受信側計算機PC−Rでのネゴシエーション処理手順を示すフローチャートである。
ネゴシエーション管理部11−Rは、第1の処理ステップ(S1501)において、使用する通信プロトコルをネゴシエーション情報ファイル16−Rから取り出し、ネゴシエーション要求に通信プロトコルを含めて、送信側計算機PC−Sに送信する。
FIG. 15 is a flowchart showing a negotiation processing procedure in the receiving computer PC-R.
In the first processing step (S1501), the negotiation management unit 11-R extracts the communication protocol to be used from the negotiation information file 16-R, and includes the communication protocol in the negotiation request and transmits it to the transmitting computer PC-S. .

そして、第2の処理ステップ(S1502)で送信側計算機PC−Sからのネゴシエーション応答を受信し、当該ネゴシエーション応答に含まれている通信プロトコルを取り出す。ネゴシエーション管理部11−Rは、第3の処理ステップ(S1503)において、当該取り出した通信プロトコルが有効な値(または代替通信プロトコル選択)か否かを確認し、有効な値であれば(Yes)、第4の処理ステップ(S1504)でネゴシエーション情報ファイル16−R´に通信プロトコルを格納してデータ用通信部18−Rに通信プロトコルを設定し、また、第3の処理ステップ(S1503)で通信プロトコルが有効な値ではないと判定した場合(No)、通信を停止して受信側計算機PC−Rでのネゴシエーション処理を終了する。   Then, in the second processing step (S1502), the negotiation response from the transmission side computer PC-S is received, and the communication protocol included in the negotiation response is extracted. In the third processing step (S1503), the negotiation management unit 11-R checks whether or not the extracted communication protocol is an effective value (or alternative communication protocol selection), and if it is an effective value (Yes) In the fourth processing step (S1504), the communication protocol is stored in the negotiation information file 16-R ', the communication protocol is set in the data communication unit 18-R, and the communication is performed in the third processing step (S1503). If it is determined that the protocol is not a valid value (No), the communication is stopped and the negotiation process in the receiving computer PC-R is terminated.

本実施の形態3の場合、例えば、実施の形態1の作用で示した例で、送信側計算機PC−Sがブロードキャスト、PC−R1がブロードキャスト、PC−R2がTCP/IP、PC−R3がマルチキャストを選択した場合、送信側計算機PC−SとPC−R1の間ではブロードキャストによる通信が行われ、送信側計算機C−SとPC−R2の間ではTCP/IPによる通信が行われ、送信側計算機PC−SとPC−R3の間ではマルチキャストによる通信が行われる。   In the case of the third embodiment, for example, in the example shown in the operation of the first embodiment, the transmitting computer PC-S is broadcast, PC-R1 is broadcast, PC-R2 is TCP / IP, and PC-R3 is multicast. Is selected, communication by broadcast is performed between the transmission side computers PC-S and PC-R1, and communication by TCP / IP is performed between the transmission side computers CS and PC-R2. Multicast communication is performed between the PC-S and the PC-R3.

(効果)
以上述べたように、本実施の形態3によれば、送信側計算機PC−Sでは通常のプロトコル自動判定を行う一方、受信側計算機PC−Rで通信プロトコルを指定した場合、指定した通信プロトコルによる通信も可能であるため、低品質、低速の回線による通信を行う場合にTCP/IPのような高信頼な通信プロトコルを明示的に指定することにより、通信プロトコルの自動選択によりUDP/IPのような通信プロトコルが低品質の回線に適さないものが選択され、通信効率が低下することを抑制することができる。
(effect)
As described above, according to the third embodiment, the transmission side computer PC-S performs normal protocol automatic determination, while the reception side computer PC-R designates the communication protocol, it depends on the designated communication protocol. Since communication is also possible, by specifying a highly reliable communication protocol such as TCP / IP when performing communication with low-quality, low-speed lines, it is possible to automatically select a communication protocol, such as UDP / IP. A communication protocol that is not suitable for a low-quality line is selected, and a reduction in communication efficiency can be suppressed.

また、ローカルネットワーク網(LAN)でUDPでの一斉同報通信を行っている最中に、広域網(WAN)を経由して通信する計算機について明示的にTCP/IPを指定することにより、効率の良い通信と通信効率が悪い回線での高信頼な通信を混在させる等、LANあるいはWANに関係なく様々な形態のネットワークにも対応することができる。   In addition, while performing broadcast transmission by UDP on the local network (LAN), by specifying TCP / IP explicitly for computers that communicate via the wide area network (WAN), the efficiency can be improved. It is possible to cope with various types of networks regardless of LAN or WAN, such as mixing highly reliable communication and highly reliable communication on a line with poor communication efficiency.

(実施の形態4)
次に、本発明の実施の形態4について図20、図21、図22、図24、図23を参照して説明する。なお、実施の形態1と同一の機能部には同一の符号を付し、重複する説明は省略する。
(Embodiment 4)
Next, a fourth embodiment of the present invention will be described with reference to FIG. 20, FIG. 21, FIG. 22, FIG. In addition, the same code | symbol is attached | subjected to the function part same as Embodiment 1, and the overlapping description is abbreviate | omitted.

(構成)
図20は本発明の実施の形態4に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
この図20は、実施の形態1の図1に加えて送信側計算機PC−Sに通信品質監視部20−Sおよび通信品質一覧データファイル21−Sを設け、また受信側計算機PC−Rに通信品質監視部20−Rを設けたものであり、その他の機能は図1と同じである。
(Constitution)
FIG. 20 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to the fourth embodiment of the present invention.
This FIG. 20 is provided with a communication quality monitoring unit 20-S and a communication quality list data file 21-S in the transmission side computer PC-S in addition to FIG. 1 of the first embodiment, and communication with the reception side computer PC-R. A quality monitoring unit 20-R is provided, and other functions are the same as those in FIG.

図20において、受信側計算機PC−Rの通信品質監視部20−Rは、データ用通信部18−Rにおける通信品質を監視するために、図23に示すようなデータ用通信部18−Rの受信状態データを送信側計算機PC−Sに送信し、送信側計算機PC−Sの通信品質監視部20−Sは受信した通信品質を通信品質一覧データファイル21−Sに格納し、合わせて計算機毎の通信品質を監視する。   In FIG. 20, the communication quality monitoring unit 20-R of the receiving computer PC-R is connected to the data communication unit 18-R as shown in FIG. 23 in order to monitor the communication quality in the data communication unit 18-R. The reception state data is transmitted to the transmission side computer PC-S, and the communication quality monitoring unit 20-S of the transmission side computer PC-S stores the received communication quality in the communication quality list data file 21-S. Monitor the communication quality.

通信品質一覧データファイル21−Sは図24に示すような計算機情報と受信状態を表形式のデータとして格納している。計算機情報としてはIPアドレスもしくは、通信相手一覧データファイル15の計算機識別番号を利用し、受信状態としては、データ用通信部18−Sでの最終受信時刻を利用する。送信側計算機PC−Sで一定時間送信が行われない場合、生存確認データを定期的に送信し、ある時間間隔以内でデータが受信されるようにする。   The communication quality list data file 21-S stores computer information and reception status as shown in FIG. 24 as tabular data. As the computer information, the IP address or the computer identification number of the communication partner list data file 15 is used, and as the reception state, the last reception time at the data communication unit 18-S is used. When the transmission side computer PC-S does not perform transmission for a certain period of time, the survival confirmation data is periodically transmitted so that the data is received within a certain time interval.

(作用)
次に図20で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図21および図22のフローチャートを参照して説明する。
図21は受信側計算機PC−Rでの受信状態通知処理手順を示すフローチャートである。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 20 will be described with reference to the flowcharts of FIG. 21 and FIG.
FIG. 21 is a flowchart showing a reception state notification processing procedure in the receiving computer PC-R.

図21において、第1の処理ステップ(S2201)で、通信品質監視部20−Rはデータ用通信部18−Rから最新受信時刻を取得し、第2の処理ステップ(S2202)で受信時刻を含めた受信状態データを送信側計算機PC−Sのデータ用通信部18−Sに送信する。   In FIG. 21, in the first processing step (S2201), the communication quality monitoring unit 20-R acquires the latest reception time from the data communication unit 18-R, and includes the reception time in the second processing step (S2202). The reception state data is transmitted to the data communication unit 18-S of the transmitting computer PC-S.

図22は送信側計算機PC−Sでの受信状態監視処理手順を示すフローチャートである。
図22において、第1の処理ステップ(S2201)で、通信品質監視部20−Sは受信側計算機PC−Rのデータ用通信部18−Rから送信された受信状態データを受信し、続く第2の処理ステップ(S2202)で受信側計算機PC−Rに対する受信状態データを通信品質一覧データファイル21に格納する。
FIG. 22 is a flowchart showing a reception state monitoring processing procedure in the transmission side computer PC-S.
In FIG. 22, in the first processing step (S2201), the communication quality monitoring unit 20-S receives the reception state data transmitted from the data communication unit 18-R of the receiving computer PC-R, and continues to the second step. In the processing step (S2202), the reception status data for the receiving computer PC-R is stored in the communication quality list data file 21.

次に、第3の処理ステップ(S2203)において、通信品質監視部20−Sは前記第1の処理ステップ(S2201)で受信した受信状態データが異常か否かを確認し、異常と確認された場合、すなわち一定時間データが受信されていない場合(Yes)、次の第4の処理ステップ(S2204)で通信プロトコル判定部13−Sに当該受信側計算機PC−Rの通信プロトコルを代替通信プロトコルに変更するとともに通信プロトコル再判定要求を行う。すると当該通信プロトコル判定部13−Sは、通信相手管理部14−Sに当該受信側計算機PC−Rの通信プロトコルを代替通信プロトコルに変更要求を行う。   Next, in the third processing step (S2203), the communication quality monitoring unit 20-S confirms whether or not the reception state data received in the first processing step (S2201) is abnormal, and is confirmed to be abnormal. If the data is not received for a certain period of time (Yes), the communication protocol determination unit 13-S uses the communication protocol of the receiving computer PC-R as an alternative communication protocol in the next fourth processing step (S2204). The communication protocol redetermination request is made at the same time as changing. Then, the communication protocol determination unit 13-S requests the communication partner management unit 14-S to change the communication protocol of the receiving computer PC-R to an alternative communication protocol.

第5の処理ステップ(S2205)において、通信相手管理部14−Sは当該受信側計算機PC−Rの通信プロトコルを変更した状態で前述の実施の形態2で説明した「通信相手監視処理」を行い、通信プロトコルの再判定を行う。   In the fifth processing step (S2205), the communication partner manager 14-S performs the “communication partner monitoring process” described in the second embodiment with the communication protocol of the receiving computer PC-R changed. Re-determine the communication protocol.

第6の処理ステップ(S2206)で通信プロトコル判定部13−Sは、ネゴシエーション管理部11−Sに当該受信側計算機PC−Rに対する通信プロトコル変更通知要求を行う。   In the sixth processing step (S2206), the communication protocol determination unit 13-S issues a communication protocol change notification request to the reception side computer PC-R to the negotiation management unit 11-S.

例えば、実施の形態1の作用で示した例で、全ての計算機で自動選択を指定した場合、通常はマルチキャストによる通信が行われるが、送信側計算機PC−Sと受信側計算機PC−R3の間でルータの設定変更等によりマルチキャスト通信が行えなくなった場合、送信側計算機PC−Sの通信品質一覧データファイル21−Sについて、PC−R3の最新受信時刻が更新されなくなるため、一定時間経過後、通信品質監視部20がPC−R3を受信状態異常とみなし、PC−R3の通信プロトコルをTCP/IPに変更した上で、通信プロトコルの再判定を行う。その結果、送信側計算機C−Sと受信側計算機PC−R1、PC−R2の間ではブロードキャストによる通信が行われ、送信側計算機PC−Sと受信側計算機PC−R3の間ではTCP/IPによる通信が行われる。   For example, in the example shown in the operation of the first embodiment, when automatic selection is designated by all the computers, communication by multicast is normally performed, but between the transmission side computer PC-S and the reception side computer PC-R3. When the multicast communication cannot be performed due to the router setting change or the like, the latest reception time of the PC-R3 is not updated for the communication quality list data file 21-S of the sending computer PC-S. The communication quality monitoring unit 20 regards the PC-R 3 as a reception state abnormality, changes the communication protocol of the PC-R 3 to TCP / IP, and re-determines the communication protocol. As a result, communication by broadcast is performed between the sending computer CS and the receiving computers PC-R1 and PC-R2, and TCP / IP is used between the sending computer PC-S and the receiving computer PC-R3. Communication takes place.

(効果)
本実施の形態4によれば、送信側計算機PC−Sは受信側計算機PC−Rの受信状態を監視し、異常状態が発生した時点で、当該受信側計算機PC−Rの通信プロトコルを現在使用中である通信プロトコル以外の代替通信プロトコルに変更した上で他の計算機の通信プロトコルを再選択させることにより、TCP/IPのような構成に依存しない通信プロトコルを代替通信プロトコルとした場合、ブロードキャストやマルチキャストの一斉同報通信のように、ネットワーク構成により通信が行えないケースが発生し得る通信プロトコルについては、通信異常を検出して代替通信プロトコルに切り替えることにより通信を継続させることが可能である。
(effect)
According to the fourth embodiment, the transmission side computer PC-S monitors the reception state of the reception side computer PC-R, and currently uses the communication protocol of the reception side computer PC-R when an abnormal state occurs. If the communication protocol that does not depend on the configuration, such as TCP / IP, is changed to an alternative communication protocol other than the existing communication protocol and then the communication protocol of another computer is reselected, broadcast or As for a communication protocol that may cause a case where communication cannot be performed due to the network configuration, such as multicast broadcast communication, it is possible to continue communication by detecting a communication abnormality and switching to an alternative communication protocol.

(実施の形態5)
次に、本発明の実施の形態5について図25、図26、図27、図29、図28を参照して説明する。なお実施の形態4と同一の機能部には同一の符号を付し、関連する部分には´を付けて重複する説明は省略する。
(Embodiment 5)
Next, a fifth embodiment of the present invention will be described with reference to FIGS. 25, 26, 27, 29, and 28. FIG. In addition, the same code | symbol is attached | subjected to the function part same as Embodiment 4, and it attaches | subjects' to a related part, and the overlapping description is abbreviate | omitted.

(構成)
図25は本発明の実施の形態5に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
本実施の形態5と実施の形態4との違いは通信品質監視部20−S´、通信品質監視部20−R´の監視対象がデータ受信時の通信品質であり、受信側計算機PC−Rでは通信品質監視部20−R´が、データ用通信部18−Rから受信時の通信品質として図28に示すような一定時間内の受信漏れカウントを送信側計算機PC−Sに送信する。
(Constitution)
FIG. 25 is a configuration diagram of a dynamic selection system for communication protocols between a plurality of computers according to the fifth embodiment of the present invention.
The difference between the fifth embodiment and the fourth embodiment is that the monitoring target of the communication quality monitoring unit 20-S ′ and the communication quality monitoring unit 20-R ′ is the communication quality at the time of data reception, and the receiving side computer PC-R Then, the communication quality monitoring unit 20-R ′ transmits a reception omission count within a predetermined time as shown in FIG. 28 to the transmission side computer PC-S as the communication quality at the time of reception from the data communication unit 18-R.

送信側計算機PC−Sでは通信品質監視部20−S´が受信した通信品質データを通信品質一覧データファイル21−Sに格納する。当該通信品質一覧データファイル21−Sは図29に示すように、受信時刻に加えて受信漏れカウントを格納する。   In the transmission side computer PC-S, the communication quality data received by the communication quality monitoring unit 20-S ′ is stored in the communication quality list data file 21-S. As shown in FIG. 29, the communication quality list data file 21-S stores the reception omission count in addition to the reception time.

通信品質監視部20−S´は、通信品質が通信中の通信プロトコルの要求品質を満たさないことを確認した場合、通信プロトコル判定部13−S´に代替通信プロトコルへの変更および通信プロトコル再選択要求を行い、通信プロトコル再選択処理の後に、通信プロトコル判定部13−S´が、ネゴシエーション管理部11−Sに通信プロトコル変更通知の送信要求を行い、受信側計算機PC−Rに通信プロトコル変更通知を送信する。   When the communication quality monitoring unit 20-S ′ confirms that the communication quality does not satisfy the required quality of the communication protocol being communicated, the communication protocol determination unit 13-S ′ changes to the alternative communication protocol and reselects the communication protocol. After making the request and after the communication protocol reselection processing, the communication protocol determination unit 13-S ′ makes a transmission request for the communication protocol change notification to the negotiation management unit 11-S, and notifies the reception side computer PC-R of the communication protocol change. Send.

(作用)
次に、図25で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図26および図27のフローチャートを参照して説明する。
図26は受信側計算機PC−Rでの通信品質通知処理手順を示すフローチャートである。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 25 will be described with reference to the flowcharts of FIGS.
FIG. 26 is a flowchart showing a communication quality notification processing procedure in the receiving computer PC-R.

図26の第1の処理ステップ(S2601)において、通信品質監視部20−R´は、データ用通信部18−Rでの一定時間あたりの受信漏れ回数を取得し、続いて第2の処理ステップにおいて、通信品質データを送信側計算機PC−Sの通信品質監視部20−Sに送信する(S2602)。   In the first processing step (S2601) of FIG. 26, the communication quality monitoring unit 20-R ′ acquires the number of reception omissions per fixed time in the data communication unit 18-R, and then the second processing step. The communication quality data is transmitted to the communication quality monitoring unit 20-S of the transmitting computer PC-S (S2602).

図27は送信側計算機PC−Sでの通信品質監視処理手順を示すフローチャートである。
通信品質監視部20−Sは第1の処理ステップ(S2701)において、受信側計算機PC−Rから送信された通信品質データを受信し、続いて第2の処理ステップ(S2702)において、受信側計算機PC−Rに対する通信品質を通信品質一覧データファイル21に格納する。
FIG. 27 is a flowchart showing a communication quality monitoring process procedure in the sending computer PC-S.
In the first processing step (S2701), the communication quality monitoring unit 20-S receives the communication quality data transmitted from the receiving computer PC-R, and then in the second processing step (S2702). The communication quality for the PC-R is stored in the communication quality list data file 21.

次に、第3の処理ステップ(S2703)において、通信品質一覧データファイル21中の第1の処理ステップ(S2701)で受信した通信品質が現在使用中の通信プロトコルが満たす必要のある値であるか否かを確認する。   Next, in the third processing step (S2703), is the communication quality received in the first processing step (S2701) in the communication quality list data file 21 a value that the communication protocol currently in use needs to satisfy? Confirm whether or not.

第3の処理ステップ(S2703)において通信品質に異常がないと判断された場合(No)は、送信側計算機PC−Sでの通信品質監視処理は終了し、通信品質異常すなわち一定時間内のデータ受信漏れ回数が許容範囲を超えたと判断された場合(Yes)は、第4の処理ステップ(S2704)で通信プロトコル判定部13−Sに対して当該受信計算機の代替通信プロトコルへの変更および通信プロトコル再判定要求を行う。そして通信プロトコル判定部13−Sはこれを受けて通信相手管理部14−Sに当該受信側計算機PC−Rの通信プロトコルを代替通信プロトコルに変更要求を行う。   If it is determined that there is no abnormality in the communication quality in the third processing step (S2703) (No), the communication quality monitoring process at the transmission side computer PC-S ends, and the communication quality abnormality, that is, the data within a certain period of time. If it is determined that the number of reception omissions exceeds the allowable range (Yes), the communication protocol determination unit 13-S is changed to the alternative communication protocol of the reception computer and the communication protocol in the fourth processing step (S2704). Make a redetermination request. In response to this, the communication protocol determination unit 13-S requests the communication partner management unit 14-S to change the communication protocol of the receiving computer PC-R to the alternative communication protocol.

続く第5の処理ステップ(S2705)において、当該受信側計算機PC−Rの通信プロトコルを変更した状態で、実施の形態2で説明した「通信相手監視処理」を行い、通信プロトコルの再判定を行う。   In the subsequent fifth processing step (S2705), with the communication protocol of the receiving computer PC-R changed, the "communication partner monitoring process" described in the second embodiment is performed to re-determine the communication protocol. .

最後の第6の処理ステップ(S2706)において、通信プロトコル判定部13−Sは、ネゴシエーション管理部11−Sに当該受信側計算機PC−Rに対する通信プロトコル変更通知要求を行う。   In the final sixth processing step (S2706), the communication protocol determination unit 13-S issues a communication protocol change notification request to the reception side computer PC-R to the negotiation management unit 11-S.

例えば、実施の形態1の作用の項で説明した例で、全ての計算機で自動選択を指定した場合、通常はマルチキャストによる通信が行われるが、送信側計算機PC−Sと受信側計算機PC−R3の間に介在するルータの通信スループットが低い場合、受信側計算機PC−R3のデータ用通信部18−Rでデータ受信漏れが頻発し、送信側計算機PC−Sの通信品質一覧データファイル21−Sについて、受信側計算機PC−R3の受信漏れ回数が増加する。   For example, in the example described in the section of the operation of the first embodiment, when automatic selection is designated in all the computers, usually multicast communication is performed, but the transmission side computer PC-S and the reception side computer PC-R3. If the communication throughput of the router interposed between them is low, data reception leakage frequently occurs in the data communication unit 18-R of the receiving computer PC-R3, and the communication quality list data file 21-S of the transmitting computer PC-S. , The number of reception omissions of the receiving computer PC-R3 increases.

その結果、受信漏れカウント値がマルチキャスト通信を行うための通信品質で指定してある上限値を超えるため、通信品質監視部20−Rが受信側計算機PC−R3を通信品質異常とみなし、受信側計算機PC−R3の通信プロトコルをTCP/IPに変更した上で、通信プロトコルの再判定を行う。その結果、送信側計算機PC−Sと受信側計算機PC-R1、PC−R2の間ではブロードキャストによる通信が行われ、送信側計算機PC−SとPC−R3の間ではTCP/IPによる通信が行われる。   As a result, since the reception omission count value exceeds the upper limit value specified by the communication quality for performing the multicast communication, the communication quality monitoring unit 20-R regards the receiving side computer PC-R3 as a communication quality abnormality, and the receiving side The communication protocol of the computer PC-R3 is changed to TCP / IP, and the communication protocol is re-determined. As a result, communication by broadcast is performed between the transmitting computer PC-S and the receiving computers PC-R1 and PC-R2, and communication by TCP / IP is performed between the transmitting computers PC-S and PC-R3. Is called.

(効果)
本実施の形態5によれば、送信側計算機PC−Sは受信側計算機PC−Rの通信品質を監視し、通信品質が異常に変化した時点で、当該受信側計算機PC−Rの通信プロトコルを現在使用中である通信プロトコル以外の代替通信プロトコルに変更した上で他の計算機の通信プロトコルを再選択させることにより、TCP/IPのような通信品質が低い回線でも高信頼通信を行う通信プロトコルを代替通信プロトコルとした場合、送信側計算機PC−Sの通信品質が悪いネットワークに属する計算機との通信において、UDP/IPのような低信頼な通信プロトコルが選択された場合、通信品質の低下を検出し、TCP/IPのような高信頼な通信プロトコルに切り替えることにより、通信効率の低下をリカバリすることが可能である。
(effect)
According to the fifth embodiment, the transmission computer PC-S monitors the communication quality of the reception computer PC-R, and when the communication quality changes abnormally, the communication protocol of the reception computer PC-R is changed. By changing the communication protocol to an alternative communication protocol other than the one currently in use and reselecting the communication protocol of another computer, a communication protocol that performs highly reliable communication even with a low communication quality line such as TCP / IP When an alternative communication protocol is used, if a low-reliable communication protocol such as UDP / IP is selected in communication with a computer belonging to a network with poor communication quality of the sending computer PC-S, a decrease in communication quality is detected. However, by switching to a highly reliable communication protocol such as TCP / IP, it is possible to recover a decrease in communication efficiency.

(実施の形態6)
次に、本発明の実施の形態6について図30、図31、図32、図33を参照して説明する。なお実施例1と同一の構成には同一の符号を付し、重複する説明は省略する。
(Embodiment 6)
Next, a sixth embodiment of the present invention will be described with reference to FIGS. 30, 31, 32, and 33. FIG. In addition, the same code | symbol is attached | subjected to the structure same as Example 1, and the overlapping description is abbreviate | omitted.

(構成)
図30は本発明の実施の形態6に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
本実施の形態6と実施の形態1との違いは、受信側計算機PC−Rの起動時にネゴシエーション管理部11−R´が図33に示すように送信側計算機PC−Sの候補一覧が追加されたネゴシエーション情報ファイル16−Rから取得した送信側計算機PC−Sの候補について、候補の中から順に送信側計算機PC−Sを問い合わせにより探す処理が追加されることである。
(Constitution)
FIG. 30 is a configuration diagram of a dynamic selection system for communication protocols between a plurality of computers according to the sixth embodiment of the present invention.
The difference between the sixth embodiment and the first embodiment is that when the receiving computer PC-R is activated, the negotiation management unit 11-R ′ adds a list of candidates for the transmitting computer PC-S as shown in FIG. For the candidates for the transmission side computer PC-S acquired from the negotiation information file 16-R, a process for searching for the transmission side computer PC-S in an order from the candidates is added.

ネゴシエーション管理部11−R´は送信側計算機PC−Sの候補の各エントリに対して問い合わせ情報を送信し、送信側計算機PC−Sが受信した問い合わせ情報に対する応答を返し、受信側計算機PC−Rのネゴシエーション管理部11−R´は応答を受け取った計算機を送信側計算機PC−Sと認識し、以後、ネゴシエーション処理を行う。   The negotiation management unit 11-R ′ transmits inquiry information to each candidate entry of the transmission side computer PC-S, returns a response to the inquiry information received by the transmission side computer PC-S, and receives the reception side computer PC-R. The negotiation management unit 11-R ′ recognizes the computer that has received the response as the transmission-side computer PC-S, and performs negotiation processing thereafter.

(作用)
次に、図30で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図31のフローチャートを参照して説明する。
図31は受信側計算機PC−Rにおける送信側計算機問い合わせ処理手順を示すフローチャートである。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 30 will be described with reference to the flowchart of FIG.
FIG. 31 is a flowchart showing a sending computer inquiry processing procedure in the receiving computer PC-R.

ネゴシエーション管理部11−R´は、第1の処理ステップ(S3101)においてネゴシエーション情報ファイル16−Rから送信側計算機C−Sの候補の一覧を取得し、続いて第2の処理ステップ(S3102)において候補が存在するか否かを判定する。ネゴシエーション管理部11−R´は、この第2の処理ステップ(S3102)で候補が存在すると判断した場合(Yes)、取得した全候補について第3の処理ステップ(S3103)で、通信可否の問い合わせ情報をネゴシエーション通信部12−Rから送信し、続いて第4の処理ステップ(S3104)において問い合わせに関する応答をネゴシエーション通信部12−Rで受信する。   In the first processing step (S3101), the negotiation management unit 11-R ′ obtains a list of candidates for the transmitting computer CS from the negotiation information file 16-R, and then in the second processing step (S3102). It is determined whether there is a candidate. If the negotiation management unit 11-R ′ determines that there is a candidate in the second processing step (S3102) (Yes), in the third processing step (S3103), all the acquired candidates are inquired about communication availability. Is transmitted from the negotiation communication unit 12-R, and subsequently, a response related to the inquiry is received by the negotiation communication unit 12-R in the fourth processing step (S3104).

第5の処理ステップ(S3105)において計算機から応答があり、かつ通信可能か否かを判定し、通信可能な計算機からの応答を受信した場合(Yes)、残りの候補については問い合わせを行わない。   In the fifth processing step (S3105), it is determined whether or not there is a response from the computer and communication is possible. When a response is received from the communicable computer (Yes), the remaining candidates are not inquired.

第6の処理ステップ(S3106)において全ての候補について問い合わせを行った結果、通信可能な送信側計算機PC−Sがあるか否かを判定し、通信可能な送信側計算機PC−Sからの応答があった場合(Yes)、第7の処理ステップ(S3107)で当該送信側計算機PC−Sに対して前述した実施の形態1の「ネゴシエーション処理」を実施する。   As a result of inquiring about all candidates in the sixth processing step (S3106), it is determined whether there is a communicable transmitting computer PC-S, and a response from the communicable transmitting computer PC-S is received. If there is (Yes), in the seventh processing step (S3107), the above-described “negotiation process” of the first embodiment is performed on the transmitting computer PC-S.

しかしながら、第2の処理ステップ(S3102)において通信可能な計算機が存在しない(No)、または第6の処理ステップ(S3106)において送信側計算機PC−Sの候補が存在しない場合(No)、第8の処理ステップ(S3108)において通信開始は失敗となり、送信側計算機に対する問い合わせ処理は終了する。   However, if there is no communicable computer in the second processing step (S3102) (No), or if there is no candidate for the transmitting computer PC-S in the sixth processing step (S3106) (No), the eighth In the process step (S3108), the communication start fails, and the inquiry process for the sending computer ends.

図32は送信側計算機PC−Sにおける通信可否問い合わせ受付処理手順を示すフローチャートである。
ネゴシエーション管理部11−Sは、第1の処理ステップ(S3201)においてネゴシエーション通信部12−R、12−Sを介して受信側計算機PC−Rからの通信可否問い合わせ情報を受信し、第2の処理ステップ(S3202)で問い合わせに対する応答情報を生成、受信側計算機PC−Rに送信し、通信可否問い合わせ受付処理を終了する。
FIG. 32 is a flowchart showing a communication permission / inquiry inquiry reception processing procedure in the transmission side computer PC-S.
The negotiation management unit 11-S receives the communication availability inquiry information from the receiving computer PC-R via the negotiation communication units 12-R and 12-S in the first processing step (S3201), and performs the second processing. In step (S3202), response information for the inquiry is generated and transmitted to the receiving computer PC-R, and the communication availability inquiry accepting process is terminated.

(効果)
本実施の形態6によれば、受信側計算機PC−Rであらかじめ送信側計算機PC−Sの候補一覧を登録し、計算機起動時に受信側計算機PC−Rから送信側計算機PC−Sの候補に問い合わせ情報を送信し、送信側計算機PC−Sからの応答を受信することにより、計算機が配置されているネットワーク構成に関係なく受信側計算機PC−Rが送信側計算機PC−Sを認識することができる。
(effect)
According to the sixth embodiment, the receiving computer PC-R registers the candidate list of the transmitting computer PC-S in advance, and inquires of the transmitting computer PC-S from the receiving computer PC-R when the computer is activated. By transmitting information and receiving a response from the transmitting computer PC-S, the receiving computer PC-R can recognize the transmitting computer PC-S regardless of the network configuration in which the computer is arranged. .

(実施の形態7)
次に、本発明の実施の形態7について図34、図35、図36および図37を参照して説明する。なお実施の形態1と同一の構成には同一の符号を付し、重複する説明は省略する。
(Embodiment 7)
Next, a seventh embodiment of the present invention will be described with reference to FIGS. 34, 35, 36 and 37. FIG. In addition, the same code | symbol is attached | subjected to the structure same as Embodiment 1, and the overlapping description is abbreviate | omitted.

(構成)
図34は本発明の実施の形態7に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
本実施の形態7と実施の形態1との違いは、受信側計算機PC−Rの起動時に、ネゴシエーション管理部11−R´が図37に示す送信側計算機PC−Sの探索用同報通信アドレスが追加されたネゴシエーション情報ファイル16−Rから取得した送信側計算機PC−Sの探索用同報通信アドレスに対して送信側計算機PC−Sの探索情報を一斉同報通信により送信し、送信側計算機PC−Sからの応答により送信側計算機PC−Sを特定する処理が追加されることである。
(Constitution)
FIG. 34 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to the seventh embodiment of the present invention.
The difference between the seventh embodiment and the first embodiment is that when the receiving computer PC-R is started up, the negotiation management unit 11-R ′ uses the broadcast address for search of the transmitting computer PC-S shown in FIG. The search information of the sending computer PC-S is transmitted by broadcast communication to the broadcast address for searching of the sending computer PC-S acquired from the negotiation information file 16-R to which is added, and the sending computer This is to add a process for specifying the sending computer PC-S by the response from the PC-S.

ネゴシエーション管理部11−R´は送信側計算機PC−Sの探索用同報通信アドレスに対して送信側計算機PC−S探索情報を送信し、送信側計算機PC−Sが受信した探索情報に対する応答を返し、受信側計算機PC−Rのネゴシエーション管理部11−R´は応答を受け取った計算機を送信側計算機PC−Sと認識し、以後、ネゴシエーション処理を行う。   The negotiation management unit 11-R ′ transmits the search computer PC-S search information to the search broadcast address of the transmission computer PC-S, and sends a response to the search information received by the transmission computer PC-S. In return, the negotiation management unit 11-R ′ of the reception side computer PC-R recognizes the computer that has received the response as the transmission side computer PC-S, and performs negotiation processing thereafter.

(作用)
次に、図34で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について、図35および図36のフローチャートを参照して説明する。
図35は受信側計算機PC−Rでの送信側計算機探索処理手順を示すフローチャートである。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 34 will be described with reference to the flowcharts of FIG. 35 and FIG.
FIG. 35 is a flowchart showing a transmission side computer search processing procedure in the reception side computer PC-R.

ネゴシエーション管理部11−Rは、第1の処理ステップ(S3501)において、ネゴシエーション情報ファイル16−Rから送信側計算機探索用同報通信アドレスを取得する。次に第2の処理ステップ(S3502)において、探索用アドレスが存在すると判定された場合(Yes)、第3の処理ステップ(S3503)において同報通信により送信側計算機探索情報をネゴシエーション通信部12−Rから送信する。   In the first processing step (S3501), the negotiation management unit 11-R acquires the transmission side computer search broadcast address from the negotiation information file 16-R. Next, in the second processing step (S3502), if it is determined that a search address exists (Yes), the transmission side computer search information is transmitted by broadcast communication in the third processing step (S3503). Send from R.

そして、第4の処理ステップ(S3504)において探索情報に対する送信側計算機からの応答をネゴシエーション通信部12−Rで受信する。   In the fourth processing step (S3504), the negotiation communication unit 12-R receives a response from the transmitting computer to the search information.

ネゴシエーション管理部11−Rは、第5の処理ステップ(S3505)で探索情報に対する応答の有無を判定し、探索情報に対する応答があった場合(Yes)、次の第6の処理ステップ(S3506)で当該送信側計算機PC−Sに対する実施の形態1の「ネゴシエーション処理」を実施する。   The negotiation management unit 11-R determines whether or not there is a response to the search information in the fifth processing step (S3505). If there is a response to the search information (Yes), in the next sixth processing step (S3506). The “negotiation process” in the first embodiment is performed on the transmitting computer PC-S.

しかし、前述した第2の処理ステップ(S3502)で探索アドレスが存在しない場合(No)、または第5の処理ステップ(S3505)で探索情報に対する応答がなかった場合(No)は、第7の処理ステップ(S3507)で通信開始失敗となり、受信側計算機PC−Rでの送信側計算機探索処理を終了する。   However, if the search address does not exist in the second processing step (S3502) described above (No), or if there is no response to the search information in the fifth processing step (S3505) (No), the seventh processing is performed. In step (S3507), the communication start fails, and the transmission side computer search process in the reception side computer PC-R is terminated.

図36は送信側計算機PC−Sにおける探索要求応答処理手順を示すフローチャートである。
送信側計算機PC−Sのネゴシエーション管理部11−Sは、第1の処理ステップ(S3601)において受信側計算機PC−Rから送信された送信側計算機探索情報をネゴシエーション通信部12−Sを介して受信する。そして、次の第2の処理ステップ(S3602)で探索情報に対する応答情報を生成し、ネゴシエーション通信部12−Sを介して受信側計算機PC−Rに送信し、探索要求応答処理を終了する。
FIG. 36 is a flowchart showing a search request response processing procedure in the transmitting computer PC-S.
The negotiation management unit 11-S of the transmission side computer PC-S receives the transmission side computer search information transmitted from the reception side computer PC-R through the negotiation communication unit 12-S in the first processing step (S3601). To do. Then, in the next second processing step (S3602), response information for the search information is generated and transmitted to the receiving computer PC-R via the negotiation communication unit 12-S, and the search request response process is terminated.

(効果)
本実施の形態によれば、受信側計算機PC−Rで送信側計算機PC−Sの探索用同報通信アドレスを登録し、計算機起動時に一斉同報通信により送信側計算機PC−Sに対する問い合わせを実施し、送信側計算機PC−Sからの応答を受信することにより、受信側計算機PC−Rはどの計算機が送信側計算機PC−Sであるかを意識せずに送信側計算機PC−Sを認識することができる。
(effect)
According to the present embodiment, the search side broadcast address of the transmission side computer PC-S is registered in the reception side computer PC-R, and the inquiry to the transmission side computer PC-S is performed by simultaneous broadcast communication when the computer is started. By receiving the response from the transmitting computer PC-S, the receiving computer PC-R recognizes the transmitting computer PC-S without being conscious of which computer is the transmitting computer PC-S. be able to.

(実施の形態8)
次に、本発明の実施の形態8について図38、図39、図40、図41および図42を参照して説明する。なお実施の形態4と同一の構成には同一の符号を付し、重複する説明は省略する。
(Embodiment 8)
Next, an eighth embodiment of the present invention will be described with reference to FIGS. 38, 39, 40, 41 and 42. FIG. In addition, the same code | symbol is attached | subjected to the structure same as Embodiment 4, and the overlapping description is abbreviate | omitted.

(構成)
図38は、本実施の形態8に係る複数計算機間における通信プロトコルの動的選択システム構成図である。
(Constitution)
FIG. 38 is a configuration diagram of a dynamic selection system for communication protocols between a plurality of computers according to the eighth embodiment.

図38は、前述の実施の形態4に係る図20に加えて、受信側計算機PC−Rに対して通信プロトコル判定部13−Rと、通信相手管理部14−Rと、通信相手一覧データファイル15−Rと、通信プロトコル一覧データファイル17−Rと、通信品質一覧データファイル21−Rとを構成要素として設けるようにしたものである。   FIG. 38 shows a communication protocol determination unit 13-R, a communication partner management unit 14-R, and a communication partner list data file for the receiving computer PC-R in addition to FIG. 20 according to the fourth embodiment. 15-R, a communication protocol list data file 17-R, and a communication quality list data file 21-R are provided as components.

すなわち、送信側計算機PC−Sと受信側計算機PC−Rの両方で実施の形態4の構成を採用し、しかも双方向通信を行うために図39のネゴシエーション要求の通信データ例、図40のネゴシエーション応答の通信データ例、図41の受信状態通知の通信データ例および図42の通信品質通知の通信データ例で示すように、ネゴシエーション要求とネゴシエーション応答と受信状態通知データと通信品質通知データに送信側計算機C−Sのアドレス情報と通信識別情報を付加してネゴシエーション処理を行うようにしている。   That is, both the transmission side computer PC-S and the reception side computer PC-R adopt the configuration of the fourth embodiment, and in order to perform bidirectional communication, the negotiation request communication data example of FIG. 39, the negotiation of FIG. As shown in the communication data example of the response, the communication data example of the reception state notification in FIG. 41, and the communication data example of the communication quality notification in FIG. 42, the transmission side includes the negotiation request, the negotiation response, the reception state notification data, and the communication quality notification data. Negotiation processing is performed by adding the address information and communication identification information of the computer CS.

ここでの通信識別情報とは、データ用通信部18−Sおよび18−Rで利用している情報で、アプリケーション間の通信毎に定義するものであり、具体的にはTCP/IPやUDP/IPでのポート番号を利用する。   The communication identification information here is information used in the data communication units 18-S and 18-R, and is defined for each communication between applications. Specifically, TCP / IP and UDP / Use the port number in IP.

(作用)
次に、図38で示した複数計算機間における通信プロトコルの動的選択システムの通常時の動作について説明する。
前記実施の形態1で説明した「ネゴシエーション処理」において、受信側計算機PC−Rがネゴシエーション要求を行う際、ネゴシエーション管理部11−Rはネゴシエーション要求に送信側計算機PC−Sのアドレス情報およびデータ用通信部18−Rで使用している通信識別情報を付加する。
(Function)
Next, the normal operation of the communication protocol dynamic selection system between a plurality of computers shown in FIG. 38 will be described.
In the “negotiation process” described in the first embodiment, when the receiving computer PC-R makes a negotiation request, the negotiation management unit 11-R sends the address information and data communication of the transmitting computer PC-S to the negotiation request. The communication identification information used in the section 18-R is added.

また、実施の形態1での「通信プロトコル選択処理」において、送信側計算機PC−Sがネゴシエーション応答を送信する際、ネゴシエーション要求と同一の送信側計算機PC−Sのアドレス情報と通信識別情報を付加する。   In addition, in the “communication protocol selection process” in the first embodiment, when the transmitting computer PC-S transmits a negotiation response, the same address information and communication identification information of the transmitting computer PC-S as the negotiation request are added. To do.

そして、実施の形態4での「受信状態通知処理」および実施の形態5での「通信品質通知処理」についてもネゴシエーション要求と同様に、受信側計算機PC−Rの通信品質監視部20−Rは送信側計算機PC−Sのアドレス情報と通信識別情報を付加したものを送信する。   As for the “reception status notification process” in the fourth embodiment and the “communication quality notification process” in the fifth embodiment, the communication quality monitoring unit 20-R of the receiving computer PC-R is similar to the negotiation request. The transmission side computer PC-S with address information and communication identification information added is transmitted.

(効果)
本実施の形態8によれば、受信側計算機PC−Rと送信側計算機PC−Sとを同一構成にし、ネゴシエーション要求、ネゴシエーション応答、受信状態通知、通信品質通知の通信データに送信側計算機PC−Sのアドレス情報と通信識別情報を付加したものを送信することにより、受信側計算機PC−Rを送信側計算機PC−Sとみなすことによる双方向通信が可能であるため、送信側計算機PC−Sと受信側計算機PC−Rの間でn対nの通信を行うことができる。
(effect)
According to the eighth embodiment, the reception side computer PC-R and the transmission side computer PC-S have the same configuration, and the communication data of the negotiation request, negotiation response, reception state notification, and communication quality notification is transmitted to the transmission side computer PC-. By transmitting the information to which the address information of S and the communication identification information are added, two-way communication is possible by regarding the receiving computer PC-R as the transmitting computer PC-S. And n-to-n communication between the receiving computer PC-R.

また、送信側計算機PC−Sでは送信処理、受信側計算機PC−Rでは受信処理といった計算機に依存したアプリケーションを作成する必要がないため、アプリケーションの生産性も向上させることができる。   Further, it is not necessary to create a computer-dependent application such as transmission processing on the transmission side computer PC-S and reception processing on the reception side computer PC-R, so that the productivity of the application can be improved.

本発明の実施の形態1に係る複数計算機間における通信プロトコルの動的選択システム構成図。1 is a configuration diagram of a dynamic selection system for a communication protocol between a plurality of computers according to Embodiment 1 of the present invention. FIG. 本発明の実施の形態1に係る複数計算機間における通信プロトコル選択処理手順を示すフローチャート。5 is a flowchart showing a communication protocol selection processing procedure between a plurality of computers according to the first embodiment of the present invention. 本発明の実施の形態1に係る複数計算機間における通信プロトコル自動判定処理手順を示すフローチャート。4 is a flowchart showing a communication protocol automatic determination processing procedure between a plurality of computers according to the first embodiment of the present invention. 本発明の実施の形態1に係るネゴシエーション処理手順を示すフローチャート。The flowchart which shows the negotiation process procedure which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るネゴシエーション要求での通信データの一例を示す図。The figure which shows an example of the communication data by the negotiation request | requirement which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るネゴシエーション応答での通信データの一例を示す図。The figure which shows an example of the communication data by the negotiation response which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る通信相手一覧データファイルのデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication partner list data file which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るネゴシエーション情報のデータ構造の一例を示す図。The figure which shows an example of the data structure of the negotiation information which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る複数計算機間における通信プロトコル一覧データファイルのデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication protocol list data file between the multiple computers which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係る複数計算機間における通信プロトコルの動的選択システム構成図。The dynamic selection system block diagram of the communication protocol between the multiple computers which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る通信相手監視処理手順を示すフローチャート。The flowchart which shows the communication other party monitoring process procedure which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る複数計算機間における通信プロトコル変更処理手順を示すフローチャート。The flowchart which shows the communication protocol change process sequence between the multiple computers concerning Embodiment 2 of this invention. 本発明の実施の形態3に係る複数計算機間における通信プロトコルの動的選択システム構成図。The dynamic selection system block diagram of the communication protocol between the multiple computers which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る複数計算機間における通信プロトコル選択処理手順を示すフローチャート。10 is a flowchart showing a communication protocol selection processing procedure between a plurality of computers according to the third embodiment of the present invention. 本発明の実施の形態3に係るネゴシエーション処理手順を示すフローチャート。The flowchart which shows the negotiation process procedure which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係るネゴシエーション要求の通信データの一例を示す図。The figure which shows an example of the communication data of the negotiation request | requirement which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係るネゴシエーション判定表のデータ構造の一例を示す図。The figure which shows an example of the data structure of the negotiation determination table which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係るネゴシエーション応答の通信データの一例を示す図。The figure which shows an example of the communication data of the negotiation response which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る通信相手一覧データファイルのデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication partner list data file which concerns on Embodiment 3 of this invention. 本発明の実施の形態4に係る複数計算機間における通信プロトコルの動的選択システム構成図。The dynamic selection system block diagram of the communication protocol between the multiple computers which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る受信状態通知処理手順を示すフローチャート。The flowchart which shows the reception status notification process procedure which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る受信状態監視処理手順を示すフローチャート。The flowchart which shows the reception status monitoring process sequence which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る実施の形態4に係る受信状態通知の通信データの一例を示す図。The figure which shows an example of the communication data of the reception status notification which concerns on Embodiment 4 which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係る通信品質一覧データファイルのデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication quality list data file which concerns on Embodiment 4 of this invention. 本発明の実施の形態5に係る複数計算機間における通信プロトコルの動的選択システム構成図。FIG. 10 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to a fifth embodiment of the present invention. 本発明の実施の形態5に係る通信品質通知処理手順を示すフローチャート。The flowchart which shows the communication quality notification process procedure which concerns on Embodiment 5 of this invention. 本発明の実施の形態5に係る通信品質監視処理手順を示すフローチャート。The flowchart which shows the communication quality monitoring process procedure which concerns on Embodiment 5 of this invention. 本発明の実施の形態5に係る通信品質通知の通信データの一例を示す図。The figure which shows an example of the communication data of the communication quality notification which concerns on Embodiment 5 of this invention. 本発明の実施の形態5に係る通信品質一覧データファイルのデータ構造の一例を示す図。The figure which shows an example of the data structure of the communication quality list data file which concerns on Embodiment 5 of this invention. 本発明の実施の形態6に係る複数計算機間における通信プロトコルの動的選択システム構成図。FIG. 10 is a configuration diagram of a communication protocol dynamic selection system between a plurality of computers according to a sixth embodiment of the present invention. 本発明の実施の形態6に係る送信側計算機問い合わせ処理手順を示すフローチャート。The flowchart which shows the transmission side computer inquiry processing procedure which concerns on Embodiment 6 of this invention. 本発明の実施の形態6に係る通信可否問い合わせ受付処理手順を示すフローチャート。The flowchart which shows the communication availability inquiry reception processing procedure which concerns on Embodiment 6 of this invention. 本発明の実施の形態6に係るネゴシエーション情報のデータ構造の一例を示す図。The figure which shows an example of the data structure of the negotiation information which concerns on Embodiment 6 of this invention. 本発明の実施の形態7に係る複数計算機間における通信プロトコルの動的選択システム構成図。The dynamic selection system block diagram of the communication protocol between the multiple computers which concerns on Embodiment 7 of this invention. 本発明の実施の形態7に係る送信側計算機探索処理手順を示すフローチャート。The flowchart which shows the transmission side computer search processing procedure which concerns on Embodiment 7 of this invention. 本発明の実施の形態7に係る探索要求応答処理手順を示すフローチャート。The flowchart which shows the search request response process sequence which concerns on Embodiment 7 of this invention. 本発明の実施の形態7に係るネゴシエーション情報のデータ構造の一例を示す図。The figure which shows an example of the data structure of the negotiation information which concerns on Embodiment 7 of this invention. 本発明の実施の形態8に係る複数計算機間における通信プロトコルの動的選択システム構成図。FIG. 20 is a configuration diagram of a dynamic selection system for communication protocols between a plurality of computers according to an eighth embodiment of the present invention. 本発明の実施の形態8に係るネゴシエーション要求の通信データの一例を示す図。The figure which shows an example of the communication data of the negotiation request | requirement which concerns on Embodiment 8 of this invention. 本発明の実施の形態8に係るネゴシエーション応答の通信データの一例を示す図。The figure which shows an example of the communication data of the negotiation response which concerns on Embodiment 8 of this invention. 本発明の実施の形態8に係る受信状態通知の通信データの一例を示す図。The figure which shows an example of the communication data of the reception status notification which concerns on Embodiment 8 of this invention. 本発明の実施の形態8に係る通信品質通知の通信データの一例を示す図。The figure which shows an example of the communication data of the communication quality notification which concerns on Embodiment 8 of this invention.

符号の説明Explanation of symbols

11…ネゴシエーション管理部、12…ネゴシエーション通信部、13…通信プロトコル判定部、14…通信相手管理部、15…通信相手一覧データファイル、16…ネゴシエーション情報ファイル、17…通信プロトコル一覧データファイル、18…データ用通信部、19…アプリケーション、20…通信品質監視部、21…通信品質一覧データファイル。   DESCRIPTION OF SYMBOLS 11 ... Negotiation management part, 12 ... Negotiation communication part, 13 ... Communication protocol determination part, 14 ... Communication partner management part, 15 ... Communication partner list data file, 16 ... Negotiation information file, 17 ... Communication protocol list data file, 18 ... Data communication unit, 19 ... application, 20 ... communication quality monitoring unit, 21 ... communication quality list data file.

Claims (14)

ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための複数計算機間における通信プロトコルを選択する方法であって、
前記送信側計算機および前記受信側計算機に対してデータ通信手段、ネゴシエーション管理手段、ネゴシエーション通信手段およびアプリケーションを共通して設けるとともに、前記送信側計算機に対して更に通信プロトコル判定手段および通信相手管理手段を付加するようにし、
受信側計算機の前記ネゴシエーション管理手段は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信手段にネゴシエーション要求を通知し、当該ネゴシエーション通信手段より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信手段に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、
受信側計算機の前記ネゴシエーション通信手段は、前記ネゴシエーション管理手段から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信手段に送信し、送信側計算機の当該ネゴシエーション通信手段から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理手段に通知し、
送信側計算機の前記ネゴシエーション管理手段は、前記ネゴシエーション通信手段から受け取ったネゴシエーション要求を前記通信プロトコル判定手段に通知して当該通信プロトコル判定手段から使用する通信プロトコルを受け取り、前記データ通信手段に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用する通信プロトコルを通知するために前記ネゴシエーション通信手段にネゴシエーション応答要求を通知し、
送信側計算機の前記ネゴシエーション通信手段は、受信側計算機の前記ネゴシエーション通信手段から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理手段に通知し、前記ネゴシエーション管理手段からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信手段に対してネゴシエーション応答を送信し、
前記通信プロトコル判定手段は、送信側計算機の前記ネゴシエーション管理手段からネゴシエーション要求を受け取り、前記通信相手管理手段に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理手段から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理手段に通知し、
前記通信相手管理手段は、前記通信プロトコル判定手段からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定手段からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定手段に渡し、
送信側計算機の前記データ通信手段は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信手段に対してデータを送信し、前記ネゴシエーション管理手段からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、
受信側計算機の前記データ通信手段は、送信側計算機の前記データ通信手段から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理手段からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする複数計算機間における通信プロトコルの動的選択方法。
Select a communication protocol between multiple computers to perform broadcast communication from one computer serving as the sending computer to one or more computers serving as the receiving computer among the multiple computers placed on the network A method,
A data communication means, a negotiation management means, a negotiation communication means and an application are provided in common for the transmission side computer and the reception side computer, and a communication protocol determination means and a communication partner management means are further provided for the transmission side computer. To add,
When the negotiation management means of the receiving computer starts communication, in order to inquire about the communication protocol to be used by the transmitting computer, the negotiation communication means notifies the negotiation request to the negotiation communication means, and transmits from the sending communication computer from the negotiation communication means. A communication protocol setting request for the received communication protocol is made to the data communication means,
The negotiation communication means of the reception side computer transmits the negotiation request received from the negotiation management means to the negotiation communication means of the transmission side computer, and receives the negotiation response transmitted from the negotiation communication means of the transmission side computer. , Notifying the negotiation management means of the received negotiation response,
The negotiation management unit of the sending computer receives the communication protocol used from the communication protocol determination unit by notifying the communication protocol determination unit of the negotiation request received from the negotiation communication unit, and used for the data communication unit. A communication protocol setting request of the communication protocol to be performed, and a negotiation response request is notified to the negotiation communication means in order to notify the communication protocol to be used for the receiving computer.
The negotiation communication unit of the transmission side computer receives the negotiation request transmitted from the negotiation communication unit of the reception side computer, notifies the negotiation management unit of the negotiation request, and requests a negotiation response from the negotiation management unit. , And send a negotiation response to the negotiation communication means of the receiving computer,
The communication protocol determination means receives a negotiation request from the negotiation management means of the transmitting computer, notifies the communication partner management means of the information on the receiving computer included in the negotiation request, from the communication partner management means Obtain the list data of the receiving computer, select the communication protocol according to the number of computers of the receiving computer and the computer configuration of the list data, notify the negotiation management means of the selected communication protocol,
The communication partner management means receives the information on the receiving computer from the communication protocol determining means, updates the list data of the receiving computer, and receives the receiving computer list data acquisition request from the communication protocol determining means Pass the list data of the side computer to the communication protocol determination means,
When the data communication means of the sending computer receives a data transmission request from the application, transmits data to the data communication means of the receiving computer, and receives a communication protocol setting request from the negotiation management means , Switch the communication protocol used for data transmission,
When the data communication means of the receiving computer receives the data transmitted from the data communication means of the transmitting computer, passes the received data to the application, and receives a communication protocol change notification from the negotiation management means A method for dynamically selecting a communication protocol among a plurality of computers, wherein the communication protocol used for data reception is switched.
送信側計算機の前記通信相手管理手段は、前記ネゴシエーション通信手段の受信側計算機との通信状態を監視し、受信側計算機の台数の変化を検出した場合、前記通信相手管理手段は受信側計算機の一覧データを更新し、前記通信プロトコル判定手段に通信プロトコルの再判定要求を行い、
送信側計算機の前記通信プロトコル判定手段は、最新の受信側計算機一覧データから通信プロトコルを再選択し、
送信側計算機の前記ネゴシエーション管理手段は、前記通信プロトコルの再選択により通信プロトコルが変更された場合、前記データ通信手段に通信プロトコル設定要求を行うとともに、前記ネゴシエーション通信手段に通信プロトコル変更通知を行い、
受信側計算機の前記ネゴシエーション通信手段は、送信側計算機から送信されてきた通信プロトコル変更通知を前記ネゴシエーション管理手段に通知し、
受信側計算機の前記ネゴシエーション管理手段は、通信プロトコル変更通知が既に選択された通信プロトコルと異なる場合、前記データ通信手段に対して通信プロトコル設定要求を行うことを特徴とする請求項1記載の複数計算機間における通信プロトコルの動的選択方法。
The communication partner management means of the transmission side computer monitors the communication state of the negotiation communication means with the reception side computer, and detects a change in the number of reception side computers, the communication partner management means lists the reception side computers. Update the data, make a communication protocol re-determination request to the communication protocol determination means,
The communication protocol determining means of the sending computer reselects the communication protocol from the latest receiving computer list data,
When the communication protocol is changed by reselecting the communication protocol, the negotiation management unit of the sending computer performs a communication protocol setting request to the data communication unit, and performs a communication protocol change notification to the negotiation communication unit,
The negotiation communication unit of the receiving computer notifies the negotiation management unit of a communication protocol change notification transmitted from the transmitting computer,
2. The multiple computer according to claim 1, wherein the negotiation management means of the receiving computer makes a communication protocol setting request to the data communication means when the communication protocol change notification is different from the already selected communication protocol. Method of dynamically selecting communication protocols between the two.
受信側計算機で使用したい通信プロトコルを指定した場合、受信側計算機の前記ネゴシエーション管理手段は、ネゴシエーション要求として受信側計算機のアドレス情報に加えて通信プロトコルも送信し、
送信側計算機の前記通信プロトコル判定手段は、受信側計算機のアドレス情報及び通信プロトコルにより指定した通信プロトコルが利用可能か否か判定し、利用可能であれば指定した通信プロトコルを、利用不可能であれば利用可能な代替通信プロトコルをネゴシエーション応答として受信側計算機に送信することを特徴とする請求項2記載の複数計算機間における通信プロトコルの動的選択方法。
If you specify the communication protocol you want to use on the receiving computer, the negotiation management means of the receiving computer sends the communication protocol in addition to the address information of the receiving computer as a negotiation request,
The communication protocol determining means of the sending computer determines whether or not the communication protocol specified by the address information and communication protocol of the receiving computer can be used, and if it can be used, the specified communication protocol cannot be used. 3. The method of dynamically selecting a communication protocol between a plurality of computers according to claim 2, wherein an available alternative communication protocol is transmitted as a negotiation response to the receiving computer.
送信側計算機および受信側計算機は、双方間の通信品質を監視する通信品質監視手段をそれぞれ有し、
受信側計算機の前記通信品質監視手段は、前記データ通信手段のデータ受信状態を送信側計算機の前記通信品質監視手段に送信し、
送信側計算機の前記通信品質監視手段は、受信したデータ受信状態を通信品質一覧データファイルに格納し、データが届いていない受信側計算機を発見した場合、前記通信プロトコル判定部に対して受信側計算機を除いた計算機台数による通信プロトコルの再判定要求を行い、
前記通信プロトコル判定部は、再選択した通信プロトコルをネゴシエーション管理手段に通知することを特徴とする請求項2記載の複数計算機間における通信プロトコルの動的選択方法。
The sending computer and the receiving computer each have communication quality monitoring means for monitoring the communication quality between the two,
The communication quality monitoring means of the receiving computer transmits the data reception state of the data communication means to the communication quality monitoring means of the transmitting computer,
The communication quality monitoring means of the transmission side computer stores the received data reception state in the communication quality list data file, and when a reception side computer that has not received data is found, the communication side computer determines the reception side computer. Request re-determination of the communication protocol by the number of computers excluding
3. The method for dynamically selecting a communication protocol between a plurality of computers according to claim 2, wherein the communication protocol determination unit notifies the negotiation management means of the reselected communication protocol.
受信側計算機の前記通信品質監視手段は、前記データ通信手段のデータ受信時の通信品質を送信側計算機に送信し、選択された通信プロトコルで必要な通信品質を満たさない受信側計算機の通信プロトコルを、通信品質条件を満たす通信プロトコルに変更し、残りの受信側計算機に対して通信プロトコルの再選択を行うことを特徴とする請求項4の複数計算機間における通信プロトコルの動的選択方法。   The communication quality monitoring means of the receiving computer transmits the communication quality at the time of data reception of the data communication means to the transmitting computer, and sets the communication protocol of the receiving computer that does not satisfy the communication quality required for the selected communication protocol. 5. The method for dynamically selecting a communication protocol among a plurality of computers according to claim 4, wherein the communication protocol is changed to a communication protocol that satisfies the communication quality condition, and the communication protocol is reselected for the remaining receiving side computers. 受信側計算機は、ネゴシエーション情報に送信側計算機の候補となる計算機の一覧データを格納し、
受信側計算機の前記ネゴシエーション管理手段は、送信側計算機候補に送信側計算機か否かを問い合わせ、送信側計算機候補が問い合わせに対して送信側計算機であることを通知することにより、受信側計算機が送信側計算機を認識するようにしたことを特徴とする請求項1記載の複数計算機間における通信プロトコルの動的選択方法。
The receiving computer stores list data of computers that are candidates for the transmitting computer in the negotiation information,
The negotiation management means of the reception side computer inquires the transmission side computer candidate whether or not it is a transmission side computer, and notifies the transmission side computer candidate that the transmission side computer candidate is the transmission side computer. 2. The method for dynamically selecting a communication protocol between a plurality of computers according to claim 1, wherein the side computers are recognized.
受信側計算機の前記ネゴシエーション管理手段は、前記ネゴシエーション通信手段に送信側計算機の探索要求を行い、当該ネゴシエーション通信手段が同報通信により送信側計算機の探索要求を送信し、探索要求を受信した送信側計算機のネゴシエーション通信手段が応答することにより、受信側計算機が送信側計算機を認識することを特徴とする請求項1記載の複数計算機間における通信プロトコルの動的選択方法。   The negotiation management means of the reception side computer makes a search request for the transmission side computer to the negotiation communication means, and the negotiation communication means transmits the search request for the transmission side computer by broadcast communication, and the transmission side that has received the search request 2. The method for dynamically selecting a communication protocol between a plurality of computers according to claim 1, wherein the computer on the receiving side recognizes the computer on the transmitting side when the negotiation communication means of the computer responds. 受信側計算機に通信プロトコル判定手段および通信相手管理手段を付加し、
前記ネゴシエーション通信部での通信および前記通信品質監視部での通信において送信側計算機の情報を含み、送信側計算機の情報が一致する場合に前記ネゴシエーション管理部が通信プロトコル選択またはネゴシエーション要求を行うことを特徴とする請求項1、請求項4および請求項5のいずれか1項に記載の複数計算機間における通信プロトコルの動的選択方法。
Add communication protocol judgment means and communication partner management means to the receiving computer,
In the communication at the negotiation communication unit and the communication at the communication quality monitoring unit, including information on the transmission side computer, and when the information on the transmission side computer matches, the negotiation management unit performs a communication protocol selection or a negotiation request The method for dynamically selecting a communication protocol between a plurality of computers according to any one of claims 1, 4, and 5.
ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための通信プロトコルを選択するようにしたシステムであって、
前記送信側計算機および前記受信側計算機には共通してデータ通信部、ネゴシエーション管理部、ネゴシエーション通信部およびアプリケーションを設けるとともに、前記送信側計算機に対して更に通信プロトコル判定部および通信相手管理部を付加するようにし、
前記受信側計算機のネゴシエーション管理部は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信部にネゴシエーション要求を通知し、当該ネゴシエーション通信部より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信部に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、
前記受信側計算機のネゴシエーション通信部は、前記ネゴシエーション管理部から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信部に送信し、当該送信側計算機のネゴシエーション通信部から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理部に通知し、
前記送信側計算機のネゴシエーション管理部は、前記ネゴシエーション通信部から受け取ったネゴシエーション要求を通信プロトコル判定部に通知して当該通信プロトコル判定部から使用する通信プロトコルを受け取り、前記データ通信部に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用するプロトコルを通知するためにネゴシエーション通信部にネゴシエーション応答要求を通知し、
前記送信側計算機のネゴシエーション通信部は、受信側計算機の前記ネゴシエーション通信部から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理部に通知し、前記ネゴシエーション管理部からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信部へネゴシエーション応答を送信し、
前記通信プロトコル判定部は、送信側計算機の前記ネゴシエーション管理部からネゴシエーション要求を受け取り、前記通信相手管理部に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理部から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理部に通知し、
前記通信相手管理部は、前記通信プロトコル判定部からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定部からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定部に渡し、
送信側計算機の前記データ通信部は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信部に対してデータを送信し、前記ネゴシエーション管理部からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、
受信側計算機の前記データ通信部は、送信側計算機の前記データ通信部から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理部からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする複数計算機間における通信プロトコルの動的選択システム。
A system that selects a communication protocol for broadcast communication from one computer that is the sending computer to one or more computers that are the receiving computer among multiple computers that are placed on the network Because
The transmission side computer and the reception side computer are commonly provided with a data communication unit, a negotiation management unit, a negotiation communication unit, and an application. Further, a communication protocol determination unit and a communication partner management unit are added to the transmission side computer. Like
The negotiation management unit of the receiving computer notifies the negotiation request to the negotiation communication unit and transmits the negotiation request from the transmission computer from the negotiation communication unit in order to inquire about the communication protocol used by the transmitting computer when starting communication. A communication protocol setting request for the received communication protocol to the data communication unit,
The negotiation communication unit of the receiving computer transmits the negotiation request received from the negotiation management unit to the negotiation communication unit of the transmitting computer, and receives a negotiation response transmitted from the negotiation communication unit of the transmitting computer. , Notifying the negotiation manager of the received negotiation response,
The negotiation management unit of the transmitting computer notifies the communication protocol determination unit of the negotiation request received from the negotiation communication unit, receives a communication protocol to be used from the communication protocol determination unit, and uses it for the data communication unit Make a communication protocol setting request for the communication protocol, notify the negotiation response request to the negotiation communication unit to notify the protocol to be used to the receiving computer,
The negotiation communication unit of the transmitting computer receives the negotiation request transmitted from the negotiation communication unit of the receiving computer, notifies the negotiation management unit of the negotiation request, and requests a negotiation response from the negotiation management unit. And send a negotiation response to the negotiation communication unit of the receiving computer,
The communication protocol determination unit receives a negotiation request from the negotiation management unit of the transmission side computer, notifies the communication partner management unit of information on the reception side computer included in the negotiation request, from the communication partner management unit Obtain the list data of the receiving computer, select the communication protocol according to the number of computers and the computer configuration of the receiving computer of the list data, notify the negotiation management unit of the selected communication protocol,
The communication partner management unit receives the information on the receiving side computer from the communication protocol determining unit, updates the list data of the receiving side computer, and receives the receiving side computer list data acquisition request from the communication protocol determining unit Pass the list data of the side computer to the communication protocol determination unit,
The data communication unit of the sending computer receives a data transmission request from the application, transmits data to the data communication unit of the receiving computer, and receives a communication protocol setting request from the negotiation management unit , Switch the communication protocol used for data transmission,
The data communication unit of the receiving computer receives the data transmitted from the data communication unit of the transmitting computer, passes the received data to the application, and receives a communication protocol change notification from the negotiation management unit A system for dynamically selecting a communication protocol among a plurality of computers, wherein the communication protocol used for data reception is switched.
送信側計算機の前記通信相手管理部は、前記ネゴシエーション通信部の受信側計算機との通信状態を監視し、受信側計算機の台数の変化を検出した場合、前記通信相手管理部は受信側計算機の一覧を更新し、前記通信プロトコル判定部に通信プロトコルの再判定要求を行い、
送信側計算機の前記通信プロトコル判定部は、最新の受信側計算機一覧データから通信プロトコルを再選択し、
送信側計算機の前記ネゴシエーション管理部は、前記通信プロトコルの再選択により通信プロトコルが変更された場合、前記データ通信部に通信プロトコル設定要求を行うとともに、前記ネゴシエーション通信部に通信プロトコル変更通知を行い、
受信側計算機の前記ネゴシエーション通信部は、送信側計算機から送信されてきた通信プロトコル変更通知を前記ネゴシエーション管理部に通知し、
受信側計算機の前記ネゴシエーション管理部は、通信プロトコル変更通知が既に選択された通信プロトコルと異なる場合、前記データ通信部に対して通信プロトコル設定要求を行うことを特徴とする請求項9記載の複数計算機間における通信プロトコルの動的選択システム。
The communication partner management unit of the sending computer monitors the communication state with the receiving computer of the negotiation communication unit, and when the change in the number of receiving computers is detected, the communication partner management unit lists the receiving computer. And re-determination request of the communication protocol to the communication protocol determination unit,
The communication protocol determination unit of the sending computer reselects the communication protocol from the latest receiving computer list data,
When the communication protocol is changed by reselecting the communication protocol, the negotiation management unit of the transmitting computer performs a communication protocol setting request to the data communication unit, and performs a communication protocol change notification to the negotiation communication unit,
The negotiation communication unit of the reception side computer notifies the negotiation management unit of a communication protocol change notification transmitted from the transmission side computer,
10. The multiple computer according to claim 9, wherein the negotiation management unit of the receiving computer makes a communication protocol setting request to the data communication unit when the communication protocol change notification is different from the already selected communication protocol. System for dynamically selecting communication protocols
受信側計算機で使用したい通信プロトコルを指定した場合、受信側計算機の前記ネゴシエーション管理部は、ネゴシエーション要求として受信側計算機のアドレス情報に加えて通信プロトコルも送信し、
前記送信側計算機の通信プロトコル判定部は、受信側計算機のアドレス情報及び通信プロトコルにより指定した通信プロトコルが利用可能か否か判定し、利用可能であれば指定した通信プロトコルを、利用不可能であれば利用可能な代替通信プロトコルをネゴシエーション応答として受信側計算機に送信することを特徴とする請求項10記載の複数計算機間における通信プロトコルの動的選択システム。
If you specify the communication protocol you want to use on the receiving computer, the negotiation manager of the receiving computer sends the communication protocol in addition to the address information of the receiving computer as a negotiation request,
The communication protocol determination unit of the transmitting computer determines whether or not the communication protocol specified by the address information and communication protocol of the receiving computer can be used. If the communication protocol can be used, the specified communication protocol cannot be used. 11. The system for dynamically selecting communication protocols between a plurality of computers according to claim 10, wherein an available alternative communication protocol is transmitted as a negotiation response to the receiving computer.
送信側計算機および受信側計算機は、双方間の通信品質を監視する通信品質監視部をそれぞれ有し、
受信側計算機の前記通信品質監視部は、前記データ通信部のデータ受信状態を送信側計算機の前記通信品質監視部に送信し、
送信側計算機の前記通信品質監視部は、受信したデータ受信状態を通信品質一覧データファイルに格納し、データが届いていない受信側計算機を発見した場合、前記通信プロトコル判定部に当該受信側計算機を除いた計算機台数による通信プロトコルの再判定要求を行い、
前記通信プロトコル判定部が、再選択した通信プロトコルをネゴシエーション管理部に通知することを特徴とする請求項10記載の複数計算機間における通信プロトコルの動的選択システム。
The sending computer and the receiving computer each have a communication quality monitoring unit that monitors the communication quality between the two,
The communication quality monitoring unit of the receiving computer transmits the data reception state of the data communication unit to the communication quality monitoring unit of the transmitting computer,
The communication quality monitoring unit of the transmission side computer stores the received data reception state in the communication quality list data file, and when a reception side computer that has not reached the data is found, the communication protocol determination unit sets the reception side computer to the reception side computer. Make a re-determination request for the communication protocol based on the number of excluded computers,
11. The communication protocol dynamic selection system between a plurality of computers according to claim 10, wherein the communication protocol determination unit notifies the negotiation management unit of the reselected communication protocol.
受信側計算機は、ネゴシエーション情報に送信側計算機の候補となる計算機の一覧データを格納し、
受信側計算機の前記ネゴシエーション管理部は、送信側計算機候補に送信側計算機か否かを問い合わせ、前記送信側計算機候補が問い合わせに対して送信側計算機であることを通知することにより、受信側計算機が送信側計算機を認識するようにしたことを特徴とする請求項9記載の複数計算機間における通信プロトコルの動的選択システム。
The receiving computer stores list data of computers that are candidates for the transmitting computer in the negotiation information,
The negotiation management unit of the reception side computer inquires of the transmission side computer candidate whether or not it is a transmission side computer, and notifies the transmission side computer candidate that the transmission side computer candidate is a transmission side computer. 10. The system for dynamically selecting a communication protocol between a plurality of computers according to claim 9, wherein the transmission side computer is recognized.
ネットワーク上に配置された複数台の計算機のうち、送信側計算機となる一台の計算機および受信側計算機となる一台以上の計算機にそれぞれ共通するデータ通信手段、ネゴシエーション管理手段、ネゴシエーション通信手段およびアプリケーションを設けるとともに、前記送信側計算機に対して更に通信プロトコル判定手段および通信相手管理手段を付加するようにし、前記送信側計算機となる一台の計算機から受信側計算機となる一台以上の計算機に同報通信をするための通信プロトコルを選択するプログラムであって、
受信側計算機の前記ネゴシエーション管理手段は、通信を開始するとき、送信側計算機で使用する通信プロトコルを問い合わせるために、前記ネゴシエーション通信手段にネゴシエーション要求を通知し、当該ネゴシエーション通信手段より送信側計算機から送信された通信プロトコルを受け取り、前記データ通信手段に当該受け取った通信プロトコルの通信プロトコル設定要求を行い、
受信側計算機の前記ネゴシエーション通信手段は、前記ネゴシエーション管理手段から受け取ったネゴシエーション要求を送信側計算機の前記ネゴシエーション通信手段に送信し、当該送信側計算機のネゴシエーション通信手段から送信されてきたネゴシエーション応答を受信し、当該受信したネゴシエーション応答を前記ネゴシエーション管理手段に通知し、
送信側計算機の前記ネゴシエーション管理手段は、前記ネゴシエーション通信手段から受け取ったネゴシエーション要求を前記通信プロトコル判定手段に通知して当該通信プロトコル判定手段から使用する通信プロトコルを受け取り、前記データ通信手段に対して使用する通信プロトコルの通信プロトコル設定要求を行い、受信側計算機に使用する通信プロトコルを通知するために前記ネゴシエーション通信手段にネゴシエーション応答要求を通知し、
送信側計算機の前記ネゴシエーション通信手段は、受信側計算機の前記ネゴシエーション通信手段から送信されてくるネゴシエーション要求を受信し、当該ネゴシエーション要求を前記ネゴシエーション管理手段に通知し、前記ネゴシエーション管理手段からのネゴシエーション応答要求を受け取り、前記受信側計算機のネゴシエーション通信手段に対してネゴシエーション応答を送信し、
前記通信プロトコル判定手段は、送信側計算機の前記ネゴシエーション管理手段からネゴシエーション要求を受け取り、前記通信相手管理手段に対してネゴシエーション要求に含まれる受信側計算機の情報を通知して、当該通信相手管理手段から受信側計算機の一覧データを取得し、当該一覧データの受信側計算機の計算機台数および計算機構成によるルールに従って通信プロトコルを選択し、当該選択した通信プロトコルを前記ネゴシエーション管理手段に通知し、
前記通信相手管理手段は、前記通信プロトコル判定手段からの受信側計算機の情報を受け取って受信側計算機の一覧データを更新し、前記通信プロトコル判定手段からの受信側計算機一覧データ取得要求に対して受信側計算機の一覧データを前記通信プロトコル判定手段に渡し、
送信側計算機の前記データ通信手段は、前記アプリケーションからのデータ送信要求を受け取り、受信側計算機の前記データ通信手段に対してデータを送信し、前記ネゴシエーション管理手段からの通信プロトコル設定要求を受け取った場合、データ送信のために使用する通信プロトコルの切り替えを行い、
受信側計算機の前記データ通信手段は、送信側計算機の前記データ通信手段から送信されてきたデータを受信し、前記アプリケーションに受信データを渡し、前記ネゴシエーション管理手段からの通信プロトコル変更通知を受け取った場合、データ受信のために使用する通信プロトコルの切り替えを行うことを特徴とする複数計算機間における通信プロトコルの動的選択プログラム。
Data communication means, negotiation management means, negotiation communication means, and application that are common to one computer serving as a transmission side computer and one or more computers serving as a reception side computer among a plurality of computers arranged on the network In addition, a communication protocol determination unit and a communication partner management unit are further added to the transmission side computer, so that one computer as the transmission side computer can be connected to one or more computers as the reception side computers. A program for selecting a communication protocol for information communication,
When the negotiation management means of the receiving computer starts communication, in order to inquire about the communication protocol to be used by the transmitting computer, the negotiation communication means notifies the negotiation request to the negotiation communication means, and transmits from the sending communication computer from the negotiation communication means. A communication protocol setting request for the received communication protocol is made to the data communication means,
The negotiation communication means of the receiving computer transmits the negotiation request received from the negotiation management means to the negotiation communication means of the transmitting computer, and receives the negotiation response transmitted from the negotiation communication means of the transmitting computer. , Notifying the negotiation management means of the received negotiation response,
The negotiation management unit of the sending computer receives the communication protocol used from the communication protocol determination unit by notifying the communication protocol determination unit of the negotiation request received from the negotiation communication unit, and used for the data communication unit. A communication protocol setting request of the communication protocol to be performed, and a negotiation response request is notified to the negotiation communication means in order to notify the communication protocol to be used for the receiving computer.
The negotiation communication unit of the transmission side computer receives the negotiation request transmitted from the negotiation communication unit of the reception side computer, notifies the negotiation management unit of the negotiation request, and requests a negotiation response from the negotiation management unit. , And send a negotiation response to the negotiation communication means of the receiving computer,
The communication protocol determination means receives a negotiation request from the negotiation management means of the transmitting computer, notifies the communication partner management means of the information on the receiving computer included in the negotiation request, from the communication partner management means Obtain the list data of the receiving computer, select the communication protocol according to the number of computers of the receiving computer and the computer configuration of the list data, notify the negotiation management means of the selected communication protocol,
The communication partner management means receives the information on the receiving computer from the communication protocol determining means, updates the list data of the receiving computer, and receives the receiving computer list data acquisition request from the communication protocol determining means Pass the list data of the side computer to the communication protocol determination means,
When the data communication means of the sending computer receives a data transmission request from the application, transmits data to the data communication means of the receiving computer, and receives a communication protocol setting request from the negotiation management means , Switch the communication protocol used for data transmission,
When the data communication means of the receiving computer receives the data transmitted from the data communication means of the transmitting computer, passes the received data to the application, and receives a communication protocol change notification from the negotiation management means A program for dynamically selecting a communication protocol among a plurality of computers, wherein the communication protocol used for data reception is switched.
JP2006141317A 2006-05-22 2006-05-22 Dynamic selection method and dynamic selection system for communication protocol between multiple computers Expired - Fee Related JP4786412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006141317A JP4786412B2 (en) 2006-05-22 2006-05-22 Dynamic selection method and dynamic selection system for communication protocol between multiple computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006141317A JP4786412B2 (en) 2006-05-22 2006-05-22 Dynamic selection method and dynamic selection system for communication protocol between multiple computers

Publications (2)

Publication Number Publication Date
JP2007310780A true JP2007310780A (en) 2007-11-29
JP4786412B2 JP4786412B2 (en) 2011-10-05

Family

ID=38843553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006141317A Expired - Fee Related JP4786412B2 (en) 2006-05-22 2006-05-22 Dynamic selection method and dynamic selection system for communication protocol between multiple computers

Country Status (1)

Country Link
JP (1) JP4786412B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012090046A (en) * 2010-10-19 2012-05-10 Mitsubishi Electric Corp Broadcast transmission device
JP2018023148A (en) * 2013-06-25 2018-02-08 グーグル エルエルシー Efficient communication for device on housing network
JPWO2019167370A1 (en) * 2018-03-02 2021-02-12 住友電気工業株式会社 Switch device, monitoring method and monitoring program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120693A (en) * 2002-09-30 2004-04-15 Clarion Co Ltd Radio communication apparatus, radio communication system, radio communication method, and radio communication program
JP2004153312A (en) * 2002-10-28 2004-05-27 Ntt Docomo Inc Data distribution method, data distribution system, data receiver, data relaying apparatus, and program for the data receiver and data distribution
JP2005151541A (en) * 2003-10-22 2005-06-09 Matsushita Electric Ind Co Ltd Method for controlling packet distribution

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004120693A (en) * 2002-09-30 2004-04-15 Clarion Co Ltd Radio communication apparatus, radio communication system, radio communication method, and radio communication program
JP2004153312A (en) * 2002-10-28 2004-05-27 Ntt Docomo Inc Data distribution method, data distribution system, data receiver, data relaying apparatus, and program for the data receiver and data distribution
JP2005151541A (en) * 2003-10-22 2005-06-09 Matsushita Electric Ind Co Ltd Method for controlling packet distribution

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012090046A (en) * 2010-10-19 2012-05-10 Mitsubishi Electric Corp Broadcast transmission device
JP2018023148A (en) * 2013-06-25 2018-02-08 グーグル エルエルシー Efficient communication for device on housing network
US10320763B2 (en) 2013-06-25 2019-06-11 Google Inc. Efficient communication for devices of a home network
US10805200B2 (en) 2013-06-25 2020-10-13 Google Llc Efficient communication for devices of a home network
JPWO2019167370A1 (en) * 2018-03-02 2021-02-12 住友電気工業株式会社 Switch device, monitoring method and monitoring program
JP7047894B2 (en) 2018-03-02 2022-04-05 住友電気工業株式会社 Switch device, monitoring method and monitoring program
US11516294B2 (en) 2018-03-02 2022-11-29 Sumitomo Electric Industries, Ltd. Switch device, monitoring method and monitoring program

Also Published As

Publication number Publication date
JP4786412B2 (en) 2011-10-05

Similar Documents

Publication Publication Date Title
US7006836B2 (en) Wireless communication system and wireless device for quickly connecting to device providing desired service, and method of controlling wireless communication system and wireless device
US8103784B2 (en) Communication device and communication control method using efficient echonet address determination scheme
US20080008109A1 (en) Method and apparatus for bridging wireless control networks
WO2010035805A1 (en) Access point, radio communication terminal, and server
JP2006314009A (en) Radio communication system, device and method for access point management, device and method for radio communication, and computer program
JP2007028615A (en) Selection of central coordinator, handover, backup, and failure recovery
JP2005536131A (en) Bandwidth-oriented reconfiguration of wireless ad hoc networks
KR20110018941A (en) Terminal device and method for master-slave handover in media access communication system
EP1169819A1 (en) Co-location negotiation scheme for wireless computer networks
JPH10229579A (en) Radio packet communication system
CN102204209B (en) Method, system and network device for quality of service (qos) negotiation in cross-medium networks
CN104883656A (en) Method for establishing steady state piconet based on bluetooth and system for establishing steady state piconet based on bluetooth
JP2010278884A (en) Routing apparatus, communication control method, and communication system
US10116511B2 (en) Method and apparatus for controlling topology
JP4786412B2 (en) Dynamic selection method and dynamic selection system for communication protocol between multiple computers
JP4747816B2 (en) Packet carpooling method, program and apparatus
JP2006086718A (en) Access router and terminal equipment
KR102424844B1 (en) Device supporting wireless p2p communication with external device and communication method thereof
JP2006513628A (en) A network and terminal forming an ad hoc network by responding to a query transferred by a slave terminal, wherein the master unit sets up a connection with the terminal to be incorporated in the network
JP2006513623A (en) Dynamic network formation for wireless ad hoc networks
EP1379028A2 (en) Radio terminal, communication control method and computer program
JP2008060711A (en) Wireless communication system and wireless communication device
CN108684021A (en) A kind of Bluetooth Low Energy communication means and device
JP2003308264A (en) Network equipment and method for controlling network equipment
US7152114B2 (en) System, server and terminal for switching line in local area network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110418

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: 20110621

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110713

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140722

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees