JP7127481B2 - Communication system, communication device, and communication method - Google Patents

Communication system, communication device, and communication method Download PDF

Info

Publication number
JP7127481B2
JP7127481B2 JP2018203125A JP2018203125A JP7127481B2 JP 7127481 B2 JP7127481 B2 JP 7127481B2 JP 2018203125 A JP2018203125 A JP 2018203125A JP 2018203125 A JP2018203125 A JP 2018203125A JP 7127481 B2 JP7127481 B2 JP 7127481B2
Authority
JP
Japan
Prior art keywords
timeout period
communication device
communication
request data
timeout
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
JP2018203125A
Other languages
Japanese (ja)
Other versions
JP2020072304A (en
Inventor
淳一 道又
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2018203125A priority Critical patent/JP7127481B2/en
Publication of JP2020072304A publication Critical patent/JP2020072304A/en
Application granted granted Critical
Publication of JP7127481B2 publication Critical patent/JP7127481B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Description

本発明は、通信システム、通信装置、及び通信方法に関する。 The present invention relates to a communication system, communication device, and communication method.

通信装置間における通信を制御するための制御プロトコルが知られている。制御プロトコルとしては、例えば、Link OAM(Operations, Administration, Maintenance)、LACP(Link Aggregation Control Protocol)、ETH-OAM(Ethernet OAM)、MQTT(Message Queuing Telemetry Transport)がある。 Control protocols are known for controlling communications between communication devices. Examples of control protocols include Link OAM (Operations, Administration, Maintenance), LACP (Link Aggregation Control Protocol), ETH-OAM (Ethernet OAM), and MQTT (Message Queuing Telemetry Transport).

制御プロトコルの多くでは、対向装置から一定期間データを受信しない場合にセッションを切断するタイムアウトが規定される。タイムアウトが発生すると、通信装置間でのデータ転送が停止する。このため、必要がない場合にはタイムアウトを生じさせないことが望まれる。 Many control protocols define a timeout that disconnects a session if no data is received from the opposite device for a certain period of time. When a timeout occurs, data transfer between communication devices stops. Therefore, it is desirable not to cause a timeout when it is not necessary.

非特許文献1には、制御プロトコルを処理するプロセッサを冗長に構成し、障害等が発生して1つのプロセッサを使用できなくなっても、セッションを切断することなく他のプロセッサによってデータ転送を継続することが可能なシステムが開示される。 In Non-Patent Document 1, processors that process control protocols are configured redundantly, and even if one processor becomes unusable due to a failure or the like, another processor continues data transfer without disconnecting the session. A system is disclosed that can.

Cisco NSF/SSO(ノンストップ フォワーディング/ステート フル スイッチオーバー) 導入ガイド、[online]、[平成30年10月11日検索]、インターネット<https://www.cisco.com/web/JP/product/hs/switches/cat6500/prodlit/nfssdg_dg.html>Cisco NSF/SSO (Nonstop Forwarding/Stateful Switchover) Introduction Guide, [online], [searched on October 11, 2018], Internet <https://www.cisco.com/web/JP/product/ hs/switches/cat6500/prodlit/nfssdg_dg.html>

しかしながら、非特許文献1に開示されるシステムは、構成が複雑であるという問題がある。 However, the system disclosed in Non-Patent Document 1 has a problem that the configuration is complicated.

本開示は、以下の発明を含む。但し、本発明は、特許請求の範囲によって定められるものである。 The present disclosure includes the following inventions. However, the present invention is defined by the claims.

本発明の一態様に係る通信システムは、第1通信装置と、第2通信装置と、を備え、前記第1通信装置は、前記第2通信装置との間での制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定する判定部と、前記判定部によって前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信する送信部と、を有し、前記第2通信装置は、前記第1通信装置によって送信された前記延長要求データを受信する受信部と、前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、を有する。 A communication system according to an aspect of the present invention comprises a first communication device and a second communication device, wherein the first communication device, during a control protocol session with the second communication device, a determination unit that determines whether or not a cause for stopping communication with the second communication device according to the control protocol occurs in the first communication device; and a timeout when the determination unit determines that the cause occurs. a transmission unit that transmits extension request data for requesting an extension of time, wherein the second communication device includes a reception unit that receives the extension request data transmitted by the first communication device; and a setting unit configured to change a setting from a first timeout period to a second timeout period longer than the first timeout period when the extension request data is received by the receiving unit.

本発明の一態様に係る通信装置は、対向通信装置と制御プロトコルによる通信を行う通信装置であって、前記対向通信装置との間での前記制御プロトコルのセッション中に、前記制御プロトコルによる前記対向通信装置との通信を停止させる原因が自装置に生じるか否かを判定する判定部と、前記判定部によって前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを前記対向通信装置に送信する送信部と、を備える。 A communication device according to an aspect of the present invention is a communication device that performs communication with a counterpart communication device according to a control protocol, wherein during a session of the control protocol with the counterpart communication device, a determination unit for determining whether or not a cause for stopping communication with a communication device occurs in the own device; and an extension request for requesting an extension of the timeout period when the determination unit determines that the cause occurs. and a transmission unit that transmits data to the counterpart communication device.

本発明の一態様に係る通信装置は、対向通信装置と制御プロトコルによる通信を行う通信装置であって、前記対向通信装置との間での前記制御プロトコルのセッション中に、前記対向通信装置によって送信された、タイムアウト時間の延長を要求するための延長要求データを受信する受信部と、前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、を備える。 A communication device according to an aspect of the present invention is a communication device that performs communication with a counterpart communication device according to a control protocol, wherein during a session of the control protocol with the counterpart communication device, a message is transmitted by the counterpart communication device. a receiving unit for receiving extension request data for requesting extension of the timeout period, and when the extension request data is received by the receiving unit, from the first timeout period to the first timeout period a setting unit for changing the setting to a longer second timeout period.

本発明の一態様に係る通信方法は、第1通信装置と第2通信装置とが制御プロトコルによる通信を行う通信方法であって、前記第1通信装置が、前記第2通信装置との間での前記制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定するステップと、前記第1通信装置が、前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信するステップと、前記第2通信装置が、前記第1通信装置によって送信された前記延長要求データを受信するステップと、前記第2通信装置が、前記延長要求データを受信した場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更するステップと、を有する。 A communication method according to an aspect of the present invention is a communication method in which a first communication device and a second communication device communicate according to a control protocol, wherein the first communication device communicates with the second communication device a step of determining whether or not a cause for stopping communication with the second communication device by the control protocol occurs in the first communication device during the session of the control protocol of; a step of transmitting extension request data for requesting extension of the timeout period when it is determined that a cause has occurred; and the second communication device receiving the extension request data transmitted by the first communication device. and changing the setting from a first timeout period to a second timeout period longer than the first timeout period when the second communication device receives the extension request data.

本発明は、上記のような特徴的な処理部を備える通信装置として実現することができるだけでなく、かかる特徴的な処理をステップとする通信方法として実現したり、かかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現したりすることができる。また、通信装置の一部又は全部を半導体集積回路として実現したり、通信装置を含む通信システムとして実現したりすることができる。 The present invention can be realized not only as a communication device having the characteristic processing unit as described above, but also as a communication method having steps of such characteristic processing, and for causing a computer to execute such steps. can be implemented as a computer program. Moreover, part or all of the communication device can be implemented as a semiconductor integrated circuit, or a communication system including the communication device can be implemented.

本発明によれば、通信システムを簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。 ADVANTAGE OF THE INVENTION According to this invention, the disconnection of the session by timeout generation|occurrence|production can be avoided, while making a communication system a simple structure.

実施形態に係る通信システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the communication system which concerns on embodiment. 親局装置の内部構成の一例を示すブロック図である。4 is a block diagram showing an example of the internal configuration of a master station device; FIG. 親局装置における制御部のハードウェア構成の一例を示すブロック図である。4 is a block diagram showing an example of a hardware configuration of a controller in the master station device; FIG. Information OAMフレームのフォーマットを示す模式図である。FIG. 4 is a schematic diagram showing the format of an Information OAM frame; 子局装置の内部構成の一例を示すブロック図である。4 is a block diagram showing an example of an internal configuration of a slave station device; FIG. 子局装置における制御部のハードウェア構成の一例を示すブロック図である。4 is a block diagram showing an example of a hardware configuration of a control unit in a child station device; FIG. 実施形態に係る通信システムによるタイムアウト時間制御処理の手順を示すフローチャートである。9 is a flowchart showing the procedure of timeout time control processing by the communication system according to the embodiment; LACPフレームのフォーマットを示す模式図である。FIG. 2 is a schematic diagram showing the format of an LACP frame; FIG. VSMフレームのフォーマットを示す模式図である。FIG. 4 is a schematic diagram showing the format of a VSM frame; 第3変形例に係る通信システムの構成の一例を示す図である。FIG. 13 is a diagram showing an example of a configuration of a communication system according to a third modified example; FIG. CONNECTパケットのフォーマットを示す模式図である。FIG. 4 is a schematic diagram showing the format of a CONNECT packet;

<本発明の実施形態の概要>
以下、本発明の実施形態の概要を列記して説明する。
(1) 本実施形態に係る通信システムは、第1通信装置と、第2通信装置と、を備え、前記第1通信装置は、前記第2通信装置との間での制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定する判定部と、前記判定部によって前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信する送信部と、を有し、前記第2通信装置は、前記第1通信装置によって送信された前記延長要求データを受信する受信部と、前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、を有する。これにより、第2通信装置との通信を停止させる原因が生じる前に、タイムアウト時間を延長することができる。したがって、通信システムを簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。
<Overview of Embodiments of the Present Invention>
Hereinafter, the outline of the embodiments of the present invention will be listed and described.
(1) A communication system according to the present embodiment includes a first communication device and a second communication device, and the first communication device, during a control protocol session with the second communication device, a determination unit for determining whether or not the first communication device causes the communication with the second communication device to stop according to the control protocol; and when the determination unit determines that the cause occurs, a transmission unit that transmits extension request data for requesting extension of the timeout period, wherein the second communication device includes a reception unit that receives the extension request data transmitted by the first communication device; a setting unit configured to change a setting from a first timeout period to a second timeout period longer than the first timeout period when the extension request data is received by the receiving unit. As a result, the timeout period can be extended before a cause for stopping communication with the second communication device occurs. Therefore, it is possible to avoid disconnection of a session due to the occurrence of a timeout while simplifying the configuration of the communication system.

(2) また、本実施形態に係る通信システムにおいて、前記延長要求データは、延長後のタイムアウト時間として前記第2タイムアウト時間を指定する領域を含んでもよい。これにより、第1通信装置において任意の第2タイムアウト時間を指定することができる。 (2) Further, in the communication system according to the present embodiment, the extension request data may include an area specifying the second timeout period as the timeout period after extension. This allows an arbitrary second timeout period to be specified in the first communication device.

(3) また、本実施形態に係る通信システムにおいて、前記送信部は、前記第2タイムアウト時間への設定の変更後において、前記タイムアウト時間の短縮を要求する短縮要求データを送信し、前記設定部は、前記受信部によって前記短縮要求データが受信された場合に、前記第2タイムアウト時間から、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、延長されたタイムアウト時間を短縮することができる。 (3) Further, in the communication system according to the present embodiment, the transmission unit transmits shortening request data requesting reduction of the timeout period after the setting of the second timeout period is changed, and the setting unit may change the setting from the second timeout period to a timeout period shorter than the second timeout period when the shortening request data is received by the receiving unit. As a result, the extended timeout period can be shortened.

(4) また、本実施形態に係る通信システムにおいて、前記短縮要求データは、短縮後のタイムアウト時間を指定する領域を含んでもよい。これにより、第1通信装置において任意の短縮後のタイムアウト時間を指定することができる。 (4) Further, in the communication system according to the present embodiment, the shortening request data may include an area specifying a timeout period after shortening. As a result, an arbitrary shortened timeout period can be specified in the first communication device.

(5) また、本実施形態に係る通信システムにおいて、前記設定部は、前記第2タイムアウト時間が設定されている場合において、タイムアウトが発生した後、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、タイムアウトが発生した後に、延長されたタイムアウト時間を短縮することができる。 (5) Further, in the communication system according to the present embodiment, when the second timeout period is set, the setting unit sets a timeout period shorter than the second timeout period after the timeout occurs. You can change it. As a result, the extended timeout period can be shortened after timeout occurs.

(6) また、本実施形態に係る通信システムにおいて、前記送信部は、前記第2タイムアウト時間への設定の変更後において、前記原因に異常が生じた場合に、前記タイムアウト時間の短縮を要求する短縮要求データを送信し、前記設定部は、前記受信部によって前記短縮要求データが受信された場合に、前記第2タイムアウト時間から、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、通信を停止させる原因に異常が発生し、通信が停止されなくなった場合に、延長されたタイムアウト時間を短縮させることができる。 (6) Further, in the communication system according to the present embodiment, the transmission unit requests reduction of the timeout period when an abnormality occurs due to the cause after the setting of the second timeout period is changed. Shortening request data is transmitted, and when the shortening request data is received by the receiving unit, the setting unit may change the setting from the second timeout period to a shorter timeout period than the second timeout period. good. This makes it possible to shorten the extended timeout period when an abnormality occurs as a cause for stopping communication and communication is no longer stopped.

(7) また、本実施形態に係る通信システムにおいて、前記原因は、前記第1通信装置における制御プログラムの更新であってもよい。これにより、制御プログラムの更新の間に通信が停止しても、タイムアウトの発生によるセッションの切断を回避することができる。 (7) Further, in the communication system according to the present embodiment, the cause may be update of a control program in the first communication device. As a result, even if communication is stopped while updating the control program, disconnection of the session due to the occurrence of timeout can be avoided.

(8) また、本実施形態に係る通信システムにおいて、前記制御プロトコルは、Link OAM(Operations, Administration, Maintenance)、LACP(Link Aggregation Control Protocol)、ETH-OAM(Ethernet OAM)、MQTT(Message Queuing Telemetry Transport)のうちの少なくとも1つを含んでもよい。これにより、Link OAM、LACP、ETH-OAM、MQTTのうちの少なくとも1つにおいて、タイムアウトの発生によるセッションの切断を回避することができる。 (8) In the communication system according to the present embodiment, the control protocol includes Link OAM (Operations, Administration, Maintenance), LACP (Link Aggregation Control Protocol), ETH-OAM (Ethernet OAM), MQTT (Message Queuing Telemetry Transport). As a result, in at least one of Link OAM, LACP, ETH-OAM, and MQTT, it is possible to avoid session disconnection due to the occurrence of a timeout.

(9) 本実施形態に係る通信装置は、対向通信装置と制御プロトコルによる通信を行う通信装置であって、前記対向通信装置との間での前記制御プロトコルのセッション中に、前記制御プロトコルによる前記対向通信装置との通信を停止させる原因が自装置に生じるか否かを判定する判定部と、前記判定部によって前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを前記対向通信装置に送信する送信部と、を備える。これにより、対向通信装置との通信を停止させる原因が生じる前に、タイムアウト時間を延長することができる。したがって、通信システムを簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。 (9) A communication device according to the present embodiment is a communication device that performs communication with a counterpart communication device using a control protocol, wherein during a session of the control protocol with the counterpart communication device, the a determination unit for determining whether or not a cause for stopping communication with the opposite communication device occurs in the own device; and an extension for requesting an extension of the timeout period when the determination unit determines that the cause occurs. and a transmitting unit configured to transmit request data to the counterpart communication device. As a result, the timeout period can be extended before a cause for stopping communication with the counterpart communication device occurs. Therefore, it is possible to avoid disconnection of a session due to the occurrence of a timeout while simplifying the configuration of the communication system.

(10) 本実施形態に係る通信装置は、対向通信装置と制御プロトコルによる通信を行う通信装置であって、前記対向通信装置との間での前記制御プロトコルのセッション中に、前記対向通信装置によって送信された、タイムアウト時間の延長を要求するための延長要求データを受信する受信部と、前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、を備える。これにより、対向通信装置との間での制御プロトコルのセッション中に、タイムアウト時間を延長することができる。したがって、通信システムを簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。 (10) A communication device according to the present embodiment is a communication device that performs communication with a counterpart communication device according to a control protocol, wherein during a session of the control protocol with the counterpart communication device, a receiving unit for receiving the transmitted extension request data for requesting extension of the timeout period; a setting unit for changing the setting to a longer second timeout period. This makes it possible to extend the timeout period during the control protocol session with the opposite communication device. Therefore, it is possible to avoid disconnection of a session due to the occurrence of a timeout while simplifying the configuration of the communication system.

(11) 本実施形態に係る通信方法は、第1通信装置と第2通信装置とが制御プロトコルによる通信を行う通信方法であって、前記第1通信装置が、前記第2通信装置との間での前記制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定するステップと、前記第1通信装置が、前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信するステップと、前記第2通信装置が、前記第1通信装置によって送信された前記延長要求データを受信するステップと、前記第2通信装置が、前記延長要求データを受信した場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更するステップと、を有する。これにより、第2通信装置との通信を停止させる原因が生じる前に、タイムアウト時間を延長することができる。したがって、通信システムを簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。 (11) A communication method according to the present embodiment is a communication method in which a first communication device and a second communication device communicate according to a control protocol, wherein the first communication device communicates with the second communication device. determining whether the first communication device causes the communication with the second communication device according to the control protocol to stop during the session of the control protocol in; transmitting extension request data for requesting extension of the timeout period when it is determined that the cause occurs; and transmitting the extension request data transmitted by the first communication device to the second communication device. receiving; and changing the setting from a first timeout period to a second timeout period longer than the first timeout period when the second communication device receives the extension request data. . As a result, the timeout period can be extended before a cause for stopping communication with the second communication device occurs. Therefore, it is possible to avoid disconnection of a session due to the occurrence of a timeout while simplifying the configuration of the communication system.

<本発明の実施形態の詳細>
以下、図面を参照しつつ、本発明の実施形態の詳細を説明する。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。
<Details of the embodiment of the present invention>
Hereinafter, details of embodiments of the present invention will be described with reference to the drawings. At least part of the embodiments described below may be combined arbitrarily.

本実施形態では、Link OAMによる通信を行う通信システムについて説明する。 In this embodiment, a communication system that performs communication by Link OAM will be described.

[1.通信システムの構成]
図1は、本実施形態に係る通信システムの構成の一例を示す図である。図1に示すように、通信システム10は、親局装置(第1通信装置)1と、子局装置(第2通信装置)2と、通信回線3とを備える。
[1. Configuration of communication system]
FIG. 1 is a diagram showing an example of the configuration of a communication system according to this embodiment. As shown in FIG. 1 , a communication system 10 includes a master station device (first communication device) 1 , a slave station device (second communication device) 2 , and a communication line 3 .

第1及び第2通信装置1,2は、それぞれ回線終端装置として機能する通信装置である。従って、通信回線3は、第1及び第2通信装置1,2との接続端において終端する。 The first and second communication devices 1 and 2 are communication devices functioning as line termination devices, respectively. Therefore, the communication line 3 terminates at the connection ends with the first and second communication devices 1 and 2 .

通信回線3は、光ファイバ又は同軸ケーブルなどの通信ケーブルよりなる。通信回線3の代わりに、無線通信の伝送路を採用することもできる。なお、本実施形態では、通信回線3が光ファイバである場合を想定する。
通信システム10の上位側に位置する第1通信装置1は、上位網5と通信可能に接続され、通信システム10の下位側に位置する第2通信装置2は、下位網6と通信可能に接続されている。下位網6は、例えば、宅内LAN(Local Area Network)又は社内LANなどよりなる。
The communication line 3 consists of a communication cable such as an optical fiber or a coaxial cable. Instead of the communication line 3, a transmission line for wireless communication can also be adopted. In this embodiment, it is assumed that the communication line 3 is an optical fiber.
A first communication device 1 positioned on the upper side of the communication system 10 is communicably connected to the upper network 5, and a second communication device 2 positioned on the lower side of the communication system 10 is communicably connected to the lower network 6. It is The lower network 6 is composed of, for example, an in-house LAN (Local Area Network) or an in-house LAN.

第1及び第2通信装置1,2は、イーサネット(登録商標)フレーム、IPパケット等のPDU(Protocol Data Unit)である通信データを送受信可能であり、ETH-OAMに対応する通信機器である。また、第1及び第2通信装置1,2は、IEEE802.3ahに規定するLink OAMの機能を有する。
Link OAMは、一対のイーサネット機器間の物理回線や通信状態の監視などを目的とする、P2P(Point to Point)での利用を前提とするOAM機能であり、制御プロトコルである。
The first and second communication devices 1 and 2 are communication devices capable of transmitting and receiving communication data, which are PDUs (Protocol Data Units) such as Ethernet (registered trademark) frames and IP packets, and are compatible with ETH-OAM. Also, the first and second communication devices 1 and 2 have a Link OAM function defined in IEEE802.3ah.
Link OAM is an OAM function and a control protocol premised on P2P (Point to Point) use for the purpose of monitoring physical lines and communication states between a pair of Ethernet devices.

図1の例では、上位側の回線終端装置である第1通信装置1が「親局装置1」であり、下位側の回線終端装置である第2通信装置2が「子局装置2」である。 In the example of FIG. 1, the first communication device 1, which is the line termination device on the upper side, is the "master station device 1", and the second communication device 2, which is the line termination device on the lower side, is the "slave station device 2". be.

[2.親局装置の内部構成]
図2は、親局装置1の内部構成の一例を示すブロック図である。図2において、実線の矢印は通信データの伝送方向を示し、破線の矢印は制御信号の内部バスを示す。
図2に示すように、本実施形態の親局装置1は、上位側インタフェース部11、制御部12、受信処理部13、送信処理部14、対向側インタフェース部15、上りバッファ16、及び下りバッファ17を備える。
[2. Internal configuration of master station device]
FIG. 2 is a block diagram showing an example of the internal configuration of the master station device 1. As shown in FIG. In FIG. 2, solid-line arrows indicate the transmission direction of communication data, and broken-line arrows indicate internal buses for control signals.
As shown in FIG. 2, the master station device 1 of the present embodiment includes an upper side interface section 11, a control section 12, a reception processing section 13, a transmission processing section 14, a counterpart side interface section 15, an up buffer 16, and a down buffer. 17.

上位側インタフェース部11は、上り方向及び下り方向の電気信号に対して、レイヤ1及びレイヤ2の通信処理を実行する集積回路を含む。
制御部12、受信処理部13及び送信処理部14は、上り方向及び下り方向の通信データに対して、IEEE 802.3ahなどの所定の通信規格に則った通信処理を実行する集積回路(例えば、MACチップ)よりなる。
The upper interface unit 11 includes an integrated circuit that performs layer 1 and layer 2 communication processing for upstream and downstream electrical signals.
The control unit 12, the reception processing unit 13, and the transmission processing unit 14 are integrated circuits (for example, MAC chip).

図3は、制御部12のハードウェア構成の一例を示すブロック図である。具体的な一例では、制御部12は、CPU(Central Processing Unit)12aと、ROM(Read Only Memory)からなる非一過性メモリ12bと、RAM(Random Access Memory)からなる一過性メモリ12cと、通信データ及び制御信号の入出力を行う入出力部12dとを有する。 FIG. 3 is a block diagram showing an example of the hardware configuration of the controller 12. As shown in FIG. In a specific example, the control unit 12 includes a CPU (Central Processing Unit) 12a, a non-transitory memory 12b consisting of a ROM (Read Only Memory), and a transient memory 12c consisting of a RAM (Random Access Memory). , and an input/output unit 12d for inputting/outputting communication data and control signals.

非一過性メモリ12bには、制御プログラム12eが記憶される。親局装置1は、コンピュータを備えて構成され、親局装置1の設定機能は、前記コンピュータの記憶装置に記憶されたコンピュータプログラムである制御プログラム12eがCPU12aによって実行されることで発揮される。制御プログラム12eは、CD-ROMなどの記録媒体に記憶させることができる。CPU12aは、制御プログラム12eを実行することができる。CPU12aが制御プログラム12eを実行することにより、親局装置1は後述するような処理を実行することができる。 A control program 12e is stored in the non-transitory memory 12b. The master station device 1 comprises a computer, and the setting function of the master station device 1 is exhibited by the CPU 12a executing a control program 12e, which is a computer program stored in the storage device of the computer. The control program 12e can be stored in a recording medium such as a CD-ROM. The CPU 12a can execute the control program 12e. By executing the control program 12e by the CPU 12a, the master station device 1 can execute processing described later.

なお、制御部12の構成は上記に限られない。制御部12は、FPGA(Field-Programmable Gate Array)によって構成されていてもよい。 In addition, the structure of the control part 12 is not restricted above. The control unit 12 may be configured by an FPGA (Field-Programmable Gate Array).

再び図2を参照する。受信処理部13及び送信処理部14は、特定の情報処理が可能となるように設計された論理回路デバイスよりなり、例えば、ASIC(Application Specific Integrated Circuit)及びFPGAのうちの少なくとも1つを含む。 Refer to FIG. 2 again. The reception processing unit 13 and the transmission processing unit 14 are composed of logic circuit devices designed to enable specific information processing, and include at least one of ASIC (Application Specific Integrated Circuit) and FPGA, for example.

対向側インタフェース部15は、光信号を送受信する素子を含む光通信デバイス(例えば、プラガブル光トランシーバ)よりなる。
対向側インタフェース部15は、光ファイバ3から受信した光信号を電気信号よりなる通信データに変換し、変換した通信データを受信処理部13に出力する。対向側インタフェース部15は、送信処理部14からの通信データを光信号に変換し、変換した光信号を光ファイバ3に送出する。
The opposite side interface unit 15 is composed of an optical communication device (for example, a pluggable optical transceiver) including elements for transmitting and receiving optical signals.
The opposite side interface unit 15 converts the optical signal received from the optical fiber 3 into communication data consisting of an electrical signal, and outputs the converted communication data to the reception processing unit 13 . The opposite side interface section 15 converts the communication data from the transmission processing section 14 into an optical signal and sends the converted optical signal to the optical fiber 3 .

受信処理部13は、「制御プロトコル判定処理」を実行可能である。この処理は、対向側インタフェース部15から入力された通信データが、制御プロトコルの制御データ(以下、「制御プロトコルデータ」という)であるか否かを判定する処理である。制御プロトコルデータには、Link OAM、LACP、及びETH-OAMそれぞれの通信フレーム、MQTTの通信パケットが含まれる。本実施形態では、制御プロトコルデータをLink OAMの通信フレームとする。即ち、制御プロトコル判定処理では、入力された通信データが、Link OAMの通信フレームであるか、それ以外のPDUであるかが判定される。 The reception processing unit 13 can execute a "control protocol determination process". This process is a process of determining whether or not the communication data input from the opposite-side interface section 15 is control data of a control protocol (hereinafter referred to as "control protocol data"). The control protocol data includes communication frames of Link OAM, LACP, and ETH-OAM, and communication packets of MQTT. In this embodiment, the control protocol data is a Link OAM communication frame. That is, in the control protocol determination process, it is determined whether the input communication data is a Link OAM communication frame or other PDU.

受信処理部13は、入力された通信データが制御プロトコルデータであると判定された場合に、当該制御プロトコルデータを制御部12に出力する。受信処理部13は、入力された通信データが制御プロトコルデータでないと判定された場合に、当該通信データを上りバッファ16に出力する。 The reception processing unit 13 outputs the control protocol data to the control unit 12 when it is determined that the input communication data is the control protocol data. The reception processing unit 13 outputs the communication data to the upstream buffer 16 when it is determined that the input communication data is not the control protocol data.

上位側インタフェース部11は、上位網5から受信した搬送信号を通信データに変換し、変換した通信データを下りバッファ17に出力する。
上位側インタフェース部11は、上りバッファ16に通信データがあれば、その通信データを搬送信号に変換し、変換した搬送信号を上位網5に送出する。
The upper interface unit 11 converts the carrier signal received from the upper network 5 into communication data, and outputs the converted communication data to the down buffer 17 .
If there is communication data in the upstream buffer 16 , the upper interface section 11 converts the communication data into a carrier signal and sends the converted carrier signal to the upper network 5 .

送信処理部14は、下りバッファ17に通信データがあれば、制御部12から制御プロトコルデータが入力される合間に下りバッファ17から通信データを取り出し、対向側インタフェース部15に出力する。 If there is communication data in the downlink buffer 17 , the transmission processing unit 14 takes out the communication data from the downlink buffer 17 and outputs it to the opposite side interface unit 15 between the control protocol data being input from the control unit 12 .

制御部12は、「状態管理処理」と、「第1判定処理」と、「第2判定処理」と、「延長要求データ生成処理」と、「短縮要求データ生成処理」とを実行可能である。 The control unit 12 can execute a "state management process", a "first determination process", a "second determination process", an "extension request data generation process", and a "shortening request data generation process". .

状態管理処理は、制御プロトコルによるセッションが確立された状態であるか、セションが切断された状態であるかを判定する処理である。 The state management process is a process of determining whether a session is established by the control protocol or disconnected.

第1判定処理は、子局装置2との間での制御プロトコルのセッション中に、制御プロトコルによる子局装置2との通信を停止させる原因が親局装置1に生じるか否かを判定する処理である。具体的な一例では、制御プロトコルによる子局装置2との通信を停止させる原因は、制御プログラム12eの更新である。つまり、第1判定処理において、制御部12のCPU12aは、子局装置2との間での制御プロトコルのセッション中に、制御プログラム12eの更新が必要であるか否かを判定する。 The first determination process is a process of determining whether or not the master station device 1 causes the communication with the slave station device 2 to stop according to the control protocol during the session of the control protocol with the slave station device 2. is. As a specific example, the reason for stopping the communication with the slave station device 2 based on the control protocol is the updating of the control program 12e. That is, in the first determination process, the CPU 12a of the control unit 12 determines whether or not it is necessary to update the control program 12e during the control protocol session with the slave station device 2 .

第2判定処理は、制御プロトコルによる子局装置2との通信を停止させる原因に異常が発生したか否かを判定する処理である。具体的な一例では、第2判定処理において、CPU12aは、制御プログラム12eの更新処理において異常が発生したか否かを判定する。 The second determination process is a process of determining whether or not an abnormality has occurred as a cause for stopping communication with the slave station device 2 according to the control protocol. As a specific example, in the second determination process, the CPU 12a determines whether or not an abnormality has occurred in the update process of the control program 12e.

「延長要求データ生成処理」は、第1判定処理において、制御プロトコルによる子局装置2との通信を停止させる原因が生じたと判定された場合に、タイムアウト時間の延長を要求するための制御プロトコルデータである延長要求データを生成する処理である。 The "extension request data generation process" is control protocol data for requesting an extension of the timeout period when it is determined in the first determination process that a cause for stopping communication with the slave station device 2 by the control protocol has occurred. This is the process of generating the extension request data.

「短縮要求データ生成処理」は、制御プロトコルによる子局装置2との通信を停止させる原因が無くなった場合、又は、当該原因に異常が発生したと判定された場合に、タイムアウト時間の短縮を要求するための制御プロトコルデータである短縮要求データを生成する処理である。つまり、CPU12aは、制御プログラム12eの更新が完了した場合に、短縮要求データを生成する。CPU12aは、制御プログラムの更新処理において異常が発生したと判定された場合に、短縮要求データを生成する。 "Shortening request data generation processing" requests shortening of the timeout time when the cause for stopping the communication with the slave station device 2 by the control protocol disappears, or when it is determined that the cause is abnormal. This is the process of generating the shortened request data, which is the control protocol data for doing. That is, the CPU 12a generates the shortening request data when the update of the control program 12e is completed. The CPU 12a generates shortening request data when it is determined that an abnormality has occurred in the updating process of the control program.

本実施形態では、延長要求データ及び短縮要求データは、Link OAMのInformation OAMフレームとして生成される。図4は、Information OAMフレームのフォーマットを示す模式図である。Information OAMフレームは、イーサネットフレームの一種であり、宛先アドレス、送信元アドレス、長さ/タイプ、データ等のフィールドを有する。Information OAMフレームのデータフィールドは、Local Information TLVフィールド、Remote Information TLVフィールド、及びInformation TLV#3フィールドを含む。 In this embodiment, the extension request data and shortening request data are generated as Link OAM Information OAM frames. FIG. 4 is a schematic diagram showing the format of the Information OAM frame. An Information OAM frame is a type of Ethernet frame and has fields such as destination address, source address, length/type, and data. A data field of the Information OAM frame includes a Local Information TLV field, a Remote Information TLV field, and an Information TLV#3 field.

本実施形態に係る通信システム10では、Information TLV#3フィールドにおいて、タイムアウト時間が指定される。 In the communication system 10 according to this embodiment, a timeout period is specified in the Information TLV#3 field.

延長要求データでは、Information TLV#3フィールドにおいて、延長後のタイムアウト時間(第2タイムアウト時間)が指定される。Information TLV#3フィールドは、タイプ(Type)、長さ(Length)、値(Value)の3つのサブフィールドを有する。具体的な一例では、延長要求データにおけるInformation TLV#3フィールドのTypeフィールドにはベンダ独自タイプを示す0xFEが指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには延長後のタイムアウト時間が指定される。 In the extension request data, the extended timeout period (second timeout period) is specified in the Information TLV#3 field. The Information TLV#3 field has three subfields of type (Type), length (Length), and value (Value). In a specific example, the Type field of the Information TLV #3 field in the extension request data is specified with 0xFE indicating a vendor-specific type, the Length field is specified with 0x02 indicating 2 bytes, and the Value field is after the extension. A timeout period is specified.

短縮要求データでは、Information TLV#3フィールドにおいて、短縮後のタイムアウト時間が指定される。具体的な一例では、短縮要求データにおけるInformation TLV#3フィールドのTypeフィールドにはベンダ独自タイプを示す0xFEが指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには短縮後のタイムアウト時間が指定される。 In the shortening request data, the timeout time after shortening is specified in the Information TLV#3 field. In a specific example, the Type field of the Information TLV #3 field in the shortened request data is specified with 0xFE indicating a vendor-specific type, the Length field is specified with 0x02 indicating 2 bytes, and the Value field is after shortening. A timeout period is specified.

再び図2を参照する。制御部12は、制御プロトコルデータを生成し、送信処理部14に出力する。送信処理部14は、制御部12から下り方向の制御プロトコルデータが入力されると、入力された制御プロトコルデータを対向側インタフェース部15に出力する。対向側インタフェース部15は、入力された下り方向の制御プロトコルデータを光ファイバ3に送出する。 Refer to FIG. 2 again. The control unit 12 generates control protocol data and outputs it to the transmission processing unit 14 . When receiving downlink control protocol data from the control unit 12 , the transmission processing unit 14 outputs the input control protocol data to the opposite side interface unit 15 . The opposite side interface unit 15 sends out the input downlink control protocol data to the optical fiber 3 .

制御部12は、子局装置2が送信元の制御プロトコルデータを受信処理部13から入力されると、制御プロトコルデータに関する情報処理として、当該制御プロトコルデータの内容に応じた所定の処理を実行する。
例えば、制御部12は、子局装置2が送信元の制御プロトコルデータに応じて、対向側インタフェース部15又は上位側インタフェース部11の送受信速度を変更したり、受信処理部13又は送信処理部14の動作を停止又は開始したりする。
When the control protocol data of the transmission source of the slave station device 2 is input from the reception processing unit 13, the control unit 12 executes a predetermined process according to the contents of the control protocol data as information processing related to the control protocol data. .
For example, the control unit 12 changes the transmission/reception speed of the opposite side interface unit 15 or the upper side interface unit 11, or stop or start the operation of

[3.子局装置の内部構成]
図5は、子局装置2の内部構成の一例を示すブロック図である。図5において、実線の矢印は通信データの伝送方向を示し、破線の矢印は制御信号の内部バスを示す。
図5に示すように、本実施形態の子局装置2は、下位側インタフェース部21、制御部22、受信処理部23、送信処理部24、対向側インタフェース部25、上りバッファ26、及び下りバッファ27を備える。
[3. Internal configuration of slave station device]
FIG. 5 is a block diagram showing an example of the internal configuration of the slave station device 2. As shown in FIG. In FIG. 5, solid-line arrows indicate the transmission direction of communication data, and broken-line arrows indicate internal buses for control signals.
As shown in FIG. 5, the slave station device 2 of the present embodiment includes a lower-side interface section 21, a control section 22, a reception processing section 23, a transmission processing section 24, a counter-side interface section 25, an up-buffer 26, and a down-buffer. 27.

下位側インタフェース部21は、上り方向及び下り方向の電気信号に対して、レイヤ1及びレイヤ2の通信処理を実行する集積回路を含む。
制御部22、受信処理部23及び送信処理部24は、上り方向及び下り方向の通信データに対して、IEEE 802.3ahなどの所定の通信規格に則った通信処理を実行する集積回路(例えば、MACチップ)よりなる。
The lower interface unit 21 includes an integrated circuit that performs layer 1 and layer 2 communication processing for upstream and downstream electrical signals.
The control unit 22, the reception processing unit 23, and the transmission processing unit 24 are integrated circuits (for example, MAC chip).

図6は、制御部22のハードウェア構成の一例を示すブロック図である。具体的な一例では、制御部22は、CPU22aと、ROMからなる非一過性メモリ22bと、RAMからなる一過性メモリ22cと、通信データ及び制御信号の入出力を行う入出力部22dとを有する。 FIG. 6 is a block diagram showing an example of the hardware configuration of the controller 22. As shown in FIG. In a specific example, the control unit 22 includes a CPU 22a, a non-transitory memory 22b made up of ROM, a transient memory 22c made up of RAM, and an input/output unit 22d for inputting/outputting communication data and control signals. have

非一過性メモリ22bには、制御プログラム22eが記憶される。子局装置2は、コンピュータを備えて構成され、子局装置2の設定機能は、前記コンピュータの記憶装置に記憶されたコンピュータプログラムである制御プログラム22eがCPU22aによって実行されることで発揮される。制御プログラム22eは、CD-ROMなどの記録媒体に記憶させることができる。CPU22aは、制御プログラム22eを実行することができる。CPU22aが制御プログラム22eを実行することにより、子局装置2は後述するような処理を実行することができる。 A control program 22e is stored in the non-transitory memory 22b. The slave station device 2 includes a computer, and the setting function of the slave station device 2 is exhibited by the CPU 22a executing a control program 22e, which is a computer program stored in the storage device of the computer. The control program 22e can be stored in a recording medium such as a CD-ROM. The CPU 22a can execute the control program 22e. By executing the control program 22e by the CPU 22a, the slave station device 2 can execute processing as described later.

なお、制御部22の構成は上記に限られない。制御部22は、FPGAによって構成されていてもよい。 In addition, the structure of the control part 22 is not restricted above. The control unit 22 may be configured by FPGA.

再び図5を参照する。受信処理部23及び送信処理部24は、特定の情報処理が可能となるように設計された論理回路デバイスよりなり、例えば、ASIC及びFPGAのうちの少なくとも1つを含む。 Refer to FIG. 5 again. The reception processing unit 23 and the transmission processing unit 24 are composed of logic circuit devices designed to enable specific information processing, and include at least one of ASIC and FPGA, for example.

対向側インタフェース部25は、光信号を送受信する素子を含む光通信デバイス(例えば、プラガブル光トランシーバ)よりなる。
対向側インタフェース部25は、光ファイバ3から受信した光信号を電気信号よりなる通信データに変換し、変換した通信データを受信処理部23に出力する。対向側インタフェース部25は、送信処理部24からの通信データを光信号に変換し、変換した光信号を光ファイバ3に送出する。
The opposite side interface unit 25 is composed of an optical communication device (for example, a pluggable optical transceiver) including elements for transmitting and receiving optical signals.
The opposite side interface unit 25 converts the optical signal received from the optical fiber 3 into communication data consisting of an electrical signal, and outputs the converted communication data to the reception processing unit 23 . The opposite side interface section 25 converts the communication data from the transmission processing section 24 into an optical signal and sends out the converted optical signal to the optical fiber 3 .

受信処理部23は、「制御プロトコル判定処理」を実行可能である。この処理は、対向側インタフェース部25から入力された通信データが、制御プロトコルデータであるか否かを判定する処理である。即ち、制御プロトコル判定処理では、入力された通信データが、Link OAMの通信フレームであるか、それ以外のPDUであるかが判定される。 The reception processing unit 23 can execute a "control protocol determination process". This process is a process of determining whether or not the communication data input from the opposite side interface unit 25 is control protocol data. That is, in the control protocol determination process, it is determined whether the input communication data is a Link OAM communication frame or other PDU.

受信処理部23は、入力された通信データが制御プロトコルデータであると判定された場合に、当該制御プロトコルデータを制御部22に出力する。受信処理部23は、入力された通信データが制御プロトコルデータでないと判定された場合に、当該通信データを上りバッファ26に出力する。 The reception processing unit 23 outputs the control protocol data to the control unit 22 when it is determined that the input communication data is the control protocol data. The reception processing unit 23 outputs the communication data to the upstream buffer 26 when it is determined that the input communication data is not the control protocol data.

下位側インタフェース部21は、下位網6から受信した搬送信号を通信データに変換し、変換した通信データを上りバッファ26に出力する。
下位側インタフェース部21は、下りバッファ27に通信データがあれば、その通信データを搬送信号に変換し、変換した搬送信号を下位網6に送出する。
The lower interface unit 21 converts the carrier signal received from the lower network 6 into communication data, and outputs the converted communication data to the upstream buffer 26 .
If there is communication data in the downstream buffer 27 , the lower interface section 21 converts the communication data into a carrier signal and sends the converted carrier signal to the lower network 6 .

送信処理部24は、上りバッファ26に通信データがあれば、制御部22から制御プロトコルデータが入力される合間に上りバッファ26から通信データを取り出し、対向側インタフェース部25に出力する。 If there is communication data in the upstream buffer 26 , the transmission processing unit 24 retrieves the communication data from the upstream buffer 26 between inputs of control protocol data from the control unit 22 and outputs the communication data to the opposite side interface unit 25 .

制御部22は、「状態管理処理」と、「タイムアウト時間設定処理」とを実行可能である。 The control unit 22 can execute a “state management process” and a “timeout time setting process”.

状態管理処理は、制御プロトコルによるセッション中であるか否かを判定する処理である。 The state management process is a process of determining whether or not a session is in progress according to the control protocol.

タイムアウト時間設定処理は、タイムアウト時間を設定する処理である。具体的な一例では、タイムアウト時間設定処理において、制御部22のCPU22aは、入力された制御プロトコルデータが延長要求データである場合に、その時点で設定されているタイムアウト時間(第1タイムアウト時間)から、延長要求データで指定されるタイムアウト時間(第2タイムアウト時間)に設定を変更する。CPU22aは、入力された制御プロトコルデータが短縮要求データである場合に、その時点で設定されているタイムアウト時間から、短縮要求データで指定されるタイムアウト時間に設定を変更する。 The timeout period setting process is a process of setting a timeout period. As a specific example, in the timeout period setting process, when the input control protocol data is extension request data, the CPU 22a of the control unit 22 changes the timeout period (first timeout period) from the currently set timeout period (first timeout period). , the setting is changed to the timeout period (second timeout period) specified by the extension request data. When the input control protocol data is shortening request data, the CPU 22a changes the setting from the currently set timeout period to the timeout period specified by the shortening request data.

制御部22は、制御プロトコルデータを生成する。制御部22は、生成した制御プロトコルデータを送信処理部24に送出する。送信処理部24は、制御部22から上り方向の制御プロトコルデータが入力されると、入力された制御プロトコルデータを対向側インタフェース部25に出力する。対向側インタフェース部25は、入力された上り方向の制御プロトコルデータを光ファイバ3に送出する。 The control unit 22 generates control protocol data. The control unit 22 sends the generated control protocol data to the transmission processing unit 24 . When the upstream control protocol data is input from the control unit 22 , the transmission processing unit 24 outputs the input control protocol data to the opposite side interface unit 25 . The opposite side interface unit 25 sends out the input upstream control protocol data to the optical fiber 3 .

制御部22は、親局装置1が送信元の制御プロトコルデータを受信処理部23から入力されると、制御プロトコルに関する情報処理として、当該制御プロトコルデータの内容に応じた所定の処理を実行する。
例えば、制御部22は、親局装置1が送信元の制御プロトコルデータに応じて、対向側インタフェース部25又は下位側インタフェース部21の送受信速度を変更したり、受信処理部23又は送信処理部24の動作を停止又は開始したりする。
When the control protocol data from the transmission source of the master station device 1 is input from the reception processing unit 23, the control unit 22 executes a predetermined process according to the contents of the control protocol data as information processing related to the control protocol.
For example, the control unit 22 changes the transmission/reception speed of the opposite side interface unit 25 or the lower side interface unit 21, or stop or start the operation of

なお、図2及び図5では省略したが、親局装置1は子局装置2と同様に、「タイムアウト時間設定処理」を実行することが可能であり、子局装置2は親局装置1と同様に、「第1判定処理」、「第2判定処理」、「延長要求データ生成処理」及び「短縮要求データ生成処理」を実行することが可能である。ただし、本実施形態では、説明を簡単にするため、親局装置1が「第1判定処理」、「第2判定処理」、「延長要求データ生成処理」及び「短縮要求データ生成処理」を実行し、子局装置2が「タイムアウト時間設定処理」を実行することとする。 Although omitted in FIGS. 2 and 5, the master station device 1 can execute "timeout time setting processing" in the same way as the slave station device 2, and the slave station device 2 and the master station device 1 Similarly, "first determination processing", "second determination processing", "extension request data generation processing" and "shortening request data generation processing" can be executed. However, in this embodiment, to simplify the explanation, the master station device 1 executes the "first determination process", the "second determination process", the "extension request data generation process", and the "shortening request data generation process". Then, the slave station device 2 executes the "timeout time setting process".

[4.通信システムの動作]
以下に、本実施形態に係る通信システム10の動作を説明する。Link OAMでは、タイムアウト時間のデフォルト値が5秒である。親局装置1及び子局装置2のそれぞれは、1秒周期でInformation OAMフレームを送信する。対向通信装置(親局装置1にとっての対向通信装置は子局装置であり、子局装置2にとっての対向通信装置は親局装置1である。)から5秒以上Information OAMフレームを受信しなければ、タイムアウトが発生する。
[4. Operation of communication system]
The operation of the communication system 10 according to this embodiment will be described below. Link OAM has a default timeout value of 5 seconds. Each of the master station device 1 and the slave station device 2 transmits an Information OAM frame in a cycle of 1 second. An information OAM frame must be received from the opposite communication device (the opposite communication device for the master station device 1 is the slave station device, and the opposite communication device for the slave station device 2 is the master station device 1) for 5 seconds or more. , a timeout occurs.

制御プロトコルのセッションには2つの状態がある。1つの状態はセッションが切断された状態(以下、「セッション切断状態」という)であり、もう1つの状態はセッションが確立された状態(以下、「セッション確立状態」という)である。タイムアウトが発生すると、Link OAMのセッションが切断される。 A control protocol session has two states. One state is a state in which a session is disconnected (hereinafter referred to as "session disconnected state"), and the other state is a state in which a session is established (hereinafter referred to as "session established state"). When a timeout occurs, the Link OAM session is disconnected.

子局装置2のCPU22aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション確立状態である場合、CPU22aは、下位側インタフェース部21を動作させ、下位網6との通信を行わせる。セッション切断状態である場合、CPU22aは、下位側インタフェース部21を停止させ、下位網6との通信を停止させる。このため、セッション切断状態の場合、子局装置2によるデータ転送が停止する。 The CPU 22a of the slave station device 2 determines whether the session is established or disconnected. When the session is established, the CPU 22a operates the lower interface section 21 to communicate with the lower network 6. FIG. When the session is disconnected, the CPU 22a stops the lower interface unit 21 and stops communication with the lower network 6. FIG. Therefore, when the session is disconnected, data transfer by the slave station device 2 is stopped.

なお、親局装置1も同様の動作を行うことが可能である。つまり、CPU12aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション切断状態の場合、CPU12aは、上位側インタフェース部11を停止させる。 Note that the master station device 1 can also perform the same operation. That is, the CPU 12a determines whether the session is established or disconnected. In the session disconnection state, the CPU 12a stops the host side interface unit 11. FIG.

本実施形態に係る通信システム10は、上記のような子局装置2によるデータ転送の停止を抑制するため、子局装置2のタイムアウト時間を延長するタイムアウト時間制御処理を実行する。 The communication system 10 according to the present embodiment executes a timeout period control process for extending the timeout period of the slave station apparatus 2 in order to prevent data transfer from being stopped by the slave station apparatus 2 as described above.

図7は、本実施形態に係る通信システム10によるタイムアウト時間制御処理の手順を示すフローチャートである。 FIG. 7 is a flowchart showing the procedure of timeout period control processing by the communication system 10 according to this embodiment.

親局装置1のCPU12aは、子局装置2との通信を停止させる原因が生じるか否かを判定する(ステップS101)。具体的な一例では、CPU12aは、制御プロブラム12eの更新が発生するか否かを判定する。 The CPU 12a of the master station device 1 determines whether there is a cause for stopping communication with the slave station device 2 (step S101). As a specific example, the CPU 12a determines whether or not the control program 12e will be updated.

通信を停止させる原因が生じない場合(ステップS101においてNO)、CPU12aは、ステップS101の処理を再度実行する。これにより、通信が停止させる原因が生じるまで、ステップS101の処理が繰り返される。 If there is no reason to stop communication (NO in step S101), the CPU 12a executes the process of step S101 again. As a result, the process of step S101 is repeated until a cause for stopping communication occurs.

通信を停止させる原因が生じる場合(ステップS101においてYES)、CPU12aは、延長要求データを生成する(ステップS102)。具体的には、CPU12aは、Link OAMにおけるタイムアウト時間のデフォルト値である5秒よりも長い時間(例えば、100秒)を、延長後のタイムアウト時間に決定する。さらに好ましくは、延長後のタイムアウト時間は、通信が停止させる原因がなくなるために十分な時間が、延長後のタイムアウト時間とされる。CPU12aは、Information TLV#3フィールドにおいて、延長後のタイムアウト時間が指定されたInformation OAMフレームを、延長要求データとして生成する。 If there is a cause for stopping communication (YES in step S101), CPU 12a generates extension request data (step S102). Specifically, the CPU 12a determines a time (for example, 100 seconds) longer than 5 seconds, which is the default value of the timeout time in Link OAM, as the extended timeout time. More preferably, the timeout period after the extension is set to a period of time sufficient to eliminate the cause of stopping the communication. The CPU 12a generates, as extension request data, an Information OAM frame in which a timeout period after extension is specified in the Information TLV#3 field.

CPU12aは、生成された延長要求データを、送信処理部14に出力する(ステップS103)。送信処理部14は、電気信号である延長要求データを、対向側インタフェース部15に出力する。対向側インタフェース部15は、入力された電気信号を光信号に変換し、延長要求データを光信号として子局装置2に送信する。 The CPU 12a outputs the generated extension request data to the transmission processing unit 14 (step S103). The transmission processing unit 14 outputs the extension request data, which is an electric signal, to the opposite side interface unit 15 . The opposite side interface unit 15 converts the input electrical signal into an optical signal, and transmits the extension request data to the slave station device 2 as an optical signal.

子局装置2の対向側インタフェース部25は、光信号を受信する。対向側インタフェース部25は、受信された光信号を元の電気信号に変換し、変換された電気信号を受信処理部13に出力する。受信処理部13は、入力された通信データが制御プロトコルデータであるか否かを判定する。延長要求データは制御プロトコルデータであるので、受信処理部13は、入力された延長要求データを、制御部12に出力する。 The opposite side interface unit 25 of the slave station device 2 receives the optical signal. The opposite side interface section 25 converts the received optical signal into the original electrical signal and outputs the converted electrical signal to the reception processing section 13 . The reception processing unit 13 determines whether or not the input communication data is control protocol data. Since the extension request data is control protocol data, the reception processing unit 13 outputs the input extension request data to the control unit 12 .

子局装置2のCPU22aは、延長要求データを受信したか否かを判定する(ステップS104)。延長要求データが制御部12に入力されない場合(ステップS104においてNO)、CPU22aは、ステップS104の処理を再度実行する。これにより、子局装置2によって延長要求データが受信されるまで、ステップS104の処理が繰り返される。 The CPU 22a of the slave station device 2 determines whether or not the extension request data has been received (step S104). If the extension request data is not input to the control unit 12 (NO in step S104), the CPU 22a executes the process of step S104 again. As a result, the process of step S104 is repeated until the slave station device 2 receives the extension request data.

延長要求データが子局装置2によって受信された場合(ステップS104においてYES)、CPU22aは、タイムアウト時間を延長する(ステップS105)。つまり、CPU22aは、その時点におけるタイムアウト時間(第1タイムアウト時間)から、これより長い新たなタイムアウト時間に設定を変更する。例えば、CPU22aは、Link OAMのタイムアウト時間のデフォルト値である5秒が設定されている場合、デフォルト値よりも長いタイムアウト時間(例えば、100秒)に設定を変更する。具体的な一例では、CPU22aは、延長要求データにおいて指定されるタイムアウト時間を、新たなタイムアウト時間として設定する。 When the extension request data is received by the slave station device 2 (YES in step S104), the CPU 22a extends the timeout period (step S105). In other words, the CPU 22a changes the current timeout period (first timeout period) to a new, longer timeout period. For example, when the default value of the Link OAM timeout time is set to 5 seconds, the CPU 22a changes the setting to a longer timeout time (for example, 100 seconds) than the default value. As a specific example, the CPU 22a sets the timeout period specified in the extension request data as the new timeout period.

タイムアウト時間の延長要求データを送信した後、親局装置1のCPU12aは、制御プログラム12eの更新を開始する(ステップS106)。制御プログラム12eの更新中は、CPU12aは、制御プロトコルデータの処理を実行できない。このため、制御プログラム12eの更新中は、制御プロトコルによる子局装置2との通信が停止される。 After transmitting the timeout period extension request data, the CPU 12a of the master station device 1 starts updating the control program 12e (step S106). The CPU 12a cannot process control protocol data while the control program 12e is being updated. Therefore, while the control program 12e is being updated, the communication with the slave station device 2 by the control protocol is stopped.

CPU12aは、通信を停止させる原因に異常が発生したか否かを判定する(ステップS107)。具体的な一例では、CPU12aは、制御プログラム12eの更新に異常が発生したか否かを判定する。 The CPU 12a determines whether or not an abnormality has occurred as a cause for stopping communication (step S107). As a specific example, the CPU 12a determines whether an error has occurred in updating the control program 12e.

通信を停止させる原因に異常が発生していない場合(ステップS107においてNO)、CPU12aは、通信を停止させる原因がなくなったか否かを判定する(ステップS108)。具体的な一例では、CPU12aは、制御プログラム12eの更新が終了したか否かを判定する。 If no abnormality has occurred as a cause for stopping communication (NO in step S107), the CPU 12a determines whether or not there is no cause for stopping communication (step S108). As a specific example, the CPU 12a determines whether or not the control program 12e has been updated.

通信を停止させる原因がなくなっていない場合(ステップS108においてNO)、CPU12aは、ステップS107に処理を戻す。これにより、通信を停止させる原因に異常が生じるか、又は通信を停止させる原因がなくなるまで、ステップS107及びS108の処理が繰り返される。 If the cause for stopping communication has not disappeared (NO in step S108), the CPU 12a returns the process to step S107. As a result, the processes of steps S107 and S108 are repeated until an abnormality occurs in the cause for stopping communication or until the cause for stopping communication disappears.

通信を停止させる原因に異常が発生した場合(ステップS107においてYES)、又は、通信を停止させる原因がなくなった場合(ステップS108においてYES)、CPU12aは、短縮要求データを生成する(ステップS109)。具体的には、制御プログラム12eの更新に異常が生じるか、又は、制御プログラム12eの更新が終了した場合、CPU12aは、延長されたタイムアウト時間(例えば、100秒)よりも短い時間を、短縮後のタイムアウト時間に決定する。短縮後のタイムアウト時間は、タイムアウト時間のデフォルト値(5秒)であってもよいし、デフォルト値以外の値であってもよい。CPU12aは、Information TLV#3フィールドにおいて、短縮後のタイムアウト時間が指定されたInformation OAMフレームを、短縮要求データとして生成する。 If an abnormality has occurred as a cause for stopping communication (YES in step S107), or if there is no cause for stopping communication (YES in step S108), the CPU 12a generates shortening request data (step S109). Specifically, when an abnormality occurs in the update of the control program 12e or when the update of the control program 12e ends, the CPU 12a sets a time shorter than the extended timeout period (for example, 100 seconds) after shortening. time-out period. The shortened timeout period may be the default value (5 seconds) of the timeout period, or may be a value other than the default value. The CPU 12a generates, as shortening request data, an Information OAM frame in which the shortened timeout time is specified in the Information TLV#3 field.

CPU12aは、生成された短縮要求データを、送信処理部14に出力する(ステップS110)。送信処理部14は、電気信号である短縮要求データを、対向側インタフェース部15に出力する。対向側インタフェース部15は、入力された電気信号を光信号に変換し、短縮要求データを光信号として子局装置2に送信する。 The CPU 12a outputs the generated shortening request data to the transmission processing unit 14 (step S110). The transmission processing unit 14 outputs the shortening request data, which is an electric signal, to the opposite side interface unit 15 . The opposite side interface unit 15 converts the input electrical signal into an optical signal, and transmits the shortening request data to the slave station device 2 as an optical signal.

子局装置2の対向側インタフェース部25は、光信号を受信する。対向側インタフェース25は、受信された光信号を元の電気信号に変換し、変換された電気信号を受信処理部13に出力する。受信処理部13は、入力された通信データが制御プロトコルデータであるか否かを判定する。短縮要求データは制御プロトコルデータであるので、受信処理部13は、入力された短縮要求データを、制御部12に出力する。 The opposite side interface unit 25 of the slave station device 2 receives the optical signal. The opposite side interface 25 converts the received optical signal into the original electrical signal and outputs the converted electrical signal to the reception processing unit 13 . The reception processing unit 13 determines whether or not the input communication data is control protocol data. Since the shortened request data is control protocol data, the reception processing unit 13 outputs the input shortened request data to the control unit 12 .

子局装置2のCPU22aは、短縮要求データを受信したか否かを判定する(ステップS111)。短縮要求データが制御部12に入力されない場合(ステップS111においてNO)、CPU22aは、制御プロトコルデータを親局装置1から受信することなく、タイムアウト時間が経過したか否か、即ち、タイムアウトが発生したか否かを判定する(ステップS112)。 The CPU 22a of the slave station device 2 determines whether or not the shortening request data has been received (step S111). If the shortening request data is not input to the control unit 12 (NO in step S111), the CPU 22a determines whether or not the timeout time has elapsed without receiving the control protocol data from the master station device 1, that is, whether a timeout has occurred. It is determined whether or not (step S112).

タイムアウトが発生していない場合(ステップS112においてNO)、CPU22aは、ステップS111へ処理を戻す。これにより、短縮要求データを受信するか、又は、タイムアウトが発生するまで、ステップS111及びS112の処理が繰り返される。 When timeout has not occurred (NO in step S112), the CPU 22a returns the process to step S111. As a result, the processing of steps S111 and S112 is repeated until the shortening request data is received or a timeout occurs.

子局装置2が短縮要求データを受信したか(ステップS111においてYES)、又は、タイムアウトが発生した場合(ステップS112においてYES)、CPU22aは、タイムアウト時間を短縮する(ステップS113)。 If the child station device 2 has received the shortening request data (YES in step S111), or if a timeout has occurred (YES in step S112), the CPU 22a shortens the timeout period (step S113).

タイムアウト時間の指定を含む短縮要求データを子局装置2が受信した場合、CPU22aは、受信された短縮要求データにおいて指定されるタイムアウト時間を、新たなタイムアウト時間として設定する。 When the slave station device 2 receives the shortening request data including the specification of the timeout period, the CPU 22a sets the timeout period specified in the received shortening request data as a new timeout period.

タイムアウトが発生した場合、CPU22aは、延長されたタイムアウト時間より短いタイムアウト時間を、新たなタイムアウト時間として設定する。短縮後のタイムアウト時間は、タイムアウト時間のデフォルト値であってもよいし、デフォルト値以外のタイムアウト時間であってもよい。 When a timeout occurs, the CPU 22a sets a new timeout period shorter than the extended timeout period. The shortened timeout period may be the default value of the timeout period, or may be a timeout period other than the default value.

以上で、タイムアウト時間制御処理が終了する。 With this, the timeout time control process is completed.

なお、延長要求データ及び短縮要求データにおいて、新たなタイムアウト時間の指定が含まれなくてもよい。この場合、子局装置2は、延長後のタイムアウト時間及び短縮後のタイムアウト時間を例えば非一過性メモリ22bに記憶しておき、延長要求データを受信した場合は記憶された延長後のタイムアウト時間に設定を変更し、短縮要求データを受信した場合は記憶された延長後のタイムアウト時間に設定を変更する。 The extension request data and shortening request data may not specify a new timeout period. In this case, the slave station device 2 stores the timeout time after extension and the timeout time after shortening in, for example, the non-transitory memory 22b. , and when the shortening request data is received, the setting is changed to the stored timeout time after extension.

[5.変形例]
[5-1.第1変形例]
第1変形例では、通信システム10が、LACPにおけるタイムアウト時間の延長を行う。
[5. Modification]
[5-1. First modification]
In the first modified example, the communication system 10 extends the timeout period in LACP.

第1変形例では、延長要求データ及び短縮要求データは、LACPフレームとして生成される。図8は、LACPフレームのフォーマットを示す模式図である。LACPフレームは、イーサネットフレームの一種であり、宛先アドレス、送信元アドレス、長さ/タイプ、データ等のフィールドを有する。LACPフレームのデータフィールドは、Other TLVsフィールドを含む。 In a first variant, the extension request data and shortening request data are generated as LACP frames. FIG. 8 is a schematic diagram showing the format of the LACP frame. A LACP frame is a type of Ethernet frame and has fields such as destination address, source address, length/type, and data. The data field of the LACP frame contains the Other TLVs field.

第1変形例に係る通信システム10では、Other TLVsフィールドにおいて、タイムアウト時間が指定される。 In the communication system 10 according to the first modified example, a timeout period is specified in the Other TLVs field.

延長要求データでは、Other TLVsフィールドにおいて、延長後のタイムアウト時間(第2タイムアウト時間)が指定される。Other TLVsフィールドは、タイプ(Type)、長さ(Length)、値(Value)の3つのサブフィールドを有する。具体的な一例では、延長要求データにおけるOther TLVsフィールドのTypeフィールドには標準未規定タイプを示す0xA0が指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには延長後のタイムアウト時間が指定される。 In the extension request data, the timeout period after extension (second timeout period) is specified in the Other TLVs field. The Other TLVs field has three subfields of type (Type), length (Length), and value (Value). In a specific example, 0xA0 indicating a standard undefined type is specified in the Type field of the Other TLVs field in the extension request data, 0x02 indicating 2 bytes is specified in the Length field, and timeout after extension is specified in the Value field. time is specified.

短縮要求データでは、Other TLVsフィールドにおいて、短縮後のタイムアウト時間が指定される。具体的な一例では、短縮要求データにおけるOther TLVsフィールドのTypeフィールドには標準未規定タイプを示す0xA0が指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには短縮後のタイムアウト時間が指定される。 In the shortened request data, the shortened timeout time is specified in the Other TLVs field. In a specific example, 0xA0 indicating a standard undefined type is specified in the Type field of the Other TLVs field in the shortened request data, 0x02 indicating 2 bytes is specified in the Length field, and the timeout after shortening is specified in the Value field. time is specified.

LACPでは、LACPフレームのActor_StateのLACP_Timeoutに指定される値(時間)を1周期として、親局装置1及び子局装置2のそれぞれが周期的にLACPフレームを送信する。対向通信装置(親局装置1にとっての対向通信装置は子局装置であり、子局装置2にとっての対向通信装置は親局装置1である。)から3周期以上LACPフレームを受信しなければ、タイムアウトが発生する。つまり、タイムアウト時間のデフォルト値は、Actor_StateのLACP_Timeoutに指定される値の3倍である。 In LACP, each of the master station device 1 and the slave station device 2 periodically transmits LACP frames, with the value (time) specified in LACP_Timeout of Actor_State of the LACP frame being set as one period. If the LACP frame is not received from the counterpart communication device (the counterpart communication device for the master station device 1 is the slave station device, and the counterpart communication device for the slave station device 2 is the master station device 1) for three or more cycles, A timeout occurs. That is, the default value for the timeout period is three times the value specified for LACP_Timeout in Actor_State.

子局装置2のCPU22aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション確立状態である場合、CPU22aは、対向側インタフェース部25を動作させ、親局装置1との通信を行わせる。セッション切断状態である場合、CPU22aは、対向側インタフェース部25を停止させ、親局装置1との通信を停止させる。このため、セッション切断状態の場合、親局装置1と子局装置2との通信が停止する。 The CPU 22a of the slave station device 2 determines whether the session is established or disconnected. When the session is established, the CPU 22a operates the opposite side interface unit 25 to communicate with the master station device 1. FIG. When the session is disconnected, the CPU 22a stops the opposite side interface unit 25 and stops communication with the master station device 1. FIG. Therefore, when the session is disconnected, the communication between the master station device 1 and the slave station device 2 is stopped.

なお、親局装置1も同様の動作を行うことが可能である。つまり、CPU12aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション切断状態の場合、CPU12aは、対向側インタフェース部15を停止させる。 Note that the master station device 1 can also perform the same operation. That is, the CPU 12a determines whether the session is established or disconnected. In the session disconnected state, the CPU 12a stops the opposite side interface unit 15. FIG.

第1変形例に係る通信システム10は、上記のような親局装置1と子局装置2との通信の停止を抑制するため、子局装置2のタイムアウト時間を延長するタイムアウト時間制御処理を実行する。 The communication system 10 according to the first modification executes a timeout time control process for extending the timeout time of the slave station device 2 in order to suppress the stoppage of communication between the master station device 1 and the slave station device 2 as described above. do.

第1変形例では、図7のステップS102において、CPU12aは、LACPにおけるタイムアウト時間のデフォルト値よりも長い時間(例えば、100周期分の時間)を、延長後のタイムアウト時間に決定する。CPU12aは、Other TLVsフィールドにおいて、延長後のタイムアウト時間が指定されたLACPフレームを、延長要求データとして生成する。 In the first modified example, in step S102 of FIG. 7, the CPU 12a determines a time longer than the default value of the timeout time in LACP (for example, time for 100 cycles) as the extended timeout time. The CPU 12a generates, as extension request data, an LACP frame in which the timeout period after extension is specified in the Other TLVs field.

ステップS105において、CPU22aは、その時点におけるタイムアウト時間(第1タイムアウト時間)から、これより長い新たなタイムアウト時間に設定を変更する。例えば、CPU22aは、LACPのタイムアウト時間のデフォルト値が設定されている場合、デフォルト値よりも長いタイムアウト時間(例えば、100周期分の時間)に設定を変更する。具体的な一例では、CPU22aは、延長要求データにおけるOther TLVsフィールドにおいて指定されたタイムアウト時間を、新たなタイムアウト時間として設定する。 In step S105, the CPU 22a changes the current timeout period (first timeout period) to a new, longer timeout period. For example, when the default value of the LACP timeout period is set, the CPU 22a changes the setting to a timeout period longer than the default value (for example, 100 cycles). As a specific example, the CPU 22a sets the timeout period specified in the Other TLVs field in the extension request data as a new timeout period.

ステップS109において、CPU12aは、延長されたタイムアウト時間(例えば、100周期分の時間)よりも短い時間を、短縮後のタイムアウト時間に決定する。短縮後のタイムアウト時間は、タイムアウト時間のデフォルト値(3周期)であってもよいし、デフォルト値以外の値であってもよい。CPU12aは、Othre TLVsフィールドにおいて、短縮後のタイムアウト時間が指定されたLACPフレームを、短縮要求データとして生成する。 In step S109, the CPU 12a determines a time shorter than the extended timeout time (for example, time for 100 cycles) as the shortened timeout time. The shortened timeout period may be the default value (three cycles) of the timeout period, or may be a value other than the default value. The CPU 12a generates, as reduction request data, an LACP frame in which the shortened timeout time is specified in the Other TLVs field.

タイムアウト時間の指定を含む短縮要求データを子局装置2が受信した場合、ステップS113において、CPU22aは、受信された短縮要求データのOther TLVsフィールドにおいて指定されるタイムアウト時間を、新たなタイムアウト時間として設定する。 When the slave station device 2 receives the shortened request data including the specification of the timeout period, in step S113, the CPU 22a sets the timeout period specified in the Other TLVs field of the received shortened request data as a new timeout period. do.

[5-2.第2変形例]
第2変形例では、通信システム10が、ETH-OAMにおけるタイムアウト時間の延長を行う。
[5-2. Second modification]
In the second modified example, the communication system 10 extends the timeout period in ETH-OAM.

第1変形例では、延長要求データ及び短縮要求データは、ETH-OAM VSM(Vendor-Specific OAM Message)フレームとして生成される。図9は、VSMフレームのフォーマットを示す模式図である。VSMフレームは、イーサネットフレームの一種であり、宛先アドレス、送信元アドレス、長さ/タイプ、データ等のフィールドを有する。VSMフレームは、MEL、Version、OpCode、Flags、TLV Offset、OUI、SubOpCode、optional VSM data、End TLVの各フィールドを有する。 In a first variant, the extension request data and shortening request data are generated as ETH-OAM VSM (Vendor-Specific OAM Message) frames. FIG. 9 is a schematic diagram showing the format of the VSM frame. A VSM frame is a type of Ethernet frame and has fields such as destination address, source address, length/type, and data. The VSM frame has MEL, Version, OpCode, Flags, TLV Offset, OUI, SubOpCode, optional VSM data, and End TLV fields.

MELフィールドには、タイムアウト時間を指定するMEP(MEG(Maintenance Entity Group)End Point)のMEL(MEG Level)が指定される。親局装置1はMEPであり、延長要求データ及び短縮要求データのMELフィールドには、親局装置1のMELが指定される。 The MEL field specifies the MEL (MEG Level) of the MEP (MEG (Maintenance Entity Group) End Point) that specifies the timeout period. The master station device 1 is the MEP, and the MEL of the master station device 1 is specified in the MEL field of the extension request data and shortening request data.

Flagsフィールドには、タイムアウト時間を指定する場合には「0」が、タイムアウト時間の指定を解除する場合には「1」が指定される。延長要求データ及び短縮要求データのFlagsフィールドには「0」が指定される。なお、短縮要求データがタイムアウト時間の延長の解除(つまり、デフォルト値への復帰)を要求するデータである場合、Flagsフィールドには「1」が指定される。 In the Flags field, "0" is specified when specifying the timeout period, and "1" is specified when canceling the specification of the timeout period. "0" is specified in the Flags field of the extension request data and shortening request data. If the shortening request data is data requesting cancellation of extension of the timeout period (that is, restoration to the default value), "1" is specified in the Flags field.

延長要求データ及び短縮要求データでは、TLV Offsetフィールドに「4」が指定され、OUI(Organizationally Unique Identifier)フィールドには「00-25-DC」が指定され、SubOpCodeフィールドには「0」が指定される。 In the extension request data and shortening request data, "4" is specified in the TLV Offset field, "00-25-DC" is specified in the OUI (Organizationally Unique Identifier) field, and "0" is specified in the SubOpCode field. be.

第1変形例に係る通信システム10では、VSMフレームのoptional VSM dataフィールドにおいて、タイムアウト時間が指定される。 In the communication system 10 according to the first modified example, the timeout period is specified in the optional VSM data field of the VSM frame.

延長要求データでは、optional VSM dataフィールドにおいて、延長後のタイムアウト時間(第2タイムアウト時間)が指定される。optional VSM dataフィールドは、タイプ(Type)、長さ(Length)、値(Value)の3つのサブフィールドを有する。具体的な一例では、延長要求データにおけるoptional VSM dataフィールドのTypeフィールドには0x01が指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには延長後のタイムアウト時間が指定される。 In the extension request data, the optional VSM data field specifies a timeout period after extension (second timeout period). The optional VSM data field has three subfields: Type, Length, and Value. In a specific example, 0x01 is specified in the Type field of the optional VSM data field in the extension request data, 0x02 indicating 2 bytes is specified in the Length field, and the timeout time after extension is specified in the Value field. .

短縮要求データでは、optional VSM dataフィールドにおいて、短縮後のタイムアウト時間が指定される。具体的な一例では、短縮要求データにおけるoptional VSM dataフィールドのTypeフィールドには0x01が指定され、Lengthフィールドには2バイトを示す0x02が指定され、Valueフィールドには短縮後のタイムアウト時間が指定される。 In the shortened request data, the timeout time after shortening is specified in the optional VSM data field. In a specific example, 0x01 is specified in the Type field of the optional VSM data field in the shortening request data, 0x02 indicating 2 bytes is specified in the Length field, and the timeout time after shortening is specified in the Value field. .

ETH-OAMでは、CCM(Continuity Check Message)フレームのPeriodフィールドに指定される値(時間)を1周期として、親局装置1及び子局装置2のそれぞれが周期的にCCMフレームを送信する。対向通信装置(親局装置1にとっての対向通信装置は子局装置であり、子局装置2にとっての対向通信装置は親局装置1である。)から3.5周期以上CCMフレームを受信しなければ、タイムアウトが発生する。つまり、タイムアウト時間のデフォルト値は、CCMフレームのPeriodフィールドに指定される値の3.5倍である。 In ETH-OAM, each of the parent station device 1 and the child station device 2 periodically transmits a CCM frame with a value (time) specified in a Period field of a CCM (Continuity Check Message) frame set as one period. A CCM frame must be received from the opposite communication device (the opposite communication device for the master station device 1 is the slave station device, and the opposite communication device for the slave station device 2 is the master station device 1) for 3.5 cycles or more. timeout occurs. That is, the default value of the timeout period is 3.5 times the value specified in the Period field of the CCM frame.

子局装置2のCPU22aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション確立状態である場合、CPU22aは、下位側インタフェース部21及び対向側インタフェース部25を動作させ、下位網6及び親局装置1との通信を行わせる。セッション切断状態である場合、CPU22aは、下位側インタフェース部21及び対向側インタフェース部25の少なくとも一方を停止させる。このため、セッション切断状態の場合、子局装置2によるデータ転送が停止する。 The CPU 22a of the slave station device 2 determines whether the session is established or disconnected. When the session is established, the CPU 22a operates the lower side interface section 21 and the opposite side interface section 25 to perform communication with the lower network 6 and the master station device 1. FIG. When the session is disconnected, the CPU 22a stops at least one of the lower-level interface section 21 and the opposite-side interface section 25. FIG. Therefore, when the session is disconnected, data transfer by the slave station device 2 is stopped.

なお、親局装置1も同様の動作を行うことが可能である。つまり、CPU12aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション切断状態の場合、CPU12aは、上位側インタフェース部11及び対向側インタフェース部15の少なくとも一方を停止させる。 Note that the master station device 1 can also perform the same operation. That is, the CPU 12a determines whether the session is established or disconnected. In the session disconnected state, the CPU 12a stops at least one of the host side interface section 11 and the opposite side interface section 15. FIG.

第2変形例に係る通信システム10は、上記のような子局装置2によるデータ転送の停止を抑制するため、子局装置2のタイムアウト時間を延長するタイムアウト時間制御処理を実行する。 The communication system 10 according to the second modification executes a timeout period control process for extending the timeout period of the slave station apparatus 2 in order to prevent the slave station apparatus 2 from stopping data transfer as described above.

第2変形例では、図7のステップS102において、CPU12aは、ETH-OAMにおけるタイムアウト時間のデフォルト値よりも長い時間(例えば、100周期分の時間)を、延長後のタイムアウト時間に決定する。CPU12aは、optional VSM dataフィールドにおいて、延長後のタイムアウト時間が指定されたVSMフレームを、延長要求データとして生成する。 In the second modification, in step S102 of FIG. 7, the CPU 12a determines a time longer than the default value of the timeout time in ETH-OAM (for example, 100 cycles) as the extended timeout time. The CPU 12a generates, as extension request data, a VSM frame in which a timeout period after extension is specified in the optional VSM data field.

ステップS105において、CPU22aは、その時点におけるタイムアウト時間(第1タイムアウト時間)から、これより長い新たなタイムアウト時間に設定を変更する。例えば、CPU22aは、ETH-OAMのタイムアウト時間のデフォルト値が設定されている場合、デフォルト値よりも長いタイムアウト時間(例えば、100周期分の時間)に設定を変更する。具体的な一例では、CPU22aは、延長要求データにおけるoptional VSM dataフィールドにおいて指定されたタイムアウト時間を、新たなタイムアウト時間として設定する。 In step S105, the CPU 22a changes the current timeout period (first timeout period) to a new, longer timeout period. For example, when the default value of the ETH-OAM timeout period is set, the CPU 22a changes the setting to a timeout period longer than the default value (for example, 100 cycles). As a specific example, the CPU 22a sets the timeout specified in the optional VSM data field in the extension request data as a new timeout.

ステップS109において、CPU12aは、延長されたタイムアウト時間(例えば、100周期分の時間)よりも短い時間を、短縮後のタイムアウト時間に決定する。短縮後のタイムアウト時間は、タイムアウト時間のデフォルト値(3.5周期)であってもよいし、デフォルト値以外の値であってもよい。CPU12aは、optional VSM dataフィールドにおいて、短縮後のタイムアウト時間が指定されたVSMフレームを、短縮要求データとして生成する。また、CPU12aは、Flagsフィールドにおいて「1」が指定されたVSMフレームを、短縮要求データとして生成してもよい。 In step S109, the CPU 12a determines a time shorter than the extended timeout time (for example, time for 100 cycles) as the shortened timeout time. The shortened timeout period may be the default value (3.5 cycles) of the timeout period, or may be a value other than the default value. The CPU 12a generates, as shortening request data, a VSM frame in which the shortened timeout time is specified in the optional VSM data field. Also, the CPU 12a may generate a VSM frame in which "1" is specified in the Flags field as shortening request data.

タイムアウト時間の指定を含む短縮要求データを子局装置2が受信した場合、ステップS113において、CPU22aは、受信された短縮要求データのoptional VSM dataフィールドにおいて指定されるタイムアウト時間を、新たなタイムアウト時間として設定する。 When the slave station device 2 receives the shortened request data including the specification of the timeout period, in step S113, the CPU 22a sets the timeout period specified in the optional VSM data field of the received shortened request data as a new timeout period. set.

[5-3.第3変形例]
第2変形例では、通信システム10が、MQTTにおけるタイムアウト時間の延長を行う。
[5-3. Third modification]
In the second modified example, the communication system 10 extends the timeout period in MQTT.

図10は、第3変形例に係る通信システム10の構成の一例を示す図である。第3変形例に係る通信システム10は、1:N型の接続形態であり、1つの親局装置1に対して、複数の子局装置2が接続される。即ち、親局装置1は、接続される子局装置2とのそれぞれとの間で、MQTTのセッションを確立し、MQTTによる通信を行う。MQTTでは、親局装置1がブローカーと呼ばれ、子局装置2がクライアントと呼ばれる。 FIG. 10 is a diagram showing an example of the configuration of communication system 10 according to the third modification. A communication system 10 according to the third modification is of a 1:N type connection configuration, and a plurality of slave station devices 2 are connected to one master station device 1 . That is, the master station device 1 establishes an MQTT session with each of the connected slave station devices 2, and performs MQTT communication. In MQTT, the master station device 1 is called a broker and the slave station device 2 is called a client.

第3変形例では、ブローカーがCONNECTパケットを各クライアントにマルチキャスト送信する。延長要求データ及び短縮要求データは、CONNECTパケットとして生成される。図11は、CONNECTパケットのフォーマットを示す模式図である。CONNECTパケットはIPパケットの1つであり、Ethernetヘッダ、IPヘッダ、TCPヘッダ及びTCPデータの各フィールドを含む。TCPデータフィールドには、Keep Alive Timerフィールドが含まれる。 In the third modification, the broker multicasts CONNECT packets to each client. The extension request data and shortening request data are generated as CONNECT packets. FIG. 11 is a schematic diagram showing the format of a CONNECT packet. A CONNECT packet is one of IP packets and includes Ethernet header, IP header, TCP header and TCP data fields. The TCP data field includes a Keep Alive Timer field.

第3変形例に係る通信システム10では、CONNECTパケットのKeep Alive Timerフィールドにおいて、タイムアウト時間が指定される。Keep Alive Timerフィールドには、Keep Alive Timer MSBフィールドと、Keep Alive Timer LSBフィールドとが含まれる。Keep Alive Timer MSBフィールドには、全体で16ビットのタイムアウト時間の上位8ビットが指定され、Keep Alive Timer LSBフィールドには、タイムアウト時間の下位8ビットが指定される。 In the communication system 10 according to the third modified example, a timeout period is specified in the Keep Alive Timer field of the CONNECT packet. The Keep Alive Timer field includes a Keep Alive Timer MSB field and a Keep Alive Timer LSB field. The Keep Alive Timer MSB field specifies the upper 8 bits of the total 16-bit timeout period, and the Keep Alive Timer LSB field specifies the lower 8 bits of the timeout period.

延長要求データでは、Keep Alive Timerフィールドにおいて、延長後のタイムアウト時間(第2タイムアウト時間)が指定される。 In the extension request data, the extended timeout period (second timeout period) is specified in the Keep Alive Timer field.

短縮要求データでは、Keep Alive Timerフィールドにおいて、短縮後のタイムアウト時間が指定される。 In the shortening request data, the shortened timeout time is specified in the Keep Alive Timer field.

MQTTでは、各クライアントがブローカーに対し、一定周期でPINGREQパケットを送信する。ブローカーはPINGREQパケットを受信すると、PINGRESPONSEパケットを送り返す。クライアントはPINGRESPONSEパケットを規定時間以上受信しなければ、タイムアウトが発生する。タイムアウト時間は、クライアントがブローカーに対してセッションを開始する際に送信するCONNECTのKeep Alive Timerフィールドにおいて指定される。 In MQTT, each client sends a PINGREQ packet to the broker at regular intervals. When the broker receives a PINGREQ packet, it sends back a PINGRESPONSE packet. A timeout occurs if the client does not receive the PINGRESPONSE packet for a specified period of time. The timeout period is specified in the Keep Alive Timer field of the CONNECT that the client sends to the broker when starting a session.

子局装置2のCPU22aは、セッション確立状態であるか、セッション切断状態であるかを判定する。セッション確立状態である場合、CPU22aは、下位側インタフェース部21を動作させ、下位網6との通信を行わせる。セッション切断状態である場合、CPU22aは、下位側インタフェース部21を停止させる。このため、セッション切断状態の場合、子局装置2によるデータ転送が停止する。 The CPU 22a of the slave station device 2 determines whether the session is established or disconnected. When the session is established, the CPU 22a operates the lower interface section 21 to communicate with the lower network 6. FIG. If the session is disconnected, the CPU 22a stops the lower interface section 21. FIG. Therefore, when the session is disconnected, data transfer by the slave station device 2 is stopped.

第3変形例に係る通信システム10は、上記のような子局装置2によるデータ転送の停止を抑制するため、子局装置2のタイムアウト時間を延長するタイムアウト時間制御処理を実行する。 The communication system 10 according to the third modification executes a timeout period control process for extending the timeout period of the slave station apparatus 2 in order to prevent data transfer from being stopped by the slave station apparatus 2 as described above.

第3変形例では、図7のステップS102において、CPU12aは、セッション開始時に子局装置2(クライアント)から指定されたタイムアウト時間の初期値(例えば、5秒)よりも長い時間(例えば、100秒)を、延長後のタイムアウト時間に決定する。CPU12aは、Keep Alive Timerフィールドにおいて、延長後のタイムアウト時間が指定されたCONNECTパケットを、延長要求データとして生成する。 In the third modification, in step S102 of FIG. 7, the CPU 12a sets a time longer than the initial value (for example, 5 seconds) of the timeout period (for example, 100 seconds) specified by the slave station device 2 (client) at the start of the session. ) to the extended timeout period. The CPU 12a generates, as extension request data, a CONNECT packet in which a timeout period after extension is specified in the Keep Alive Timer field.

ステップS105において、CPU22aは、その時点におけるタイムアウト時間(第1タイムアウト時間)から、これより長い新たなタイムアウト時間に設定を変更する。例えば、CPU22aは、タイムアウト時間の初期値(例えば、5秒)が設定されている場合、初期値よりも長いタイムアウト時間(例えば、100秒)に設定を変更する。具体的な一例では、CPU22aは、延長要求データにおけるKeep Alive Timerフィールドにおいて指定されたタイムアウト時間を、新たなタイムアウト時間として設定する。 In step S105, the CPU 22a changes the current timeout period (first timeout period) to a new, longer timeout period. For example, when the initial value of the timeout period (eg, 5 seconds) is set, the CPU 22a changes the setting to a timeout period longer than the initial value (eg, 100 seconds). As a specific example, the CPU 22a sets the timeout period specified in the Keep Alive Timer field in the extension request data as the new timeout period.

ステップS109において、CPU12aは、延長されたタイムアウト時間(例えば、100秒)よりも短い時間を、短縮後のタイムアウト時間に決定する。短縮後のタイムアウト時間は、タイムアウト時間の初期値であってもよいし、初期値以外の値であってもよい。CPU12aは、Keep Alive Timerフィールドにおいて、短縮後のタイムアウト時間が指定されたCONNECTパケットを、短縮要求データとして生成する。 In step S109, the CPU 12a determines a time shorter than the extended timeout period (for example, 100 seconds) as the shortened timeout period. The shortened timeout period may be the initial value of the timeout period, or may be a value other than the initial value. The CPU 12a generates, as shortening request data, a CONNECT packet in which the shortened timeout time is specified in the Keep Alive Timer field.

タイムアウト時間の指定を含む短縮要求データを子局装置2が受信した場合、ステップS113において、CPU22aは、受信された短縮要求データのKeep Alive Timerフィールドにおいて指定されるタイムアウト時間を、新たなタイムアウト時間として設定する。 When the slave station device 2 receives the shortening request data including the specification of the timeout period, in step S113, the CPU 22a sets the timeout period specified in the Keep Alive Timer field of the received shortening request data as the new timeout period. set.

[5-4.その他の変形例]
なお、親局装置1が、延長要求データにおいて、延長後のタイムアウト時間を指定するのではなく、タイムアウト時間の無効化を指定してもよい。例えば、Link OAMの場合にはInformation OAMフレームのTLVのVlueフィールドにおいて、LACPの場合にはLACPフレームのOther TLVsフィールド中のValueフィールドにおいて、ETH-OAMの場合にはVSMフレームのoptional VSM dataフィールド中のValueフィールドにおいて、MQTTの場合にはブローカーによって送信されるCONNECTパケットのKeep Alive Timerフィールドにおいて、延長後のタイムアウト時間に代えて、タイムアウト時間の無効化を示す値(例えば、0xFFFF)が指定されてもよい。このような通信データを受信した子局装置2は、タイムアウト時間を無効化することができる。
[5-4. Other Modifications]
Note that the master station device 1 may specify invalidation of the timeout period in the extension request data instead of specifying the timeout period after the extension. For example, in the case of Link OAM, in the Vlue field of the TLV of the Information OAM frame, in the case of LACP, in the Value field in the Other TLVs field of the LACP frame, and in the case of ETH-OAM, in the optional VSM data field of the VSM frame. In the Value field of MQTT, in the Keep Alive Timer field of the CONNECT packet sent by the broker in the case of MQTT, a value (for example, 0xFFFF) indicating invalidation of the timeout period is specified instead of the extended timeout period. good too. The slave station device 2 that receives such communication data can invalidate the timeout period.

親局装置1は、通信を停止させる原因がなくなった場合に、タイムアウト時間の無効化を解除するための短縮要求データを送信してもよい。例えば、Link OAMの場合にはInformation OAMフレームのTLVのVlueフィールドにおいて、LACPの場合にはLACPフレームのOther TLVsフィールド中のValueフィールドにおいて、ETH-OAMの場合にはVSMフレームのoptional VSM dataフィールド中のValueフィールドにおいて、MQTTの場合にはブローカーによって送信されるCONNECTパケットのKeep Alive Timerフィールドにおいて、短縮後のタイムアウト時間に代えて、タイムアウト時間の無効化の解除を示す値(例えば、0x0000)が指定されてもよい。このような通信データを受信した子局装置2は、タイムアウト時間を無効化を解除することができる。 The master station device 1 may transmit shortening request data for canceling invalidation of the timeout period when there is no cause for stopping communication. For example, in the case of Link OAM, in the Vlue field of the TLV of the Information OAM frame, in the case of LACP, in the Value field in the Other TLVs field of the LACP frame, and in the case of ETH-OAM, in the optional VSM data field of the VSM frame. In the Value field of MQTT, in the Keep Alive Timer field of the CONNECT packet sent by the broker in the case of MQTT, a value (e.g., 0x0000) indicating cancellation of invalidation of the timeout period is specified instead of the shortened timeout period. may be Upon receiving such communication data, the slave station device 2 can cancel the invalidation of the timeout period.

[6.効果]
以上のように、通信システム10は、第1通信装置1と、第2通信装置2と、を備える。第1通信装置1は、第2通信装置2との間での制御プロトコルのセッション中に、制御プロトコルによる第2通信装置との通信を停止させる原因が第1通信装置1に生じるか否かを判定する判定部と、判定部によって原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信する送信部と、を有する。第2通信装置2は、第1通信装置1によって送信された延長要求データを受信する受信部と、受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、を有する。これにより、第2通信装置2との通信を停止させる原因が生じる前に、タイムアウト時間を延長することができる。したがって、通信システム10を簡素な構成としつつ、タイムアウトが発生することによるセッションの切断を回避することができる。
[6. effect]
As described above, the communication system 10 includes the first communication device 1 and the second communication device 2 . During the session of the control protocol with the second communication device 2, the first communication device 1 determines whether or not the first communication device 1 causes the communication with the second communication device by the control protocol to stop. and a transmission unit for transmitting extension request data for requesting extension of the timeout period when the determination unit determines that a cause has occurred. The second communication device 2 includes a receiving unit that receives the extension request data transmitted by the first communication device 1, and when the extension request data is received by the receiving unit, from the first timeout period to the first timeout period a setting unit that changes the setting to a second timeout period longer than the As a result, the timeout period can be extended before a cause for stopping communication with the second communication device 2 occurs. Therefore, it is possible to avoid disconnection of a session due to the occurrence of a timeout while simplifying the configuration of the communication system 10 .

延長要求データは、延長後のタイムアウト時間として第2タイムアウト時間を指定する領域を含んでもよい。これにより、第1通信装置1において任意の第2タイムアウト時間を指定することができる。 The extension request data may include an area specifying a second timeout period as the timeout period after extension. As a result, an arbitrary second timeout period can be specified in the first communication device 1 .

第1通信装置1は、第2タイムアウト時間への設定の変更後において、タイムアウト時間の短縮を要求する短縮要求データを送信してもよい。第2通信装置2は、短縮要求データが受信された場合に、第2タイムアウト時間から、第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、延長されたタイムアウト時間を短縮することができる。 The first communication device 1 may transmit shortening request data requesting shortening of the timeout period after changing the setting to the second timeout period. The second communication device 2 may change the setting from the second timeout period to a timeout period shorter than the second timeout period when the shortening request data is received. As a result, the extended timeout period can be shortened.

短縮要求データは、短縮後のタイムアウト時間を指定する領域を含んでもよい。これにより、第1通信装置1において任意の短縮後のタイムアウト時間を指定することができる。 The shortening request data may include an area specifying a timeout period after shortening. As a result, an arbitrary shortened timeout period can be specified in the first communication device 1 .

第2通信装置2は、第2タイムアウト時間が設定されている場合において、タイムアウトが発生した後、第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、タイムアウトが発生した後に、延長されたタイムアウト時間を短縮することができる。 When the second timeout period is set, the second communication device 2 may change the setting to a timeout period shorter than the second timeout period after the timeout occurs. As a result, the extended timeout period can be shortened after timeout occurs.

第1通信装置1は、第2タイムアウト時間への設定の変更後において、通信を停止させる原因に異常が生じた場合に、タイムアウト時間の短縮を要求する短縮要求データを送信してもよい。第2通信装置は、短縮要求データが受信された場合に、第2タイムアウト時間から、第2タイムアウト時間より短いタイムアウト時間に設定を変更してもよい。これにより、通信を停止させる原因に異常が発生し、通信が停止されなくなった場合に、延長されたタイムアウト時間を短縮させることができる。 The first communication device 1 may transmit shortening request data requesting shortening of the timeout period when an abnormality occurs as a cause for stopping communication after the setting of the second timeout period is changed. The second communication device may change the setting from the second timeout period to a timeout period shorter than the second timeout period when the shortening request data is received. This makes it possible to shorten the extended timeout period when an abnormality occurs as a cause for stopping communication and communication is no longer stopped.

通信を停止させる原因は、第1通信装置1における制御プログラム12eの更新であってもよい。これにより、制御プログラム12eの更新の間に通信が停止しても、タイムアウトの発生によるセッションの切断を回避することができる。 The cause of stopping communication may be the update of the control program 12e in the first communication device 1 . As a result, even if communication stops while the control program 12e is being updated, disconnection of the session due to the occurrence of timeout can be avoided.

制御プロトコルは、Link OAM(Operations, Administration, Maintenance)、LACP(Link Aggregation Control Protocol)、ETH-OAM(Ethernet OAM)、MQTT(Message Queuing Telemetry Transport)のうちの少なくとも1つを含んでもよい。これにより、Link OAM、LACP、ETH-OAM、MQTTのうちの少なくとも1つにおいて、タイムアウトの発生によるセッションの切断を回避することができる。 The control protocol may include at least one of Link OAM (Operations, Administration, Maintenance), LACP (Link Aggregation Control Protocol), ETH-OAM (Ethernet OAM), and MQTT (Message Queuing Telemetry Transport). As a result, in at least one of Link OAM, LACP, ETH-OAM, and MQTT, it is possible to avoid session disconnection due to the occurrence of a timeout.

[7.補記]
今回開示された実施の形態はすべての点で例示であって、制限的ではない。本発明の権利範囲は、上述の実施形態ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味及びその範囲内でのすべての変更が含まれる。
[7. Addendum]
The embodiments disclosed this time are illustrative in all respects and are not restrictive. The scope of rights of the present invention is indicated by the scope of claims rather than the above-described embodiments, and includes equivalent meanings and all modifications within the scope of the scope of claims.

1 第1通信装置(親局装置)
2 第2通信装置(子局装置)
3 通信回線(光ファイバ)
5 上位網
6 下位網
10 通信システム
11 上位側インタフェース部
12 制御部
12a CPU
12b 非一過性メモリ
12c 一過性メモリ
12d 入出力部
12e 制御プログラム
13 受信処理部
14 送信処理部
15 対向側インタフェース部
16 上りバッファ
17 下りバッファ
21 下位側インタフェース部
22 制御部
22a CPU
22b 非一過性メモリ
22c 一過性メモリ
22d 入出力部
22e 制御プログラム
23 受信処理部
24 送信処理部
25 対向側インタフェース部
26 上りバッファ
27 下りバッファ
1 first communication device (master station device)
2 Second communication device (slave station device)
3 Communication line (optical fiber)
5 upper network 6 lower network 10 communication system 11 upper interface section 12 control section 12a CPU
12b non-transient memory 12c transient memory 12d input/output unit 12e control program 13 reception processing unit 14 transmission processing unit 15 opposite side interface unit 16 up buffer 17 down buffer 21 lower side interface unit 22 control unit 22a CPU
22b non-transient memory 22c transient memory 22d input/output unit 22e control program 23 reception processing unit 24 transmission processing unit 25 opposite side interface unit 26 upstream buffer 27 downstream buffer

Claims (9)

第1通信装置と、
第2通信装置と、
を備え、
前記第1通信装置は、
前記第2通信装置との間での制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定する判定部と、
前記判定部によって前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信する送信部と、
を有し、
前記第2通信装置は、
前記第1通信装置によって送信された前記延長要求データを受信する受信部と、
前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、
を有
前記設定部は、前記第2タイムアウト時間が設定されている場合において、タイムアウトが発生した後、前記第1通信装置からのタイムアウト時間の指定によらず、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更する、
通信システム。
a first communication device;
a second communication device;
with
The first communication device is
a determination unit that determines whether or not the first communication device causes the communication with the second communication device to stop according to the control protocol during a session of the control protocol with the second communication device; ,
a transmission unit that transmits extension request data for requesting an extension of the timeout period when the determination unit determines that the cause occurs;
has
The second communication device is
a receiving unit that receives the extension request data transmitted by the first communication device;
a setting unit configured to change a setting from a first timeout period to a second timeout period longer than the first timeout period when the extension request data is received by the receiving unit;
has
When the second timeout period is set, the setting unit sets a timeout period shorter than the second timeout period regardless of the timeout period specified by the first communication device after a timeout occurs. to change the
Communications system.
前記延長要求データは、延長後のタイムアウト時間として前記第2タイムアウト時間を指定する領域を含む、
請求項1に記載の通信システム。
The extension request data includes an area that specifies the second timeout time as the timeout time after extension,
A communication system according to claim 1.
前記送信部は、前記第2タイムアウト時間への設定の変更後において、前記タイムアウト時間の短縮を要求する短縮要求データを送信し、
前記設定部は、前記受信部によって前記短縮要求データが受信された場合に、前記第2タイムアウト時間から、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更する、
請求項1又は2に記載の通信システム。
The transmitting unit transmits shortening request data requesting shortening of the timeout period after the setting of the second timeout period is changed,
The setting unit changes the setting from the second timeout period to a timeout period shorter than the second timeout period when the shortening request data is received by the receiving unit.
A communication system according to claim 1 or 2.
前記短縮要求データは、短縮後のタイムアウト時間を指定する領域を含む、
請求項3に記載の通信システム。
The shortening request data includes an area that specifies a timeout period after shortening,
A communication system according to claim 3.
前記送信部は、前記第2タイムアウト時間への設定の変更後において、前記原因に異常が生じた場合に、前記タイムアウト時間の短縮を要求する短縮要求データを送信し、
前記設定部は、前記受信部によって前記短縮要求データが受信された場合に、前記第2タイムアウト時間から、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更する、
請求項1から請求項4のいずれか1項に記載の通信システム。
The transmission unit transmits reduction request data requesting reduction of the timeout period when an abnormality occurs in the cause after the setting of the second timeout period is changed,
The setting unit changes the setting from the second timeout period to a timeout period shorter than the second timeout period when the shortening request data is received by the receiving unit.
A communication system according to any one of claims 1 to 4.
前記原因は、前記第1通信装置における制御プログラムの更新である、
請求項1から請求項5のいずれか1項に記載の通信システム。
The cause is an update of the control program in the first communication device,
A communication system according to any one of claims 1 to 5.
前記制御プロトコルは、Link OAM(Operations, Administration, Maintena
nce)、LACP(Link Aggregation Control Protocol)、ETH-OAM(Ethernet OAM)、MQTT(Message Queuing Telemetry Transport)のうちの少なくとも1つを含む、
請求項1から請求項6のいずれか1項に記載の通信システム。
The control protocol is Link OAM (Operations, Administration, Maintena
nce), LACP (Link Aggregation Control Protocol), ETH-OAM (Ethernet OAM), MQTT (Message Queuing Telemetry Transport).
A communication system according to any one of claims 1 to 6.
対向通信装置と制御プロトコルによる通信を行う通信装置であって、
前記対向通信装置との間での前記制御プロトコルのセッション中に、前記対向通信装置によって送信された、タイムアウト時間の延長を要求するための延長要求データを受信する受信部と、
前記受信部によって前記延長要求データが受信された場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更する設定部と、
を備え、
前記設定部は、前記第2タイムアウト時間が設定されている場合において、タイムアウトが発生した後、前記対向装置からのタイムアウト時間の指定によらず、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更する、
通信装置。
A communication device that communicates with an opposite communication device according to a control protocol,
a receiving unit that receives extension request data for requesting an extension of the timeout period, which is transmitted by the counterpart communication device during the control protocol session with the counterpart communication device;
a setting unit configured to change a setting from a first timeout period to a second timeout period longer than the first timeout period when the extension request data is received by the receiving unit;
with
When the second timeout period is set, the setting unit changes the setting to a timeout period shorter than the second timeout period after timeout occurs, regardless of the timeout period specified by the counterpart device. do,
Communication device.
第1通信装置と第2通信装置とが制御プロトコルによる通信を行う通信方法であって、
前記第1通信装置が、前記第2通信装置との間での前記制御プロトコルのセッション中に、前記制御プロトコルによる前記第2通信装置との通信を停止させる原因が前記第1通信装置に生じるか否かを判定するステップと、
前記第1通信装置が、前記原因が生じると判定された場合に、タイムアウト時間の延長を要求するための延長要求データを送信するステップと、
前記第2通信装置が、前記第1通信装置によって送信された前記延長要求データを受信するステップと、
前記第2通信装置が、前記延長要求データを受信した場合に、第1タイムアウト時間から、前記第1タイムアウト時間よりも長い第2タイムアウト時間に設定を変更するステップと、
前記第2通信装置が、前記第2タイムアウト時間が設定されている場合において、タイムアウトが発生した後、前記第1通信装置からのタイムアウト時間の指定によらず、前記第2タイムアウト時間より短いタイムアウト時間に設定を変更するステップと、
を有する、
通信方法。
A communication method in which a first communication device and a second communication device communicate according to a control protocol,
Whether the first communication device causes the first communication device to stop communication with the second communication device according to the control protocol during the session of the control protocol with the second communication device a step of determining whether
the first communication device transmitting extension request data for requesting an extension of the timeout period when it is determined that the cause occurs;
receiving, by the second communication device, the extension request data transmitted by the first communication device;
changing the setting from a first timeout period to a second timeout period longer than the first timeout period when the second communication device receives the extension request data;
When the second timeout period is set, the timeout period of the second communication apparatus is shorter than the second timeout period regardless of the timeout period specified by the first communication apparatus after timeout occurs. changing the setting to
having
Communication method.
JP2018203125A 2018-10-29 2018-10-29 Communication system, communication device, and communication method Active JP7127481B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018203125A JP7127481B2 (en) 2018-10-29 2018-10-29 Communication system, communication device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018203125A JP7127481B2 (en) 2018-10-29 2018-10-29 Communication system, communication device, and communication method

Publications (2)

Publication Number Publication Date
JP2020072304A JP2020072304A (en) 2020-05-07
JP7127481B2 true JP7127481B2 (en) 2022-08-30

Family

ID=70549662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018203125A Active JP7127481B2 (en) 2018-10-29 2018-10-29 Communication system, communication device, and communication method

Country Status (1)

Country Link
JP (1) JP7127481B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098908A (en) 2007-10-16 2009-05-07 Kyocera Mita Corp Time-out control system, client device, server device, and time-out control method
JP2010141779A (en) 2008-12-15 2010-06-24 Nec Corp Data transfer apparatus
JP2012095089A (en) 2010-10-27 2012-05-17 Sumitomo Electric Ind Ltd Station side device, house side device, optical communication system, and optical communication system control method
JP2013514005A (en) 2009-12-10 2013-04-22 アルカテル−ルーセント Connectivity failure management timeout period control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009098908A (en) 2007-10-16 2009-05-07 Kyocera Mita Corp Time-out control system, client device, server device, and time-out control method
JP2010141779A (en) 2008-12-15 2010-06-24 Nec Corp Data transfer apparatus
JP2013514005A (en) 2009-12-10 2013-04-22 アルカテル−ルーセント Connectivity failure management timeout period control
JP2012095089A (en) 2010-10-27 2012-05-17 Sumitomo Electric Ind Ltd Station side device, house side device, optical communication system, and optical communication system control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IEEE Std 802.3ah-2004,2004年09月07日,P.452,464,466
MQTT Version 3.1.1, OASIS Standard,2014年10月29日,P.27,<URL>http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.pdf

Also Published As

Publication number Publication date
JP2020072304A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
KR101457241B1 (en) Full mesh rates transaction in a network
EP3085028B1 (en) Adjustable data rates
WO2020063995A1 (en) Pon, method and apparatus for pon, and robot system
CN108243035B (en) DCN message processing method, network equipment and network system
EP2751963A1 (en) Topology discovery in a hybrid network
WO2021254001A1 (en) Session establishment method, apparatus and system and computer storage medium
CN113364638B (en) Method, electronic device and storage medium for EPA networking
RYU Project Team RYU SDN Framework-English Edition
US8156209B1 (en) Aggregation devices processing keep-alive messages of point-to-point sessions
CN113196710B (en) Distribution node, automation network and method for transmitting messages
US9455867B2 (en) Automatic configuration of a repeater
JP6576099B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM, AND COMMUNICATION SYSTEM
JP7127481B2 (en) Communication system, communication device, and communication method
WO2014044190A1 (en) Method and device for adjusting ethernet data transmission rate
JP4624443B2 (en) Network device setting method
JP5576421B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
WO2015035852A1 (en) Method and device for announcing state between nodes
CN111510394A (en) Message scheduling method, related equipment and computer storage medium
JP2013162219A (en) Communication device, communication system, communication method, and communication program
WO2013189426A2 (en) Method and system for auto-negotiation of mpls network connectivity check time
US11652715B1 (en) Method for detecting network mis-cabling
US20230208544A1 (en) Method, apparatus, and system for processing time synchronization fault and storage medium
US20230126456A1 (en) Open application interface for industrial equipment
JP7188280B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM
JP2015534758A (en) How to run a computer network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220301

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220801

R150 Certificate of patent or registration of utility model

Ref document number: 7127481

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150