JP5047099B2 - Data communication system, data communication method, and information processing apparatus constituting data communication system - Google Patents

Data communication system, data communication method, and information processing apparatus constituting data communication system Download PDF

Info

Publication number
JP5047099B2
JP5047099B2 JP2008212373A JP2008212373A JP5047099B2 JP 5047099 B2 JP5047099 B2 JP 5047099B2 JP 2008212373 A JP2008212373 A JP 2008212373A JP 2008212373 A JP2008212373 A JP 2008212373A JP 5047099 B2 JP5047099 B2 JP 5047099B2
Authority
JP
Japan
Prior art keywords
data
information processing
transmission
side information
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008212373A
Other languages
Japanese (ja)
Other versions
JP2010050670A (en
Inventor
民則 冨田
直樹 光吉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008212373A priority Critical patent/JP5047099B2/en
Publication of JP2010050670A publication Critical patent/JP2010050670A/en
Application granted granted Critical
Publication of JP5047099B2 publication Critical patent/JP5047099B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、少なくとも2つ以上の情報処理装置間で、ネットワークを用いてデータの送受信を行う際の通信輻輳制御方法、システムおよびそのシステムを構成する装置に関する発明である。   The present invention relates to a communication congestion control method and system when data is transmitted and received between at least two or more information processing apparatuses using a network, and an apparatus that constitutes the system.

複数の情報処理装置が接続されたネットワークにおいて、一台の情報処理装置がN台の情報処理装置に対してデータ送信を要求し、N台分のデータ受信を行う場合に、N台の情報処理装置とそれぞれ一対一の通信をN回行なってデータ受信を行なうかわりに、ネットワークに接続された全ての情報処理装置にデータを送信するブロードキャスト通信や、所定の複数の情報処理装置にデータを送信するマルチキャスト通信を用いて一斉にデータ送信要求を行い、データ送信要求を受信した各情報処理装置は自律的に要求元の情報処理装置に対してデータ送信を行なう方法がある。   In a network to which a plurality of information processing devices are connected, when one information processing device requests data transmission to N information processing devices and receives data for N devices, N information processing devices Instead of receiving data by performing one-to-one communication with each device N times, broadcast communication for sending data to all information processing devices connected to the network, or sending data to a plurality of predetermined information processing devices There is a method of making a data transmission request all at once using multicast communication, and each information processing apparatus receiving the data transmission request autonomously transmits data to the requesting information processing apparatus.

この方法は、N台の情報処理装置と個別に通信を行なうのに比べて、データ送信要求の回数が少なくて済むため効率が良い。また、送信要求を行なう情報処理装置の台数が変化しても送信要求処理の変更が無いという特徴がある。   This method is more efficient because the number of data transmission requests can be reduced compared to the case where communication is individually performed with N information processing apparatuses. In addition, there is a feature that the transmission request processing is not changed even if the number of information processing apparatuses that perform transmission requests changes.

具体的にはたとえばEthernet(登録商標)におけるUDPプロトコルを用いたブロードキャストやマルチキャスト通信によって実現可能である(例えば特許文献1)。   Specifically, for example, it can be realized by broadcast or multicast communication using the UDP protocol in Ethernet (registered trademark) (for example, Patent Document 1).

また、ネットワーク輻輳制御技術としてはデータ送信元に対してデータ送信を延期させるパケットを送信することでデータフローの制御を行なう手法があり、具体的には、Ethernet(登録商標)におけるバックプレッシャ輻輳制御や、IEEE 802.3xのオプションとして規定されているMAC制御プロトコルのPAUSEフレームを使った輻輳制御があり、これはスイッチングハブなどのデータバッファの空き容量に応じて、データ送信延期パケットを送信するものである。   In addition, as a network congestion control technique, there is a method of controlling the data flow by transmitting a packet for delaying data transmission to the data transmission source. Specifically, back pressure congestion control in Ethernet (registered trademark). There is also congestion control using PAUSE frames of the MAC control protocol defined as an option of IEEE 802.3x, which transmits data transmission postponed packets according to the free capacity of the data buffer such as a switching hub. is there.

特開2002-152213号公報JP 2002-152213 A

上記した背景技術において、1台のデータを要求する情報処理装置(要求装置)とN台のデータを送信する情報処理装置(送信装置)間でデータ送受信が行なわれるケースについて考える。   In the background art described above, consider a case where data transmission / reception is performed between an information processing device (requesting device) that requests one data and an information processing device (transmitting device) that transmits N data.

要求装置がUDPブロードキャスト通信でデータ送信要求のメッセージを送信すると、各送信装置はほぼ同時刻に前記メッセージを受信する。ここで各送信装置は非同期に動作しているが、前記各送信装置は前記メッセージを受信後、メッセージ内容によって指定されたデータを要求装置に対して送信する処理の実施にかかる所要時間は、特に各送信装置のソフトウェアおよびハードウェアが同一の場合は概ね等しいため、前記メッセージ受信後、一斉にネットワーク送信処理が実施されることになる。ここで、各送信装置がスイッチングハブに接続されている場合、スイッチングハブには各送信装置からの送信データが一斉に受信される。   When the requesting device transmits a data transmission request message by UDP broadcast communication, each transmitting device receives the message at approximately the same time. Here, each transmitting device operates asynchronously. However, after each transmitting device receives the message, the time required for performing the process of transmitting the data specified by the message content to the requesting device is particularly: When the software and hardware of each transmitting apparatus are the same, they are generally equal, and therefore network transmission processing is performed simultaneously after receiving the message. Here, when each transmission device is connected to the switching hub, the transmission data from each transmission device is received simultaneously by the switching hub.

一方、近年主流のストア&フォワード方式のスイッチングハブなどの通信機器は、受信データを一時的にバッファメモリに保存するが、バッファメモリサイズを超えるデータが受信された場合、そのデータは破棄される仕様が一般的であり、その場合送信データは完全に失われることになる。   On the other hand, in recent years, communication devices such as mainstream store-and-forward switching hubs temporarily store received data in a buffer memory, but if data exceeding the buffer memory size is received, the data is discarded. In this case, the transmission data is completely lost.

このようなデータ喪失(パケットロス)の発生を防ぐための上述の従来技術は、データを受信するポートが少数である場合などバッファメモリサイズの空き容量の減少が緩やかなケースには対応できるが、複数のポートから一斉にデータを受信するような急激に増加する通信トラフィックに対しては、従来技術による輻輳制御は有効でない。   The above-described conventional technology for preventing the occurrence of such data loss (packet loss) can deal with a case where the decrease in the free space of the buffer memory size is gradual, such as when the number of ports receiving data is small, Congestion control according to the prior art is not effective for communication traffic that rapidly increases so that data is simultaneously received from a plurality of ports.

したがって、送信装置数Nもしくはスイッチングハブなどの通信機器のポート数Mの少ない方×送信データサイズSが、通信機器のバッファメモリサイズより大きい場合にデータ喪失が発生し、通信エラーとなる。   Therefore, when the number of transmission devices N or the smaller number of ports M of the communication device such as the switching hub × the transmission data size S is larger than the buffer memory size of the communication device, data loss occurs and a communication error occurs.

本発明は、1対Nの通信を行なう際に、ノード数Nによらずデータ喪失の発生を抑制し、通信エラーなくデータ送受信を行なうためのシステムおよび方法を提供することを目的とする。   An object of the present invention is to provide a system and method for performing data transmission / reception without a communication error by suppressing occurrence of data loss regardless of the number of nodes N when performing 1-to-N communication.

また、本発明は、従来の輻輳制御技術と同時に運用可能である通信制御方法、それを実現するためのシステムを提供することを目的とする。   It is another object of the present invention to provide a communication control method that can be operated simultaneously with a conventional congestion control technique and a system for realizing the communication control method.

本発明は、要求側情報処理装置が、受信側の情報処理装置群を2つ以上のマルチキャストネットワークグループに分割し、マルチキャストネットワークグループ単位で順にデータ送信を要求することを特徴とする。   The present invention is characterized in that the request-side information processing apparatus divides the reception-side information processing apparatus group into two or more multicast network groups, and requests data transmission in order of each multicast network group.

また、本発明は、各情報処理装置が、スイッチングハブのバッファメモリサイズと、当該データ通信システムにおいて送受信されるデータの送信側情報処理装置と受信側情報処理装置の情報とデータサイズと、当該データの送信を指示するデータに関する情報を記憶する記憶装置を備え、送信を指示するデータの受信側情報処理装置が複数ある場合、受信側情報処理装置を2つ以上のマルチキャストグループに割り当て、2つ以上のマルチキャストグループ単位でデータの送信を指示するデータを送信することを特徴とする。   Further, according to the present invention, each information processing device includes a buffer memory size of the switching hub, information and data size of the transmission side information processing device and reception side information processing device for data transmitted and received in the data communication system, and the data A storage device for storing information related to data instructing transmission of data, and when there are a plurality of receiving side information processing devices for data instructing transmission, the receiving side information processing devices are assigned to two or more multicast groups. It is characterized by transmitting data instructing data transmission in units of multicast groups.

また、本発明は、送信側情報処理装置の台数Nと応答データのサイズとの積算値が、送信側情報処理装置の応答データを格納するメモリのサイズ以下である場合に、要求側情報処理装置がN台の送信側情報処理装置に対して要求データを送信し、送信側情報処理装置の台数Nと応答データのサイズとの積算値が、メモリのサイズよりも大きい場合に、送信側情報処理装置の台数M(Mは1以上Nよりも小さい整数)と応答データのサイズとの積算値がメモリのサイズ以下になるように、N台の送信側情報処理装置をM台ごとのグループに分割し、要求側情報処理装置がグループ単位で順次、要求データを送信することを特徴とする。   Further, the present invention provides a request-side information processing device when the integrated value of the number N of transmission-side information processing devices and the size of response data is equal to or smaller than the size of a memory that stores response data of the transmission-side information processing device. Transmits the request data to N transmission side information processing devices, and when the integrated value of the number N of transmission side information processing devices and the size of the response data is larger than the size of the memory, the transmission side information processing The N transmission side information processing devices are divided into groups of M units so that the integrated value of the number M of devices (M is an integer greater than or equal to 1 and smaller than N) and the size of response data is less than the size of the memory. The requesting information processing apparatus transmits the request data sequentially in units of groups.

本発明によれば、複数の送信装置に対してデータ要求を行なう際に、ネットワークスイッチングハブへのデータ集中によるデータ喪失を起こさずに、最小回数のデータ要求回数で各送信装置からデータを受信することが可能である。   According to the present invention, when making a data request to a plurality of transmission devices, data is received from each transmission device with the minimum number of data requests without causing data loss due to data concentration on the network switching hub. It is possible.

本発明の1対N(Nは2以上の整数)通信輻輳制御方式は、ネットワークで接続された少なくとも1台のデータ送信要求を行なう情報処理装置(以下、要求装置)と1台以上のデータ送信を行なう情報処理装置(以下、送信装置)間で通信を行なうものにおいて、前記要求装置には、ネットワークとのインタフェースを提供するネットワークIF手段と、ネットワークに接続された前記送信装置の数と、前記送信装置が送信するデータサイズと、信装置が接続されたスイッチングハブのもつバッファメモリサイズの情報を格納する情報記録手段と、前記情報記録手段に格納された情報を利用してマルチキャストグループ設定処理を行うマルチキャスト設定処理手段と、データ送信要求メッセージを生成する送信データ生成処理手段と、前記データ送信要求メッセージを前記マルチキャストグループ設定に基づいてネットワークIF手段に対して送信指示を出す送信処理手段と、ネットワークIFに受信したデータを受信し、前記情報記録手段に保存する受信処理手段とを備え、前記送信装置には、ネットワークとのインタフェースを提供するネットワークIF手段と、ネットワークに接続された前記送信装置の数と、前記送信装置から送信するデータサイズと、送信装置が接続されたスイッチングハブのもつバッファメモリサイズの情報を格納する情報記録手段と、前記情報記録手段に格納された情報を利用してマルチキャストグループ設定処理を行うマルチキャスト設定処理手段と、ネットワークIFに受信した前記要求装置が送信したデータ送信要求メッセージを取得し、前記情報記録手段に保存する受信処理手段と、前記データ送信要求メッセージを解析し、送信すべき要求された情報生成する送信データ生成手段と、前記送信データを前記要求装置に送信するようネットワークIF手段に対して送信指示を行なう送信処理手段と、を備える。   The one-to-N (N is an integer greater than or equal to 2) communication congestion control system of the present invention includes at least one information processing apparatus (hereinafter referred to as a request apparatus) connected to a network and one or more data transmissions. In the communication between information processing devices (hereinafter referred to as transmission devices), the requesting device includes network IF means for providing an interface with a network, the number of the transmission devices connected to the network, Information recording means for storing information on the data size transmitted by the transmission apparatus and the buffer memory size of the switching hub to which the communication apparatus is connected, and multicast group setting processing using the information stored in the information recording means Multicast setting processing means for performing transmission data generation processing means for generating a data transmission request message, and the data A transmission processing unit that issues a transmission instruction message to the network IF unit based on the multicast group setting, and a reception processing unit that receives the data received in the network IF and stores it in the information recording unit, The transmission device has a network IF means for providing an interface with the network, the number of the transmission devices connected to the network, the data size transmitted from the transmission device, and the switching hub to which the transmission device is connected. Information recording means for storing buffer memory size information, multicast setting processing means for performing multicast group setting processing using information stored in the information recording means, and data transmitted by the requesting device received in the network IF Obtain a transmission request message and store it in the information recording means. An existing reception processing means, a transmission data generating means for analyzing the data transmission request message and generating requested information to be transmitted, and a transmission instruction to the network IF means for transmitting the transmission data to the requesting device. Transmission processing means to perform.

そして、前記マルチキャスト設定処理手段は、マルチキャストグループに含まれる各送信装置から送信されるデータのサイズの合計が、前記スイッチングハブのバッファメモリサイズを超えないような1つ以上のマルチキャストグループを構成し、前記要求装置の送信処理手段は、前記構成した全てのマルチキャストグループ情報を保持し、前記データ送信要求メッセージを送信する場合には、前記の各マルチキャストグループに対して順番につまりマルチキャストグループ単位で順番に送信し、前記送信装置の受信処理手段は、前記構成したマルチキャストグループのうち自装置が含まれるマルチキャストグループの情報を保持し、当該マルチキャストグループに送信された前記データ送信要求メッセージのみを受信、保存し、前記受信データ処理手段では、前記データ送信要求メッセージを解析し、要求されたデータと要求装置を特定し、データの生成指示と送信先情報を送信データ生成処理手段に通知する。前記送信データ生成処理手段で生成された要求データは、前記送信装置の送信処理手段によって前記要求装置に対して送信する。尚、複数の送信装置は、ソフトウェア(アプリケーション)およびハードウェアが同一で、同一の時間で同一のデータ処理を行うものが好ましい。   The multicast setting processing means configures one or more multicast groups such that the total size of data transmitted from each transmission device included in the multicast group does not exceed the buffer memory size of the switching hub, The transmission processing means of the requesting device holds all the configured multicast group information, and when transmitting the data transmission request message, in order with respect to each multicast group, that is, in order of each multicast group. And the reception processing means of the transmission device holds information of the multicast group including the device itself among the configured multicast groups, and receives and stores only the data transmission request message transmitted to the multicast group. , The reception data The data processing unit analyzes the data transmission request message to identify the requested data requesting device, and notifies the generated instruction and destination information of the data to the transmission data generating means. The request data generated by the transmission data generation processing unit is transmitted to the requesting device by the transmission processing unit of the transmitting device. The plurality of transmission devices preferably have the same software (application) and hardware, and perform the same data processing at the same time.

このように、要求装置からのデータ送信要求メッセージは1つ以上のマルチキャストグループに順番に送信されるため一回のデータ送信要求メッセージに対して返される送信装置からの送信データは、当該マルチキャストグループに含まれる送信装置に限定される。   In this way, since the data transmission request message from the requesting device is sequentially transmitted to one or more multicast groups, the transmission data from the transmitting device returned in response to one data transmission request message is sent to the multicast group. Limited to included transmission devices.

マルチキャストグループに含まれる各送信装置からの送信データの合計サイズはスイッチングハブのバッファメモリサイズ以下となるように設定してあるため、たとえスイッチングハブにデータ受信が集中したとしてもデータ喪失せずに済む。   Since the total size of the transmission data from each transmission device included in the multicast group is set to be equal to or smaller than the buffer memory size of the switching hub, even if data reception is concentrated on the switching hub, data loss is not required. .

さらに、各マルチキャストグループに対するデータ送信要求メッセージは順番に所定の時間間隔で送信されるため、各マルチキャストグループに含まれる送信装置からの送信データも前記時間間隔で受信されるため、ネットワークスイッチングハブへのデータ集中によるデータ喪失も防ぐことができる。   Further, since the data transmission request message for each multicast group is sequentially transmitted at a predetermined time interval, transmission data from the transmission device included in each multicast group is also received at the time interval. Data loss due to data concentration can also be prevented.

以下、本発明の実施例を図1から図6を用いて説明する。   Embodiments of the present invention will be described below with reference to FIGS.

図1は本発明の実施例のデータ通信システムの構成を示す図である。   FIG. 1 is a diagram showing a configuration of a data communication system according to an embodiment of the present invention.

このデータ通信システムは、データ要求を行なう情報処理装置である要求装置100と、データ要求を受信してデータ送信を行なう情報処理装置である送信装置200と、ネットワークスイッチングハブ300とから構成されている。また、前記の各情報処理装置は前記ネットワークスイッチングハブ300に接続されLAN(Local Area Network)を形成している。データ送信を行なう情報処理装置200は複数台(N台)が上記LANに接続される。2台以上の要求装置が存在する構成であってもよいし、同一の情報処理装置が要求装置と送信装置の機能を同時に内包する構成であってもよい。   This data communication system includes a request device 100 that is an information processing device that makes a data request, a transmission device 200 that is an information processing device that receives a data request and transmits data, and a network switching hub 300. . Each information processing apparatus is connected to the network switching hub 300 to form a LAN (Local Area Network). A plurality (N) of information processing apparatuses 200 that perform data transmission are connected to the LAN. The configuration may include two or more requesting devices, or the same information processing device may include the functions of the requesting device and the transmitting device at the same time.

要求装置100は、ネットワークスイッチングハブ300とLAN接続されデータの送受信を行なうネットワークIF(Interface)101と、データ送受信に関わる設定情報や、受信したデータを記録する情報記録部102と、ネットワークIF101に受信したデータを受け取り、内容をチェックして情報記録部の所定の場所に保存する受信処理部103と、情報記録部に記録された設定情報に基づきマルチキャストネットワークの設定を行なうマルチキャスト設定処理部104と、データ送信要求メッセージを生成する送信データ生成処理部105と、前記データ送信要求メッセージを前記設定されたマルチキャストネットワークアドレスに送信する処理を行う送信処理部106とを備えている。また、情報記録部102や送信データ生成処理部105にアクセス可能なアプリケーションプログラム107を備えている。   The requesting device 100 is connected to the network switching hub 300 via a LAN, and transmits / receives data to / from the network IF (Interface) 101, setting information related to data transmission / reception, an information recording unit 102 that records received data, and the network IF 101 A reception processing unit 103 that receives the received data, checks the contents, and stores the data in a predetermined location of the information recording unit, a multicast setting processing unit 104 that sets a multicast network based on the setting information recorded in the information recording unit, A transmission data generation processing unit 105 that generates a data transmission request message, and a transmission processing unit 106 that performs processing of transmitting the data transmission request message to the set multicast network address are provided. Further, an application program 107 that can access the information recording unit 102 and the transmission data generation processing unit 105 is provided.

また、送信装置200は、ネットワークスイッチングハブ300とLAN接続されデータの送受信を行なうネットワークIF(Interface)201と、データ送受信に関わる設定情報や、受信したデータを記録する情報記録部202と、ネットワークIF201に受信したデータを受け取り、内容をチェックして情報記録部の所定の場所に保存する受信処理部203と、情報記録部に記録された設定情報に基づきマルチキャストネットワークの設定を行なうマルチキャスト設定処理部204と、受信されたデータ送信要求メッセージ解析し、送信要求されたデータを生成する送信データ生成処理部205と、前記送信データを前記設定されたマルチキャストネットワークアドレスに送信する処理を行う送信処理部206とを備えている。また、情報記録部202や送信データ生成処理部205にアクセス可能なアプリケーションプログラム207を備えている。送信装置400、500、600、700、800は、前記送信装置200と同様の構成を備えている。   The transmission apparatus 200 includes a network IF (Interface) 201 that is connected to the network switching hub 300 via a LAN and transmits / receives data, setting information related to data transmission / reception, an information recording unit 202 that records received data, and a network IF 201. Receiving processing unit 203 that receives the received data, checks the contents and saves the data in a predetermined location in the information recording unit, and multicast setting processing unit 204 that sets the multicast network based on the setting information recorded in the information recording unit A transmission data generation processing unit 205 that analyzes the received data transmission request message and generates transmission requested data, and a transmission processing unit 206 that performs processing of transmitting the transmission data to the set multicast network address, It has. Further, an application program 207 that can access the information recording unit 202 and the transmission data generation processing unit 205 is provided. The transmission devices 400, 500, 600, 700, and 800 have the same configuration as the transmission device 200.

ここで、要求装置100および送信装置200、400、600、700、800を構成する各処理部の機能は、メモリおよびCPU(中央演算装置)により構成されたパーソナルコンピュータ等の情報処理装置にオペレーティングソフトウェアを搭載し、そのオペレーティングソフトウェア上に各機能を実現するためのプログラムをメモリにロードして実行することにより、その機能を実現することができる。尚、上記構成の全部または一部は、専用のハードウェアにより実現されてもよい。   Here, the functions of the processing units constituting the requesting device 100 and the transmitting devices 200, 400, 600, 700, and 800 are the operating software in the information processing device such as a personal computer constituted by a memory and a CPU (Central Processing Unit). The function can be realized by loading the program for realizing each function on the operating software and executing it on the memory. Note that all or part of the above configuration may be realized by dedicated hardware.

次に、本発明の実施例のデータ通信システムのマルチキャスト設定処理部の動作について説明する。   Next, the operation of the multicast setting processing unit of the data communication system according to the embodiment of this invention will be described.

情報記録部102および202に記録されるデータ送受信に関わる設定情報を図2に示す。情報記録部102および202には、自装置の装置識別子である装置IDとIPアドレスに関する情報を含む自装置情報1000、スイッチングハブ300の持つバッファメモリサイズとポート数情報を含むスイッチングハブ情報1100、装置間で送受信するデータの識別子であるデータID1201と、このデータを送信する装置の情報である送信装置リスト1202と、このデータを受信する装置の情報である受信装置リスト1203と、このデータの送受信に使うマルチキャストネットワークグループの情報である使用ネットワークグループリスト1204と、このデータのデータサイズ1205と、当該データが指定データのレスポンスとして送信されることを示す要求データ情報1206と、を含む送受信データ情報1200、マルチキャストネットワークグループの識別子であるネットワークID1301と、このマルチキャストネットワークグループに登録される装置の情報である登録装置リスト1302と、このマルチキャストネットワークグループが使用するマルチキャストアドレス1303と、このマルチキャストネットワークグループが使うポートの情報である使用ポート1304を含むネットワークグループ情報1300を有する。   FIG. 2 shows setting information related to data transmission / reception recorded in the information recording units 102 and 202. The information recording units 102 and 202 include own device information 1000 including information on the device ID and IP address, which is the device identifier of the own device, switching hub information 1100 including the buffer memory size and port number information of the switching hub 300, and the device. A data ID 1201 that is an identifier of data to be transmitted / received between them, a transmitting device list 1202 that is information of a device that transmits this data, a receiving device list 1203 that is information of a device that receives this data, and transmission / reception of this data Transmission / reception data information 1200 including a use network group list 1204 which is information of a multicast network group to be used, a data size 1205 of this data, and request data information 1206 indicating that the data is transmitted as a response to designated data, Multi A network ID 1301 that is an identifier of the cast network group, a registered device list 1302 that is information of devices registered in the multicast network group, a multicast address 1303 used by the multicast network group, and a port used by the multicast network group It has network group information 1300 including used ports 1304 as information.

上記のデータ送受信に関わる設定情報のうち、自装置情報1000、スイッチングハブ情報1100、データID1201、送信装置リスト1202、受信装置リスト1203、データサイズ1205、ネットワークID1301、マルチキャストアドレス1303、使用ポート1304は、事前にデータが設定されており、使用ネットワークグループリスト1204と、登録装置リスト1302は、以下に述べるマルチキャスト設定処理部104の処理により設定される。ネットワークスイッチングハブ300がスイッチングハブ情報1100を事前に記憶しており、要求装置100および送信装置200、・・・800の各々が、LANに参加した場合に、ネットワークスイッチングハブ300からスイッチングハブ情報1100を取得し、記憶してもよい。要求装置100および送信装置200、・・・800は、同一の設定情報を持っていてもよい。本実施例では、要求データ情報1206に対して、レスポンスデータのデータサイズ1205が、一義的に決まっているものとする。   Among the setting information related to the above data transmission / reception, own device information 1000, switching hub information 1100, data ID 1201, transmission device list 1202, reception device list 1203, data size 1205, network ID 1301, multicast address 1303, and used port 1304 are: Data is set in advance, and the used network group list 1204 and the registered device list 1302 are set by processing of the multicast setting processing unit 104 described below. When the network switching hub 300 stores the switching hub information 1100 in advance, and each of the requesting device 100 and the transmission devices 200,... 800 participates in the LAN, the switching hub information 1100 is received from the network switching hub 300. It may be acquired and stored. Requesting device 100 and transmitting devices 200,... 800 may have the same setting information. In this embodiment, it is assumed that the data size 1205 of the response data is uniquely determined for the request data information 1206.

次に、マルチキャスト設定処理部104の動作を図3を用いて説明する。   Next, the operation of the multicast setting processing unit 104 will be described with reference to FIG.

マルチキャスト設定処理部104は、まず情報記録部102から自装置情報1000、スイッチングハブ情報1100、送受信データ情報1200、ネットワークグループ情報1300を取得する。(ステップ2001)
自装置情報から自装置IDを取得し、送受信データ情報1200の送信装置リスト1202と受信装置リスト1203を検索し、自装置における送受信データのリストである自装置送受信データ情報1400を生成する。自装置送受信データ情報は、データID1401、当該データが自装置にとって送信データか受信データかを示す送受信種別1402、当該データの送受信に使用するマルチキャストネットワークを示す使用ネットワークリスト1403を含むが、この時点では使用ネットワークリスト1403は未設定である。
First, the multicast setting processing unit 104 acquires its own device information 1000, switching hub information 1100, transmission / reception data information 1200, and network group information 1300 from the information recording unit 102. (Step 2001)
The own apparatus ID is acquired from the own apparatus information, the transmitting apparatus list 1202 and the receiving apparatus list 1203 of the transmission / reception data information 1200 are searched, and the own apparatus transmission / reception data information 1400 that is a list of transmission / reception data in the own apparatus is generated. The own device transmission / reception data information includes a data ID 1401, a transmission / reception type 1402 indicating whether the data is transmission data or reception data for the own device, and a use network list 1403 indicating a multicast network used for transmission / reception of the data. The used network list 1403 is not set.

図2のデータの例では、自装置IDはSであるので、自装置送受信データ情報1400には送信装置リストからデータID「D001」が送受信種別「送」でセットされ、受信装置リストから、データID「D002」「D003」「D004」「D005」「D006」「D007」が送受信種別「受」でセットされる。(ステップ2002)
つづいて前記送受信データ情報1200に設定されている各データに対して、使用するマルチキャストネットワークグループを設定する処理に入る。
In the data example of FIG. 2, since the own device ID is S, the own device transmission / reception data information 1400 is set with the data ID “D001” from the transmission device list by the transmission / reception type “send”, and from the reception device list, the data IDs “D002”, “D003”, “D004”, “D005”, “D006”, and “D007” are set in the transmission / reception type “receive”. (Step 2002)
Subsequently, a process for setting a multicast network group to be used for each data set in the transmission / reception data information 1200 is entered.

まず、処理対象データの受信装置数Nを算出し、(ステップ2003)処理に使用するパラメータ、iおよびjを1に初期化する。(ステップ2004)
図2の設定データで、データID「D001」を例とすると、受信装置リストにA,B,C,D,E,Fの6つの装置が登録されているため、これらをカウントした結果、N=6となる。
First, the number N of receiving devices for processing target data is calculated (step 2003), and parameters i and j used for processing are initialized to 1. (Step 2004)
In the setting data shown in FIG. 2, when the data ID “D001” is taken as an example, six devices A, B, C, D, E, and F are registered in the receiving device list. = 6.

次に、送受信データ情報1200を検索し、「D001」の受信装置リストのi番目の装置の送信データで、かつその受信装置リスト1203に「D001」の送信装置(この例では装置IDはS)が含まれ、かつ要求データ情報1206に「D001」が含まれる場合、そのデータサイズ1205をi番目のレスポンスデータサイズとして取得する。もしそのような送信データが存在しない場合は、前記レスポンスデータサイズは0とする。この処理をi番目からj番目まで繰り返し、各レスポンスデータサイズの合計を計算した結果が、スイッチングハブ情報に含まれるバッファサイズより大きいかどうかを判定する。(ステップ2005)
ステップ2005の判定結果がYESの場合は、その際のiとjを比較し、等しいかどうかを判定し、結果がYESの場合はステップ2009へ、NOの場合は2011へ遷移する。(ステップ2006)
ステップ2005の判定結果がNOの場合は、jを1インクリメント(ステップ2007)して、jが受信装置数Nを超えていないかの判定を行なう。(ステップ2008)
ステップ2008の判定結果がYESの場合はステップ2011、NOの場合はステップ2005へ処理を遷移する。
Next, the transmission / reception data information 1200 is searched, the transmission data of the i-th device in the reception device list of “D001”, and the transmission device of “D001” in the reception device list 1203 (in this example, the device ID is S) And “D001” is included in the request data information 1206, the data size 1205 is acquired as the i-th response data size. If such transmission data does not exist, the response data size is set to zero. This process is repeated from the i-th to the j-th, and it is determined whether or not the result of calculating the total of each response data size is larger than the buffer size included in the switching hub information. (Step 2005)
If the determination result in step 2005 is YES, i and j at that time are compared to determine whether they are equal. If the result is YES, the process proceeds to step 2009. If the result is NO, the process proceeds to 2011. (Step 2006)
If the determination result in step 2005 is NO, j is incremented by 1 (step 2007), and it is determined whether j does not exceed the number N of receiving devices. (Step 2008)
If the determination result in step 2008 is YES, the process proceeds to step 2011; if NO, the process proceeds to step 2005.

ステップ2009では、i番目の受信装置を新規マルチキャストグループに設定し、設定したマルチキャストネットワークIDを送受信データ情報1200の当該データIDに対応する使用ネットワークグループリスト1204に設定し、ステップ2010に遷移する。(ステップ2009)
ステップ2010では、i=j+1、j=j+1としてステップ2013に遷移する。(ステップ2010)
ステップ2011では、i番目からj-1番目の受信装置を新規マルチキャストグループに設定し、設定したマルチキャストネットワークIDを送受信データ情報1200の当該データIDに対応する使用ネットワークグループリスト1204に設定し、ステップ2012に遷移する。(ステップ2011)
ステップ2012では、i=j、j=jとしてステップ2013に遷移する。
In step 2009, the i-th receiving device is set as a new multicast group, the set multicast network ID is set in the used network group list 1204 corresponding to the data ID of the transmission / reception data information 1200, and the process proceeds to step 2010. (Step 2009)
In step 2010, i = j + 1 and j = j + 1 are set, and the process proceeds to step 2013. (Step 2010)
In step 2011, the i-th to (j-1) th receiving devices are set as a new multicast group, the set multicast network ID is set in the used network group list 1204 corresponding to the data ID of the transmission / reception data information 1200, and step 2012 is set. Transition to. (Step 2011)
In step 2012, i = j and j = j, and the process proceeds to step 2013.

ステップ2013ではiおよびjが受信装置数Nを超えていないかの判定を行なう。(ステップ2012)
ステップ2013の判定結果がYESの場合は、ステップ2014へ、NOの場合はステップ2005へ、処理を遷移する。
In step 2013, it is determined whether i and j do not exceed the number N of receiving devices. (Step 2012)
If the determination result in step 2013 is YES, the process proceeds to step 2014; if NO, the process proceeds to step 2005.

ステップ2014では、ステップ2002で作成した自装置送受信データ情報を参照して、すでに全ての送受信データについて処理を完了していたらステップ2016に処理を遷移し、未処理の送受信データがあれば、ステップ2015に遷移し(ステップ2014)、次の送受信データ情報を取得し、ステップ2003に遷移する。(ステップ2015)
ステップ2016では、自装置送受信データ情報1400の各データについて、送受信データ情報1200の該当データの使用ネットワークグループリスト1204の内容を、使用ネットワークグループリスト1403にコピーした後、自装置受信データ情報を送信処理部と受信処理部に送信して処理を終了する。(ステップ2016)
次に、ステップ2009とステップ2011のマルチキャストグループ設定処理について、図4を用いて詳細に説明する。
まず、マルチキャストネットワークに登録する装置リストを取得する。(ステップ3001)
ネットワークグループ情報1300の登録装置リスト1302を検索し、前記装置リストに一致するものを検索し、一致するものが有る場合はステップ3004に遷移、無い場合はステップ3004に遷移する。(ステップ3002)
前記装置リストが一致するネットワークグループが存在する場合、対応するネットワークID1301を送受信データ情報1200の対象データIDに対応する使用ネットワークグループリスト1204に設定する。(ステップ3003)
前記装置リストが一致するネットワークグループが存在しない場合、前記装置リストを装置リスト1302が未登録のネットワークグループに設定し、ステップ3005に遷移する。(ステップ3004)
ステップ3004で設定したネットワークグループのネットワークID1301を送受信データ情報1200の対象データIDに対応する使用ネットワークグループリスト1204に設定する。(ステップ3005)
以上述べた処理により、各受信装置リストにつき一つのマルチキャストネットワークグループを設定することができる。
In step 2014, with reference to the own device transmission / reception data information created in step 2002, if processing has already been completed for all transmission / reception data, the process proceeds to step 2016. If there is unprocessed transmission / reception data, step 2015 is performed. (Step 2014), the next transmission / reception data information is acquired, and the processing transitions to step 2003. (Step 2015)
In step 2016, for each data of the own device transmission / reception data information 1400, the content of the used network group list 1204 of the corresponding data of the transmission / reception data information 1200 is copied to the used network group list 1403, and then the own device received data information is transmitted. To the reception processing unit and the processing ends. (Step 2016)
Next, the multicast group setting process in steps 2009 and 2011 will be described in detail with reference to FIG.
First, a device list to be registered in the multicast network is acquired. (Step 3001)
The registered device list 1302 of the network group information 1300 is searched to search for a device that matches the device list. If there is a device that matches the device list, the process proceeds to step 3004. Otherwise, the process proceeds to step 3004. (Step 3002)
If there is a network group that matches the device list, the corresponding network ID 1301 is set in the used network group list 1204 corresponding to the target data ID of the transmission / reception data information 1200. (Step 3003)
If there is no network group that matches the device list, the device list is set to a network group in which the device list 1302 is not registered, and the process proceeds to Step 3005. (Step 3004)
The network ID 1301 of the network group set in step 3004 is set in the used network group list 1204 corresponding to the target data ID of the transmission / reception data information 1200. (Step 3005)
Through the processing described above, one multicast network group can be set for each receiving device list.

以上述べたマルチキャスト設定処理を、図2の設定データに対して実施した場合、ネットワークグループ情報1300には、登録装置リストA,B、CであるネットワークID「G001」と、登録装置リストD,E,FであるネットワークID「G002」と登録装置リストSであるネットワークID「G003」の3つのマルチキャストネットワークが設定される。   When the multicast setting process described above is performed on the setting data of FIG. 2, the network group information 1300 includes the network ID “G001” that is the registered device list A, B, and C, and the registered device lists D and E. , F is set as three multicast networks of network ID “G002” and registered device list S as network ID “G003”.

送受信データ情報1200の使用ネットワークグループリスト1204は、データID「D001」にG001、G002の複数のネットワークグループが設定され、データID「D002」〜「D007」にはネットワークグループG003が設定される。
また、装置IDがSの装置の自装置送受信データ情報は1400、装置IDがAの装置の次装置双樹沈データ情報は1400Aに示すように設定される。
次に送信処理部106および206の処理を、図5を用いて説明する。
In the used network group list 1204 of the transmission / reception data information 1200, a plurality of network groups G001 and G002 are set in the data ID “D001”, and a network group G003 is set in the data IDs “D002” to “D007”.
Also, the own device transmission / reception data information of the device having the device ID S is set as 1400, and the next device double tree data information of the device with the device ID A is set as 1400A.
Next, the processing of the transmission processing units 106 and 206 will be described with reference to FIG.

送信処理部106および206は、自装置送受信データ情報1400をマルチキャスト設定処理部104および204から受け取る。(ステップ4001)
その後、送信データ作成処理部105および205から送信データと送信データIDを含むデータ送信要求メッセージを待つ。送信指示があったら、ステップ4003に遷移する。(ステップ4002)
送信指示された送信データIDを、自装置送受信データ情報1400にて検索する。当該データIDに対応する使用ネットワークグループリスト1403を取得する。(ステップ4003)
送信指示された送信データを、ステップ4003で取得した使用ネットワークグループリストに含まれるネットワークグループに順番に所定の時間間隔で送信し、ステップ4002のデータ送信指示待ちに遷移する。(ステップ4004)所定の時間間隔とは、例えば、10msや100msである。受信装置数Nやレスポンスデータサイズ、バッファサイズに関わらず、所定の時間間隔を一定としてもよいし、受信装置数Nが大きいほどまたはレスポンスデータサイズが大きいほどまたはバッファサイズが小さいほど、所定の時間間隔を大きくしてもよい。この所定の時間間隔は、送信タイミングを制御するクロックの周期を設定することで実現される。
The transmission processing units 106 and 206 receive the own device transmission / reception data information 1400 from the multicast setting processing units 104 and 204. (Step 4001)
After that, it waits for a data transmission request message including transmission data and transmission data ID from the transmission data creation processing units 105 and 205. If there is a transmission instruction, the process proceeds to step 4003. (Step 4002)
The transmission data ID for which transmission has been instructed is searched in the self-device transmission / reception data information 1400. The used network group list 1403 corresponding to the data ID is acquired. (Step 4003)
The transmission data instructed to be transmitted is sequentially transmitted to the network groups included in the used network group list acquired in step 4003 at a predetermined time interval, and the processing shifts to a data transmission instruction waiting in step 4002. (Step 4004) The predetermined time interval is, for example, 10 ms or 100 ms. Regardless of the number of receiving devices N, the response data size, and the buffer size, the predetermined time interval may be constant, or the larger the number of receiving devices N, the larger the response data size, or the smaller the buffer size, the predetermined time interval. The interval may be increased. The predetermined time interval is realized by setting a clock cycle for controlling transmission timing.

図2の自装置送受信データ情報1400では、たとえば装置SがデータD001を送信する場合、ネットワークグループG001とG002に対してそれぞれデータ送信処理を実施する。具体的には、G001の場合は、送信先アドレス「239.255.0.1」ポート番号「10001」に対してデータ送信を行なうが、G001のネットワークグループには装置Aと装置Bと装置Cが登録されているため、この3台の装置に対してデータが送信される。   In the own device transmission / reception data information 1400 of FIG. 2, for example, when the device S transmits data D001, data transmission processing is performed for each of the network groups G001 and G002. Specifically, in the case of G001, data is transmitted to the transmission destination address “239.255.0.1” and the port number “10001”. However, the network group of G001 includes devices A, B, and C. Is registered, data is transmitted to the three devices.

次に受信処理部103および203の処理を、図6を用いて説明する。   Next, processing of the reception processing units 103 and 203 will be described with reference to FIG.

送信処理部103および203は、自装置送受信データ情報1400をマルチキャスト設定処理部104および204から受け取る。(ステップ5001)
前記自装置送受信データ情報1400のデータのうち送受信種別1402が「受」である全てのデータについて、その使用ネットワークグループリスト1403を取得する。
The transmission processing units 103 and 203 receive the own device transmission / reception data information 1400 from the multicast setting processing units 104 and 204. (Step 5001)
The used network group list 1403 is acquired for all the data of the transmission / reception data information 1400 of the own device whose transmission / reception type 1402 is “receive”.

図2の自装置送受信データ情報1400では、データD002からD007が受信データとなり、その使用ネットワークグループリストはG003であり、自装置送受信データ情報1400Aでは、データD001が受信データとなり、その使用ネットワークグループリストはG001とG002となる。(ステップ5002)
ステップ5002で取得した前記使用ネットワークグループからデータを受信するために、自装置を前記使用ネットワークグループに登録する。具体的には、スイッチングハブに対して自装置が当該マルチキャストアドレスを受信するよう設定するためのAPIをコールする。(ステップ5003)
その後、ネットワークIF101および201のデータ受信を待つ。データ受信があったら、ステップ5005に遷移する。(ステップ5004)
受信データに含まれるデータIDを取得し、自装置送受信データ情報1400を参照して、データIDのデータの送受信種別が「受」である場合、情報記録部102もしくは202のデータIDによってあらかじめ定められた位置(アドレス)に受信データを記録する。(ステップ5005)
以上述べたように、自装置送受信データ情報1400の送受信種別が「受」指定のデータについて、その使用ネットワークグループに自装置を登録することでデータ受信が可能となる。
In the own device transmission / reception data information 1400, data D002 to D007 are reception data, and the use network group list is G003. In the own device transmission / reception data information 1400A, data D001 is reception data, and the use network group list is Becomes G001 and G002. (Step 5002)
In order to receive data from the used network group acquired in step 5002, the device registers itself in the used network group. Specifically, an API for setting the own device to receive the multicast address is called to the switching hub. (Step 5003)
Thereafter, it waits for data reception of the network IFs 101 and 201. If there is data reception, the process proceeds to step 5005. (Step 5004)
When the data ID included in the received data is acquired and the data transmission / reception type of the data ID is “received” with reference to the own device transmission / reception data information 1400, the data ID of the information recording unit 102 or 202 is predetermined. Record the received data at the specified position (address). (Step 5005)
As described above, with respect to data in which the transmission / reception type of the local device transmission / reception data information 1400 is designated as “receive”, data reception is possible by registering the local device in the used network group.

要求装置100の送信データ生成処理部105は、要求装置100上で動作するアプリケーションプログラム107から、「データID」と「データ」を与えられると、自装置送受信データ情報から当該データIDを検索し、送受信種別が「送」の場合、前記データと前記データIDを含むデータ送信要求メッセージを送信処理部106に送る。   When the “data ID” and “data” are given from the application program 107 operating on the requesting device 100, the transmission data generation processing unit 105 of the requesting device 100 retrieves the data ID from the own device transmission / reception data information, When the transmission / reception type is “send”, a data transmission request message including the data and the data ID is sent to the transmission processing unit 106.

送信装置200の送信データ生成処理部205は、送信装置200上で動作するアプリケーションプログラム207から「データID」と「データ」を与えられると、自装置送受信データ情報から当該データIDを検索し、送受信種別が「送」の場合、前記データと前記データIDを含むデータ送信要求メッセージを送信処理部206に送る。   When the “data ID” and “data” are given from the application program 207 operating on the transmission device 200, the transmission data generation processing unit 205 of the transmission device 200 searches the data transmission / reception data information for the data ID and transmits / receives the data ID. When the type is “Send”, a data transmission request message including the data and the data ID is sent to the transmission processing unit 206.

要求装置上で動作するアプリケーションプログラム107は、送信データ生成処理部105に対して送信要求メッセージを送ったり、情報記録部102を参照して受信データを取得することができる。   The application program 107 operating on the requesting device can send a transmission request message to the transmission data generation processing unit 105 or can acquire received data by referring to the information recording unit 102.

送信装置上で動作するアプリケーションプログラム207は、送信データ生成処理部205に対して送信要求メッセージを送ったり、情報記録部202を参照して受信データを取得することができる。さらに、新規に受信して情報記録部202に記録されるデータを監視し、前記受信データのデータIDが、送受信データ情報1200の要求データ情報1206に存在し、かつ当該データの送信装置リスト1202に自装置が含まる場合、当該データを生成し、送信要求メッセージを送信データ生成処理部205に送信する。   The application program 207 operating on the transmission device can send a transmission request message to the transmission data generation processing unit 205 or can acquire received data by referring to the information recording unit 202. Further, the data newly received and recorded in the information recording unit 202 is monitored, and the data ID of the received data is present in the request data information 1206 of the transmission / reception data information 1200 and is included in the transmission device list 1202 of the data. When the own device is included, the data is generated and a transmission request message is transmitted to the transmission data generation processing unit 205.

以上述べてきたように、本実施例において、要求装置100のAP107が、送信装置200、300、400、500、600、700、800に対してデータ要求を行なう場合に、送信装置200、300、400と、送信装置500、600、700の2回に分けてデータ要求を行なうため、各データ要求に対するレスポンスデータはスイッチングハブのバッファサイズ以下になる。   As described above, in this embodiment, when the AP 107 of the requesting device 100 makes a data request to the transmitting devices 200, 300, 400, 500, 600, 700, 800, the transmitting devices 200, 300, 400 and the transmission devices 500, 600, and 700 perform data requests in two steps, so that the response data for each data request is less than the buffer size of the switching hub.

また、送信装置一台づつにデータ要求を行なう場合に比べて少ない回数のデータ送信要求で済む。
なお、マルチキャストネットワークグループの設定方法は、図3で示した方法に限らず、当該マルチキャストネットワークに割当てた送信装置の送信データサイズの合計が、スイッチングハブのバッファメモリサイズを超えないという条件を満たす方法であればよい。
In addition, a data transmission request can be made a smaller number of times compared to a case where a data request is made for each transmission device.
Note that the multicast network group setting method is not limited to the method shown in FIG. 3, and is a method that satisfies the condition that the total transmission data size of the transmission device allocated to the multicast network does not exceed the buffer memory size of the switching hub. If it is.

たとえば、各送信装置の送信データサイズSxが同じ場合、図7に示すような方法でも良い。以下図7の処理を説明する。   For example, when the transmission data size Sx of each transmission apparatus is the same, a method as shown in FIG. 7 may be used. The process of FIG. 7 will be described below.

まず情報記録部102から自装置情報1000、スイッチングハブ情報1100、送受信データ情報1200、ネットワークグループ情報1300を取得する。(ステップ6001)
自装置情報から自装置IDを取得し、送受信データ情報1200の送信装置リスト1202と受信装置リスト1203を検索し、自装置における送受信データのリストである自装置送受信データ情報1400を生成する。自装置送受信データ情報は、データID1401、当該データが自装置にとって送信データか受信データかを示す送受信種別1402、当該データの送受信に使用するマルチキャストネットワークを示す使用ネットワークリスト1403を含むが、この時点では使用ネットワークリスト1403は未設定である。(ステップ6002)
つづいて前記送受信データ情報1200に設定されている各データに対して、使用するマルチキャストネットワークグループを設定する処理に入る。
First, device information 1000, switching hub information 1100, transmission / reception data information 1200, and network group information 1300 are acquired from the information recording unit 102. (Step 6001)
The own apparatus ID is acquired from the own apparatus information, the transmitting apparatus list 1202 and the receiving apparatus list 1203 of the transmission / reception data information 1200 are searched, and the own apparatus transmission / reception data information 1400 that is a list of transmission / reception data in the own apparatus is generated. The own device transmission / reception data information includes a data ID 1401, a transmission / reception type 1402 indicating whether the data is transmission data or reception data for the own device, and a use network list 1403 indicating a multicast network used for transmission / reception of the data. The used network list 1403 is not set. (Step 6002)
Subsequently, a process for setting a multicast network group to be used for each data set in the transmission / reception data information 1200 is entered.

まず、処理対象データの受信装置数Nを算出し、各装置共通のレスポンスデータのサイズSxを取得し、(ステップ6003)処理に使用する分割数パラメータDivを1に初期化する。(ステップ6004)
図2の例ではN=6、Sx=3000である。
First, the number N of receiving devices of processing target data is calculated, the response data size Sx common to each device is acquired (step 6003), and the division number parameter Div used for processing is initialized to 1. (Step 6004)
In the example of FIG. 2, N = 6 and Sx = 3000.

次に、Nを分割数Divで割った数(小数点切り上げ)に、前記レスポンスデータサイズSxをかけた値Sが、スイッチングハブ情報に含まれるバッファサイズより大きいかどうかを判定する。判定結果がYESの場合は、その際のDivの値をインクリメント(ステップ6006)してステップ6005へ、NOの場合は6007へ遷移する。(ステップ6005)
図2の例では、Div=1では、バッファサイズ10000に対してSは3000×6=18000、Div=2では、Sは3000×(6/2)=9000となり、Div=2でステップ6007に遷移する。
ステップ6007では、NをDivで割った数(小数点切り上げ)毎にマルチキャストグループを設定する。図2の例はN=6、Div=2なので、3装置毎にマルチキャストグループを設定する。送受信データ情報1200の順に選択すると、A,B,CとD,E,Fでそれぞれマルチキャストグループに登録される。マルチキャスト設定処理は既に図4で説明したのと同じである。
Next, it is determined whether or not a value S obtained by multiplying the number obtained by dividing N by the division number Div (rounded up) by the response data size Sx is larger than the buffer size included in the switching hub information. If the determination result is YES, the value of Div at that time is incremented (step 6006) and the process proceeds to step 6005, and if NO, the process proceeds to 6007. (Step 6005)
In the example of FIG. 2, when Div = 1, S is 3000 × 6 = 18000 with respect to the buffer size of 10000, and when Div = 2, S is 3000 × (6/2) = 9000, and Div = 2 and step 6007 is performed. Transition.
In step 6007, a multicast group is set for each number obtained by dividing N by Div (rounded up). In the example of FIG. 2, since N = 6 and Div = 2, a multicast group is set for every three devices. When transmission / reception data information 1200 is selected in this order, A, B, C and D, E, F are registered in the multicast group. The multicast setting process is the same as already described with reference to FIG.

また、ステップ6008はステップ2014と処理は同様で遷移先が、ステップ2015の代わりにステップ6009、2016の代わりにステップ6010となる。
ステップ6009はステップ2015と処理は同様で遷移先がステップ6003となる。
ステップ6010はステップ2016と同様である。
Further, step 6008 is the same as step 2014, and the transition destination is step 6009 instead of step 2015 and step 6010 instead of step 2015.
Step 6009 is the same as step 2015 and the transition destination is step 6003.
Step 6010 is the same as Step 2016.

本発明は、マルチキャスト通信装置に適用可能である。   The present invention is applicable to a multicast communication device.

本発明の実施例のシステム構成図System configuration diagram of an embodiment of the present invention 本発明の実施例の情報記録部102および202に記録されるデータ送受信に関わる設定情報を示す図The figure which shows the setting information regarding the data transmission / reception recorded on the information recording parts 102 and 202 of the Example of this invention. 本発明の実施例のマルチキャスト設定処理部の処理フローを示す図The figure which shows the processing flow of the multicast setting process part of the Example of this invention. 本発明の実施例のマルチキャストグループ設定処理の処理フローを示す図The figure which shows the processing flow of the multicast group setting process of the Example of this invention. 本発明の実施例の送信処理部の処理フローを示す図The figure which shows the processing flow of the transmission process part of the Example of this invention. 本発明の実施例の受信処理部の処理フローを示す図The figure which shows the processing flow of the reception process part of the Example of this invention. 本発明の実施例のマルチキャスト設定処理部の別の処理フローを示す図The figure which shows another processing flow of the multicast setting process part of the Example of this invention.

符号の説明Explanation of symbols

100要求装置
200、300、400、500、600送信装置
300ネットワークスイッチングハブ
1000自装置情報
1100スイッチングハブ情報
1200送受信データ情報
1300ネットワークグループ情報
1400装置Sの自装置送受信データ情報
1400A装置Aの自装置送受信データ情報
100 request apparatus 200, 300, 400, 500, 600 transmission apparatus 300 network switching hub 1000 own apparatus information 1100 switching hub information 1200 transmission / reception data information 1300 network group information 1400 own apparatus transmission / reception data information 1400A apparatus A own transmission / reception Data information

Claims (11)

スイッチングハブによって相互にネットワーク接続された少なくとも2台以上の送信側情報処理装置を含む情報処理装置群と、前記情報処理装置群に対してデータ送信を要求する要求側情報処理装置とを備えたデータ通信システムにおいて、
前記要求側情報処理装置は、前記情報処理装置群を2つ以上のマルチキャストネットワークグループに分割し、前記マルチキャストネットワークグループ単位で順にデータ送信を要求することを特徴とするデータ通信システム。
Data comprising an information processing device group including at least two or more transmission-side information processing devices connected to each other via a switching hub, and a request-side information processing device that requests data transmission to the information processing device group In a communication system,
The request information processing apparatus divides the information processing apparatus group into two or more multicast network groups, and requests data transmission in order of the multicast network group.
請求項1記載のデータ通信システムにおいて、
前記マルチキャストネットワークグループに含まれる送信側情報処理装置の送信するデータサイズの合計が、前記スイッチングハブのバッファメモリサイズ以下であることを特徴とするデータ通信システム。
The data communication system according to claim 1, wherein
A data communication system, characterized in that a total of data sizes transmitted by transmission side information processing devices included in the multicast network group is equal to or smaller than a buffer memory size of the switching hub.
スイッチングハブによって相互にネットワーク接続された少なくとも2台以上の情報処理装置を含む情報処理装置群と、前記情報処理装置群に対してデータ送信を要求する情報処理装置とを備えたデータ通信システムにおいて、
各情報処理装置は、
スイッチングハブのバッファメモリサイズと、当該データ通信システムにおいて送受信される送信対象データの送信側情報処理装置と受信側情報処理装置の情報とデータサイズと、当該送信対象データの送信を指示する送信指示データに関する情報を記憶する記憶装置と、
前記送信対象データの送信を指示する送信指示データを受信する、送信対象データの送信側情報処理装置が複数ある場合、送信側情報処理装置を2つ以上のマルチキャストグループに割り当てる設定処理部と、
前記2つ以上のマルチキャストグループ単位で前記送信対象データの送信を指示する送信指示データを送信する送信処理部とを備えたことを特徴とするデータ通信システム。
In a data communication system comprising an information processing device group including at least two or more information processing devices connected to each other via a switching hub, and an information processing device that requests data transmission to the information processing device group,
Each information processing device
The buffer memory size of the switching hub, the information and data size of the transmission side information processing device and the reception side information processing device of transmission target data transmitted and received in the data communication system, and the transmission instruction data instructing transmission of the transmission target data A storage device for storing information about,
When the receiving transmission instruction data that instructs the transmission of the transmission target data, there are a plurality of transmitting information processing apparatus of the transmission target data, and the setting processing unit that allocates a transmission side information processing apparatus to more than one multicast group,
A data communication system comprising: a transmission processing unit that transmits transmission instruction data instructing transmission of the transmission target data in units of the two or more multicast groups.
請求項3記載のデータ通信システムにおいて、
前記設定処理部は、前記送信対象データの送信側情報処理装置の送信データのサイズの合計が前記スイッチングハブのバッファメモリサイズより小さくなるように、前記マルチキャストグループ単位で前記送信側情報処理装置を割り当てることを特徴とするデータ通信システム。
The data communication system according to claim 3, wherein
The setting processing unit allocates the transmission side information processing device in units of the multicast group so that a total size of transmission data of the transmission side information processing device of the transmission target data is smaller than a buffer memory size of the switching hub. A data communication system.
ネットワークを介して相互に通信可能な複数の情報処理装置を備え、要求側情報処理装置からの要求に対してN台(Nは2以上の整数)の送信側情報処理装置が応答するデータ通信システムにおいて、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記送信側情報処理装置の応答データを格納するメモリのサイズ以下である場合に、前記要求側情報処理装置が前記N台の送信側情報処理装置に対して要求データを送信し、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記メモリのサイズよりも大きい場合に、前記送信側情報処理装置の台数M(Mは1以上Nよりも小さい整数)と前記応答データのサイズとの積算値が前記メモリのサイズ以下になるように、前記N台の送信側情報処理装置をM台ごとのグループに分割し、前記要求側情報処理装置が前記グループ単位で順次、前記要求データを送信することを特徴とするデータ通信システム。
A data communication system that includes a plurality of information processing devices that can communicate with each other via a network, and that N (N is an integer of 2 or more) transmission side information processing devices respond to requests from the request side information processing devices In
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is equal to or smaller than the size of the memory storing the response data of the transmission side information processing device, the request side information processing device Send request data to N sending side information processing devices,
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is larger than the size of the memory, the number M of transmission side information processing devices (M is an integer that is 1 or more and smaller than N) ) And the response data size is equal to or smaller than the size of the memory, the N transmission side information processing devices are divided into groups of M units, and the request side information processing device A data communication system, wherein the request data is transmitted sequentially in units.
請求項5記載のデータ通信システムにおいて、
前記メモリは、前記複数の情報処理装置間の通信を中継するスイッチングハブ内のバッファメモリであることを特徴とするデータ通信システム。
The data communication system according to claim 5, wherein
The data communication system, wherein the memory is a buffer memory in a switching hub that relays communication between the plurality of information processing apparatuses.
請求項5または6記載のデータ通信システムにおいて、
前記要求側情報処理装置は、マルチキャスト通信により、前記N台の送信側情報処理装置に対して前記要求データを送信することを特徴とするデータ通信システム。
The data communication system according to claim 5 or 6,
The request side information processing apparatus transmits the request data to the N transmission side information processing apparatuses by multicast communication.
請求項5から7の何れか記載のデータ通信システムにおいて、
前記要求側情報処理装置は、前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記メモリのサイズ以下であるか否かを判定する手段を備えることを特徴とするデータ通信システム。
The data communication system according to any one of claims 5 to 7,
The request side information processing apparatus includes means for determining whether an integrated value of the number N of the transmission side information processing apparatuses and the size of the response data is equal to or smaller than the size of the memory. Data communication system.
請求項8記載のデータ通信システムにおいて、
前記要求側情報処理装置および前記N台の送信側情報処理装置の各々は、前記メモリのサイズと、当該データ通信システムにおいて送受信される各データの送信側情報処理装置と受信側情報処理装置のリストと、当該データ通信システムにおいて送受信される各データのサイズと、当該データ通信システムにおいて送受信される各データを要求するための要求データのIDとを記憶する記憶装置を備え、
前記要求側情報処理装置の前記判定する手段は、前記記憶装置内の前記送信側情報処理装置と受信側情報処理装置のリストを参照し、自装置が前記送信側情報処理装置のリストに含まれ、かつ、前記受信側情報処理装置のリストに含まれる前記受信側情報処理装置がN台である場合に、前記記憶装置内の前記メモリのサイズと前記データのサイズを参照して、前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記メモリのサイズ以下であるか否かを判定することを特徴とするデータ通信システム。
The data communication system according to claim 8,
Each of the request side information processing device and the N transmission side information processing devices includes a size of the memory and a list of a transmission side information processing device and a reception side information processing device for each data transmitted and received in the data communication system. And a storage device for storing the size of each data transmitted / received in the data communication system and the ID of request data for requesting each data transmitted / received in the data communication system,
The determining means of the requesting information processing device refers to the list of the transmitting information processing device and the receiving information processing device in the storage device, and the own device is included in the list of the transmitting information processing device. And when there are N receiving side information processing devices included in the list of receiving side information processing devices, the size of the memory in the storage device and the size of the data are referred to, and the transmitting side A data communication system characterized by determining whether an integrated value of the number N of information processing devices and the size of the response data is equal to or smaller than the size of the memory.
ネットワークを介して相互に通信可能な複数の情報処理装置を備え、要求側情報処理装置からの要求に対してN台(Nは2以上の整数)の送信側情報処理装置が応答するデータ通信システムによって実行されるデータ通信方法において、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記送信側情報処理装置の応答データを格納するメモリのサイズ以下である場合に、前記要求側情報処理装置が前記N台の送信側情報処理装置に対して要求データを送信し、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記メモリのサイズよりも大きい場合に、前記送信側情報処理装置の台数M(Mは1以上Nよりも小さい整数)と前記応答データのサイズとの積算値が前記メモリのサイズ以下になるように、前記N台の送信側情報処理装置をM台ごとのグループに分割し、前記要求側情報処理装置が前記グループ単位で順次、前記要求データを送信することを特徴とするデータ通信方法。
A data communication system that includes a plurality of information processing devices that can communicate with each other via a network, and that N (N is an integer of 2 or more) transmission side information processing devices respond to requests from the request side information processing devices In the data communication method executed by
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is equal to or smaller than the size of the memory storing the response data of the transmission side information processing device, the request side information processing device Send request data to N sending side information processing devices,
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is larger than the size of the memory, the number M of transmission side information processing devices (M is an integer that is 1 or more and smaller than N) ) And the response data size is equal to or smaller than the size of the memory, the N transmission side information processing devices are divided into groups of M units, and the request side information processing device A data communication method, wherein the request data is transmitted sequentially in units.
ネットワークを介して相互に通信可能な複数の情報処理装置を備え、要求側情報処理装置からの要求に対してN台(Nは2以上の整数)の送信側情報処理装置が応答するデータ通信システムにおける前記情報処理装置において、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記送信側情報処理装置の応答データを格納するメモリのサイズ以下である場合に、前記N台の送信側情報処理装置に対して要求データを送信し、
前記送信側情報処理装置の台数Nと前記応答データのサイズとの積算値が、前記メモリのサイズよりも大きい場合に、前記送信側情報処理装置の台数M(Mは1以上Nよりも小さい整数)と前記応答データのサイズとの積算値が前記メモリのサイズ以下になるように、前記N台の送信側情報処理装置をM台ごとのグループに分割し、前記グループ単位で順次、前記要求データを送信することを特徴とする情報処理装置。
A data communication system that includes a plurality of information processing devices that can communicate with each other via a network, and that N (N is an integer of 2 or more) transmission side information processing devices respond to requests from the request side information processing devices In the information processing apparatus in
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is equal to or smaller than the size of the memory storing the response data of the transmission side information processing device, the N transmission side information processing devices Send request data to the device,
When the integrated value of the number N of the transmission side information processing devices and the size of the response data is larger than the size of the memory, the number M of transmission side information processing devices (M is an integer that is 1 or more and smaller than N) ) And the response data size is equal to or smaller than the size of the memory, the N transmission side information processing devices are divided into groups of M units, and the request data An information processing apparatus characterized by transmitting
JP2008212373A 2008-08-21 2008-08-21 Data communication system, data communication method, and information processing apparatus constituting data communication system Expired - Fee Related JP5047099B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008212373A JP5047099B2 (en) 2008-08-21 2008-08-21 Data communication system, data communication method, and information processing apparatus constituting data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008212373A JP5047099B2 (en) 2008-08-21 2008-08-21 Data communication system, data communication method, and information processing apparatus constituting data communication system

Publications (2)

Publication Number Publication Date
JP2010050670A JP2010050670A (en) 2010-03-04
JP5047099B2 true JP5047099B2 (en) 2012-10-10

Family

ID=42067408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008212373A Expired - Fee Related JP5047099B2 (en) 2008-08-21 2008-08-21 Data communication system, data communication method, and information processing apparatus constituting data communication system

Country Status (1)

Country Link
JP (1) JP5047099B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5636995B2 (en) * 2011-02-07 2014-12-10 セイコーエプソン株式会社 Network communication apparatus, method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4957949B2 (en) * 2006-03-29 2012-06-20 アイシン精機株式会社 Tire pressure monitoring system
JP4229170B2 (en) * 2006-11-07 2009-02-25 カシオ計算機株式会社 Information processing system and program thereof

Also Published As

Publication number Publication date
JP2010050670A (en) 2010-03-04

Similar Documents

Publication Publication Date Title
EP2904745B1 (en) Method and apparatus for accelerating forwarding in software-defined networks
CN111682952B (en) On-demand probing for quality of experience metrics
US20210274375A1 (en) Time-Sensitive Networking Communication Method and Apparatus
US11303553B1 (en) Return path trace
WO2020023115A1 (en) Task offloading and routing in mobile edge cloud networks
WO2019134383A1 (en) Method for controlling network congestion, access device, and computer readable storage medium
WO2016045098A1 (en) Switch, controller, system and link quality detection method
CN112187647B (en) Message forwarding method, message forwarding equipment and computer readable storage medium
JP6265058B2 (en) Network transmission system, its master node, slave node
WO2018036173A1 (en) Network load balancing method, device and system
US20220263681A1 (en) Methods and systems for transmitting and receiving data packets through a bonded connection
JP6968990B2 (en) Methods and equipment for determining quality of service, as well as programs
WO2016045056A1 (en) Switch and service request packet processing method
JP5673057B2 (en) Congestion control program, information processing apparatus, and congestion control method
CN109728968B (en) Method, related equipment and system for obtaining target transmission path
WO2021098425A1 (en) Qos policy method, device, and computing device for service configuration
WO2015124015A1 (en) Data packet forwarding method and device
JP5047099B2 (en) Data communication system, data communication method, and information processing apparatus constituting data communication system
WO2022183879A1 (en) Packet forwarding method, electronic device, and storage medium
CN111917624B (en) Method and system for transmitting control information in VXLAN transmission
CN108650179B (en) Method for configuring forwarding table, forwarding device and computer readable storage medium
US10367725B2 (en) Network programming
JP5915755B2 (en) Information processing device
US8817638B2 (en) Method and system for network communications utilizing shared scalable resources
WO2023109672A1 (en) Service processing method, apparatus, and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120529

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

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

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

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees