JP5320571B2 - Internode data response system - Google Patents

Internode data response system Download PDF

Info

Publication number
JP5320571B2
JP5320571B2 JP2009097192A JP2009097192A JP5320571B2 JP 5320571 B2 JP5320571 B2 JP 5320571B2 JP 2009097192 A JP2009097192 A JP 2009097192A JP 2009097192 A JP2009097192 A JP 2009097192A JP 5320571 B2 JP5320571 B2 JP 5320571B2
Authority
JP
Japan
Prior art keywords
data
response
original data
node
packet
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.)
Active
Application number
JP2009097192A
Other languages
Japanese (ja)
Other versions
JP2010251911A (en
Inventor
勝広 増野
Original Assignee
島津システムソリューションズ株式会社
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 島津システムソリューションズ株式会社 filed Critical 島津システムソリューションズ株式会社
Priority to JP2009097192A priority Critical patent/JP5320571B2/en
Publication of JP2010251911A publication Critical patent/JP2010251911A/en
Application granted granted Critical
Publication of JP5320571B2 publication Critical patent/JP5320571B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、コンピュータ通信システムにおけるノード間のデータ応答方法に関する。より詳細には、データ通信ネットワークにおいて、あるノードから分割パケットの形態でデータが送信され、該パケットを受信したノードから応答パケットが送信されるような場合に、データ応答の時間短縮を図ることが可能なデータ応答方法に関する。   The present invention relates to a data response method between nodes in a computer communication system. More specifically, in a data communication network, when data is transmitted in the form of a divided packet from a certain node and a response packet is transmitted from a node that has received the packet, the data response time can be reduced. It relates to possible data response methods.

コンピュータ技術の止むことのない発展およびネットワークシステムの一般化とともに、通信ネットワーク技術の向上を目的とした研究が絶え間なく行われており、様々な技術が開示されている(例えば特許文献1参照)。   Along with the continuous development of computer technology and the generalization of network systems, research aimed at improving communication network technology has been constantly carried out, and various technologies have been disclosed (for example, see Patent Document 1).

マスタ−スレーブ方式やトークンバスなどを利用したコンピュータ通信システムにおいては、他のノードからデータを受信したことをきっかけとして、自ノード(すなわち、データを受信したノードのこと)がデータを送信(転送を含む)することがよくある。
このとき、IPフラグメンテーションなどによってデータが分割される場合には、自ノードでは例えば以下のようなステップで処理が行われる。
In a computer communication system using a master-slave method or a token bus, the local node (that is, a node that has received data) transmits data (transfers data) triggered by reception of data from another node. Often).
At this time, when data is divided by IP fragmentation or the like, processing is performed in the following steps, for example, in the own node.

ステップ1:送信元のノードから送信された、分割されたパケット(これを分割パケットと呼ぶ)を順次受信する。
ステップ2:各分割パケットごとにチェックサムを検査することで、データの信頼性を確認する。
ステップ3:全ての分割パケットの受信が完了すると、全体を結合し、元のデータパケット(元データパケット)を復元する。
ステップ4:元データパケットのチェックサムを検査することで、元データパケット全体の信頼性を確認する。
ステップ5:元データパケットのフォーマットを検査し、エラーが無いことを確認する。
ステップ6:元データパケットの内容に基づき、応答を行うべきか否かを判断する。
ステップ7:前記ステップ6において応答が必要と判断した場合、所定のデータを送信する。
ステップ8:元データパケットに含まれるデータのうち、必要な情報を自ノードの記憶手段に保存する。
Step 1: The divided packets (this are called divided packets) transmitted from the transmission source node are sequentially received.
Step 2: Data reliability is confirmed by checking the checksum for each divided packet.
Step 3: When reception of all the divided packets is completed, the whole is combined and the original data packet (original data packet) is restored.
Step 4: The reliability of the entire original data packet is confirmed by checking the checksum of the original data packet.
Step 5: Check the format of the original data packet and confirm that there are no errors.
Step 6: It is determined whether a response should be made based on the contents of the original data packet.
Step 7: If it is determined in step 6 that a response is necessary, predetermined data is transmitted.
Step 8: Necessary information among the data included in the original data packet is stored in the storage means of the own node.

特開2006-236391号公報JP 2006-236391 A

一つのネットワークに多数のノードが接続されており、各ノードに対して順次何らかの問い合わせ処理を行う場合などには、各ノードの応答時間をできるだけ短くすることが要求される。しかしながら、各ノードの処理速度を上げたり、ネットワークの通信速度を上げたりすることには、かなりのコストが掛かるという問題がある。   When a large number of nodes are connected to one network, and when some sort of inquiry processing is sequentially performed on each node, it is required to shorten the response time of each node as much as possible. However, increasing the processing speed of each node or increasing the communication speed of the network has a problem that a considerable cost is required.

上記課題を解決するために成された本発明に係るノード間データ応答システムは、
複数のノードが接続されたネットワークにおいて、送信ノードが受信ノードに対して元データを分割パケットとして送信し、該元データを受信した受信ノードが該元データに対する応答データを必要に応じて該送信ノードに対して送信するシステムにおいて、
前記送信ノードが、
前記元データへの応答に必要な情報である応答情報が先頭の分割パケットに含まれるように元データのフォーマットを設定するフォーマット設定部を備え、
前記受信ノードが、
該先頭の分割パケットを受信した段階で、該分割パケットに含められている前記応答情報を読み取り、該応答情報に基づき、予め定められた応答データ送信処理を実行するデータ応答部を備える
ことを特徴とする。
An internode data response system according to the present invention, which has been made to solve the above problems,
In a network in which a plurality of nodes are connected, a transmitting node transmits original data as a divided packet to a receiving node, and a receiving node that has received the original data transmits response data for the original data as necessary. In the system that sends to
The sending node is
A format setting unit that sets the format of the original data so that response information, which is information necessary for a response to the original data, is included in the first divided packet;
The receiving node is
A data response unit that reads the response information included in the fragmented packet when the leading fragmented packet is received, and executes a predetermined response data transmission process based on the response information. And

本発明に係るノード間データ応答システムは、次のような知見に基づいてなされた。即ち、従来のデータ応答方式では、応答を行うべきか否かの判断(上記ステップ6)を実行するまでに、全ての分割パケットを順次受信し(上記ステップ1)、各分割パケットのチェックサムを検査し(上記ステップ2)、元のデータパケットを復元し(上記ステップ3)、元データパケットのチェックサムを検査する(上記ステップ4)という4つのステップを実行しなければならなかった。とりわけ、元データパケットのサイズが大きい場合には、分割パケットの数が多くなり、必然的にステップ1及びステップ2に時間がかかる。
そこで、送信ノードから元データを分割パケットに分割して送信する際に、元データへの応答要否及び応答に必要な情報である応答情報が、先頭の(すなわち、最初に送出される)分割パケットに含められるようにする。受信ノード側では、先頭の分割パケットを受信しただけで、つまり全ての分割データを受信して元データを復元することなく、まず、必要な応答処理を実行する。これによって、応答までに要する時間の大幅な短縮を行うことができる。
なお、一般的に、分割パケットは送信側から送信された順に受信側で受信されるとは限らない。とはいえ、本発明の構成によれば、先頭の分割パケットが最後に受信された場合(この場合は応答時間が短縮されない)以外は、応答に要する時間が短縮される。
The internode data response system according to the present invention has been made based on the following knowledge. That is, in the conventional data response method, all the divided packets are sequentially received (step 1) until the determination of whether or not to respond (step 6) is executed, and the checksum of each divided packet is calculated. The four steps of checking (step 2 above), restoring the original data packet (step 3 above), and checking the checksum of the original data packet (step 4 above) had to be performed. In particular, when the size of the original data packet is large, the number of divided packets increases, so that steps 1 and 2 necessarily take time.
Therefore, when the original data is divided into divided packets and transmitted from the transmission node, whether the response to the original data is necessary and the response information, which is information necessary for the response, is the first (that is, sent first) division Be included in the packet. On the receiving node side, only the first divided packet is received, that is, the necessary response processing is executed first without receiving all the divided data and restoring the original data. As a result, the time required for response can be greatly reduced.
In general, the divided packets are not necessarily received at the receiving side in the order of transmission from the transmitting side. However, according to the configuration of the present invention, the time required for the response is shortened except when the first divided packet is received last (in this case, the response time is not shortened).

ネットワークの種類によっては、上りと下りのデータを同時に送信することができない(半二重通信)。この場合には、データ応答部が、全ての分割パケットを受信した後であって、全ての分割パケットから元データを再構築する前に、先頭の分割パケットに含められている前記応答情報に基づき、予め定められた応答データ送信処理を実行するようにすれば良い。   Depending on the type of network, uplink and downlink data cannot be transmitted simultaneously (half-duplex communication). In this case, after the data response unit has received all the divided packets and before reconstructing the original data from all the divided packets, it is based on the response information included in the first divided packet. Then, a predetermined response data transmission process may be executed.

また、本発明に係るノード間データ応答システムでは、処理の信頼性を確保するために、データ応答部が応答データ送信処理を行う前に、少なくとも前記先頭分割パケットに含まれる応答情報に誤りが無いか否かを検査する先頭エラー検査部を更に設けるのが望ましい。   In the inter-node data response system according to the present invention, there is no error in at least the response information included in the head divided packet before the data response unit performs the response data transmission process in order to ensure the reliability of the process. It is desirable to further provide a head error checking part for checking whether or not.

なお、本発明において「ノード」はサーバ、コンピュータ、ハブ、リンクなどに限定されることはなく、通信機能を備えたあらゆる機器を含む。
また、本発明において「パケット」は、IPパケットに限らず、フレームやセグメント等の、コンピュータ間の通信に使用される、データ送信に用いられるあらゆる単位を包含するものとする。
In the present invention, the “node” is not limited to a server, a computer, a hub, a link, or the like, but includes any device having a communication function.
In the present invention, the “packet” is not limited to an IP packet, but includes any unit used for data transmission, such as a frame or a segment, used for communication between computers.

本発明に係るデータ応答システムによれば、複数送られてくる分割パケットのうち、最初のものを受信した時点で応答を行うことが可能となる。従って、元データのサイズにかかわりなく、また、受信ノードのCPUの処理能力に大きく依存することなく、迅速に必要な応答処理を行うことが可能となる。よって、システム全体としての処理速度を上昇させることが可能となる。   According to the data response system of the present invention, a response can be made when the first one of the plurality of divided packets received is received. Therefore, the necessary response processing can be performed promptly regardless of the size of the original data and without greatly depending on the processing capability of the CPU of the receiving node. Therefore, it is possible to increase the processing speed of the entire system.

本発明に係るデータ応答システムの一実施形態を示す模式図。The schematic diagram which shows one Embodiment of the data response system which concerns on this invention. 本実施形態のおけるマスタ/スレーブ間の伝送フォーマットの模式図。The schematic diagram of the transmission format between the master / slave in this embodiment. 分割パケットの例。Example of fragmented packet. スレーブにおける処理の一例を示すフローチャート(全二重ネットワークの場合)。The flowchart which shows an example of the process in a slave (in the case of a full duplex network). スレーブにおける処理の一例を示すフローチャート(半二重ネットワークの場合)。The flowchart which shows an example of the process in a slave (in the case of a half duplex network).

以下、本発明に係るノード間データ応答システムについて、図面を参照しつつ詳細に説明する。図1は、本発明に係るノードデータ応答システムの一実施形態を示す模式図である。   Hereinafter, an inter-node data response system according to the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing an embodiment of a node data response system according to the present invention.

図1におけるノードデータ応答システム1は、Ethernet(登録商標)UDP/IPで通信を行うマスタ・スレーブ型の通信システムを採用している。1台のマスタ2(本発明における送信ノード)にn台のスレーブ4、、8、…(本発明における受信ノード)を接続して1:nの通信を行う。このとき、
・マスタ2からi番目のスレーブに対して元データを送信する。
・元データを受信したi番目の受信ノードがマスタ2に対して応答データを送信する。
の2つのシーケンスがスレーブの台数分(n)だけ繰り返される。
The node data response system 1 in FIG. 1 employs a master / slave communication system that performs communication using Ethernet (registered trademark) UDP / IP. The n slaves 4, 7 , 8,... (Receiving nodes in the present invention) are connected to one master 2 (transmitting node in the present invention) to perform 1: n communication. At this time,
The original data is transmitted from the master 2 to the i-th slave.
The i-th receiving node that has received the original data transmits response data to the master 2.
These two sequences are repeated for the number of slaves (n).

マスタ2には送信ノード用プログラムがインストールされており、マスタ2のCPUがこの送信ノード用プログラムを実行することにより、フォーマット設定部3がソフトウエア的に具現化される。
一方、各スレーブ4、7、8、…には、受信ノード用プログラムがインストールされており、各スレーブのCPUがこの受信ノード用プログラムを実行することにより、データ応答部5、及び先頭エラー検査部6がソフトウエア的に具現化される。
A transmission node program is installed in the master 2, and the format setting unit 3 is realized in software by the CPU of the master 2 executing the transmission node program.
On the other hand, a reception node program is installed in each of the slaves 4, 7, 8,..., And the data response unit 5 and the head error checking unit are executed when the CPU of each slave executes the reception node program. 6 is implemented in software.

データ通信を行う場合、通常、元データが一定のサイズより大きい場合にはそれを所定のサイズに分割し、それぞれが所定のフォーマットを有する複数の分割パケットが作成される。パケットの分割方法は通常、予め定められている通信プロトコルの仕様によって定められている。そこで、本発明においては、フォーマット設定部3が、元データが分割された結果として作成される複数の分割パケットのうち、先頭の分割パケットに元データへの応答に必要な情報である応答情報が含まれるように、元データのフォーマットを設定する(元データの形式を整える)。
応答情報は具体的には、スレーブからマスタに対するデータ送信の要否、応答データの送信先(送信元ノード番号)、要求するデータの内容、等である。
When performing data communication, usually, when the original data is larger than a certain size, it is divided into a predetermined size, and a plurality of divided packets each having a predetermined format are created. The packet dividing method is usually determined by the specification of a predetermined communication protocol. Therefore, in the present invention, the format setting unit 3 includes response information that is information necessary for a response to the original data in the first divided packet among the plurality of divided packets created as a result of dividing the original data. The format of the original data is set so as to be included (the format of the original data is adjusted).
Specifically, the response information includes the necessity of data transmission from the slave to the master, the transmission destination (transmission source node number) of the response data, the content of the requested data, and the like.

ここで、マスタ/スレーブ間の伝送フォーマット(UDPパケット)は図2に示すように規定されるものとする。
すなわち、送信元ポート番号、送信先ポート番号、UDPデータ長、UDPチェックサムから成るUDPヘッダ部と、送信元ノード番号(マスタノード番号)、送信先ノード番号(スレーブノード番号)、コマンド番号、マスタからスレーブへの伝送データ、から成るUDPデータ部から成るUDPパケットである。
本実施形態の場合、送信元ノード番号、送信先ノード番号、コマンド番号が応答情報に相当し、コマンド番号によってデータ送信の要否及び応答データの内容が指示される。
Here, it is assumed that the transmission format (UDP packet) between the master and the slave is defined as shown in FIG.
That is, a UDP header part including a transmission source port number, a transmission destination port number, a UDP data length, and a UDP checksum, a transmission source node number (master node number), a transmission destination node number (slave node number), a command number, a master This is a UDP packet consisting of a UDP data part consisting of transmission data from the slave to the slave.
In this embodiment, the transmission source node number, the transmission destination node number, and the command number correspond to response information, and the necessity of data transmission and the content of response data are instructed by the command number.

本実施例では、元データが図3に示すように、[A]、[B]、[C]の3つの分割パケットに分割されるものとする。それぞれの分割パケットがEthernetヘッダ部、データ部、エラーチェック用のFCS(Frame Check Sequence)部の3領域から構成されるが、このうち、先頭の分割パケットである分割パケット[A]には、フォーマット設定部3の上述した働きの結果、データ部に応答情報として、送信元ノード番号、送信先ノード番号、コマンド番号が含められる。分割パケット[A]のデータ部には伝送データ(即ちデータの本体)も含められている。一方、分割パケット[B]、[C]のデータ部には伝送データのみが含められている。マスタ2がスレーブ4に対して分割パケットを送信する場合には、分割パケット[A]、[B]、[C]の順に、ネットワークNに対して送出する。   In this embodiment, it is assumed that the original data is divided into three divided packets [A], [B], and [C] as shown in FIG. Each fragmented packet is composed of three areas: the Ethernet header part, the data part, and the error check FCS (Frame Check Sequence) part. Of these, the first fragmented packet [A] contains the format As a result of the above-described operation of the setting unit 3, a transmission source node number, a transmission destination node number, and a command number are included as response information in the data unit. Transmission data (that is, the data body) is also included in the data portion of the divided packet [A]. On the other hand, only the transmission data is included in the data part of the divided packets [B] and [C]. When the master 2 transmits a divided packet to the slave 4, the packet is transmitted to the network N in the order of the divided packets [A], [B], and [C].

以下、スレーブ4における処理の例を説明する。まず、ネットワークNが上りと下りのデータを同時に送信することができる、いわゆる全二重通信が可能なネットワークである場合について説明する。   Hereinafter, an example of processing in the slave 4 will be described. First, a case where the network N is a network capable of transmitting uplink and downlink data at the same time and capable of so-called full-duplex communication will be described.

[全二重通信ネットワークの場合]
次に、スレーブ4における処理の一例をフローチャートである図4を参照しつつ説明する。分割パケット[A]を受信すると(ステップS11)、先頭エラー検査部6は直ちに、分割パケット[A]に含められているFCSに基づき、チェックサムによる分割パケット[A]のエラー検査を実行する(ステップS1)。このときエラー検査部6は、分割パケット[A]全体のエラー検査を実行しても良いが、応答情報のみを対象としたエラー検査を行ってもよい。後者には処理時間を短縮できるというメリットがある。
[For full-duplex communication network]
Next, an example of processing in the slave 4 will be described with reference to FIG. 4 which is a flowchart. When the fragment packet [A] is received (step S11), the head error checking unit 6 immediately executes an error check on the fragment packet [A] using the checksum based on the FCS included in the fragment packet [A] ( Step S1 2 ). At this time, the error checking unit 6 may perform an error check on the entire divided packet [A], but may perform an error check on only response information. The latter has the advantage that the processing time can be shortened.

先頭エラー検査部6の検査の結果、分割パケット[A]が正常であることが確認されると(ステップS12でYes)、データ応答部5は分割パケット[A]に含められている送信元ノード番号、送信先ノード番号、コマンド番号を読み取り(ステップS13)、この応答情報に基づき、必要なデータをマスタ2に対して送信する(ステップS14)。
前記ステップS12において分割パケット[A]にエラーが検出された場合には(ステップS12でNo)、分割パケット[A]を破棄し、処理を終了する。又はマスタ2に対してエラー報告やデータ再送要求を送信することもできる。
As a result of the inspection by the head error checking unit 6, when it is confirmed that the divided packet [A] is normal (Yes in step S12), the data response unit 5 transmits the source node included in the divided packet [A]. The number, the destination node number, and the command number are read (step S13), and necessary data is transmitted to the master 2 based on the response information (step S14).
If an error is detected in the fragment packet [A] in step S12 (No in step S12), the fragment packet [A] is discarded and the process ends. Alternatively, an error report or a data retransmission request can be transmitted to the master 2.

その後、スレーブ4は、分割パケット[B]、[C]を受信し、それぞれの分割パケットのエラーチェックを実行する(ステップS15)。分割パケット[B]及び[C]が正常であれば、全ての分割パケット[A]、[B]、[C]を結合し、元データを復元する。また、復元された元データのエラーチェックを行う(ステップS16)。エラーが検出されなかった場合には、元データのうち、所定のデータをスレーブ4の記憶領域に保存し(ステップS17)、処理が終了する。   Thereafter, the slave 4 receives the divided packets [B] and [C], and executes an error check of each divided packet (step S15). If the divided packets [B] and [C] are normal, all the divided packets [A], [B], and [C] are combined to restore the original data. Further, an error check is performed on the restored original data (step S16). If no error is detected, predetermined data of the original data is stored in the storage area of the slave 4 (step S17), and the process ends.

なお、図4には示していないが、ステップS15又はS16においてエラーが検出された場合には、処理を終了するとともに、マスタ2に対してエラー報告やデータ再送要求を送信する。   Although not shown in FIG. 4, when an error is detected in step S15 or S16, the process is terminated and an error report or a data retransmission request is transmitted to the master 2.

スレーブ4から応答データを受信したマスタ2は、対象を次のスレーブ7に移し、該スレーブ7に対しても同様に、分割パケットを、分割パケット[A]、[B]、[C]の順に送出する。スレーブ7も、スレーブ4と同様の処理を行う。   The master 2 that has received the response data from the slave 4 moves the target to the next slave 7, and similarly for the slave 7, the divided packets are divided in the order of the divided packets [A], [B], and [C]. Send it out. The slave 7 performs the same processing as the slave 4.

以上のように、本実施例に係るノード間データ応答システム1では、分割パケットを全て受信し、各分割パケットのエラーチェックを行い、分割パケットから元データを復元し、元データのエラーチェックを行うという処理を行う前に、マスタに対して応答データを送信する処理が行われる。よって、マスタに対して必要な応答データを送信する処理の短時間化が図られる。   As described above, in the inter-node data response system 1 according to the present embodiment, all the divided packets are received, the error check of each divided packet is performed, the original data is restored from the divided packet, and the error check of the original data is performed. Before performing the process, a process for transmitting response data to the master is performed. Therefore, it is possible to shorten the processing time for transmitting necessary response data to the master.

[半二重通信ネットワークの場合]
次に、ネットワークNが、上りと下りのデータを同時に送信することが不可能な、いわゆる半二重通信のネットワークである場合の、スレーブ4の処理の例をフローチャートである図5を参照しつつ説明する。半二重通信ネットワークの場合でも、マスタ2の動作は上述した通りである。
[For half-duplex communication network]
Next, referring to FIG. 5 which is a flowchart showing an example of processing of the slave 4 when the network N is a so-called half-duplex communication network incapable of transmitting uplink and downlink data simultaneously. explain. Even in the case of a half-duplex communication network, the operation of the master 2 is as described above.

まず、スレーブ4において、全ての分割パケット[A]、[B]、[C]を受信する(ステップS21)。次に、先頭エラー検査部6が、先頭の分割パケットである分割パケット[A]のみのエラーチェックを行う(ステップS22)。エラーが検出された場合には(ステップS22のNo)全ての分割パケットを破棄し、処理を終了する。同時に、マスタ2に対してエラー報告やデータ再送要求を送信することもできる。   First, the slave 4 receives all the divided packets [A], [B], and [C] (step S21). Next, the head error checking unit 6 performs an error check on only the divided packet [A] which is the first divided packet (step S22). If an error is detected (No in step S22), all the divided packets are discarded, and the process ends. At the same time, an error report and a data retransmission request can be transmitted to the master 2.

分割パケット[A]が正常であった場合(ステップS22でYes)、データ応答部5は分割パケット[A]に含められている送信元ノード番号、送信先ノード番号、コマンド番号を読み取り(ステップS23)、この応答情報に基づき、必要なデータをマスタ2に対して送信する(ステップS24)。   If the fragment packet [A] is normal (Yes in step S22), the data response unit 5 reads the source node number, destination node number, and command number included in the fragment packet [A] (step S23). ) Based on this response information, necessary data is transmitted to the master 2 (step S24).

次いでスレーブ4は残された分割パケットである分割パケット[B]、[C]のエラーチェックを実行し(ステップS25)、エラーが検出されなかった場合には、全ての分割パケット[A]、[B]、[C]を結合し、元データを復元する。また、復元された元データのエラーチェックを行う(ステップS26)。エラーが検出されなかった場合には、元データのうち、所定のデータをスレーブ4の記憶領域に保存し(ステップS27)、処理が終了する。   Next, the slave 4 performs an error check of the remaining divided packets [B] and [C] (step S25). If no error is detected, all the divided packets [A], [C] B] and [C] are combined to restore the original data. Further, an error check is performed on the restored original data (step S26). If no error is detected, predetermined data of the original data is stored in the storage area of the slave 4 (step S27), and the process ends.

なお、図5には示していないが、ステップS25又はS26においてエラーが検出された場合には、処理を終了するとともに、マスタ2に対してエラー報告やデータ再送要求を送信する。   Although not shown in FIG. 5, when an error is detected in step S25 or S26, the process is terminated and an error report or a data retransmission request is transmitted to the master 2.

スレーブ4から応答データを受信したマスタ2は、対象を次のスレーブ7に移し、該スレーブ7に対しても同様に、分割パケットを、分割パケット[A]、[B]、[C]の順に送出する。また、スレーブ7も、スレーブ4と同様の処理を行う。   The master 2 that has received the response data from the slave 4 moves the target to the next slave 7, and similarly for the slave 7, the divided packets are divided in the order of the divided packets [A], [B], and [C]. Send it out. The slave 7 performs the same process as the slave 4.

このように、半二重通信ネットワークにおいて、本発明に係るノード間データ応答システム1は、元データを復元する前に、マスタに対して応答データを送信する処理が行われる。よって、マスタに対して必要な応答データを送信する処理の時間短縮化が図られる。   Thus, in the half-duplex communication network, the inter-node data response system 1 according to the present invention performs a process of transmitting response data to the master before restoring the original data. Therefore, it is possible to shorten the processing time for transmitting necessary response data to the master.

なお、上記の例では、ステップS21で全ての分割パケットを受信した後に先頭の分割パケット[A]のエラーチェックを行っていた(ステップS22)が、先頭の分割パケット[A]を受信した段階でそのエラーチェックを実行し、応答情報を取得し、応答データをマスタに対して送信することもできる(ステップS22〜S24)。他の分割パケット[B]及び[C]の受信は背後で実行すれば良い。   In the above example, the error check of the first divided packet [A] is performed after receiving all the divided packets in step S21 (step S22), but at the stage when the first divided packet [A] is received. The error check is executed, response information is acquired, and response data can be transmitted to the master (steps S22 to S24). The reception of the other divided packets [B] and [C] may be performed behind the scenes.

上記実施例は本発明の一例にすぎず、本発明の趣旨の範囲で適宜変形、修正、追加等を行っても本願請求の範囲に包含されることは当然である。   The above-described embodiment is merely an example of the present invention, and it will be understood that the present invention is encompassed in the scope of the present application even if appropriate changes, modifications, additions, etc. are made within the scope of the present invention.

本発明においては、送信ノードと受信ノードがシステム内で予め固定されている必要は必ずしもない。他ノードに対してデータを送信するノードが送信ノードとして機能し、データを受信するノードが受信ノードとして機能する。   In the present invention, the transmission node and the reception node are not necessarily fixed in advance in the system. A node that transmits data to another node functions as a transmission node, and a node that receives data functions as a reception node.

また、受信ノードから送信ノードに対して応答データを送信する際に、データが所定のサイズよりも大きい場合には、これもパケット分割して送信されるのが一般的である。このような場合には、分割されたパケットのうち、先頭のパケットに、データ本体以外の各種情報を含めるようにするとよい。
この構成では、送信ノードが複数の受信ノードに関して順次同様の元データ送信を行う場合に、ある受信ノードから帰ってきた応答データの先頭のパケットを受信した段階で、次の対象とする受信ノードに対して元データを送信することができる。よって、送信ノードの処理においても、システム全体の処理時間短縮を図ることが可能となる。
Further, when the response data is transmitted from the receiving node to the transmitting node, if the data is larger than a predetermined size, it is generally transmitted by dividing the packet. In such a case, it is preferable to include various information other than the data body in the head packet among the divided packets.
In this configuration, when the transmitting node sequentially performs the same original data transmission with respect to a plurality of receiving nodes, when the first packet of the response data returned from a certain receiving node is received, In contrast, the original data can be transmitted. Therefore, the processing time of the entire system can be shortened also in the processing of the transmission node.

1…ノード間データ応答システム
2…送信ノード
3…フォーマット設定部
4、7、8…受信ノード
5…データ応答部
6…先頭エラー検査部
N…データ通信ネットワーク
DESCRIPTION OF SYMBOLS 1 ... Internode data response system 2 ... Transmission node 3 ... Format setting part 4, 7, 8 ... Receiving node 5 ... Data response part 6 ... Lead error inspection part N ... Data communication network

Claims (5)

複数のノードが接続されたネットワークにおいて、送信ノードが受信ノードに対して元データを分割パケットとして送信し、該元データを受信した受信ノードが該元データに対する応答データを必要に応じて該送信ノードに対して送信するシステムにおいて、
前記送信ノードが、
前記元データへの応答に必要な情報である応答情報が先頭の分割パケットに含まれるように元データのフォーマットを設定するフォーマット設定部を備え、
前記受信ノードが、
該先頭の分割パケットを受信した段階で、該分割パケットに含められている前記応答情報を読み取り、該応答情報に基づき、予め定められた応答データ送信処理を実行するデータ応答部を備える
ことを特徴とするノード間データ応答システム。
In a network in which a plurality of nodes are connected, a transmitting node transmits original data as a divided packet to a receiving node, and a receiving node that has received the original data transmits response data for the original data as necessary. In the system that sends to
The sending node is
A format setting unit that sets the format of the original data so that response information, which is information necessary for a response to the original data, is included in the first divided packet;
The receiving node is
A data response unit that reads the response information included in the fragmented packet when the leading fragmented packet is received, and executes a predetermined response data transmission process based on the response information. Internode data response system.
複数のノードが接続されたネットワークにおいて、送信ノードが受信ノードに対して元データを分割パケットとして送信し、該元データを受信した受信ノードが該元データに対する応答データを必要に応じて該送信ノードに対して送信するシステムにおいて、
前記送信ノードが、
前記元データへの応答に必要な情報である応答情報が先頭の分割パケットに含まれるように元データのフォーマットを設定するフォーマット設定部を備え、
前記受信ノードが、
全ての分割パケットを受信した後から全ての分割パケットから元データを再構築する前までのいずれかのタイミングで、先頭の分割パケットに含められている前記応答情報に基づき、予め定められた応答データ送信処理を実行するデータ応答部を備える
ことを特徴とするノード間データ応答システム。
In a network in which a plurality of nodes are connected, a transmitting node transmits original data as a divided packet to a receiving node, and a receiving node that has received the original data transmits response data for the original data as necessary. In the system that sends to
The sending node is
A format setting unit that sets the format of the original data so that response information, which is information necessary for a response to the original data, is included in the first divided packet;
The receiving node is
Predetermined response data based on the response information included in the first divided packet at any timing after receiving all the divided packets and before reconstructing the original data from all the divided packets An inter-node data response system comprising a data response unit that executes transmission processing.
前記データ応答部が応答データ送信処理を行う前に、少なくとも前記先頭分割パケットに含まれる応答情報に誤りが無いか否かを検査する先頭エラー検査部
を更に備えることを特徴とする請求項1又は2のいずれかに記載のノード間データ応答システム。
The head error checking unit for checking whether or not there is an error in at least the response information included in the head divided packet before the data response unit performs response data transmission processing. The inter-node data response system according to any one of 2).
複数のノードが接続されたネットワークにおいて、送信ノードが受信ノードに対して元データを分割パケットとして送信し、該元データを受信した受信ノードが該元データに対する応答データを必要に応じて該送信ノードに対して送信するシステムに利用するものであって、
送信ノードを、前記元データへの応答に必要な情報である応答情報が先頭の分割パケットに含まれるように元データのフォーマットを設定するフォーマット設定部
として機能させるためのノード間データ応答システム送信ノード用プログラム。
In a network in which a plurality of nodes are connected, a transmitting node transmits original data as a divided packet to a receiving node, and a receiving node that has received the original data transmits response data for the original data as necessary. Used for the system that sends to
Inter-node data response system transmission node for causing a transmission node to function as a format setting unit for setting a format of original data so that response information, which is information necessary for a response to the original data, is included in the first divided packet Program.
複数のノードが接続されたネットワークにおいて、送信ノードが受信ノードに対して元データを分割パケットとして送信し、該元データを受信した受信ノードが該元データに対する応答データを必要に応じて該送信ノードに対して送信するシステムに利用するものであって、
送信ノードが前記元データへの応答に必要な情報である応答情報が先頭の分割パケットに含まれるように前記元データを複数の分割パケットに分割するシステムにおいて、
受信ノードを、
該先頭の分割パケットを受信した段階で、該分割パケットに含められている前記応答情報を読み取り、該応答情報に基づき、予め定められた応答データ送信処理を実行する、又は、全ての分割パケットを受信した後から全ての分割パケットから元データを再構築する前までのいずれかのタイミングで、先頭の分割パケットに含められている前記応答情報に基づき、予め定められた応答データ送信処理を実行するデータ応答部
として機能させるためのノード間データ応答システム受信ノード用プログラム。
In a network in which a plurality of nodes are connected, a transmitting node transmits original data as a divided packet to a receiving node, and a receiving node that has received the original data transmits response data for the original data as necessary. Used for the system that sends to
In a system that divides the original data into a plurality of divided packets so that a transmission node includes response information that is information necessary for a response to the original data in the first divided packet.
The receiving node
At the stage of receiving the first fragment packet, the response information included in the fragment packet is read, and based on the response information, a predetermined response data transmission process is executed, or all fragment packets are A predetermined response data transmission process is executed on the basis of the response information included in the first divided packet at any timing from the reception of all the divided packets to before the reconstruction of the original data. Internode data response system receiving node program for functioning as a data response unit.
JP2009097192A 2009-04-13 2009-04-13 Internode data response system Active JP5320571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009097192A JP5320571B2 (en) 2009-04-13 2009-04-13 Internode data response system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009097192A JP5320571B2 (en) 2009-04-13 2009-04-13 Internode data response system

Publications (2)

Publication Number Publication Date
JP2010251911A JP2010251911A (en) 2010-11-04
JP5320571B2 true JP5320571B2 (en) 2013-10-23

Family

ID=43313785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009097192A Active JP5320571B2 (en) 2009-04-13 2009-04-13 Internode data response system

Country Status (1)

Country Link
JP (1) JP5320571B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104137487B (en) * 2012-02-24 2017-09-01 三菱电机株式会社 Communicator and communication means

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02192253A (en) * 1989-01-20 1990-07-30 Hitachi Ltd Communication control processor
US5440545A (en) * 1993-08-02 1995-08-08 Motorola, Inc. Packet delivery system
JPH11234286A (en) * 1998-02-12 1999-08-27 Nippon Telegr & Teleph Corp <Ntt> Radio access method and radio communication system
JP4591736B2 (en) * 2001-02-21 2010-12-01 ソニー株式会社 Information processing apparatus and method, recording medium, and program
JP4285111B2 (en) * 2003-06-27 2009-06-24 ソニー株式会社 COMMUNICATION DEVICE, METHOD, AND SYSTEM
JP2006013911A (en) * 2004-06-25 2006-01-12 Nippon Telegr & Teleph Corp <Ntt> Stream data transfer method, apparatus and program, and recording medium

Also Published As

Publication number Publication date
JP2010251911A (en) 2010-11-04

Similar Documents

Publication Publication Date Title
US11463275B2 (en) Electronic control unit, frame generating method, and non-transitory computer-readable recording medium storing a program
CN110022264B (en) Method for controlling network congestion, access device and computer readable storage medium
EP3110086B1 (en) System and method for detecting network neighbor reachability
RU2540815C2 (en) Interruption, at least in part, of frame transmission
JP6048505B2 (en) Parallel computer, node device, and parallel computer control method
WO2018113425A1 (en) Method, apparatus and system for detecting time delay
JP2006033854A (en) Method of enabling transmission between nodes, system, and program
CN112187647B (en) Message forwarding method, message forwarding equipment and computer readable storage medium
WO2019174390A1 (en) Industrial ethernet-based data transmission system and method, and communication device
US10230656B2 (en) Method and apparatus for controlling message over heterogeneous network
US11231983B2 (en) Fault tolerance processing method, apparatus, and server
WO2020173424A1 (en) Message processing method, and gateway device
JP2016515361A (en) Network transmission coordination based on transmission metadata provided by the application
US20100082875A1 (en) Transfer device
JP5672836B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP6438110B2 (en) Method and device for signaling in a communication network
JP5320571B2 (en) Internode data response system
JP2022540588A (en) Method and data network for communicating data content, especially in elevator systems
JP2005527898A (en) How to provide redundancy against channel adapter failure
CN111131224A (en) Method for maintaining connection and storage device
KR101605045B1 (en) Apparatus and method for processing duplicated data of redundancy communication line
US10523235B2 (en) Transmission checking method, node, system and computer storage medium
JP3878136B2 (en) Multiple buffers for removing unnecessary header information from received data packets
WO2019174424A1 (en) Link capacity adjustment method, device and system, controller, and network node
CN111447078A (en) Redundancy method for Ethernet hot standby hot switching based on multicast protocol

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120202

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130410

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130620

R150 Certificate of patent or registration of utility model

Ref document number: 5320571

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250