JP5460245B2 - Communications system - Google Patents
Communications system Download PDFInfo
- Publication number
- JP5460245B2 JP5460245B2 JP2009255874A JP2009255874A JP5460245B2 JP 5460245 B2 JP5460245 B2 JP 5460245B2 JP 2009255874 A JP2009255874 A JP 2009255874A JP 2009255874 A JP2009255874 A JP 2009255874A JP 5460245 B2 JP5460245 B2 JP 5460245B2
- Authority
- JP
- Japan
- Prior art keywords
- message
- transmission
- response
- receiving
- request
- 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
Links
Images
Description
この発明は、送信デバイスから受信デバイスへ周期的にメッセージを送る通信システムに関するものである。 The present invention relates to a communication system that periodically sends a message from a transmitting device to a receiving device.
従来より、監視・制御用途などの高い信頼性を要求される通信システムでは、送信デバイスと受信デバイスとの間で通信が維持できているか否かの確認を行いながら、データの送受信を行っている。例えば、図28に示すように、送信デバイス1から親子関係チェック用の送信パケットPA(メッセージA)を受信デバイス2に周期的に送りながら、データ通信用の送信パケットPB(メッセージB)を周期的に受信デバイス2へ送るようにしている。
Conventionally, in communication systems that require high reliability such as monitoring and control applications, data is transmitted and received while checking whether communication can be maintained between the transmitting device and the receiving device. . For example, as shown in FIG. 28, a transmission packet PA (message B) for data communication is periodically transmitted from the
この場合、送信パケットPAと送信パケットPBとを別々に送信するため、通信トラフィックが増大する。これに対し、送信パケットPAと送信パケットPBとを合成し、1つの通信パケットにまとめて送信すれば、通信トラフィックを低減することが可能である。 In this case, since the transmission packet PA and the transmission packet PB are transmitted separately, communication traffic increases. On the other hand, if the transmission packet PA and the transmission packet PB are combined and transmitted together in one communication packet, the communication traffic can be reduced.
例えば、特許文献1には、「バッファ内に格納された送出先が同一の複数の送信データがあるときは、それを1つの複合パケットにまとめて送出するディスクアレイ制御装置」が開示されている。この技術は、図28において、送信パケットPAと送信パケットPBとを合成し、1つの通信パケット(複合パケット)にまとめて同一送信周期で送ることを示唆している。
For example,
しかしながら、上述した特許文献1が示唆する技術では、送信バッファに蓄積されたデータが複合パケットの対象とされるため、宛先が同一であっても必ずしも合成されない場合が生じ得る。具体的には、送信要求の発生状況により、送信パケットPAと送信パケットPBとが合成される頻度が異なり、送信要求頻度が高い場合は、複合パケットとして送信される割合が高くなるが、送信要求頻度が低い場合は、合成されずにそれぞれ単独で送信される割合が高くなる。
However, in the technique suggested by
本発明は、このような課題を解決するためになされたもので、その目的とするところは、送信要求頻度が低い場合でも、送信周期が異なる複数のメッセージを必ずまとめて送信することが可能な通信システムを提供することにある。 The present invention has been made to solve such a problem, and the object of the present invention is to always transmit a plurality of messages having different transmission cycles even when the transmission request frequency is low. It is to provide a communication system.
このような目的を達成するために本発明は、送信デバイスと、この送信デバイスから周期的に送られてくるメッセージを受信する受信デバイスとを備える通信システムにおいて、送信デバイスに、第1の周期を送信周期とする第1のメッセージを管理する第1の送信側メッセージ管理手段と、第1の周期の整数倍の第2の周期を送信周期とする第2のメッセージを管理する第2の送信側メッセージ管理手段と、第1のメッセージの送信タイミングと第2のメッセージの送信タイミングとを揃えた状態で管理する送信タイミング管理手段と、受信デバイスへのメッセージの送信を行うメッセージ送信手段と、受信デバイスからの応答メッセージの受信を行う応答メッセージ受信手段とを設け、受信デバイスに、送信デバイスから送られてくる第1のメッセージを管理する第1の受信側メッセージ管理手段と、送信デバイスから送られてくる第2のメッセージを管理する第2の受信側メッセージ管理手段と、送信デバイスから送られてくるメッセージを受信するメッセージ受信手段と、送信デバイスから送られてくるメッセージに対する応答メッセージを返送する応答メッセージ送信手段とを設け、第1の送信側メッセージ管理手段に、送信タイミング管理手段からの第1のメッセージの送信タイミングの指示を受けて、第1のメッセージを含む送信メッセージを生成し、この生成した送信メッセージを第2の送信側メッセージ管理手段に通知する第1の送信メッセージ通知手段を設け、第2の送信側メッセージ管理手段に、第1の送信側メッセージ管理手段からの第1のメッセージを含む送信メッセージの通知を受けて、現在のタイミングが第2のメッセージの送信タイミングであるか否かを確認し、第2のメッセージの送信タイミングであった場合、通知された第1のメッセージを含む送信メッセージに第2のメッセージを含ませ、この第2のメッセージを含ませた送信メッセージをメッセージ送信手段に通知する第2の送信メッセージ通知手段を設け、メッセージ送信手段は、第2の送信側メッセージ管理手段から通知された送信メッセージを受信デバイスへ送信し、メッセージ受信手段は、送信デバイスから送られてくる送信メッセージを受信して第2の受信側メッセージ管理手段に通知し、第2の受信側メッセージ管理手段は、メッセージ受信手段から通知される送信メッセージに第2のメッセージが含まれているか否かを確認し、第2のメッセージが含まれていた場合、当該第2のメッセージを取り出すとともに、この第2のメッセージを取り出した送信メッセージを第1の受信側メッセージ管理手段に通知し、第1の受信側メッセージ管理手段は、第2の受信側メッセージ管理手段から通知される送信メッセージに第1のメッセージが含まれているか否かを確認し、第1のメッセージが含まれていた場合、当該第1のメッセージを取り出し、さらに、 第1の受信側メッセージ管理手段は、第2の受信側メッセージ管理手段から通知される送信メッセージに第1のメッセージが含まれていた場合、この第1のメッセージに対する第1の応答メッセージを含む応答送信メッセージを生成し、この生成した応答送信メッセージを第2の受信側メッセージ管理手段に通知し、第2の受信側メッセージ管理手段は、メッセージ受信手段から通知される送信メッセージに第2のメッセージが含まれていた場合、この第2のメッセージに対する第2の応答メッセージを第1の受信側メッセージ管理手段から通知される応答送信メッセージに含ませ、この第2の応答メッセージを含ませた応答送信メッセージを応答メッセージ送信手段に通知し、応答メッセージ送信手段は、第2の受信側メッセージ管理手段から通知される応答送信メッセージを送信デバイスへ送信し、応答メッセージ受信手段は、受信デバイスから送られてくる応答送信メッセージを受信して第2の送信側メッセージ管理手段に通知し、第2の送信側メッセージ管理手段は、応答メッセージ受信手段から通知される応答送信メッセージに第2の応答メッセージが含まれているか否かを確認し、第2の応答メッセージが含まれていた場合、当該第2の応答メッセージを取り出すとともに、この第2の応答メッセージを取り出した応答送信メッセージを第1の送信側メッセージ管理手段に通知し、第1の送信側メッセージ管理手段は、第2の送信側メッセージ管理手段から通知される応答送信メッセージに第1の応答メッセージが含まれているか否かを確認し、第1の応答メッセージが含まれていた場合、当該第1の応答メッセージを取り出すようにしたものである。 In order to achieve such an object, the present invention provides a transmission device having a first period in a communication system including a transmission device and a reception device that receives a message periodically transmitted from the transmission device. A first transmission side message management means for managing a first message having a transmission period, and a second transmission side for managing a second message having a second period that is an integral multiple of the first period. A message management unit, a transmission timing management unit that manages the transmission timing of the first message and the transmission timing of the second message, a message transmission unit that transmits a message to the reception device, and a reception device A response message receiving means for receiving a response message from the first device, and receiving the response message from the transmitting device. Receiving a message sent from the transmitting device, a first receiving message managing means managing the second message, a second receiving message managing means managing the second message sent from the sending device, and Message receiving means and response message transmitting means for returning a response message to the message sent from the transmitting device are provided, and the first message transmission means sends transmission timing of the first message from the transmission timing management means. The first transmission message notifying means for generating the transmission message including the first message and notifying the generated transmission message to the second transmission side message management means is provided, and the second transmission side The message management means receives the first message from the first sending message management means. In response to the notification of the transmission message, it is confirmed whether or not the current timing is the transmission timing of the second message, and if it is the transmission timing of the second message, the notified first message is included. The second message is included in the transmission message, and second transmission message notification means for notifying the message transmission means of the transmission message including the second message is provided. The transmission message notified from the management unit is transmitted to the reception device, and the message reception unit receives the transmission message transmitted from the transmission device and notifies the second reception side message management unit to the second reception side. Whether the message management means includes the second message in the transmission message notified from the message reception means. If the second message is included, the second message is taken out, and the transmission message from which the second message is taken out is notified to the first receiving-side message management means, 1 receiving side message management means checks whether or not the first message is included in the transmission message notified from the second receiving side message management means, and if the first message is included, The first message is extracted, and the first receiving message management means further includes the first message when the first message is included in the transmission message notified from the second receiving message management means. A response transmission message including a first response message for the message is generated, and the generated response transmission message is used as a second receiver message manager. When the second message is included in the transmission message notified from the message receiving means, the second receiving-side message management means sends a second response message for the second message to the first message. It is included in the response transmission message notified from the reception side message management means, and the response transmission message including the second response message is notified to the response message transmission means. The response message transmission means is the second reception side message. The response transmission message notified from the management unit is transmitted to the transmission device, and the response message reception unit receives the response transmission message transmitted from the reception device and notifies the second transmission side message management unit to the second transmission message. The sending side message management means includes a second response sending message notified from the response message receiving means. It is confirmed whether or not a response message is included. If the second response message is included, the second response message is extracted, and the response transmission message from which the second response message is extracted is the first response message. The first sending message management means checks whether or not the first sending message is included in the sending response message notified from the second sending message management means. However, when the first response message is included, the first response message is extracted .
この発明において、例えば、第1の周期を1分、第2の周期を3分とすると、第1の送信側メッセージ管理手段における第1の送信メッセージ通知手段に、送信タイミング管理手段から1分周期で第1のメッセージの送信タイミングの指示が与えられる。第1の送信メッセージ通知手段は、送信タイミング管理手段からの第1のメッセージの送信タイミングの指示を受けて、第1のメッセージ(メッセージA)を含む送信メッセージを生成し、この生成した送信メッセージを第2の送信側メッセージ管理手段における第2の送信メッセージ通知手段に通知する。第2の送信メッセージ通知手段は、第1のメッセージを含む送信メッセージの通知を受けて、現在のタイミングが第2のメッセージの送信タイミングであるか否かを確認し、第2のメッセージの送信タイミングであった場合、通知された第1のメッセージを含む送信メッセージに第2のメッセージ(メッセージB)を含ませ、この第2のメッセージを含ませた送信メッセージをメッセージ送信手段に通知する。この通知された送信メッセージをメッセージ送信手段が受信デバイスへ送信する。これにより、1分周期で受信デバイスへの送信メッセージの送信が行われ、この送信メッセージには第1のメッセージ(メッセージA)をベースとして、第2のメッセージ(メッセージB)が3分周期で含まれるものとなる。 In the present invention, for example, if the first cycle is 1 minute and the second cycle is 3 minutes, the transmission timing management unit sends the 1-minute cycle to the first transmission message notification unit in the first transmission-side message management unit. To give an instruction of the transmission timing of the first message. The first transmission message notifying unit receives the instruction of the transmission timing of the first message from the transmission timing management unit, generates a transmission message including the first message (message A), and transmits the generated transmission message. The second transmission message notification means in the second transmission side message management means is notified. The second transmission message notification means receives the notification of the transmission message including the first message, confirms whether or not the current timing is the transmission timing of the second message, and transmits the second message. If it is, the second message (message B) is included in the transmission message including the notified first message, and the transmission message including the second message is notified to the message transmission means. The message transmission means transmits the notified transmission message to the receiving device. As a result, the transmission message is transmitted to the receiving device at a cycle of 1 minute, and the transmission message includes the second message (message B) at a cycle of 3 minutes based on the first message (message A). It will be.
なお、本発明において、第2の送信側メッセージ管理手段における第2の送信メッセージ通知手段は、第1のメッセージを含む送信メッセージの通知を受けて、現在のタイミングが第2のメッセージの送信タイミングであるか否かを確認するが、この場合、送信タイミング管理手段に現在のタイミングが第2のメッセージの送信タイミングであるか否かを問い合わせるようにしてもよいし、送信タイミング管理手段から第2のメッセージの送信タイミングであるか否かを第2の送信メッセージ通知手段に知らせるようにしてもよい。 In the present invention, the second transmission message notification means in the second transmission-side message management means receives the notification of the transmission message including the first message, and the current timing is the transmission timing of the second message. In this case, the transmission timing management means may be inquired as to whether or not the current timing is the transmission timing of the second message. You may make it notify a 2nd transmission message notification means whether it is a message transmission timing.
また、本発明において、第1の送信側メッセージ管理手段とメッセージ送信手段との間に、第2の送信側メッセージ管理手段と同構成で管理するメッセージの送信周期が異なる送信側メッセージ管理手段を複数層設けるようにしてもよい。例えば、第1の送信側メッセージ管理手段とメッセージ送信手段との間に、送信周期を3分とする第2のメッセージ(メッセージB)を管理する送信側メッセージ管理手段と、送信周期を4分とする第3のメッセージ(メッセージC)を管理する送信側メッセージ管理手段とを設けるようにすると、受信デバイスへの送信メッセージに第1のメッセージ(メッセージA)をベースとして、第2のメッセージ(メッセージB)が3分周期で含まれ、第3のメッセージ(メッセージC)が4分周期で含まれるものとなる。 In the present invention, a plurality of transmission-side message management means having different message transmission cycles managed in the same configuration as the second transmission-side message management means are provided between the first transmission-side message management means and the message transmission means. A layer may be provided. For example, a transmission side message management means for managing a second message (message B) with a transmission period of 3 minutes between the first transmission side message management means and the message transmission means, and a transmission period of 4 minutes If the transmission side message management means for managing the third message (message C) is provided, the second message (message B) is based on the first message (message A) as the transmission message to the receiving device. ) Is included in a cycle of 3 minutes, and the third message (message C) is included in a cycle of 4 minutes.
本発明によれば、送信タイミング管理手段からの第1のメッセージの送信タイミングの指示を受けて、第1のメッセージを含む送信メッセージを生成し、この生成した第1のメッセージを含む送信メッセージの通知を受けて、現在のタイミングが第2のメッセージの送信タイミングであるか否かを確認し、第2のメッセージの送信タイミングであった場合、通知された第1のメッセージを含む送信メッセージに第2のメッセージを含ませるようにしたので、送信要求頻度に関わらず、宛先が同一の送信周期が異なる複数のメッセージを必ずまとめて送信することが可能となる。 According to the present invention, in response to the instruction of the transmission timing of the first message from the transmission timing management means, a transmission message including the first message is generated, and the transmission message including the generated first message is notified. In response to this, it is confirmed whether or not the current timing is the transmission timing of the second message, and if it is the transmission timing of the second message, the second message is added to the transmission message including the notified first message. Thus, regardless of the transmission request frequency, a plurality of messages having the same destination and different transmission cycles can be transmitted together.
以下、本発明を実施の形態に基づき詳細に説明する。図1はこの発明に係る通信システムの一実施の形態を示すブロック図である。 Hereinafter, the present invention will be described in detail based on embodiments. FIG. 1 is a block diagram showing an embodiment of a communication system according to the present invention.
図1において、100は送信デバイス、200は受信デバイスである。送信デバイス100は、第1の送信側メッセージ管理部101と、第2の送信側メッセージ管理部102と、第3の送信側メッセージ管理部103と、送信タイミング管理部104と、要求メッセージ送信部105と、応答メッセージ受信部106とを備えている。受信デバイス200は、第1の受信側メッセージ管理部201と、第2の受信側メッセージ管理部202と、第3の受信側メッセージ管理部203と、要求メッセージ受信部204と、応答メッセージ送信部205とを備えている。
In FIG. 1, 100 is a transmitting device, and 200 is a receiving device. The
送信デバイス100は、3つの通信階層を備え、送信側メッセージ管理部101は送信周期を1分とする1層目の要求メッセージAを管理し、送信側メッセージ管理部102は送信周期を3分とする2層目の要求メッセージBを管理し、送信側メッセージ管理部103は送信周期を4分とする3層目の要求メッセージCを管理する。
The
送信デバイス100において、要求メッセージA,B,Cの送信先のデバイスは定められている。この例では、要求メッセージA,B,Cの送信先のデバイスは同一の受信デバイス200とされ、この受信デバイス200の宛先アドレスαが宛先情報として要求メッセージA,B,Cに対して定められている(図2参照)。
In the
送信デバイス100において、送信タイミング管理部104は、要求メッセージA,B,Cの送信タイミングを揃えた状態で管理する機能を有している。すなわち、要求メッセージAの送信周期をT1(T1=1分)、要求メッセージBの送信周期をT2(T2=3分)、要求メッセージCの送信周期をT3(T3=4分)とした場合、送信タイミング管理部104は、図3(a),(b),(c)に示すように、送信周期T1,T2,T3の同期をとり、要求メッセージA,B,Cの送信タイミングを一致させ、この送信タイミングを一致させた状態で送信周期T1,T2,T3を管理する。
In the
受信デバイス200において、受信側メッセージ管理部201は送信デバイス100から送られてくる1層目の要求メッセージAを管理し、受信側メッセージ管理部202は送信デバイス100から送られてくる2層目の要求メッセージBを管理し、受信側メッセージ管理部203は送信デバイス100から送られてくる3層目の要求メッセージCを管理する。
In the receiving
送信デバイス100および受信デバイス200は、プロセッサや記憶装置からなるハードウェアと、これらのハードウェアと協働して各種機能を実現させるプログラムとによって実現される。以下、図4〜図15に示すフローチャートを参照しながら、送信デバイス100および受信デバイス200における各部が有する本実施の形態特有の機能について説明する。
The
〔0分目の送信〕
〔要求メッセージの送信〕
送信デバイス100において、送信タイミング管理部104は、要求メッセージAの送信タイミングとなると(図4:ステップS11のYES)、最上層(1層目)の送信側メッセージ管理部101に対して要求メッセージAの送信タイミングを指示する(ステップS12、図1:矢印(1))。この場合、0分目の送信として、1分周期で訪れる要求メッセージAの送信タイミングのうち、要求メッセージA,B,Cの送信タイミングの一致点(図3に示すt0点)が訪れているものとする。
[0 minute transmission]
Send request message
In the
送信側メッセージ管理部101は、送信タイミング管理部104からの要求メッセージAの送信タイミングの指示を受けて(図5:ステップS21のYES)、自層からの要求メッセージAを含む要求送信メッセージを生成し(ステップS22)、この生成した要求送信メッセージを宛先アドレスαとともに次層(2層目)の送信側メッセージ管理部102に通知する(ステップS23、図1:矢印(2))。
The transmission-side
図16に要求送信メッセージのフォーマットを示す。この要求送信メッセージのフォーマットにおいて、F1は1層目の要求メッセージの有無、F2は2層目の要求メッセージの有無、F3は3層目の要求メッセージの有無、F4は1層目の要求メッセージ長、F5は1層目の要求メッセージ、F6は2層目の要求メッセージ長、F7は2層目の要求メッセージ、F8は3層目の要求メッセージ長、F9は3層目の要求メッセージの書き込み領域を示す。 FIG. 16 shows the format of the request transmission message. In this request transmission message format, F1 is the presence / absence of the request message of the first layer, F2 is the presence / absence of the request message of the second layer, F3 is the presence / absence of the request message of the third layer, and F4 is the request message length of the first layer. , F5 is the first layer request message, F6 is the second layer request message length, F7 is the second layer request message, F8 is the third layer request message length, and F9 is the third layer request message write area. Indicates.
送信側メッセージ管理部101は、上述したステップS22において、自層からの要求メッセージAを含む要求送信メッセージとして、図17(a)に示すような要求送信メッセージDM1を生成する。この要求送信メッセージDM1において、領域F1には1層目メッセージ有りを示すフラグ「1」を書き込み、領域F4には要求メッセージAのメッセージ長L1を書き込み、領域F5には要求メッセージAの本体を書き込む。
In step S22 described above, the transmission-side
送信側メッセージ管理部102は、送信側メッセージ管理部101からの要求送信メッセージDM1の通知を受けて(図6:ステップS31のYES)、現在のタイミングを送信タイミング管理部104に問い合わせる(ステップS32、図1:矢印(3))。
The transmission side
送信タイミング管理部104は、送信側メッセージ管理部102からの現在のタイミングの問い合わせを受けて(ステップS13のYES)、現在のタイミングが要求メッセージBの送信タイミングであるか否かを送信側メッセージ管理部102に通知する(ステップS14、図1:矢印(4))。この場合、0分目の送信であり、現在のタイミングが要求メッセージBの送信タイミングであるので、その旨を送信側メッセージ管理部102に通知する。
The transmission
送信側メッセージ管理部102は、送信タイミング管理部104からの要求メッセージBの送信タイミングである旨の通知を受けて(ステップS33のYES)、要求メッセージBの宛先アドレスαが要求送信メッセージDM1とともに送られてきた宛先アドレスαと一致していることを確認のうえ(ステップS34のYES)、送信タイミング管理部104から通知された要求送信メッセージDM1に自層からの要求メッセージBを含ませる(ステップS35)。
Upon receiving the notification that it is the transmission timing of the request message B from the transmission timing management unit 104 (YES in step S33), the transmission-side
この場合、送信側メッセージ管理部102は、要求メッセージBを含ませた要求送信メッセージとして、図17(b)に示すような要求送信メッセージDM2を生成する。この要求送信メッセージDM2において、領域F2には2層目メッセージ有りを示すフラグ「1」を書き込み、領域F6には要求メッセージBのメッセージ長L2を書き込み、領域F7には要求メッセージBの本体を書き込む。なお、メッセージ長L2を含む要求メッセージBの先頭位置は、メッセージ長L1から判断できる。
In this case, the transmission-side
そして、送信側メッセージ管理部102は、この要求メッセージBを含ませた要求送信メッセージDM2を宛先アドレスαとともに次層(3層目(最下層))の送信側メッセージ管理部103に通知する(ステップS36、図1:矢印(5))。
Then, the transmission side
送信側メッセージ管理部103は、送信側メッセージ管理部102からの要求送信メッセージDM2の通知を受けて(ステップS31のYES)、現在のタイミングを送信タイミング管理部104に問い合わせる(ステップS32、図1:矢印(6))。
The transmission side
送信タイミング管理部104は、送信側メッセージ管理部103からの現在のタイミングの問い合わせを受けて(ステップS13のYES)、現在のタイミングが要求メッセージCの送信タイミングであるか否かを送信側メッセージ管理部103に通知する(ステップS14、図1:矢印(7))。この場合、0分目の送信であり、現在のタイミングが要求メッセージCの送信タイミングであるので、その旨を送信側メッセージ管理部103に通知する。
The transmission
送信側メッセージ管理部103は、送信タイミング管理部104からの要求メッセージCの送信タイミングである旨の通知を受けて(ステップS33のYES)、要求メッセージCの宛先アドレスαが要求送信メッセージDM2とともに送られてきた宛先アドレスαと一致していることを確認のうえ(ステップS34のYES)、送信タイミング管理部104から通知された要求送信メッセージDM2に自層からの要求メッセージCを含ませる(ステップS35)。
Upon receiving the notification that it is the transmission timing of the request message C from the transmission timing management unit 104 (YES in step S33), the transmission-side
この場合、送信側メッセージ管理部103は、要求メッセージCを含ませた要求送信メッセージとして、図17(c)に示すような要求送信メッセージDM3を生成する。この要求送信メッセージDM3において、領域F3には3層目メッセージ有りを示すフラグ「1」を書き込み、領域F8には要求メッセージCのメッセージ長L3を書き込み、領域F9には要求メッセージCの本体を書き込む。なお、メッセージ長L3を含む要求メッセージCの先頭位置は、メッセージ長L1およびL2から判断できる。
In this case, the transmission-side
そして、送信側メッセージ管理部103は、この要求メッセージCを含ませた要求送信メッセージDM3を宛先アドレスαとともに要求メッセージ送信部105に通知する(ステップS36、図1:矢印(8))。
Then, the transmission-side
要求メッセージ送信部105は、送信側メッセージ管理部103からの要求送信メッセージDM3の通知を受けて(図7:ステップS41のYES)、その通知された要求送信メッセージDM3を送信デバイス100からの要求送信メッセージDMとして、要求送信メッセージDM3とともに送られてきた宛先アドレスαで指定される受信デバイス200に送信する(ステップS42、図1:矢印(9))。
The request
〔要求メッセージの受信〕
受信デバイス200において、要求メッセージ受信部204は、送信デバイス100からの要求送信メッセージDMを受信すると(図11:ステップS51のYES)、その受信した要求送信メッセージDMを要求送信メッセージDM3として(図18(a)参照)、最下層(3層目)の受信側メッセージ管理部203に通知する(ステップS52、図1:矢印(10))。
[Reception of request message]
When receiving the request transmission message DM from the
受信側メッセージ管理部203は、要求メッセージ受信部204からの要求送信メッセージDM3の通知を受けると(図12:ステップS61のYES)、この要求送信メッセージDM3に自層宛の要求メッセージCが含まれているか否かをチェックする(ステップS62)。
When receiving the notification of the request transmission message DM3 from the request message reception unit 204 (FIG. 12: YES in step S61), the reception-side
この場合、受信側メッセージ管理部203は、要求送信メッセージDM3の領域F3にフラグ「1」が書き込まれているので、自層宛の要求メッセージCが含まれていると判断し(ステップS62のYES)、要求送信メッセージDM3から自層宛の要求メッセージCを分割して取得する(ステップS63、図18(b)参照)。そして、残りの要求送信メッセージDM2を次層(2層目)の受信側メッセージ管理部202に通知する(ステップS64、図1:矢印(11))。
In this case, since the flag “1” is written in the area F3 of the request transmission message DM3, the reception-side
なお、受信側メッセージ管理部203は、要求メッセージ受信部204から通知された要求送信メッセージDM3に自層宛の要求メッセージCが含まれていなかった場合には(ステップS62のNO)、通知された要求送信メッセージDM3をそのまま応答送信メッセージDM2として次層(2層目)の受信側メッセージ管理部202に通知する(ステップS65)。
The
受信側メッセージ管理部202は、受信側メッセージ管理部203からの要求送信メッセージDM2の通知を受けると(ステップS61のYES)、この要求送信メッセージDM2に自層宛の要求メッセージBが含まれているか否かをチェックする(ステップS62)。
When receiving the notification of the request transmission message DM2 from the reception side message management unit 203 (YES in Step S61), the reception side
この場合、受信側メッセージ管理部202は、要求送信メッセージDM2の領域F2にフラグ「1」が書き込まれているので、自層宛の要求メッセージBが含まれていると判断し(ステップS62のYES)、要求送信メッセージDM2から自層宛の要求メッセージBを取得する(ステップS63、図18(c)参照)。そして、残りの要求送信メッセージDM1を次層(1層目(最上層))の受信側メッセージ管理部201に通知する(ステップS64、図1:矢印(12))。
In this case, since the flag “1” is written in the area F2 of the request transmission message DM2, the reception-side
なお、受信側メッセージ管理部202は、受信側メッセージ管理部203から通知された要求送信メッセージDM2に自層宛の要求メッセージBが含まれていなかった場合には(ステップS62のNO)、通知された要求送信メッセージDM2をそのまま応答送信メッセージDM1として次層(1層目(最上層))の受信側メッセージ管理部201に通知する(ステップS65)。
The reception-side
受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1の通知を受けると(図13:ステップS71のYES)、この要求送信メッセージDM1に自層宛の要求メッセージAが含まれているか否かをチェックする(ステップS72)。
When receiving the notification of the request transmission message DM1 from the reception side message management unit 202 (FIG. 13: YES in step S71), the reception side
この場合、受信側メッセージ管理部201は、要求送信メッセージDM1の領域F1にフラグ「1」が書き込まれているので、自層宛の要求メッセージAが含まれていると判断し(ステップS72のYES)、要求送信メッセージDM1から自層宛の要求メッセージAを取得する(ステップS73)。
In this case, since the flag “1” is written in the area F1 of the request transmission message DM1, the reception-side
〔応答メッセージの送信〕
受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1から自層宛の要求メッセージAを取得すると(ステップS73)、取得した要求メッセージAに対する応答メッセージAを含む応答送信メッセージを生成し(ステップS74)、この生成した応答送信メッセージを次層(2層目)の受信側メッセージ管理部202に通知する(ステップS75、図1:矢印(13))。
[Send response message]
When the reception-side
図19に応答送信メッセージのフォーマットを示す。この応答送信メッセージのフォーマットにおいて、G1は1層目の応答メッセージの有無、G2は2層目の応答メッセージの有無、G3は3層目の応答メッセージの有無、G4は1層目の応答メッセージ長、G5は1層目の応答メッセージ、G6は2層目の応答メッセージ長、G7は2層目の応答メッセージ、G8は3層目の応答メッセージ長、G9は3層目の応答メッセージの書き込む領域を示す。 FIG. 19 shows the format of the response transmission message. In this response transmission message format, G1 is the presence / absence of the first layer response message, G2 is the presence / absence of the second layer response message, G3 is the presence / absence of the third layer response message, and G4 is the first layer response message length. , G5 is a response message of the first layer, G6 is a response message length of the second layer, G7 is a response message of the second layer, G8 is a response message length of the third layer, and G9 is an area for writing a response message of the third layer Indicates.
受信側メッセージ管理部201は、上述したステップS74において、自層からの応答メッセージAを含む応答送信メッセージとして、図20(a)に示すような応答送信メッセージAM1を生成する。この応答送信メッセージAM1において、領域G1には1層目メッセージ有りを示すフラグ「1」を書き込み、領域G4には応答メッセージAのメッセージ長L1を書き込み、領域G5には応答メッセージAの本体を書き込む。
In step S74 described above, the reception-side
なお、受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1に自層宛の要求メッセージAが含まれていなかった場合には(ステップS72のNO)、応答メッセージAを含まない応答送信メッセージAM1を生成し(ステップS76)、この生成した応答送信メッセージを次層(2層目)の受信側メッセージ管理部202に通知する(ステップS75)。
If the request message A1 addressed to the own layer is not included in the request transmission message DM1 from the reception-side message management unit 202 (NO in step S72), the reception-side
受信側メッセージ管理部202は、受信側メッセージ管理部201からの応答送信メッセージAM1の通知を受けると(図14:ステップS81のYES)、自層宛の要求メッセージBを今回の周期で取得しているので(ステップS82のYES)、この通知された応答送信メッセージAM1にその取得した要求メッセージBに対する応答メッセージBを含ませる(ステップS83)
When receiving the notification of the response transmission message AM1 from the receiving-side message managing unit 201 (FIG. 14: YES in step S81), the receiving-side
この場合、受信側メッセージ管理部202は、応答メッセージBを含ませた応答送信メッセージとして、図20(b)に示すような応答送信メッセージAM2を生成する。この応答送信メッセージAM2において、領域G2には2層目メッセージ有りを示すフラグ「1」を書き込み、領域G6には応答メッセージBのメッセージ長L2を書き込み、領域G7には応答メッセージBの本体を書き込む。なお、メッセージ長L2を含む応答メッセージBの先頭位置は、メッセージ長L1から判断できる。
In this case, the reception-side
そして、受信側メッセージ管理部202は、この応答メッセージBを含ませた応答送信メッセージAM2を次層(3層目(最下層))の受信側メッセージ管理部203に通知する(ステップS84、図1:矢印(14))。
Then, the reception side
なお、受信側メッセージ管理部202は、自層宛の要求メッセージBを今回の周期で取得しなかった場合には(ステップS82のNO)、受信側メッセージ管理部201から通知された応答メッセージAM1をそのまま応答メッセージAM2として次層(3層目(最下層))の受信側メッセージ管理部203に通知する(ステップS85)。
In addition, when the receiving side
受信側メッセージ管理部203は、受信側メッセージ管理部202からの応答送信メッセージAM2の通知を受けると(ステップS81のYES)、自層宛の要求メッセージCを今回の周期で取得しているので(ステップS82のYES)、この通知された応答送信メッセージAM2にその取得した要求メッセージCに対する応答メッセージCを含ませる(ステップS83)
When receiving the notification of the response transmission message AM2 from the receiving-side message managing unit 202 (YES in step S81), the receiving-side
この場合、受信側メッセージ管理部203は、応答メッセージCを含ませた応答送信メッセージとして、図20(c)に示すような応答送信メッセージAM3を生成する。この応答送信メッセージAM3において、領域G3には3層目メッセージ有りを示すフラグ「1」を書き込み、領域G8には応答メッセージCのメッセージ長L3を書き込み、領域G9には応答メッセージCの本体を書き込む。なお、メッセージ長L3を含む応答メッセージCの先頭位置は、メッセージ長L1およびL2から判断できる。
In this case, the reception-side
そして、受信側メッセージ管理部203は、この応答メッセージCを含ませた応答送信メッセージAM3を応答メッセージ送信部205に通知する(ステップS84、図1:矢印(15))。
The reception-side
なお、受信側メッセージ管理部203は、自層宛の要求メッセージCを今回の周期で取得しなかった場合には(ステップS82のNO)、受信側メッセージ管理部202から通知された応答メッセージAM2をそのまま応答メッセージAM3として応答メッセージ送信部205に通知する(ステップS85)。
In addition, when the receiving side
応答メッセージ送信部205は、受信側メッセージ管理部203からの応答送信メッセージAM3の通知を受けて(図15:ステップS91のYES)、その通知された応答送信メッセージAM3を受信デバイス200からの応答送信メッセージAMとして、要求送信メッセージDMの送信元の送信デバイス100に返送する(ステップS92、図1:矢印(16))。
The response
〔応答メッセージの受信〕
送信デバイス100において、応答メッセージ受信部106は、受信デバイス200からの応答送信メッセージAMを受信すると(図8:ステップS101のYES)、その受信した応答送信メッセージAMを応答送信メッセージAM3として(図21(a)参照)、最下層(3層目)の送信側メッセージ管理部103に通知する(ステップS102、図1:矢印(17))。
[Reception message reception]
In the
送信側メッセージ管理部103は、応答メッセージ受信部106からの応答送信メッセージAM3の通知を受けると(図9:ステップS111のYES)、この応答送信メッセージAM3に自層宛の応答メッセージCが含まれているか否かをチェックする(ステップS112)。
When receiving the notification of the response transmission message AM3 from the response message receiving unit 106 (FIG. 9: YES in step S111), the transmission-side
この場合、送信側メッセージ管理部103は、応答送信メッセージAM3の領域G3にフラグ「1」が書き込まれているので、自層宛の応答メッセージCが含まれていると判断し(ステップS112のYES)、応答送信メッセージAM3から自層宛の応答メッセージCを分割して取得する(ステップS113、図21(b)参照)。そして、残りの応答送信メッセージAM2を次層(2層目)の送信側メッセージ管理部102に通知する(ステップS114、図1:矢印(18))。
In this case, since the flag “1” is written in the area G3 of the response transmission message AM3, the transmission side
なお、送信側メッセージ管理部103は、応答送信メッセージAM3に自層宛の応答メッセージCが含まれていなかった場合には(ステップS112のNO)、応答メッセージ受信部106から通知された応答送信メッセージAM3をそのまま応答送信メッセージAM2として次層(2層目)の送信側メッセージ管理部102に通知する(ステップS115)。
When the response transmission message AM3 does not include the response message C addressed to the own layer (NO in step S112), the transmission-side
送信側メッセージ管理部102は、送信側メッセージ管理部103からの応答送信メッセージAM2の通知を受けると(ステップS111のYES)、この応答送信メッセージAM2に自層宛の応答メッセージBが含まれているか否かをチェックする(ステップS112)。
When receiving the notification of the response transmission message AM2 from the transmission side message management unit 103 (YES in step S111), the transmission side
この場合、送信側メッセージ管理部102は、送信側メッセージ管理部102からの応答送信メッセージAM2の領域G2にフラグ「1」が書き込まれているので、自層宛の応答メッセージBが含まれていると判断し(ステップS112のYES)、応答送信メッセージAM2から自層宛の応答メッセージBを取得する(ステップS113、図21(c)参照)。そして、残りの応答送信メッセージAM1を次層(1層目(最上層))の送信側メッセージ管理部101に通知する(ステップS114、図1:矢印(19))。
In this case, since the flag “1” is written in the area G2 of the response transmission message AM2 from the transmission side
なお、送信側メッセージ管理部102は、送信側メッセージ管理部103からの応答送信メッセージAM2に自層宛の応答メッセージBが含まれていなかった場合には(ステップS112のNO)、通知された応答送信メッセージAM2をそのまま応答送信メッセージAM1として次層(1層目(最上層))の送信側メッセージ管理部101に通知する(ステップS115)。
If the response message B2 addressed to the own layer is not included in the response transmission message AM2 from the transmission message management unit 103 (NO in step S112), the transmission side
送信側メッセージ管理部101は、送信側メッセージ管理部102からの応答送信メッセージAM1の通知を受けると(図10:ステップS121のYES)、この応答送信メッセージAM1に自層宛の応答メッセージAが含まれているか否かをチェックする(ステップS122)。
When receiving the notification of the response transmission message AM1 from the transmission side message management unit 102 (FIG. 10: YES in step S121), the transmission side
この場合、応答送信メッセージAM1の領域G1にフラグ「1」が書き込まれているので、自層宛の応答メッセージAが含まれていると判断し(ステップS122のYES)、応答送信メッセージAM1から自層宛の応答メッセージAを取得する(ステップS123)。 In this case, since the flag “1” is written in the area G1 of the response transmission message AM1, it is determined that the response message A addressed to the own layer is included (YES in step S122), and the response transmission message AM1 The response message A addressed to the layer is acquired (step S123).
なお、送信側メッセージ管理部101は、応答送信メッセージAM1に自層宛の応答メッセージAが含まれていなかった場合には(ステップS122のNO)、そのまま応答送信メッセージの受信処理を終了する。
Note that if the response transmission message AM1 does not include the response message A addressed to the own layer (NO in step S122), the transmission-side
このようにして、0分目の送信では、図22にt0点として示すように、送信デバイス100から要求メッセージA,B,Cを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージA,B,Cを含む応答送信メッセージAMが送信デバイス100へ返送されるものとなる。
In this way, in the transmission at the 0th minute, as shown as point t0 in FIG. 22, the request transmission message DM including the request messages A, B, and C is transmitted from the
〔1分目の送信〕
〔要求メッセージの送信〕
送信タイミング管理部104は、次の要求メッセージAの送信タイミングとなると(ステップS11のYES)、最上層(1層目)の送信側メッセージ管理部101に対して要求メッセージAの送信タイミングを指示する(ステップS12、図1:矢印(1))。
[1st minute transmission]
Send request message
When the transmission timing of the next request message A is reached (YES in step S11), the transmission
送信側メッセージ管理部101は、送信タイミング管理部104からの要求メッセージAの送信タイミングの指示を受けて(ステップS21のYES)、自層からの要求メッセージAを含む要求送信メッセージDM1を生成し(ステップS22)、この生成した要求送信メッセージDM1を要求メッセージAの宛先アドレスαとともに次層(2層目)の送信側メッセージ管理部102に通知する(ステップS23、図1:矢印(2))。
In response to the transmission timing instruction of the request message A from the transmission timing management unit 104 (YES in step S21), the transmission-side
送信側メッセージ管理部102は、送信側メッセージ管理部101からの要求送信メッセージDM1の通知を受けて(ステップS31のYES)、現在のタイミングを送信タイミング管理部104に問い合わせる(ステップS32、図1:矢印(3))。
The transmission-side
送信タイミング管理部104は、送信側メッセージ管理部102からの現在のタイミングの問い合わせを受けて(ステップS13のYES)、現在のタイミングが要求メッセージBの送信タイミングであるか否かを送信側メッセージ管理部102に通知する(ステップS14、図1:矢印(4))。この場合、1分目の送信であり、現在のタイミングが要求メッセージBの送信タイミングではないので、その旨を送信側メッセージ管理部102に通知する。
The transmission
送信側メッセージ管理部102は、送信タイミング管理部104からの要求メッセージBの送信タイミングではない旨の通知を受けて(ステップS33のNO)、送信側メッセージ管理部101からの要求送信メッセージDM1をそのまま要求送信メッセージDM2として次層(3層目(最下層))の送信側メッセージ管理部103に通知する(ステップS37)。
Upon receiving the notification that it is not the transmission timing of the request message B from the transmission timing management unit 104 (NO in step S33), the transmission side
送信側メッセージ管理部103は、送信側メッセージ管理部102からの要求送信メッセージDM2の通知を受けて(ステップS31のYES)、現在のタイミングを送信タイミング管理部104に問い合わせる(ステップS32、図1:矢印(6))。
The transmission side
送信タイミング管理部104は、送信側メッセージ管理部103からの現在のタイミングの問い合わせを受けて(ステップS13のYES)、現在のタイミングが要求メッセージCの送信タイミングであるか否かを送信側メッセージ管理部103に通知する(ステップS14、図1:矢印(7))。この場合、1分目の送信であり、現在のタイミングが要求メッセージCの送信タイミングではないので、その旨を送信側メッセージ管理部103に通知する。
The transmission
送信側メッセージ管理部103は、送信タイミング管理部104からの要求メッセージCの送信タイミングではない旨の通知を受けて(ステップS33のNO)、送信側メッセージ管理部102からの要求送信メッセージDM2をそのまま要求送信メッセージDM3として要求メッセージ送信部105に通知する(ステップS37、図1:矢印(8))。
Upon receiving the notification that it is not the transmission timing of the request message C from the transmission timing management unit 104 (NO in step S33), the transmission side
要求メッセージ送信部105は、送信側メッセージ管理部103からの要求送信メッセージDM3の通知を受けて(ステップS41のYES)、その通知された要求送信メッセージDM3を送信デバイス100からの要求送信メッセージDMとして、受信デバイス200に送信する(ステップS42、図1:矢印(9))。
The request
〔要求メッセージの受信〕
受信デバイス200において、要求メッセージ受信部204は、送信デバイス100からの要求送信メッセージDMを受信すると(ステップS51のYES)、その受信した要求送信メッセージDMを要求送信メッセージDM3として、最下層(3層目)の受信側メッセージ管理部203に通知する(ステップS52、図1:矢印(10))。
[Reception of request message]
In the receiving
受信側メッセージ管理部203は、要求メッセージ受信部204からの要求送信メッセージDM3の通知を受けると(ステップS61のYES)、この要求送信メッセージDM3に自層宛の要求メッセージCが含まれているか否かをチェックする(ステップS62)。
When receiving the request transmission message DM3 from the request message reception unit 204 (YES in step S61), the reception-side
この場合、受信側メッセージ管理部203は、自層宛の要求メッセージCが含まれていないので、受信側メッセージ管理部204から通知された要求メッセージDM3をそのまま要求送信メッセージDM2として次層(2層目)の受信側メッセージ管理部202に通知する(ステップS65、図1:矢印(11))。
In this case, since the request message C addressed to the own layer is not included, the reception side
受信側メッセージ管理部202は、受信側メッセージ管理部203からの要求送信メッセージDM2の通知を受けると(ステップS61のYES)、この要求送信メッセージDM2に自層宛の要求メッセージBが含まれているか否かをチェックする(ステップS62)。
When receiving the notification of the request transmission message DM2 from the reception side message management unit 203 (YES in Step S61), the reception side
この場合、受信側メッセージ管理部202は、自層宛の要求メッセージBが含まれていないので、受信側メッセージ管理部203から通知された要求メッセージDM2をそのまま要求送信メッセージDM1として次層(1層目(最上層))の受信側メッセージ管理部201に通知する(ステップS65、図1:矢印(12))。
In this case, since the request message B addressed to the own layer is not included, the reception side
受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1の通知を受けると(ステップS71のYES)、この要求送信メッセージDM1に自層宛の要求メッセージAが含まれているか否かをチェックする(ステップS72)。
Receiving
この場合、受信側メッセージ管理部201は、次層宛の要求メッセージAが含まれているので、要求送信メッセージDM1から自層宛の要求メッセージAを取得する(ステップS73)。そして、取得した要求メッセージAに対する応答メッセージAを含む応答送信メッセージAM1を生成し(ステップS74)、この生成した応答送信メッセージを次層(2層目)の受信側メッセージ管理部202に通知する(ステップS75、図1:矢印(13))。
In this case, since the request message A addressed to the next layer is included, the reception-side
受信側メッセージ管理部202は、受信側メッセージ管理部201からの応答送信メッセージAM1の通知を受けると(ステップS81のYES)、自層宛の要求メッセージBを今回の周期では取得していないので(ステップS82のNO)、受信側メッセージ管理部201から通知された応答メッセージAM1をそのまま応答メッセージAM2として、次層(3層目(最下層))の受信側メッセージ管理部203に通知する(ステップS85、図1:矢印(14))。
When receiving the notification of the response transmission message AM1 from the receiving-side message managing unit 201 (YES in step S81), the receiving-side
受信側メッセージ管理部203は、受信側メッセージ管理部202からの応答送信メッセージAM2の通知を受けると(ステップS81のYES)、自層宛の要求メッセージCを今回の周期では取得していないので(ステップS82のNO)、受信側メッセージ管理部202から通知された応答メッセージAM2をそのまま応答メッセージAM3として、応答メッセージ送信部205に通知する(ステップS85、図1:矢印(15))。
When receiving the notification of the response transmission message AM2 from the receiving-side message managing unit 202 (YES in step S81), the receiving-side
応答メッセージ送信部205は、受信側メッセージ管理部203からの応答送信メッセージAM3の通知を受けて(ステップS91のYES)、その通知された応答送信メッセージAM3を受信デバイス200からの応答送信メッセージAMとして、要求送信メッセージDM3の送信元の送信デバイス100に返送する(ステップS92、図1:矢印(16))。
The response
〔応答メッセージの受信〕
送信デバイス100において、応答メッセージ受信部106は、受信デバイス200からの応答送信メッセージAMを受信すると(ステップS101のYES)、その受信した応答送信メッセージAMを応答送信メッセージAM3として、最下層(3層目)の送信側メッセージ管理部103に通知する(ステップS102、図1:矢印(17))。
[Reception message reception]
In the
送信側メッセージ管理部103は、応答メッセージ受信部106からの応答送信メッセージAM3の通知を受けると(ステップS111のYES)、この応答送信メッセージAM3に自層宛の応答メッセージCが含まれているか否かをチェックする(ステップS112)。
When receiving the notification of the response transmission message AM3 from the response message reception unit 106 (YES in step S111), the transmission-side
この場合、送信側メッセージ管理部103は、応答送信メッセージAM3に自層宛の応答メッセージCが含まれていないので(ステップS112のNO)、応答メッセージ受信部106から通知された応答送信メッセージAM3をそのまま応答送信メッセージAM2として、次層(2層目)の送信側メッセージ管理部102に通知する(ステップS115、図1:矢印(18))。
In this case, since the response message C3 addressed to the own layer is not included in the response transmission message AM3 (NO in step S112), the transmission-side
送信側メッセージ管理部102は、送信側メッセージ管理部103からの応答送信メッセージAM2の通知を受けると(ステップS111のYES)、この応答送信メッセージAM2に自層宛の応答メッセージBが含まれているか否かをチェックする(ステップS112)。
When receiving the notification of the response transmission message AM2 from the transmission side message management unit 103 (YES in step S111), the transmission side
この場合、送信側メッセージ管理部102は、応答送信メッセージAM2に自層宛の応答メッセージBが含まれていないので(ステップS112のNO)、送信側メッセージ管理部103から通知された応答送信メッセージAM2をそのまま応答送信メッセージAM1として次層(1層目(最上層))の送信側メッセージ管理部101に通知する(ステップS115、図1:矢印(19))。
In this case, since the response message B2 addressed to the own layer is not included in the response transmission message AM2 (NO in step S112), the transmission-side
送信側メッセージ管理部101は、送信側メッセージ管理部102からの応答送信メッセージAM1の通知を受けると(ステップS121のYES)、この応答送信メッセージAM1に自層宛の応答メッセージAが含まれているか否かをチェックする(ステップS122)。
When receiving the notification of the response transmission message AM1 from the transmission side message management unit 102 (YES in step S121), the transmission side
この場合、送信側メッセージ管理部101は、応答送信メッセージAM1に自層宛ての応答メッセージAが含まれているので(ステップS122のYES)、その応答送信メッセージAM1から自層宛の応答メッセージAを取得する(ステップS123)。
In this case, since the response message A addressed to the own layer is included in the response transmission message AM1 (YES in step S122), the transmission-side
このようにして、1分目の送信では、図22にt1点として示すように、送信デバイス100から要求メッセージAのみを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージAのみを含む応答送信メッセージAMが送信デバイス100へ返送されるものとなる。
In this way, in the transmission of the first minute, as shown as point t1 in FIG. 22, the request transmission message DM including only the request message A is transmitted from the
以下同様にして、2分目の送信では、送信デバイス100から要求メッセージAのみを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージAのみを含む応答送信メッセージAMが送信デバイス100へ返送される(図22に示すt2点)。
Similarly, in the second transmission, a request transmission message DM including only the request message A is transmitted from the
また、3分目の送信では、送信デバイス100から要求メッセージA,Bを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージA,Bを含む応答送信メッセージAMが送信デバイス100へ返送される(図22に示すt3点)。
In the transmission for the third minute, a request transmission message DM including request messages A and B is transmitted from the
また、4分目の送信では、送信デバイス100から要求メッセージA,Cを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージA,Cを含む応答送信メッセージAMが送信デバイス100へ返送される(図22に示すt4点)。以下同様にして、要求送信メッセージDMの送信と応答送信メッセージAMの返送が1分周期で行われる。
In the fourth transmission, a request transmission message DM including request messages A and C is transmitted from the
〔4分目の送信〕
〔要求メッセージの送信〕
参考として、4分目の送信において、送信デバイス100から要求メッセージA,Cを含む要求送信メッセージDMが受信デバイス200へ送信され、受信デバイス200から応答メッセージA,Cを含む応答送信メッセージAMが返信される様子について説明する。
[4th minute transmission]
Send request message
As a reference, in the fourth transmission, a request transmission message DM including request messages A and C is transmitted from the
4分目の要求メッセージAの送信タイミングとなると、送信タイミング管理部104は、最上層(1層目)の送信側メッセージ管理部101に対して要求メッセージAの送信タイミングを指示する(図1:矢印(1))。
When the transmission timing of the request message A in the fourth minute is reached, the transmission
送信側メッセージ管理部101は、送信タイミング管理部104からの要求メッセージAの送信タイミングの指示を受けて、自層からの要求メッセージAを含む要求送信メッセージDM1を生成し(図23(a)参照)、この生成した要求送信メッセージDM1を要求メッセージAの宛先アドレスαとともに次層(2層目)の送信側メッセージ管理部102に通知する(図1:矢印(2))。
In response to the transmission timing instruction of the request message A from the transmission
送信側メッセージ管理部102は、送信側メッセージ管理部101からの要求送信メッセージDM1の通知を受けて、現在のタイミングを送信タイミング管理部104に問い合わせる(図1:矢印(3))。
Upon receiving the notification of the request transmission message DM1 from the transmission side
送信タイミング管理部104は、送信側メッセージ管理部102からの現在のタイミングの問い合わせを受けて、現在のタイミングが要求メッセージBの送信タイミングであるか否かを送信側メッセージ管理部102に通知する(図1:矢印(4))。この場合、4分目の送信であり、現在のタイミングが要求メッセージBの送信タイミングではないので、その旨を送信側メッセージ管理部103に通知する。
The transmission
送信側メッセージ管理部102は、送信タイミング管理部104からの要求メッセージBの送信タイミングではない旨の通知を受けて、送信側メッセージ管理部102からの要求送信メッセージDM1をそのまま要求送信メッセージDM2として、送信側メッセージ管理部103に通知する(図23(b)参照)。
Upon receiving the notification that it is not the transmission timing of the request message B from the transmission
送信側メッセージ管理部103は、送信側メッセージ管理部102からの要求送信メッセージDM2の通知を受けて、現在のタイミングを送信タイミング管理部104に問い合わせる(図1:矢印(6))。
Upon receiving the notification of the request transmission message DM2 from the transmission side
送信タイミング管理部104は、送信側メッセージ管理部103からの現在のタイミングの問い合わせを受けて、現在のタイミングが要求メッセージCの送信タイミングであるか否かを送信側メッセージ管理部103に通知する(図1:矢印(7))。この場合、4分目の送信であり、現在のタイミングが要求メッセージCの送信タイミングであるので、その旨を送信側メッセージ管理部103に通知する。
The transmission
送信側メッセージ管理部103は、送信タイミング管理部104からの要求メッセージCの送信タイミングである旨の通知を受けて、要求メッセージCの宛先アドレスαが要求送信メッセージDM2とともに送られてきた宛先アドレスαと一致していることを確認のうえ、送信側メッセージ管理部102からの要求送信メッセージDM2に自層からの要求メッセージCを含ませる。この場合、要求メッセージCを含ませた要求送信メッセージとして、図23(c)に示すような要求送信メッセージDM3を生成する。
In response to the notification that it is the transmission timing of the request message C from the transmission
そして、送信側メッセージ管理部103は、この要求メッセージCを含ませた要求送信メッセージDM3を宛先アドレスαとともに要求メッセージ送信部105に通知する(図1:矢印(8))。
Then, the transmission-side
要求メッセージ送信部105は、送信側メッセージ管理部103からの要求送信メッセージDM3の通知を受けて、その通知された要求送信メッセージDM3を送信デバイス100からの要求送信メッセージDMとして、要求送信メッセージDM3とともに送られてきた宛先アドレスαで指定される受信デバイス200に送信する(図1:矢印(9))。
The request
〔要求メッセージの受信〕
受信デバイス200において、要求メッセージ受信部204は、送信デバイス100からの要求送信メッセージDM3を受信すると、その受信した要求送信メッセージDM3を要求送信メッセージDMとして(図24(a)参照)、最下層(3層目)の受信側メッセージ管理部203に通知する(図1:矢印(10))。
[Reception of request message]
In the receiving
受信側メッセージ管理部203は、要求メッセージ受信部204からの要求送信メッセージDM3の通知を受けると、この要求送信メッセージDM3に自層宛の要求メッセージCが含まれているか否かをチェックする。
When receiving the notification of the request transmission message DM3 from the request
この場合、受信側メッセージ管理部203は、要求送信メッセージDM3の領域F3にフラグ「1」が書き込まれているので、自層宛の要求メッセージCが含まれていると判断し、要求送信メッセージDM3から自層宛の要求メッセージCを分割して取得する(図24(b)参照)。そして、残りの要求送信メッセージDM2を次層(2層目)の受信側メッセージ管理部202に通知する(図1:矢印(11))。
In this case, since the flag “1” is written in the area F3 of the request transmission message DM3, the reception-side
受信側メッセージ管理部202は、受信側メッセージ管理部203からの要求送信メッセージDM2の通知を受けると、この要求送信メッセージDM2に自層宛の要求メッセージBが含まれているか否かをチェックする。
When receiving the notification of the request transmission message DM2 from the reception side
この場合、受信側メッセージ管理部202は、自層宛の要求メッセージBが含まれていないので、通知された要求メッセージDM2をそのまま要求送信メッセージDM1として、次層(1層目(最上層))の受信側メッセージ管理部201に通知する(図1:矢印(12)、図24(c)参照)。
In this case, since the request message B addressed to the own layer is not included, the receiving-side
受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1の通知を受けると、この要求送信メッセージDM1に自層宛の要求メッセージAが含まれているか否かをチェックする。
When receiving the notification of the request transmission message DM1 from the reception side
この場合、受信側メッセージ管理部201は、要求送信メッセージDM1の領域F1にフラグ「1」が書き込まれているので、自層宛の要求メッセージAが含まれていると判断し、要求送信メッセージDM1から自層宛の要求メッセージAを取得する。
In this case, since the flag “1” is written in the area F1 of the request transmission message DM1, the reception-side
〔応答メッセージの送信〕
受信側メッセージ管理部201は、受信側メッセージ管理部202からの要求送信メッセージDM1から自層宛の要求メッセージAを取得すると、取得した要求メッセージAに対する応答メッセージAを含む応答送信メッセージAM1を生成し(図25(a)参照)、この生成した応答送信メッセージAM1を次層(2層目)の受信側メッセージ管理部202に通知する(図1:矢印(13))。
[Send response message]
When the reception-side
受信側メッセージ管理部202は、受信側メッセージ管理部201からの応答送信メッセージAM1の通知を受けると、自層宛の要求メッセージBを今回の周期では取得していないので、通知された応答メッセージAM1をそのまま応答メッセージAM2として、次層(3層目(最下層))の受信側メッセージ管理部203に通知する(図25(b)参照)。
When receiving the notification of the response transmission message AM1 from the reception-side
受信側メッセージ管理部203は、受信側メッセージ管理部202からの応答送信メッセージAM2の通知を受けると、自層宛の要求メッセージCを今回の周期で取得しているので、この通知された応答送信メッセージAM2にその取得した要求メッセージCに対する自層からの応答メッセージCを含ませる。この場合、応答メッセージCを含ませた応答送信メッセージとして、図25(c)に示すような応答送信メッセージAM3を生成する。
When receiving the notification of the response transmission message AM2 from the reception-side
そして、受信側メッセージ管理部203は、この応答メッセージCを含ませた応答送信メッセージAM3を応答メッセージ送信部205に通知する(図1:矢印(15))。
Then, the reception-side
応答メッセージ送信部205は、受信側メッセージ管理部203からの応答送信メッセージAM3の通知を受けて、その通知された応答送信メッセージAM3を受信デバイス200からの応答送信メッセージAMとして、要求送信メッセージDMの送信元の送信デバイス100に返送する(図1:矢印(16))。
The response
〔応答メッセージの受信〕
送信デバイス100において、応答メッセージ受信部106は、受信デバイス200からの応答送信メッセージAM3を受信すると、その受信した応答送信メッセージAM3を応答送信メッセージAM3として(図26(a)参照)、最下層(3層目)の送信側メッセージ管理部103に通知する(図1:矢印(17))。
[Reception message reception]
In the
送信側メッセージ管理部103は、応答メッセージ受信部106からの応答送信メッセージAM3の通知を受けると、この応答送信メッセージAM3に自層宛の応答メッセージCが含まれているか否かをチェックする。
When receiving the notification of the response transmission message AM3 from the response
この場合、送信側メッセージ管理部103は、応答送信メッセージAM3の領域G3にフラグ「1」が書き込まれているので、自層宛の応答メッセージCが含まれていると判断し、応答送信メッセージAM3から自層宛の応答メッセージCを分割して取得する(図26(b)参照)。そして、残りの応答送信メッセージAM2を次層(2層目)の送信側メッセージ管理部102に通知する(図1:矢印(18))。
In this case, since the flag “1” is written in the area G3 of the response transmission message AM3, the transmission-side
送信側メッセージ管理部102は、送信側メッセージ管理部103からの応答送信メッセージAM2の通知を受けると、この応答送信メッセージAM2に自層宛の応答メッセージBが含まれているか否かをチェックする。
When receiving the response transmission message AM2 from the transmission side
この場合、送信側メッセージ管理部102は、応答送信メッセージAM2に自層宛の応答メッセージBが含まれていないので、通知された応答送信メッセージAM2をそのまま応答送信メッセージAM1として次層(1層目(最上層))の送信側メッセージ管理部101に通知する(図26(c)参照)。
In this case, since the response message B addressed to the own layer is not included in the response transmission message AM2, the transmission side
送信側メッセージ管理部101は、送信側メッセージ管理部102からの応答送信メッセージAM1の通知を受けると、この応答送信メッセージAM1に自層宛の応答メッセージAが含まれているか否かをチェックする。
When receiving the notification of the response transmission message AM1 from the transmission side
この場合、応答送信メッセージAM1の領域G1にフラグ「1」が書き込まれているので、自層宛の応答メッセージAが含まれていると判断し、応答送信メッセージAM1から自層宛の応答メッセージAを取得する。 In this case, since the flag “1” is written in the area G1 of the response transmission message AM1, it is determined that the response message A addressed to the own layer is included, and the response message A addressed to the own layer is transmitted from the response transmission message AM1. To get.
このようにして、本実施の形態では、1分周期で受信デバイス200への要求送信メッセージDMの送信が行われ、この要求送信メッセージDMにはメッセージAをベースとして、メッセージBが3分周期で含まれ、メッセージCが4分周期で含まれるものとなり、送信周期が異なる複数のメッセージを毎回のデータ量を増大させることなく、まとめて送信することができるようになる。
In this way, in the present embodiment, the request transmission message DM is transmitted to the receiving
なお、上述した実施の形態では、送信側メッセージ管理部101からの要求送信メッセージDM1の通知を受けて送信側メッセージ管理部102から現在のタイミングを送信タイミング管理部104に問い合わせ、自層からの要求メッセージBの送信タイミングが否かを確認するようにしたが、送信タイミング管理部104から送信側メッセージ管理部102に対してメッセージBの送信タイミングであるか否かを知らせるようにしてもよい。送信側メッセージ管理部103についても同様であり、送信タイミング管理部104から送信側メッセージ管理部103に対して要求メッセージCの送信タイミングであるか否かを知らせるようにしてもよい。また、本実施の形態において、現在のタイミングが要求メッセージBや要求メッセージCの送信タイミングであるか否かは、その送信タイミングに対してある程度の幅を定めて判断するようにすることは言うまでもない。
In the above-described embodiment, upon receiving the request transmission message DM1 from the transmission-side
また、上述した実施の形態では、送信デバイス100側における送信側メッセージ管理部や受信デバイス200における受信側メッセージ管理部を3層構造としたが、さらにその層数(通信階層)を増やしてもよい。また、2層構造としてもよく、送信デバイス100と受信デバイス200との間の通信は、有線/無線いずれの通信方式であっても構わない。
In the above-described embodiment, the transmission-side message management unit on the
〔2層構造の通信システム〕
図27に通信階層を2層とした場合の本発明に係る通信システムの機能ブロック図を示す。この通信階層を2層とした通信システムにおいて、送信デバイス100は、周期T1(1分)を送信周期とする要求メッセージAを管理する送信側メッセージ管理部100Aと、周期T2(3分)を送信周期とする要求メッセージBを管理する送信側メッセージ管理部100Bと、要求メッセージAの送信タイミングと要求メッセージBの送信タイミングとを揃えた状態で管理する送信タイミング管理部100Cと、受信デバイス200への要求送信メッセージDMの送信を行う要求メッセージ送信部100Dと、受信デバイス200からの応答送信メッセージAMの受信を行う応答メッセージ受信部100Eとを備えている。
[Two-layer communication system]
FIG. 27 shows a functional block diagram of a communication system according to the present invention when the communication hierarchy is two layers. In the communication system having two communication layers, the
また、受信デバイス200は、送信デバイス100から送られてくる要求メッセージAを管理する受信側メッセージ管理部200Aと、送信デバイス100から送られてくる要求メッセージBを管理する受信側メッセージ管理部200Bと、送信デバイス100からの要求送信メッセージDMの受信を行う要求メッセージ受信部200Cと、送信デバイス100への応答送信メッセージAMの送信を行う応答メッセージ送信部200Dとを備えている。
In addition, the receiving
送信デバイス100において、送信側メッセージ管理部100Aは、送信タイミング管理部100Cからの要求メッセージAの送信タイミングの指示を受けて、要求メッセージAを含む要求送信メッセージDM1を生成し、この生成した要求送信メッセージDM1を送信側メッセージ管理部100Bに通知する要求メッセージ通知部100A1を有し、送信側メッセージ管理部100Bは、送信側メッセージ管理部100Aからの要求メッセージAを含む要求送信メッセージDM1を受けて、現在のタイミングが要求メッセージBの送信タイミングであるか否かを確認し、要求メッセージBの送信タイミングであった場合、要求メッセージAを含む要求送信メッセージDM1に要求メッセージBを含ませ、この要求メッセージBを含ませた要求送信メッセージDM2を要求メッセージ送信部100Dに通知する要求メッセージ通知部100B1を有している。この場合、要求メッセージ送信部100Dは、送信側メッセージ管理部100Bからの要求メッセージAと要求メッセージBとを含む要求送信メッセージDM2を要求送信メッセージDMとして、受信デバイス200へ送信する。
In the
受信デバイス200において、要求メッセージ受信部200Cは、送信デバイス100から送られてくる要求送信メッセージDMを受信し、この受信した要求送信メッセージDMを要求送信メッセージDM2として受信側メッセージ管理部200Bへ通知する。受信側メッセージ管理部200Bは、要求メッセージ受信部200Cから通知される送信要求メッセージDM2に要求メッセージBが含まれているか否かを確認し、要求メッセージBが含まれていた場合、その要求メッセージBを取り出すとともに、この要求メッセージBを取り出した送信要求メッセージを送信要求メッセージDM1として受信側メッセージ管理部200Aに通知する要求メッセージ取出部200B1を有している。受信側メッセージ管理部200Aは、受信側メッセージ管理部200Bから通知される要求送信メッセージDM1に要求メッセージAが含まれているか否かを確認し、要求メッセージAが含まれていた場合、その要求メッセージAを取り出す要求メッセージ取出部200A1を有している。
In the receiving
また、受信デバイス200において、受信側メッセージ管理部200Aは、要求メッセージ取出部200A1が要求送信メッセージDM1から要求メッセージAを取り出した場合、この要求メッセージAに対する応答メッセージAを含む応答送信メッセージAM1を生成し、この生成した応答送信メッセージAM1を受信側メッセージ管理部200Bに通知する応答メッセージ通知部200A2と、要求メッセージ取出部200B1が要求送信メッセージDM2から要求メッセージBを取り出した場合、この要求メッセージBに対する応答メッセージBを受信側メッセージ管理部200Aから通知される応答送信メッセージAM1に含ませ、この応答メッセージBを含ませた応答送信メッセージを応答送信メッセージAM2として応答メッセージ送信部200Dに通知する応答メッセージ通知部200B2とを有している。この場合、応答メッセージ送信部200Dは、受信側メッセージ管理部200Bからの応答メッセージAと応答メッセージBを含む応答送信メッセージAM2を応答送信メッセージAMとして、送信デバイス100へ送信する。
In the receiving
送信デバイス100において、応答メッセージ受信部100Eは、受信デバイス200から送られている応答送信メッセージAMを受信し、この受信した応答送信メッセージAMを応答送信メッセージAM2として送信側メッセージ管理部100Bへ通知する。送信側メッセージ管理部100Bは、応答メッセージ受信部100Eから通知される応答送信メッセージAM2に応答メッセージBが含まれているか否かを確認し、応答メッセージBが含まれていた場合、その応答メッセージBを取り出すとともに、この応答メッセージBを取り出した応答送信メッセージを応答送信メッセージAM1として送信側メッセージ管理部100Aに通知する応答メッセージ取出部100B2を有している。送信側メッセージ管理部100Aは、送信側メッセージ管理部100Bから通知される応答送信メッセージAM1に応答メッセージAが含まれているか否かを確認し、応答メッセージAが含まれていた場合、その応答メッセージAを取り出す応答メッセージ取出部100A2を有している。
In the
本発明の通信システムは、通信幹線を無線化したメッシュ構造の中規模、大規模の監視制御システムなど様々な分野で利用することが可能である。具体的には、VAV(可変風量調節)による居室内空調システムへの適用などが考えられる。 The communication system of the present invention can be used in various fields such as a medium-scale and large-scale monitoring control system having a mesh structure in which a communication trunk line is wireless. Specifically, it can be applied to a room air conditioning system by VAV (variable air volume adjustment).
100…送信デバイス、101…第1の送信側メッセージ管理部、102…第2の送信側メッセージ管理部、103…第3の送信側メッセージ管理部、104…送信タイミング管理部、105…要求メッセージ送信部、106…応答メッセージ受信部、200…受信デバイス、201…第1の受信側メッセージ管理部、202…第2の受信側メッセージ管理部、203…第3の受信側メッセージ管理部、204…要求メッセージ受信部、205…応答メッセージ送信部、100A,100B…送信側メッセージ管理部、100C…送信タイミング管理部、100D…要求メッセージ送信部、100E…応答メッセージ受信部、100A1,100B1…要求メッセージ通知部、100A2,100B2…応答メッセージ取出部、200A,200B…受信側メッセージ管理部、200C…要求メッセージ受信部、100D…応答メッセージ送信部、200A1,200B1…応答メッセージ取出部、200A2,200B2…応答メッセージ通知部。
DESCRIPTION OF
Claims (5)
前記送信デバイスは、
第1の周期を送信周期とする第1のメッセージを管理する第1の送信側メッセージ管理手段と、
前記第1の周期の整数倍の第2の周期を送信周期とする第2のメッセージを管理する第2の送信側メッセージ管理手段と、
前記第1のメッセージの送信タイミングと前記第2のメッセージの送信タイミングとを揃えた状態で管理する送信タイミング管理手段と、
前記受信デバイスへのメッセージの送信を行うメッセージ送信手段と、
前記受信デバイスからの応答メッセージの受信を行う応答メッセージ受信手段とを備え、
前記受信デバイスは、
前記送信デバイスから送られてくる前記第1のメッセージを管理する第1の受信側メッセージ管理手段と、
前記送信デバイスから送られてくる前記第2のメッセージを管理する第2の受信側メッセージ管理手段と、
前記送信デバイスから送られてくるメッセージを受信するメッセージ受信手段と、
前記送信デバイスから送られてくるメッセージに対する応答メッセージを返送する応答メッセージ送信手段とを備え、
前記第1の送信側メッセージ管理手段は、
前記送信タイミング管理手段からの前記第1のメッセージの送信タイミングの指示を受けて、前記第1のメッセージを含む送信メッセージを生成し、この生成した送信メッセージを前記第2の送信側メッセージ管理手段に通知する第1の送信メッセージ通知手段を備え、
前記第2の送信側メッセージ管理手段は、
前記第1の送信側メッセージ管理手段からの第1のメッセージを含む送信メッセージの通知を受けて、現在のタイミングが前記第2のメッセージの送信タイミングであるか否かを確認し、第2のメッセージの送信タイミングであった場合、前記通知された第1のメッセージを含む送信メッセージに前記第2のメッセージを含ませ、この第2のメッセージを含ませた送信メッセージを前記メッセージ送信手段に通知する第2の送信メッセージ通知手段を備え、
前記メッセージ送信手段は、
前記第2の送信側メッセージ管理手段から通知された送信メッセージを前記受信デバイスへ送信し、
前記メッセージ受信手段は、
前記送信デバイスから送られてくる前記送信メッセージを受信して前記第2の受信側メッセージ管理手段に通知し、
前記第2の受信側メッセージ管理手段は、
前記メッセージ受信手段から通知される送信メッセージに前記第2のメッセージが含まれているか否かを確認し、第2のメッセージが含まれていた場合、当該第2のメッセージを取り出すとともに、この第2のメッセージを取り出した送信メッセージを前記第1の受信側メッセージ管理手段に通知し、
前記第1の受信側メッセージ管理手段は、
前記第2の受信側メッセージ管理手段から通知される送信メッセージに前記第1のメッセージが含まれているか否かを確認し、第1のメッセージが含まれていた場合、当該第1のメッセージを取り出し、
さらに、
前記第1の受信側メッセージ管理手段は、
前記第2の受信側メッセージ管理手段から通知される送信メッセージに前記第1のメッセージが含まれていた場合、この第1のメッセージに対する第1の応答メッセージを含む応答送信メッセージを生成し、この生成した応答送信メッセージを前記第2の受信側メッセージ管理手段に通知し、
前記第2の受信側メッセージ管理手段は、
前記メッセージ受信手段から通知される送信メッセージに前記第2のメッセージが含まれていた場合、この第2のメッセージに対する第2の応答メッセージを前記第1の受信側メッセージ管理手段から通知される応答送信メッセージに含ませ、この第2の応答メッセージを含ませた応答送信メッセージを前記応答メッセージ送信手段に通知し、
前記応答メッセージ送信手段は、
前記第2の受信側メッセージ管理手段から通知される応答送信メッセージを前記送信デバイスへ送信し、
前記応答メッセージ受信手段は、
前記受信デバイスから送られてくる前記応答送信メッセージを受信して前記第2の送信側メッセージ管理手段に通知し、
前記第2の送信側メッセージ管理手段は、
前記応答メッセージ受信手段から通知される応答送信メッセージに前記第2の応答メッセージが含まれているか否かを確認し、第2の応答メッセージが含まれていた場合、当該第2の応答メッセージを取り出すとともに、この第2の応答メッセージを取り出した応答送信メッセージを前記第1の送信側メッセージ管理手段に通知し、
前記第1の送信側メッセージ管理手段は、
前記第2の送信側メッセージ管理手段から通知される応答送信メッセージに前記第1の応答メッセージが含まれているか否かを確認し、第1の応答メッセージが含まれていた場合、当該第1の応答メッセージを取り出す
ことを特徴とする通信システム。 In a communication system including a transmitting device and a receiving device that receives a message periodically transmitted from the transmitting device,
The transmitting device is
First sending message management means for managing a first message having a first period as a transmission period;
Second transmitting-side message management means for managing a second message whose transmission period is a second period that is an integral multiple of the first period;
Transmission timing management means for managing the transmission timing of the first message and the transmission timing of the second message in a aligned state;
Message sending means for sending a message to the receiving device ;
Response message receiving means for receiving a response message from the receiving device,
The receiving device is
First receiving message management means for managing the first message sent from the transmitting device;
Second receiving message management means for managing the second message sent from the transmitting device;
Message receiving means for receiving a message sent from the transmitting device;
Response message transmission means for returning a response message to the message sent from the transmission device,
The first sender message management means includes:
In response to the transmission timing instruction of the first message from the transmission timing management means, a transmission message including the first message is generated, and the generated transmission message is sent to the second transmission side message management means. A first transmission message notification means for notifying,
The second sender message management means includes:
Upon receiving a notification of a transmission message including the first message from the first transmission side message management means, it is confirmed whether the current timing is the transmission timing of the second message, and the second message The second message is included in the transmission message including the notified first message, and the message transmission unit is notified of the transmission message including the second message. 2 transmission message notification means,
The message transmission means includes:
Transmitting the transmission message notified from the second transmission-side message management means to the reception device ;
The message receiving means includes
Receiving the transmission message sent from the transmission device and notifying the second receiving message management means,
The second receiving side message management means includes:
It is confirmed whether or not the second message is included in the transmission message notified from the message receiving means. If the second message is included, the second message is taken out and the second message is extracted. A first message management unit that notifies the first message management means of the transmission message from which
The first receiving side message management means includes:
It is confirmed whether or not the first message is included in the transmission message notified from the second receiver-side message management means. If the first message is included, the first message is extracted. ,
further,
The first receiving side message management means includes:
When the first message is included in the transmission message notified from the second reception-side message management means, a response transmission message including a first response message for the first message is generated and generated The received response transmission message to the second receiver message management means,
The second receiving side message management means includes:
When the second message is included in the transmission message notified from the message receiving means, the second response message for the second message is transmitted as a response transmitted from the first receiving message management means. A response transmission message included in the message and including the second response message is notified to the response message transmission means;
The response message transmission means includes
Transmitting a response transmission message notified from the second reception-side message management means to the transmission device;
The response message receiving means includes
Receiving the response sending message sent from the receiving device and notifying the second sending message management means;
The second sender message management means includes:
It is confirmed whether or not the second response message is included in the response transmission message notified from the response message receiving means, and if the second response message is included, the second response message is extracted. And notifying the first transmission message management means of the response transmission message obtained by extracting the second response message,
The first sender message management means includes:
It is confirmed whether or not the first response message is included in the response transmission message notified from the second transmission-side message management means, and if the first response message is included, the first response message A communication system characterized by extracting a response message .
前記第2の送信メッセージ通知手段は、
前記第1の送信側メッセージ管理手段からの第1のメッセージを含む送信メッセージの通知を受けた時のタイミングが前記第2のメッセージの送信タイミングでなかった場合、その通知された第1のメッセージを含む送信メッセージをそのまま前記メッセージ送信手段に通知する
ことを特徴とする通信システム。 The communication system according to claim 1,
The second transmission message notification means includes:
If the timing when the transmission message including the first message is received from the first transmission message management means is not the transmission timing of the second message, the notified first message is A transmission system including the transmission message including the message transmission unit as it is.
前記第1の送信メッセージ通知手段は、
前記第2の送信側メッセージ管理手段に通知する前記第1のメッセージを含む送信メッセージに当該送信メッセージの送信先を示す宛先情報を付加し、
前記第2の送信メッセージ通知手段は、
前記第1の送信側メッセージ管理手段からの第1のメッセージを含む送信メッセージの通知を受けた時のタイミングが前記第2のメッセージの送信タイミングであり、かつその通知された第1のメッセージを含む送信メッセージの送信先が前記第2のメッセージの送信先と一致する場合に、前記通知された第1のメッセージを含む送信メッセージに前記第2のメッセージを含ませ、この第2のメッセージを含ませた送信メッセージを前記メッセージ送信手段に通知する
ことを特徴とする通信システム。 In the communication system according to claim 1 or 2,
The first transmission message notification means includes:
Adding destination information indicating a transmission destination of the transmission message to a transmission message including the first message to be notified to the second transmission-side message management unit;
The second transmission message notification means includes:
The timing when receiving the notification of the transmission message including the first message from the first transmission message management means is the transmission timing of the second message, and includes the notified first message When the transmission destination of the transmission message matches the transmission destination of the second message, the transmission message including the notified first message includes the second message, and the second message is included. A communication system characterized by notifying the message transmission means of the transmitted message.
前記第1の受信側メッセージ管理手段は、
前記第2の受信側メッセージ管理手段から通知される送信メッセージに前記第1のメッセージが含まれていなかった場合、前記第1の応答メッセージを含めない応答送信メッセージを生成し、この生成した応答送信メッセージを前記第2の受信側メッセージ管理手段に通知し、
前記第2の受信側メッセージ管理手段は、
前記メッセージ受信手段から通知される送信メッセージに前記第2のメッセージが含まれていなかった場合、前記第1の受信側メッセージ管理手段から通知された応答送信メッセージをそのまま前記応答メッセージ送信手段に通知する
ことを特徴とする通信システム。 In the communication system according to any one of claims 1 to 3,
The first receiving side message management means includes:
If the first message is not included in the transmission message notified from the second receiving message management means, a response transmission message not including the first response message is generated, and the generated response transmission is generated. Notifying the second receiver message management means of a message;
The second receiving side message management means includes:
When the second message is not included in the transmission message notified from the message receiving means, the response transmission message notified from the first receiving message management means is notified to the response message transmitting means as it is. A communication system characterized by the above.
前記第1の送信側メッセージ管理手段と前記メッセージ送信手段との間に前記第2の送信側メッセージ管理手段と同構成で管理するメッセージの送信周期が異なる送信側メッセージ管理手段が複数層設けられ、
前記第1の受信側メッセージ管理手段と前記メッセージ受信手段との間に、前記第1の送信側メッセージ管理手段と前記メッセージ送信手段との間の送信側メッセージ管理手段に対応して、前記第2の受信側メッセージ管理手段と同構成で管理するメッセージが異なる受信側メッセージ管理手段が複数層設けられている
ことを特徴とする通信システム。 In the communication system according to any one of claims 1 to 4 ,
A plurality of layers of transmission-side message management means are provided between the first transmission-side message management means and the message transmission means.
Corresponding to the transmission side message management means between the first transmission side message management means and the message transmission means between the first reception side message management means and the message reception means, the second A communication system comprising a plurality of layers of receiving-side message management means different in messages managed by the same configuration as the receiving-side message management means .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009255874A JP5460245B2 (en) | 2009-11-09 | 2009-11-09 | Communications system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009255874A JP5460245B2 (en) | 2009-11-09 | 2009-11-09 | Communications system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011101279A JP2011101279A (en) | 2011-05-19 |
JP5460245B2 true JP5460245B2 (en) | 2014-04-02 |
Family
ID=44192081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009255874A Expired - Fee Related JP5460245B2 (en) | 2009-11-09 | 2009-11-09 | Communications system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5460245B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6125909B2 (en) * | 2013-05-30 | 2017-05-10 | 株式会社デンソー | Biological monitor device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09326779A (en) * | 1996-06-04 | 1997-12-16 | Okuma Mach Works Ltd | Communication controller and communication control system |
JP4153216B2 (en) * | 2002-02-18 | 2008-09-24 | 日本電信電話株式会社 | Correlation information processing method, correlation information processing apparatus, program, and recording medium |
JP3882666B2 (en) * | 2002-04-19 | 2007-02-21 | 株式会社デンソー | Transmission device and electronic control device |
JP4231995B2 (en) * | 2002-09-27 | 2009-03-04 | サクサ株式会社 | Reporting device |
JP2008118257A (en) * | 2006-11-01 | 2008-05-22 | Matsushita Electric Ind Co Ltd | Data transmission system |
-
2009
- 2009-11-09 JP JP2009255874A patent/JP5460245B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011101279A (en) | 2011-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103618800B (en) | The implementation method and device of subscribing notification | |
CN100452781C (en) | Method for transmitting partial unavailable information to destination user | |
Clausen et al. | Mobile ad hoc network (manet) neighborhood discovery protocol (nhdp) | |
Dunkels et al. | Connecting wireless sensornets with TCP/IP networks | |
CN102986170B (en) | For providing in DIAMETER network dynamically based on method, system and equipment that the routed keyword of starting point is registered | |
CN102404200B (en) | Routing using global address pairs | |
CN105227341A (en) | For the system and method by content center network management devices | |
KR20060100273A (en) | Apis to build peer to peer messaging applications | |
RU2009112643A (en) | TRANSPORTATION MANAGEMENT TRAFFIC THROUGH A MILLED NETWORK WITH MANY NETWORK SEGMENTS | |
US20220264424A1 (en) | Method for updating a number of hops that is to be used for communication between a publisher mesh node and a subscriber mesh node in a wireless mesh network | |
CN104106288A (en) | Method for managing proxy table in wireless network using proxy devices | |
KR101351285B1 (en) | Method and Apparatus for Transmission of Data between CAN Network and Ethernet Network | |
CN104486327A (en) | Method and client side of communication between pages and long connection servers | |
JP2011509557A5 (en) | ||
CN101984636A (en) | Prefix distribution method, device and system | |
CN103840976A (en) | Communication method, optical module and network device | |
WO2012175032A1 (en) | Method and device for code matching | |
KR100825735B1 (en) | Method for Address Space Management about nodes incapable of communication over ZigBee Network | |
Kim et al. | A combined network control approach for the edge cloud and LPWAN‐based IoT services | |
CN108900982A (en) | Data forwarding method and device | |
JP5460245B2 (en) | Communications system | |
CN102255808A (en) | Congestion notification method, device, system and network equipment | |
RU2008148602A (en) | SELECTION OF A TEAM NODE IN A HETEROGENEOUS COMMUNICATION SYSTEM | |
CN103067455A (en) | Voice talkback implementation method and device based on Internet | |
CN102594705B (en) | Non-IP (Internet Protocol) data transmission method suitable for wide-area internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120921 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130904 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131008 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131203 |
|
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: 20140107 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140114 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5460245 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |