Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7533733B2 - Communication Control Method - Google Patents
[go: Go Back, main page]

JP7533733B2 - Communication Control Method - Google Patents

Communication Control Method Download PDF

Info

Publication number
JP7533733B2
JP7533733B2 JP2023175666A JP2023175666A JP7533733B2 JP 7533733 B2 JP7533733 B2 JP 7533733B2 JP 2023175666 A JP2023175666 A JP 2023175666A JP 2023175666 A JP2023175666 A JP 2023175666A JP 7533733 B2 JP7533733 B2 JP 7533733B2
Authority
JP
Japan
Prior art keywords
tsn
network
time
frames
frame
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
JP2023175666A
Other languages
Japanese (ja)
Other versions
JP2023179651A (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.)
Meidensha Corp
Original Assignee
Meidensha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp filed Critical Meidensha Corp
Priority to JP2023175666A priority Critical patent/JP7533733B2/en
Publication of JP2023179651A publication Critical patent/JP2023179651A/en
Application granted granted Critical
Publication of JP7533733B2 publication Critical patent/JP7533733B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、TSN(Time Sensitive Networking)を使用したシステムにおける通信制御方法に関する。 This invention relates to a communication control method in a system using TSN (Time Sensitive Networking).

従来のネットワークは、帯域制御に優先度の設定、送信フレーム間隔を広げるなどの調整方法が採用されていた。ところが、ネットワークの瞬間的な混雑を緩和してフレームの破棄を防止するためには伝送量を抑えるなどの制約事項があった。 Conventional networks have adopted methods of adjusting bandwidth by setting priorities and widening the interval between transmission frames. However, there are restrictions such as limiting the amount of transmission in order to ease momentary congestion on the network and prevent frames from being discarded.

そこで、TSNの時分割によって大量の伝送を行いつつ、重要データが確実に届くように制御する方法が用いられている。このTSNは、ネットワーク帯域の制御技術であって、PTP(IEEE 1588 Precision Time Protocol)による時刻同期を行い、その高精度の時計によりネットワーク上で時分割された期間中に送信を実行する。 Therefore, a method is used to ensure that important data arrives reliably while transmitting large amounts of data using TSN time division. TSN is a network bandwidth control technology that uses time synchronization with PTP (IEEE 1588 Precision Time Protocol) and executes transmissions during time-division periods on the network using this highly accurate clock.

TSNによれば、重要データとその他の通信データ(重要データ以外のデータ:以下、一般データと呼ぶ。)とは、異なる時間に送信されるので、重要データの送信は一般データの送信に影響を受けない。なお、TSN関連の技術として、例えば特許文献1が公知となっている。 According to TSN, important data and other communication data (data other than important data: hereafter referred to as general data) are transmitted at different times, so the transmission of important data is not affected by the transmission of general data. For example, Patent Document 1 is a known example of TSN-related technology.

特開2020-17877Patent Publication No. 2020-17877

(1)従来のネットワーク(TSN未対応のネットワーク)では、大量のデータ通信を行うと、スイッチングハブ(以下、HUBと呼ぶ。)などのネットワーク機器のバッファが瞬間的に不足し、フレーム破棄が発生する場合がある。このとき重要データが破棄されると問題となる。プロトコルにより送達確認を行い再送する方法もあるが、タイムアウト処理などの時間がかかるため、応答性が必要なシステムには適用できない。 (1) In conventional networks (networks that do not support TSN), when large amounts of data are transmitted, the buffers of network devices such as switching hubs (hereafter referred to as HUBs) can momentarily become insufficient, causing frames to be discarded. If important data is discarded at this time, it can cause problems. There are methods that use protocols to confirm delivery and resend data, but these methods take time due to timeout processing, etc., and are therefore not applicable to systems that require responsiveness.

そこで、前述のように特定のフレームを優先して送信する優先度の設定や、送信されるフレームの間隔を広げてゆっくり送信するなどの調整を行って、ネットワークに十分な余裕を持たせた設計としていた。そして、その設計によって大量データの通信はできなくなる。 As mentioned above, the network was designed to have sufficient capacity by making adjustments such as setting priorities to give priority to certain frames and spreading out the intervals between frames to send them more slowly. This design makes it impossible to transmit large amounts of data.

これに対してTSNネットワーク(TSN対応のネットワーク)は、PTP時刻同期された時計を使用して時分割された期間にデータを送信する。TSNにおいて決められた重要データの期間は、重要データだけが送受信されるため、一般データによる影響を受けにくい。ただし、一般データを送信する期間は各HUBが大量に送信するため、高負荷によるフレーム破棄を回避するためには送達確認などの機構が必要となる。 In contrast, a TSN network (a network compatible with TSN) transmits data in time-shared periods using a PTP time-synchronized clock. During the important data period determined by TSN, only important data is sent and received, so it is less susceptible to the effects of general data. However, during the period when general data is transmitted, each HUB transmits large amounts of data, so a mechanism such as delivery confirmation is required to avoid discarding frames due to high load.

(2)システム内のすべてのHUBがTSNに対応していれば、データの種類ごとに時分割された期間として分離できる。新規のシステムであればTSN対応のHUBだけで構築することができるが、実際には従来システムの一部をTSN対応のHUBに更新することが多い。 (2) If all HUBs in a system are TSN-compatible, data types can be separated into time-shared periods. A new system can be built using only TSN-compatible HUBs, but in practice, it is common to update part of a legacy system to a TSN-compatible HUB.

伝送負荷を低く抑えるように動作する従来のネットワークと、時分割でデータ種類(重要データ/一般データ)ごとに分離されているTSNネットワークとが混在し、その境界で問題が発生する。 Conventional networks that operate to keep transmission loads low coexist with TSN networks that are time-division separated by data type (important data/general data), and problems arise at the boundary between the two.

従来のネットワークは伝送路に対して1%未満の僅かな伝送であり、稀にファイルなどの大量データを送信する場合でも帯域制御でゆっくり送信するなどの対策を行い、また複数のHUBが同時に大量のデータ送信をしないようにタイミング制御などが行われる。一方、TSNネットワークは、重要データを送受信する期間中は余裕のある伝送であり、一般データの期間中はベストエフォート型であり、大量の送信により伝送負荷が100%に近いことがある。 Conventional networks transmit only a small amount of data, less than 1% of the transmission path, and even in the rare cases when large amounts of data such as files are sent, measures such as bandwidth control are used to transmit data slowly, and timing control is also used to prevent multiple hubs from sending large amounts of data at the same time. On the other hand, TSN networks have ample transmission capacity during periods when important data is being sent and received, and are best-effort type during periods when general data is being sent, and the transmission load can approach 100% due to large amounts of data being sent.

この両者のネットワークの境界(境目)では、想定された伝送状態ではないためフレームの破棄が発生する。また、TSNは複数の送信期間を扱うため設定が複雑となるが、そこに従来のネットワークを考慮した設定を行うのは大変な作業となる。 At the boundary between these two networks, frames are discarded because the expected transmission conditions are not met. In addition, since TSN handles multiple transmission periods, the settings are complicated, and it would be a huge task to configure it while taking into account the conventional network.

(3)本発明は、このような問題を解決するためになされ、従来のネットワークとTSNネットワークとが混在する場合に、TSN未対応のネットワーク機器を自動的に検出し、両者の境目に適切に対応することを解決課題としている。 (3) The present invention was made to solve such problems, and aims to automatically detect network devices that do not support TSN when conventional networks and TSN networks are mixed, and to deal appropriately with the boundary between the two.

(1)本発明の一態様は、TSN(Time Sensitive Networking)を使用したシステムにおけるネットワーク機器の検出方法であって、
前記TSN対応のネットワーク機器間でフレームサイズの異なる大小のUDPフレームを往復させたときのタイムスタンプからそれぞれの送受信時刻の情報を取得し、取得した情報に基づき前記各UDPフレームの伝送時間を算出するステップと、
前記各UDPフレームの伝送時間差がフレームサイズ差分のN倍であれば、N台の前記TSN未対応のネットワーク機器の存在を検出するステップと、
を有することを特徴としている。
(1) One aspect of the present invention is a method for detecting a network device in a system using Time Sensitive Networking (TSN), comprising:
obtaining information on the transmission and reception times of large and small UDP frames having different frame sizes from time stamps when the UDP frames are sent back and forth between the TSN-compatible network devices, and calculating a transmission time of each of the UDP frames based on the obtained information;
detecting the presence of N network devices that do not support TSN if the transmission time difference between the UDP frames is N times the frame size difference;
The present invention is characterized in that it has the following features.

(2)本発明の他の態様は、TSN(Time Sensitive Networking)を使用したシステム中、TSN対応ネットワークとTSN未対応ネットワークとの境界に位置するTSN対応のネットワーク機器の通信を制御する方法であって、
前記TSN対応ネットワーク側から送信されたフレーム群中、重要データ以外の一般データのフレームを破棄し、前記重要データのフレームのみを前記TSN未対応ネットワーク側に送信するステップと、
前記TSN未対応ネットワーク側から送信されたフレーム群を、前記TSN対応ネットワーク側に重要データの時分割された期間に送信するステップと、
を有することを特徴としている。
(2) Another aspect of the present invention is a method for controlling communication of a time sensitive network device located at a boundary between a time sensitive network and a non-time sensitive network in a system using the time sensitive network, the method comprising:
A step of discarding frames of general data other than important data among the frames transmitted from the TSN-compatible network side, and transmitting only the frames of the important data to the TSN-incompatible network side;
transmitting the frames transmitted from the TSN non-compliant network side to the TSN compliant network side during a time-shared period of important data;
The present invention is characterized in that it has the following features.

(3)本発明のさらに他の態様は、TSN(Time Sensitive Networking)を使用したシステム中、TSN対応ネットワークとTSN未対応ネットワークとの境界に位置するTSN対応のネットワーク機器の通信を制御する方法であって、
前記TSN対応ネットワーク側から伝送されたフレーム群中、重要データ以外の一般データのフレームに帯域制限を加えて前記TSN未対応ネットワーク側に送信するステップと、
前記TSN未対応ネットワーク側から送信されたフレーム群を、前記TSN対応ネットワーク側に重要データの時分割された期間に送信するステップと、
を有することを特徴とする通信制御方法。
(3) Yet another aspect of the present invention is a method for controlling communication of a time sensitive network device located at a boundary between a time sensitive network and a non-time sensitive network in a system using the time sensitive network, the method comprising:
a step of applying a bandwidth restriction to frames of general data other than important data among the frames transmitted from the TSN-compatible network side and transmitting the frames to the TSN-incompatible network side;
transmitting the frames transmitted from the TSN non-compliant network side to the TSN compliant network side during a time-shared period of important data;
A communication control method comprising:

(4)本発明のさらに他の態様は、TSN(Time Sensitive Networking)を使用したシステム中、前記TSN対応のネットとワーク機器間に前記TSN未対応にネットワーク機器が存在する場合の時刻同期方法であって、
前記TSN対応のネットワーク機器の送信したPTP(Precision Time Protocol)時刻同期フレームに応答があれば、前記TSN対応のネットワーク機器間でPTP時刻同期フレームを往復させて時刻同期を行うステップと、
前記応答がなければ、前記TSN対応のネットワーク機器間でUDPの時刻同期フレームを往復させて時刻同期を行うステップと、
を有することを特徴とする時刻同期方法。
(4) Yet another aspect of the present invention is a time synchronization method for a system using Time Sensitive Networking (TSN), in which a network device that does not support TSN exists between a network and a work device that supports TSN, comprising:
If there is a response to the PTP (Precision Time Protocol) time synchronization frame transmitted by the TSN-compatible network device, a PTP time synchronization frame is transmitted back and forth between the TSN-compatible network devices to perform time synchronization;
if there is no response, performing time synchronization by sending a UDP time synchronization frame back and forth between the TSN-compatible network devices;
A time synchronization method comprising:

本発明によれば、従来のネットワークとTSNネットワークとが混在する場合にTSN未対応のネットワーク機器を自動的に検出し、両者の境目に適切に対応することができる。 According to the present invention, when conventional networks and TSN networks coexist, it is possible to automatically detect network devices that do not support TSN and to appropriately handle the boundary between the two.

実施例1中、TSN中継装置間に従来型の中継装置が存在しない場合の伝送時間を示す模式図。FIG. 4 is a schematic diagram showing a transmission time when no conventional relay device exists between TSN relay devices in the first embodiment; 同 従来型の中継装置が存在する場合の伝送時間を示す模式図。FIG. 13 is a schematic diagram showing transmission time when a conventional relay device is present. TSNネットワークと従来のネットワークとが混在するシステムの概略図。1 is a schematic diagram of a system in which TSN networks and conventional networks coexist. 従来のネットワークにおける伝送負荷を示すグラフ。1 is a graph showing a transmission load in a conventional network. TSNネットワークによる伝送負荷を示すグラフ。1 is a graph showing the transmission load through a TSN network. 従来のネットワークとTSNネットワークとを混在させたときの伝送負荷を示すグラフ。1 is a graph showing a transmission load when a conventional network and a TSN network are mixed. 実施例2の通信制御方法Aを示す模式図。FIG. 11 is a schematic diagram showing a communication control method A of the second embodiment. 同 通信制御方法Bを示す模式図。FIG. 4 is a schematic diagram showing the communication control method B of the same embodiment. 実施例3において従来型の中継装置が時刻同期フレームを転送できる場合を示す模式図。FIG. 13 is a schematic diagram showing a case where a conventional relay device can transfer a time synchronization frame in the third embodiment. 同 時刻同期フレームを転送できない場合を示す模式図。FIG. 13 is a schematic diagram showing a case in which the time synchronization frame cannot be transferred. 本発明の産業上の利用分野を示す模式図。FIG. 1 is a schematic diagram showing an industrial application field of the present invention. 図11中の矢印Qの変換処理を示す模式図。12 is a schematic diagram showing a conversion process of the arrow Q in FIG. 11 .

本発明は、TSNを使用したシステムに関する技術であって、TSN対応のネットワーク機器(TSN対応機器)がTSN未対応のネットワーク機器(TSN未対応機器)を検出する検出方法、TSN対応機器の通信制御方法および時刻同期方法に関する。以下、本発明の実施形態を実施例1~3に基づき説明する。 The present invention relates to a technology for a system using TSN, and relates to a detection method for a TSN-compatible network device (TSN-compatible device) to detect a TSN-incompatible network device (TSN-incompatible device), a communication control method for TSN-compatible devices, and a time synchronization method. The following describes an embodiment of the present invention based on Examples 1 to 3.

実施例1では、前記検出方法を説明する。ここではTSN対応機器は、TSNに対応した中継装置(HUB:以下、TSN中継装置と呼ぶ。)とする。 In Example 1, the detection method is described. Here, the TSN-compatible device is a relay device (HUB: hereafter referred to as a TSN relay device) that supports TSN.

TSN未対応機器は、TSNに対応していない中継装置(HUB)とするが、PTP機能を有するHUBと区別するため、PTP機能を持たない方を従来HUBと呼び、PTP機能を持つ方をPTPハブと呼ぶ。 Devices that do not support TSN are called relay devices (HUBs) that do not support TSN, but to distinguish them from HUBs with PTP functionality, the ones without PTP functionality are called conventional HUBs, and the ones with PTP functionality are called PTP hubs.

≪基本的な考え方≫
TSN中継装置間に従来HUB/PTPハブが存在する場合、その存在に応じた動作処理をするため、TSN中継装置において従来HUB/PTPハブの存在を検出する。TSN中継装置間では、PTP時刻同期の機能により、イベントタイプに応じたPTP時刻同期フレームが往復する。
<Basic Concept>
If a conventional HUB/PTP hub exists between the TSN relay devices, the TSN relay device detects the existence of the conventional HUB/PTP hub in order to perform operation processing according to the existence of the conventional HUB/PTP hub. Between the TSN relay devices, a PTP time synchronization frame according to the event type is sent back and forth by the PTP time synchronization function.

TSN中継装置間に従来HUBが存在する場合、従来HUBは時刻補正せずに前記フレームを転送する。時刻補正されていないので時刻同期は不安定となるが、従来HUBが存在すると判断することはできない。TSN中継装置間にPTPハブが存在する場合も、PTPハブにより時刻補正が行われて時刻同期は安定するため、PTPハブが存在すると判断できない。 If a conventional hub exists between the TSN relay devices, the conventional hub will forward the frame without time correction. Since the time is not corrected, time synchronization will be unstable, but it is not possible to determine that a conventional hub exists. Even if a PTP hub exists between the TSN relay devices, the PTP hub will perform time correction and time synchronization will be stable, so it is not possible to determine that a PTP hub exists.

そこで、TSN中継装置を普通のUDPフレームによる時刻同期ができるようにする。フレームサイズの異なるUDPフレームを時刻同期フレームとしてタイムスタンプを付けて往復させる。 Therefore, we make it possible for TSN relay devices to perform time synchronization using normal UDP frames. UDP frames of different frame sizes are sent back and forth as time synchronization frames with timestamps attached.

この場合、TSN中継装置間に従来HUB/PTPハブが存在すれば、単なる転送として処理されるので、UDPフレームのサイズにより伝送時間差が生じる。この伝送時間差に基づき、従来HUB/PTPハブの存在を検出する。 In this case, if a conventional HUB/PTP hub exists between the TSN relay devices, it will be processed as a simple transfer, and a transmission time difference will occur depending on the size of the UDP frame. The presence of a conventional HUB/PTP hub is detected based on this transmission time difference.

隣接するTSN中継装置が存在しない場合、普通のUDPフレームに対して応答はないが、従来HUB/PTPハブなどが接続されていると解釈する。 If there is no adjacent TSN relay device, there will be no response to a normal UDP frame, but this will be interpreted as meaning that a conventional HUB/PTP hub or similar is connected.

≪前記検出方法の詳細≫
図1および図2に基づき前記検出方法の詳細を説明する。図1および図2中の1a,1bは、TSN中継装置1を示している。また、同2は、TSN中継装置1a,1b間に存在する従来HUB/PTPハブを示している(以下、従来HUB等2と呼ぶ。)。
<Details of the detection method>
The detection method will be described in detail with reference to Figures 1 and 2. In Figures 1 and 2, 1a and 1b indicate TSN relay devices 1. Also, 2 indicates a conventional HUB/PTP hub (hereinafter referred to as conventional HUB, etc. 2) that exists between the TSN relay devices 1a and 1b.

(1)図1は、TSN中継装置1a,1b間におけるPTP時刻同期フレームを往復させる状態を示している。具体的にはTSN中継装置1aは、TSN中継装置1bに「Pdelay_Req」メッセージを送信する。このメッセージを受信したTSN中継装置1bは、「Pdelay_Resp」メッセージを返信することで応答する。 (1) Figure 1 shows the state in which a PTP time synchronization frame is sent back and forth between TSN relay devices 1a and 1b. Specifically, TSN relay device 1a sends a "Pdelay_Req" message to TSN relay device 1b. Upon receiving this message, TSN relay device 1b responds by sending back a "Pdelay_Resp" message.

このようなPTP時刻同期フレームが往復したときのタイムスタンプに基づき往路・復路の送受信時刻「T1」~「T4」を取得し、TSN中継装置1a,1b間の伝送時間を計算する、なお、計算される伝送時間は、タイムスタンプの機構を使用しているため、フレームの先頭部分が送受信されたタイミングとなり、フレームサイズの影響を受けない。 The transmission and reception times "T1" to "T4" for the outbound and inbound journeys are obtained based on the timestamps when such a PTP time synchronization frame travels back and forth, and the transmission time between TSN relay devices 1a and 1b is calculated. Note that the calculated transmission time is the timing when the first part of the frame is transmitted and received, as a timestamp mechanism is used, and is not affected by the frame size.

(2)図2は、TSN中継装置1a,1b間にフレームサイズの異なるUDPフレームを時刻同期フレームとして往復させる状態を示している。ここでは従来HUB等2は、時刻補正することなく、各UDPフレームを転送する。ただし、各UDPフレームのサイズに応じて従来HUB等2の転送時間が相違する。 (2) Figure 2 shows a state in which UDP frames of different frame sizes are sent back and forth between TSN relay devices 1a and 1b as time synchronization frames. Here, the conventional hub 2 transfers each UDP frame without time correction. However, the transfer time of the conventional hub 2 differs depending on the size of each UDP frame.

例えば100バイトのUDPフレームと1000バイトのUDPフレームを往復させた場合、途中に従来HUB等2が存在すればストアンアドフォワード機構によりフレームサイズ分の送受信時間が加算され、それぞれの伝送時間に影響を与える。 For example, if a 100-byte UDP frame and a 1,000-byte UDP frame are sent back and forth, if there is a conventional hub or similar device 2 along the way, the store-and-forward mechanism adds the frame size to the sending and receiving time, affecting the transmission time of each.

伝送時間の計算は、TSN中継装置1a側でPTP時刻同期フレームの場合と同様に計算される。すなわち、各UDPフレームを往復させたときのタイムスタンプに基づき往路・復路の送受信時刻「T1」~「T4」を取得し、各UDPフレームの伝送時間を計算式(1)により算出する。 The transmission time is calculated on the TSN relay device 1a side in the same way as for the PTP time synchronization frame. That is, the sending and receiving times "T1" to "T4" for the outbound and return journeys are obtained based on the timestamps when each UDP frame is sent back and forth, and the transmission time of each UDP frame is calculated using formula (1).

式1:伝送時間=「(T2-T1)+(T4-T3)」/2
T1=往路のUDPフレーム送信時刻
T2=往路のUDPフレーム受信時刻
T3=復路のUDPフレーム送信時刻
T4=復路のUDPフレーム受信時刻
TSN中継装置1aは、式1により計算された往路・復路の伝送時間差(遅延時間)に応じて従来HUB等2の台数を検出する。すなわち、「伝送時間差=フレームサイズ差分のN倍」であれば、TSN中継装置1bとの間にN台の従来HUB等2が存在するものと判定する。例えば前述のUDPフレーム同士(100バイト/1000バイト)の場合、フレームサイズ差分は「900バイト」となる。
Equation 1: Transmission time = (T2 - T1) + (T4 - T3) / 2
T1 = Time when outgoing UDP frame is sent T2 = Time when outgoing UDP frame is received T3 = Time when returning UDP frame is sent T4 = Time when returning UDP frame is received The TSN relay device 1a detects the number of conventional hubs, etc. 2 according to the transmission time difference (delay time) between the outgoing and returning paths calculated by formula 1. In other words, if the "transmission time difference = N times the frame size difference", it is determined that there are N conventional hubs, etc. 2 between the TSN relay device 1b. For example, in the case of the aforementioned UDP frames (100 bytes/1000 bytes), the frame size difference is "900 bytes".

伝送時間差が「900バイト分」であればフレーム差分の1倍なため、1台の従来HUB等2が存在するものと判定される。また、伝送時間差が「1800バイト分」であればフレーム差分の2倍なため、2台の従来HUB等2が存在するものと判定される。 If the transmission time difference is "900 bytes", it is one time the frame difference, so it is determined that one conventional HUB etc. 2 exists. Also, if the transmission time difference is "1800 bytes", it is twice the frame difference, so it is determined that two conventional HUB etc. 2 exist.

このとき伝送時間差がフレーム差分の整数倍でなければ、端数処理法(四捨五入など)の手段を用いてもよい。また、「伝送時間差≒0」であれば、従来HUB等2は存在しないものと判定される。 If the transmission time difference is not an integer multiple of the frame difference, a fractional processing method (such as rounding off) may be used. Also, if the "transmission time difference ≒ 0", it is determined that the conventional HUB etc. 2 does not exist.

このように実施例1によれば、TSN装置1a,1b間に従来HUB等2が存在するか否かを判定することができる。すなわち、従来HUB等2の存在を検出できるため、ネットワーク構成を変更しても自動的に対応できる。この点で設定誤りを削減し、システムの安定度が向上する。なお、PTPハブをTSN未対応の装置として区別でき、またHUB以外のブリッジ動作する機器も検出することもできる。 As described above, according to the first embodiment, it is possible to determine whether or not a conventional hub 2 exists between the TSN devices 1a and 1b. In other words, since the presence of a conventional hub 2 can be detected, any changes to the network configuration can be automatically accommodated. This reduces configuration errors and improves system stability. In addition, it is possible to distinguish a PTP hub as a device that does not support TSN, and it is also possible to detect devices that operate as bridges other than hubs.

図3~図8に基づき実施例2を説明する。本実施例では、従来のネットワークとTSNネットワークとが混在する場合の通信制御方法を説明する。 The second embodiment will be described with reference to Figures 3 to 8. In this embodiment, a communication control method will be described for a case where a conventional network and a TSN network are mixed.

すなわち、実施例1の検出方法により複数台の従来HUB等2が検出できれば、図3に示すように、従来のネットワーク20とTSNネットワーク10とが混在すると認識できる。図3中の1はTSNネットワーク10を構成するTSN中継装置を示し、同2は従来のネットワーク20を構成する従来HUB等2を示している。 In other words, if multiple conventional hubs, etc. 2 can be detected by the detection method of the first embodiment, it can be recognized that a conventional network 20 and a TSN network 10 are mixed, as shown in Figure 3. In Figure 3, 1 indicates a TSN relay device that constitutes the TSN network 10, and 2 indicates a conventional hub, etc. 2 that constitutes the conventional network 20.

図4は、従来のネットワークにおける伝送負荷を示している。ここでは必要最小限の伝送として、瞬間的な高負荷によりフレームの破棄が発生しないように調整されている。 Figure 4 shows the transmission load in a conventional network. Here, transmission is adjusted to the minimum necessary so that frames are not discarded due to momentary high loads.

図5は、TSNネットワークの伝送負荷を示し、時分割による期間として重要データの期間J,一般データの期間Iが存在している。この一般データについては、TCPなどの送達確認などを前提としており、高負荷によるフレーム破棄を許容している。 Figure 5 shows the transmission load of the TSN network, with important data period J and general data period I as time-division periods. This general data is subject to delivery confirmation by TCP and other protocols, and frame discarding due to high load is permitted.

従来のネットワーク20とTSNネットワーク10とを接続した場合には、図4の伝送負荷と図5の伝送負荷とが加算されるため、伝送負荷は図6の状態となり、従来のネットワーク20で送信された重要データの一部が破棄されるおそれがある。フレームが破棄される確率は、フレームに対して一定の確率となるが、重要データのフレーム数は少ないので相対的に影響が大きくなる。 When the conventional network 20 and the TSN network 10 are connected, the transmission load in FIG. 4 and the transmission load in FIG. 5 are added together, resulting in the transmission load shown in FIG. 6, which may result in some of the important data transmitted over the conventional network 20 being discarded. The probability that a frame will be discarded is a fixed probability per frame, but since the number of frames of important data is small, the impact is relatively large.

そこで、本実施例は、従来のネットワーク20とTSNネットワーク10とが混在する場合、以下の通信制御方法A,B施すことで両ネットワーク10,20の境目における送信タイミングおよび帯域調整を図っている。 Therefore, in this embodiment, when a conventional network 20 and a TSN network 10 are mixed, the following communication control methods A and B are implemented to adjust the transmission timing and bandwidth at the boundary between the two networks 10 and 20.

(1)通信制御方法A
まず、通信制御方法Aを説明する。両ネットワーク10,20の境界では、TSNネットワーク10側から送信された大量の一般データにより、従来のネットワーク20がパンクするおそがある。
(1) Communication control method A
First, a description will be given of the communication control method A. At the boundary between the two networks 10, 20, there is a risk that the conventional network 20 will be overwhelmed by a large amount of general data transmitted from the TSN network 10 side.

そこで、TSNネットワーク側から送信されたフレーム群中、一般データのフレームを前記境界において破棄し、従来のネットワーク20側に送信しないこととする。一方、従来のネットワーク20側から送信されたフレーム群は、TSNネットワーク側に重要データの期間に伝送する。従来のネットワーク20側から送信された一般データについてすべて破棄するか、あるいはTSNのネットワークにて専用の送信期間を用意してそこに集める方法がある。 Therefore, among the frames sent from the TSN network side, frames containing general data are discarded at the boundary and are not sent to the conventional network 20 side. On the other hand, frames sent from the conventional network 20 side are transmitted to the TSN network side during the period of important data. One method is to discard all general data sent from the conventional network 20 side, or to prepare a dedicated transmission period in the TSN network and collect it there.

図7に基づき詳細を説明する。図7中の1cは、両ネットワーク10,20の境界に位置するTSN中継装置1を示している。同1d,1eは、TCN中継装置1cにTSNネットワーク側にあるTSN中継装置1を示している。同2a,2bは、従来のネットワーク側にある従来HUB等2であり、TSN中継装置1cに隣接している。 The details will be explained based on Figure 7. In Figure 7, 1c indicates a TSN relay device 1 located at the boundary between the two networks 10, 20. 1d and 1e indicate TSN relay devices 1 located on the TSN network side of TSN relay device 1c. 2a and 2b are conventional hubs, etc. 2 located on the conventional network side, adjacent to TSN relay device 1c.

ここではTSNネットワーク10側でTSN中継装置「1e→1d→1c」の順に送受信された一般データのフレームは、TSN中継装置1cにより破棄され、従来のネットワーク20側の従来HUB等2aには転送されない。 Here, general data frames transmitted and received in the order of TSN relay devices "1e → 1d → 1c" on the TSN network 10 side are discarded by TSN relay device 1c and are not forwarded to conventional hub etc. 2a on the conventional network 20 side.

一方、従来のネットワーク20側で「従来HUB2b→2a」の順に送受信されたフレームは、従来HUB等2aからTSN中継装置1cに送信される。これを受信したTSN中継装置1cは、受信フレームを重要データとして蓄積し、TSNの重要データの期間にTSN中継装置1dへ送信する。 On the other hand, frames transmitted and received in the order of "conventional hub 2b → 2a" on the conventional network 20 side are sent from conventional hub 2a to TSN relay device 1c. TSN relay device 1c receives the frames, stores them as important data, and transmits them to TSN relay device 1d during the important data period of the TSN.

このときTSN中継装置1cは、TSNの重要データの期間に安定して送信できるように送信帯域を低く設定するか、スケジュールを調整して均等に送信されるように調整する。 At this time, the TSN relay device 1c sets the transmission bandwidth low to ensure stable transmission during the period of important TSN data, or adjusts the schedule to ensure even transmission.

なお、図7において、従来のネットワーク20側から送信されたデータは少し遅れてTSNネットワーク10側に届くこととなり、またTSNの一般データによる高負荷伝送はTSNネットワーク10の区間のみに限定される。 In addition, in FIG. 7, data sent from the conventional network 20 arrives at the TSN network 10 with a slight delay, and high-load transmission of general TSN data is limited to only the TSN network 10 section.

(2)通信制御方法B
図8に基づき通信制御方法Bを説明する。TSNネットワーク10側でTSN中継装置「1e→1d→1c」の順に送受信されるフレーム群中、一般データのフレームは、TSN中継装置1cにおいて帯域制限を加えて従来のネットワーク20側(従来HUB等2a,2b)へ送信される。
(2) Communication control method B
The communication control method B will be described with reference to Fig. 8. Among frames transmitted and received in the order of TSN relay devices "1e -> 1d ->1c" on the TSN network 10 side, general data frames are band-limited by TSN relay device 1c and then transmitted to the conventional network 20 side (conventional HUBs 2a, 2b, etc.).

すなわち、TSNネットワーク10内において一般データは大量通信が可能であるのに対して、従来のネットワーク20内において一般データは低い通信量に制限される。このとき境界(TSN中継装置1c)において通信路の太さが変化し、細い帯域となった通信はTCPによる帯域調整の影響を受けやすい。 In other words, while a large amount of general data can be transmitted within the TSN network 10, the amount of general data transmitted within the conventional network 20 is limited to a small amount. At this time, the width of the communication path changes at the boundary (TSN relay device 1c), and communication with a narrow bandwidth is easily affected by bandwidth adjustment by TCP.

そこで、TSNの一般データを従来のネットワーク20に流してもフレーム破棄が発生しない程度にネットワーク10側および20側の一般データの帯域を調整する。これにより従来のネットワーク10への影響を低減し、かつシステム全体での通信が可能となる。なお、従来のネットワーク20側からのフレーム群は、通信制御方法Aと同様に処理される。 Therefore, the bandwidth of general data on the networks 10 and 20 sides is adjusted so that frames are not discarded even when TSN general data is sent to the conventional network 20. This reduces the impact on the conventional network 10 and enables communication throughout the entire system. Note that frames from the conventional network 20 side are processed in the same way as in communication control method A.

このような実施例2によれば、従来のネットワーク20とTSNネットワーク10とが混在した環境下において、従来のネットワーク20による通信を維持した状態で、TSN中継装置1による通信を制限付きではあるが可能となる。 According to the second embodiment, in an environment where a conventional network 20 and a TSN network 10 coexist, communication via the TSN relay device 1 is possible, albeit with restrictions, while maintaining communication via the conventional network 20.

なお、通信制御方法A,Bは、実施例1により従来HUB等2を検出すれば、その境界にて実行され、従来HUB等2がすべて撤去されれば通常のTSN動作に戻る。この通常のTSN動作であれば帯域の制限はなく使用できる。 Note that communication control methods A and B are executed at the boundary when conventional hubs, etc. 2 are detected by Example 1, and return to normal TSN operation when all conventional hubs, etc. 2 are removed. This normal TSN operation can be used without bandwidth restrictions.

図9および図10に基づき実施例3を説明する。本実施例は、主に実施例1の検出方法によりTSN中継装置1a,1b間に従来HUB等2が検出された場合のPTP時刻同期方法に関する。 The third embodiment will be described with reference to Figures 9 and 10. This embodiment mainly relates to a PTP time synchronization method when a conventional HUB or the like 2 is detected between TSN relay devices 1a and 1b by the detection method of the first embodiment.

TSN中継装置1a,1b間のPTP時刻同期は、図9に示すように、「Pdelay_Req」メッセージと「Pdelay_Resp」メッセージの交換により実行される。ところが、PTP時刻同期の規格はL2(レイヤ2)によるマルチキャストであるものの、図10に示すように、TSN中継装置1a,1b間の従来HUB等2が前記メッセージを転送しない装置の場合がある。 The PTP time synchronization between the TSN relay devices 1a and 1b is performed by exchanging "Pdelay_Req" and "Pdelay_Resp" messages, as shown in Figure 9. However, although the standard for PTP time synchronization is multicast by L2 (Layer 2), as shown in Figure 10, there are cases where the conventional HUB etc. 2 between the TSN relay devices 1a and 1b is a device that does not forward the above messages.

そこで、TSN中継装置1aは、「Pdelay_Req」メッセージ(PTP時刻同期フレーム)に対して所定時間内に「Pdelay_Resp」メッセージの応答が無ければタイムアウトとする。 Therefore, if there is no "Pdelay_Resp" message response to the "Pdelay_Req" message (PTP time synchronization frame) within a specified time, the TSN relay device 1a will time out.

また、TSN中継装置1aは、前記タイムアウトの場合には予め定められたUDPフレームに変更して、時刻同期の「Pdelay_Req」メッセージをTSN中継装置1bに送信するものとする。 In addition, in the event of a timeout, the TSN relay device 1a changes to a predetermined UDP frame and sends a time-synchronized "Pdelay_Req" message to the TSN relay device 1b.

このときTSN中継装置1aは、TSN中継装置1bから「Pdelay_Resp」メッセージ(UDPフレーム)の応答があれば、UDPフレームによる時刻同期を行う。なお、「Pdelay_Resp」メッセージ(UDPフレーム)の応答も無ければ、隣接するTSN中継装置1bが存在しないものと判定し、時刻同期は行われない。 At this time, if the TSN relay device 1a receives a "Pdelay_Resp" message (UDP frame) response from the TSN relay device 1b, it performs time synchronization using a UDP frame. If there is no "Pdelay_Resp" message (UDP frame) response, it determines that there is no adjacent TSN relay device 1b, and does not perform time synchronization.

具体的に以下の手順で実施例3を実行する。
(1)TSN中継装置1aは、普通のUDPによる時刻同期フレームを大小のフレームサイズでそれぞれ送信する。
(2)前記送信に応答が無ければ、TSN中継装置1aは送信先にTSN中継装置1は存在しないものと判定し、時刻同期は実施しない。
(3)TSN中継装置1bから応答があれば、実施例1の検出方法により中間に従来HUB等2が存在するか否かを判定する。
(4)前記判定の結果、従来HUB等2が存在しなければ、TSN中継装置1a,1b間で正規のPTP時刻同期フレームによる時刻同期を行う。
(5)前記判定の結果、従来HUB等2が存在すれば、TSN中継装置1aはTSN中継装置1bに正規のPTP時刻同期フレーム(「Pdelay_Req」メッセージ)を送信する。
Specifically, the third embodiment is carried out in the following procedure.
(1) The TSN relay device 1a transmits normal UDP time synchronization frames in large and small frame sizes.
(2) If there is no response to the transmission, the TSN relay device 1a determines that there is no TSN relay device 1 at the destination, and does not perform time synchronization.
(3) If there is a response from the TSN relay device 1b, it is determined by the detection method of the first embodiment whether or not a conventional hub or the like 2 is present in between.
(4) If the result of the above determination is that no conventional hub or the like 2 exists, time synchronization is performed between the TSN relay devices 1a and 1b using a normal PTP time synchronization frame.
(5) If the result of the above determination is that a conventional hub or the like 2 exists, the TSN relay device 1a transmits a normal PTP time synchronization frame (a "Pdelay_Req" message) to the TSN relay device 1b.

これにTSN中継装置1bからPTP時刻同期フレーム(「Pdelay_Resp」メッセージ)の応答があれば、正規のPTP時刻フレーム同士で時刻同期を行う。一方、前記PTP時刻同期フレームの応答が無ければ、普通のUDPによる時刻同期フレームによる時刻同期を行う。したがって、実施例3によれば、従来HUB等2がPTP時刻同期フレームを転送しない場合における時刻同期が可能となる。 If there is a response from the TSN relay device 1b with a PTP time synchronization frame (a "Pdelay_Resp" message), time synchronization is performed between the regular PTP time frames. On the other hand, if there is no response with the PTP time synchronization frame, time synchronization is performed using a normal UDP time synchronization frame. Therefore, according to the third embodiment, time synchronization is possible in the case where the conventional hub etc. 2 does not forward the PTP time synchronization frame.

特許文献1は、図11および図12の矢印Qに示すように、TSN未対応機器12をTSNに対応させる変換処理として、TSN中継装置1fがTSN未対応機器12の代理として時分割送信する。 In Patent Document 1, as shown by the arrow Q in Figures 11 and 12, the TSN relay device 1f performs time-division transmission on behalf of the TSN-incompatible device 12 as a conversion process to make the TSN-incompatible device 12 compatible with TSN.

これに対して本発明によれば、両ネットワーク10,20の混在した環境下で、図11の矢印Pの境界に位置するTSN中継装置1cが、従来HUB等2を検出し、さらにフレームの通信制御および時刻同期を可能としている。 In contrast, according to the present invention, in an environment where both networks 10 and 20 coexist, the TSN relay device 1c located at the boundary indicated by the arrow P in FIG. 11 detects the conventional hub 2, and further enables frame communication control and time synchronization.

したがって、本発明は、TSNネットワーク10と従来のネットワーク20とが混在した環境下での適切な対応ができ、産業上有益である。 Therefore, the present invention can appropriately respond to an environment in which a TSN network 10 and a conventional network 20 coexist, and is industrially beneficial.

1,1b,1c,1d,1e,1f…TSN中継装置
2,2a,2b,2c…従来HUB等
11…TSN対応機器
12…従来の機器
10…TSNネットワーク
20…従来のネットワーク
1, 1b, 1c, 1d, 1e, 1f...TSN relay device 2, 2a, 2b, 2c...conventional hub, etc. 11...TSN compatible device 12...conventional device 10...TSN network 20...conventional network

Claims (2)

TSN(Time Sensitive Networking)を使用したシステム中、TSN対応ネットワークとTSN未対応ネットワークとの境界に位置するTSN対応のネットワーク機器の通信を制御する方法であって、
前記TSN対応ネットワーク側から送信されたフレーム群中、重要データ以外の一般データのフレームを破棄し、前記重要データのフレームのみを前記TSN未対応ネットワーク側に送信するステップと、
前記TSN未対応ネットワーク側から送信されたフレーム群を、前記TSN対応ネットワーク側に重要データの時分割された期間に送信するステップと、
を有することを特徴とする通信制御方法。
A method for controlling communication of a time sensitive network device located at a boundary between a time sensitive network and a non-time sensitive network in a system using the time sensitive network, comprising:
A step of discarding frames of general data other than important data among the frames transmitted from the TSN-compatible network side, and transmitting only the frames of the important data to the TSN-incompatible network side;
transmitting the frames transmitted from the TSN non-compliant network side to the TSN compliant network side during a time-shared period of important data;
A communication control method comprising:
TSN(Time Sensitive Networking)を使用したシステム中、TSN対応ネットワークとTSN未対応ネットワークとの境界に位置するTSN対応のネットワーク機器の通信を制御する方法であって、
前記TSN対応ネットワーク側から伝送されたフレーム群中、重要データ以外の一般データのフレームに帯域制限を加えて前記TSN未対応ネットワーク側に送信するステップと、
前記TSN未対応ネットワーク側から送信されたフレーム群を、前記TSN対応ネットワーク側に重要データの時分割された期間に送信するステップと、
を有することを特徴とする通信制御方法。
A method for controlling communication of a time sensitive network device located at a boundary between a time sensitive network and a non-time sensitive network in a system using the time sensitive network, comprising:
a step of applying a bandwidth restriction to frames of general data other than important data among the frames transmitted from the TSN-compatible network side and transmitting the frames to the TSN-incompatible network side;
transmitting the frames transmitted from the TSN non-compliant network side to the TSN compliant network side during a time-shared period of important data;
A communication control method comprising:
JP2023175666A 2020-06-12 2023-10-11 Communication Control Method Active JP7533733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023175666A JP7533733B2 (en) 2020-06-12 2023-10-11 Communication Control Method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020101945A JP7435281B2 (en) 2020-06-12 2020-06-12 Network device detection method, communication control method, time synchronization method
JP2023175666A JP7533733B2 (en) 2020-06-12 2023-10-11 Communication Control Method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020101945A Division JP7435281B2 (en) 2020-06-12 2020-06-12 Network device detection method, communication control method, time synchronization method

Publications (2)

Publication Number Publication Date
JP2023179651A JP2023179651A (en) 2023-12-19
JP7533733B2 true JP7533733B2 (en) 2024-08-14

Family

ID=79196231

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2020101945A Active JP7435281B2 (en) 2020-06-12 2020-06-12 Network device detection method, communication control method, time synchronization method
JP2023175667A Active JP7533734B2 (en) 2020-06-12 2023-10-11 Time Synchronization Method
JP2023175666A Active JP7533733B2 (en) 2020-06-12 2023-10-11 Communication Control Method

Family Applications Before (2)

Application Number Title Priority Date Filing Date
JP2020101945A Active JP7435281B2 (en) 2020-06-12 2020-06-12 Network device detection method, communication control method, time synchronization method
JP2023175667A Active JP7533734B2 (en) 2020-06-12 2023-10-11 Time Synchronization Method

Country Status (1)

Country Link
JP (3) JP7435281B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020017877A (en) 2018-07-26 2020-01-30 株式会社明電舎 Network equipment
US20210258264A1 (en) 2020-02-17 2021-08-19 Abb Schweiz Ag Interface apparatus between tsn-devices and non-tsn-devices

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0795245A (en) * 1993-09-24 1995-04-07 Toshiba Corp Network connection method and communication system using the same
JP6278643B2 (en) * 2013-09-09 2018-02-14 三菱電機株式会社 Slave station device, master station device, control device, communication system, and time synchronization method
US10524025B2 (en) * 2016-06-30 2019-12-31 General Electric Company Communication system and method for scheduling communications within a time sensitive network
JP6834642B2 (en) * 2017-03-21 2021-02-24 株式会社明電舎 Time correction method
KR102771300B1 (en) 2020-05-21 2025-02-24 삼성전자 주식회사 Apparatus and method for transmitting synchronization information in communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020017877A (en) 2018-07-26 2020-01-30 株式会社明電舎 Network equipment
US20210258264A1 (en) 2020-02-17 2021-08-19 Abb Schweiz Ag Interface apparatus between tsn-devices and non-tsn-devices

Also Published As

Publication number Publication date
JP2021197601A (en) 2021-12-27
JP2023179652A (en) 2023-12-19
JP2023179651A (en) 2023-12-19
JP7435281B2 (en) 2024-02-21
JP7533734B2 (en) 2024-08-14

Similar Documents

Publication Publication Date Title
US11419072B2 (en) Method for processing a packet in a time-synchronized network and network element for processing a packet in a network
Shalunov et al. Low extra delay background transport (LEDBAT)
EP2847921B1 (en) Timing synchronization for networks with radio links
US20130235878A1 (en) Data block output apparatus, communication system, data block output method, and communication method
US12149451B2 (en) Avoiding jitter in a communication system
JP5867188B2 (en) Information processing apparatus, congestion control method, and congestion control program
EP3533253B1 (en) 5g congestion control
US9426080B2 (en) Data communication apparatus, data transmission method, and computer system
CN102771103B (en) High-speed communication system and high-speed communication method
CN110870285A (en) Method for high performance data transmission in a data network with partial real-time requirements and apparatus for performing the method
JP7533733B2 (en) Communication Control Method
KR20120026352A (en) Method and apparatus for transmitting packet in wireless network
EP3235325B1 (en) Method of transmitting data between network devices over a non-deterministic network
CN114124833A (en) Method, network equipment and system for controlling message sending
Kuehlewind Low extra delay background transport (ledbat)
US20180212888A1 (en) Signaling for transmission of coherent data flow within packet-switched network
EP4270899B1 (en) Techniques to reduce latency spikes in multipath communication systems
EP3731575B1 (en) Method for clock synchronization of protocols, and network, base station and user equipments
EP3032781A1 (en) Transmission of coherent data flow within packet-switched network
US20060142022A1 (en) Method of operating a base station of wireless communications network, base station of a wireless communications network and radio network controller
Li et al. A high performance congestion control scheme for streaming transmission over wireless mesh networks

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231011

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240715

R150 Certificate of patent or registration of utility model

Ref document number: 7533733

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150