JP2013168811A - Network system and time synchronization method - Google Patents

Network system and time synchronization method Download PDF

Info

Publication number
JP2013168811A
JP2013168811A JP2012031059A JP2012031059A JP2013168811A JP 2013168811 A JP2013168811 A JP 2013168811A JP 2012031059 A JP2012031059 A JP 2012031059A JP 2012031059 A JP2012031059 A JP 2012031059A JP 2013168811 A JP2013168811 A JP 2013168811A
Authority
JP
Japan
Prior art keywords
frame
time
transmission
relay device
reception
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.)
Pending
Application number
JP2012031059A
Other languages
Japanese (ja)
Inventor
Keita Yamaguchi
啓太 山口
Shinji Ito
真二 伊藤
Hiroyuki Yamamoto
浩幸 山元
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012031059A priority Critical patent/JP2013168811A/en
Publication of JP2013168811A publication Critical patent/JP2013168811A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform accurate time synchronization among a plurality of communication devices which communicate with each other via a relay device.SOLUTION: A communication device 10-1 at a transmission side sets transmission clock time and a transmission path delay time to a relay device 20 in a data field of a frame when it transmits the frame to the relay device 20. When the relay device 20 transfers the frame from the communication device 10-1 to a communication device 10-2 at a reception side, it adds the total time of a lapsed time from reception of the frame to the current time and a transmission path delay time to the communication device 10-2 to the transmission path delay time set in the data field of the frame. When the communication device 10-2 finishes reception of the frame from the relay device 20, it adjusts the clock time of the self device on the basis of a lapsed time from the start of the reception of the frame to the current time and the transmission clock time and transmission path delay time set in the data field of the frame.

Description

本発明は、ネットワークシステムにおいて、受信側の通信装置の時刻を送信側の通信装置に同期させるための技術に関する。   The present invention relates to a technique for synchronizing the time of a receiving communication device with a transmitting communication device in a network system.

ネットワークに接続された複数の機器間における時刻同期に関して、例えば、非特許文献1で開示される技術が知られている。   With respect to time synchronization between a plurality of devices connected to a network, for example, a technique disclosed in Non-Patent Document 1 is known.

この技術では、図12に示すように、マスタ側の通信装置(以下、単にマスタという。)は、スレーブ側の通信装置(以下、単にスレーブという。)に対して“Sync”メッセージを送信すると共に、その送信時刻(t1)を保持する。マスタは、このt1を“Follow_Up”メッセージを用いてスレーブに送信する。スレーブは、“Sync”メッセージを受信すると、その受信時刻(t2)を保持する。そして、スレーブは、マスタに対して“Delay_Req”メッセージを送信すると共に、その送信時刻(t3)を保持する。マスタは、“Delay_Req”メッセージの受信時刻(t4)を“Delay_Resp”メッセージを用いてスレーブに送信する。   In this technique, as shown in FIG. 12, a master-side communication device (hereinafter simply referred to as a master) transmits a “Sync” message to a slave-side communication device (hereinafter simply referred to as a slave). The transmission time (t1) is held. The master transmits this t1 to the slave using a “Follow_Up” message. When the slave receives the “Sync” message, the slave holds the reception time (t2). Then, the slave transmits a “Delay_Req” message to the master and holds the transmission time (t3). The master transmits the reception time (t4) of the “Delay_Req” message to the slave using the “Delay_Resp” message.

以上により、スレーブは、時刻t1〜t4を取得でき、これらの時刻に基づいて、下記の式1により、(一方向の)伝送路遅延時間(Td)を算出できる。   As described above, the slave can acquire the times t1 to t4, and based on these times, it can calculate the (one-way) transmission line delay time (Td) by the following formula 1.

Td=((t2−t1)+(t4−t3))/2 (式1)   Td = ((t2-t1) + (t4-t3)) / 2 (Formula 1)

スレーブは、算出したTdを用いて自己の時刻を修正することで、マスタとの時刻同期を行うことができる。   The slave can perform time synchronization with the master by correcting its own time using the calculated Td.

IEEE1588「IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems」IEEE 1588 "IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems"

しかしながら、上記の技術において、マスタ、スレーブ間に中継装置が介在する場合では、中継装置の内部処理時間の影響を受けることで、時刻同期の精度が低下する虞がある。さらに、複数の中継装置が介在する場合には、上記の影響が大きくなり、精度の高い時刻同期を行うことが困難となる。   However, in the above technique, when the relay device is interposed between the master and the slave, the accuracy of time synchronization may be reduced due to the influence of the internal processing time of the relay device. Furthermore, when a plurality of relay apparatuses are present, the above-described influence becomes large, and it is difficult to perform highly accurate time synchronization.

本発明は、上記課題を解決するためになされたものであり、中継装置を介して通信を行う複数の通信装置間の時刻同期を精度よく行うためのネットワークシステム及び時刻同期方法を提供することを目的とする。   The present invention has been made to solve the above-described problem, and provides a network system and a time synchronization method for accurately performing time synchronization between a plurality of communication devices that perform communication via a relay device. Objective.

上記目的を達成するため、本発明に係るネットワークシステムは、
中継装置を介して通信装置間のフレーム送受信を行うネットワークシステムであって、
送信側の前記通信装置は、
前記中継装置にフレームを送信する際、送信時刻と、前記中継装置までの伝送路遅延時間とを当該フレームのデータ領域に設定し、
前記中継装置は、
前記フレームを受信側の前記通信装置に転送する際、当該フレームを受信してから現時点までの経過時間と、前記受信側の通信装置までの伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている前記伝送路遅延時間に加算し、
前記受信側の通信装置は、
前記フレームの受信を終了すると、当該フレームの受信を開始してから現時点までの経過時間と、当該フレームのデータ領域に設定されている前記送信時刻及び伝送路遅延時間と、に基づいて、自装置の時刻合わせを行う、ことを特徴とする。
In order to achieve the above object, a network system according to the present invention provides:
A network system for transmitting and receiving frames between communication devices via a relay device,
The communication device on the transmission side is:
When transmitting a frame to the relay device, set the transmission time and the transmission path delay time to the relay device in the data area of the frame,
The relay device is
When transferring the frame to the communication device on the receiving side, the total time of the elapsed time from the reception of the frame to the present time and the transmission path delay time to the communication device on the receiving side is the data area of the frame Is added to the transmission line delay time set to
The communication device on the receiving side is
When the reception of the frame is completed, based on the elapsed time from the start of reception of the frame to the current time, and the transmission time and transmission path delay time set in the data area of the frame This is characterized in that the time is adjusted.

本発明によれば、中継装置を介して通信を行う複数の通信装置間の時刻同期を精度よく行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, the time synchronization between several communication apparatuses which communicate via a relay apparatus can be performed accurately.

本発明の実施形態に係るネットワークシステムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a network system according to an embodiment of the present invention. 本発明の実施形態に係る通信装置が備える通信部の構成を示すブロック図である。It is a block diagram which shows the structure of the communication part with which the communication apparatus which concerns on embodiment of this invention is provided. 本発明の実施形態に係る中継装置が備える第1通信部の構成を示すブロック図である。It is a block diagram which shows the structure of the 1st communication part with which the relay apparatus which concerns on embodiment of this invention is provided. 送信側の通信装置の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure of the communication apparatus of a transmission side. 中継装置の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure of a relay apparatus. 受信側の通信装置の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure of the communication apparatus of the receiving side. 本実施形態において、フレームのデータ領域に設定される送信時刻及び伝送路遅延時間の例を示す図であり、(a)は送信側の通信装置から中継装置に送信されるフレームについて示し、(b)は中継装置から受信側の通信装置に送信されるフレームについて示す。In this embodiment, it is a figure which shows the example of the transmission time and transmission line delay time which are set to the data area of a flame | frame, (a) shows about the flame | frame transmitted to the relay apparatus from the communication apparatus of a transmission side, (b) ) Shows a frame transmitted from the relay apparatus to the receiving communication apparatus. 通信装置が中継装置までの伝送路遅延時間を計測する動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure which a communication apparatus measures the transmission-path delay time to a relay apparatus. 本実施形態の変形例1に係るネットワークシステムの全体構成を示す図である。It is a figure which shows the whole structure of the network system which concerns on the modification 1 of this embodiment. 本実施形態の変形例1において、フレームのデータ領域に設定される送信時刻及び伝送路遅延時間の例を示す図であり、(a)は送信側の通信装置から1つ目の中継装置に送信されるフレームについて示し、(b)は1つ目の中継装置から2つ目の中継装置に送信されるフレームについて示し、(c)は2つ目の中継装置から受信側の通信装置に送信されるフレームについて示す。FIG. 8 is a diagram illustrating an example of transmission time and transmission path delay time set in a data area of a frame in Modification 1 of the present embodiment, where (a) is transmitted from the communication device on the transmission side to the first relay device (B) shows a frame transmitted from the first relay device to the second relay device, and (c) shows a frame transmitted from the second relay device to the receiving communication device. The following shows the frame. 本実施形態の変形例2において、フレームのデータ領域に設定される送信時刻及び伝送路遅延時間の例を示す図である。It is a figure which shows the example of the transmission time and transmission line delay time which are set to the data area of a frame in the modification 2 of this embodiment. 従来の時刻同期方法について説明するための図である。It is a figure for demonstrating the conventional time synchronization method.

以下、本発明の実施形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施形態に係るネットワークシステム1の全体構成を示す図である。ネットワークシステム1は、通信装置10−1,10−2と、通信装置10−1,10−2間の通信の中継を行う中継装置20と、から構成される。通信装置10−1と中継装置20は、LANケーブル30−1で接続され、中継装置20と通信装置10−2は、LANケーブル30−2で接続される。このネットワークシステム1は、例えば、イーサネット(登録商標)規格に則ったデータ通信を行う。   FIG. 1 is a diagram showing an overall configuration of a network system 1 according to an embodiment of the present invention. The network system 1 includes communication devices 10-1 and 10-2 and a relay device 20 that relays communication between the communication devices 10-1 and 10-2. The communication device 10-1 and the relay device 20 are connected by a LAN cable 30-1, and the relay device 20 and the communication device 10-2 are connected by a LAN cable 30-2. The network system 1 performs data communication in accordance with, for example, the Ethernet (registered trademark) standard.

通信装置10−1,10−2は、例えば、LANカード等を備えたパーソナルコンピュータ(PC)である。通信装置10−1,10−2は、必ずしも同一のハードウェア構成、即ち、同一機種の(PC)である必要はなく、それぞれが備える通信部100−1,100−2が同等の機能を果たすように構成されていればよい。   The communication devices 10-1 and 10-2 are, for example, personal computers (PC) provided with a LAN card or the like. The communication devices 10-1 and 10-2 do not necessarily have the same hardware configuration, that is, the same model (PC), and the communication units 100-1 and 100-2 included in each of the communication devices 10-1 and 10-2 perform equivalent functions. What is necessary is just to be comprised.

図2は、通信装置10−1が備える通信部100−1の構成を示すブロック図である。通信部100−1は、時刻取得部101と、送信部102と、受信部103と、時刻同期部104と、を備える。なお、通信装置10−2が備える通信部100−2の構成も通信部100−1と同様である。   FIG. 2 is a block diagram illustrating a configuration of the communication unit 100-1 included in the communication device 10-1. The communication unit 100-1 includes a time acquisition unit 101, a transmission unit 102, a reception unit 103, and a time synchronization unit 104. In addition, the structure of the communication part 100-2 with which the communication apparatus 10-2 is provided is the same as that of the communication part 100-1.

時刻取得部101は、送信部102又は受信部103から発行された現在時刻の取得要求に従って、通信装置10−1が備える図示しない時計機能部から現在時刻を取得し、これを要求元の送信部102又は受信部103に供給する。   The time acquisition unit 101 acquires the current time from a clock function unit (not shown) included in the communication device 10-1 according to the current time acquisition request issued from the transmission unit 102 or the reception unit 103, and uses this as the request source transmission unit 102 or the receiving unit 103.

送信部102は、フレームを中継装置20に送信する処理を行う。送信部102は、フレーム送信の際、時刻取得部101に現在時刻の取得要求を発行し、かかる取得要求に応じて時刻取得部101から供給された現在時刻と、予め計測した中継装置20との間の(一方向の)伝送路遅延時間(伝播遅延時間ともいう。)と、を当該フレームのデータ領域に設定する。   The transmission unit 102 performs processing for transmitting a frame to the relay device 20. The transmission unit 102 issues a current time acquisition request to the time acquisition unit 101 at the time of frame transmission, and the current time supplied from the time acquisition unit 101 in response to the acquisition request and the relay device 20 measured in advance. An intermediate (one-way) transmission line delay time (also referred to as propagation delay time) is set in the data area of the frame.

受信部103は、中継装置20からフレームを受信する処理を行う。受信部103は、フレームの受信を開始すると、時刻取得部101に現在時刻の取得要求を発行し、かかる取得要求に応じて時刻取得部101から供給された現在時刻(受信開始時刻)をRAM(Random Access Memory)等に保存する。そして、受信部103は、フレームの受信を終了すると、再度、時刻取得部101に現在時刻の取得要求を発行し、これに応じて時刻取得部101から供給された現在時刻(受信終了時刻)をRAM等に保存する。   The receiving unit 103 performs processing for receiving a frame from the relay device 20. When reception of the frame is started, the reception unit 103 issues an acquisition request for the current time to the time acquisition unit 101, and the current time (reception start time) supplied from the time acquisition unit 101 in response to the acquisition request is stored in the RAM ( Random Access Memory). When the reception unit 103 finishes receiving the frame, it issues a current time acquisition request to the time acquisition unit 101 again, and the current time (reception end time) supplied from the time acquisition unit 101 accordingly. Save to RAM or the like.

時刻同期部104は、受信部103が受信したフレームのデータ領域から、他の通信装置(ここでは、通信装置10−2)の送信部102によって設定された送信時の現在時刻(即ち、送信時刻)と、伝送路遅延時間と、を抽出し、これらと、上記の受信開始時刻及び受信終了時刻と、に基づいて、他の通信装置における現在時刻を算出する。そして、時刻同期部104は、自装置の時計機能部の計時時刻を算出した現在時刻に合わせることで、他の通信装置との時刻同期を行う。   The time synchronization unit 104 transmits the current time (ie, transmission time) at the time of transmission set by the transmission unit 102 of another communication device (here, the communication device 10-2) from the data area of the frame received by the reception unit 103. ) And the transmission path delay time, and based on these and the reception start time and reception end time, the current time in the other communication device is calculated. Then, the time synchronization unit 104 performs time synchronization with other communication devices by matching the current time calculated by the clock function unit of the own device.

中継装置20は、通信装置10−1及び10−2とそれぞれLANケーブル30−1及び30−2を介して接続し、通信装置10−1又は10−2の一方から送信されたフレームを他方に転送する、例えば、HUB等の装置である。中継装置20は、図1に示すように、第1通信部200−1と、転送部201と、第2通信部200−2と、を備える。   The relay device 20 is connected to the communication devices 10-1 and 10-2 via the LAN cables 30-1 and 30-2, respectively, and a frame transmitted from one of the communication devices 10-1 or 10-2 is set to the other. For example, a device such as a HUB that performs the transfer. As illustrated in FIG. 1, the relay device 20 includes a first communication unit 200-1, a transfer unit 201, and a second communication unit 200-2.

第1通信部200−1は、通信装置10−1との間でフレームの送受信を行い、第2通信部200−2は、通信装置10−2との間でフレームの送受信を行う。転送部201は、第1通信部200−1が受信したフレームを受け取り、第2通信部200−2に渡す。また、転送部201は、第2通信部200−2が受信したフレームを受け取り、第1通信部200−1に渡す。   The first communication unit 200-1 performs frame transmission / reception with the communication device 10-1, and the second communication unit 200-2 performs frame transmission / reception with the communication device 10-2. The transfer unit 201 receives the frame received by the first communication unit 200-1 and passes it to the second communication unit 200-2. In addition, the transfer unit 201 receives the frame received by the second communication unit 200-2 and passes it to the first communication unit 200-1.

図3は、中継装置20が備える第1通信部200−1の構成を示すブロック図である。第1通信部200−1は、時刻取得部210と、送信部211と、受信部212と、を備える。   FIG. 3 is a block diagram illustrating a configuration of the first communication unit 200-1 included in the relay device 20. The first communication unit 200-1 includes a time acquisition unit 210, a transmission unit 211, and a reception unit 212.

時刻取得部210は、送信部211又は受信部212から発行された現在時刻の取得要求に従って、中継装置20が備える図示しない時計機能部から現在時刻を取得し、これを要求元の送信部211又は受信部212に供給する。   The time acquisition unit 210 acquires the current time from a clock function unit (not shown) included in the relay device 20 in accordance with the acquisition request for the current time issued from the transmission unit 211 or the reception unit 212, and transmits the current time to the transmission unit 211 or the request source. The data is supplied to the receiving unit 212.

送信部211は、転送部201から送出されたフレームを通信装置10−1に対して送信する。送信部211は、フレーム送信の際、後述するフレーム転送遅延時間を算出し、算出したフレーム転送遅延時間と、予め計測した通信装置10−1との間の(一方向の)伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている伝送路遅延時間に加算する。   The transmission unit 211 transmits the frame transmitted from the transfer unit 201 to the communication device 10-1. The transmission unit 211 calculates a frame transfer delay time, which will be described later, at the time of frame transmission, and the calculated frame transfer delay time and a (one-way) transmission path delay time measured in advance with the communication device 10-1. Is added to the transmission line delay time set in the data area of the frame.

受信部212は、通信装置10−1から送信されたフレームを受信し、受信したフレームを転送部201に渡す。受信部212は、フレームの受信を開始したとき、時刻取得部210に現在時刻の取得要求を発行し、かかる取得要求に応じて時刻取得部210から供給された現在時刻(受信開始時刻)をRAMに保存する。この受信開始時刻は、第2通信部200−2の送信部211により、上記のフレーム転送遅延時間が算出される際に使用される(詳細は後述する。)。   The receiving unit 212 receives the frame transmitted from the communication device 10-1 and passes the received frame to the transfer unit 201. When reception of the frame is started, the reception unit 212 issues an acquisition request for the current time to the time acquisition unit 210, and the current time (reception start time) supplied from the time acquisition unit 210 in response to the acquisition request is stored in the RAM. Save to. This reception start time is used when the transmission unit 211 of the second communication unit 200-2 calculates the frame transfer delay time (details will be described later).

第2通信部200−2は、第1通信部200−1と同様の構成を有する。即ち、第2通信部200−2は、時刻取得部210と、送信部211と、受信部212と、を備える。   The second communication unit 200-2 has the same configuration as the first communication unit 200-1. That is, the second communication unit 200-2 includes a time acquisition unit 210, a transmission unit 211, and a reception unit 212.

第2通信部200−2の送信部211は、転送部201から送出されたフレームを通信装置10−2に対して送信する。第2通信部200−2の送信部211は、フレーム送信の際、後述するフレーム転送遅延時間を算出し、算出したフレーム転送遅延時間と、予め計測した通信装置10−2との間の(一方向の)伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている伝送路遅延時間に加算する。   The transmission unit 211 of the second communication unit 200-2 transmits the frame transmitted from the transfer unit 201 to the communication device 10-2. The transmission unit 211 of the second communication unit 200-2 calculates a frame transfer delay time, which will be described later, at the time of frame transmission, and (1) between the calculated frame transfer delay time and the previously measured communication device 10-2. The total time with the transmission path delay time (in the direction) is added to the transmission path delay time set in the data area of the frame.

第2通信部200−2の受信部212は、通信装置10−2から送信されたフレームを受信し、受信したフレームを転送部201に渡す。第2通信部200−2の受信部212は、フレームの受信を開始したとき、時刻取得部101に現在時刻の取得要求を発行し、かかる取得要求に応じて時刻取得部210から供給された現在時刻(受信開始時刻)をRAMに保存する。この受信開始時刻は、第1通信部200−1の送信部211により、上記のフレーム転送遅延時間が算出される際に使用される(詳細は後述する。)。   The receiving unit 212 of the second communication unit 200-2 receives the frame transmitted from the communication device 10-2, and passes the received frame to the transfer unit 201. When receiving the frame, the receiving unit 212 of the second communication unit 200-2 issues an acquisition request for the current time to the time acquisition unit 101, and the current supply supplied from the time acquisition unit 210 in response to the acquisition request. The time (reception start time) is stored in the RAM. The reception start time is used when the transmission unit 211 of the first communication unit 200-1 calculates the frame transfer delay time (details will be described later).

続いて、以上のように構成されるネットワークシステム1において、一方の通信装置(送信側の通信装置)から他方の通信装置(受信側の通信装置)にフレームを送信する場合の通信装置10−1、中継装置20及び通信装置10−2それぞれの動作手順について、具体例を挙げて説明する。なお、以下の例では、通信装置10−1から通信装置10−2へフレーム送信する場合における各装置の動作手順について説明する。   Subsequently, in the network system 1 configured as described above, the communication device 10-1 in the case of transmitting a frame from one communication device (transmission-side communication device) to the other communication device (reception-side communication device). The operation procedures of the relay device 20 and the communication device 10-2 will be described with specific examples. In the following example, an operation procedure of each device when a frame is transmitted from the communication device 10-1 to the communication device 10-2 will be described.

図4は、上記の例における通信装置10−1(送信側の通信装置)の動作手順を示すフローチャートである。通信装置10−1が備える通信部100−1の送信部102は、時刻取得部101に現在時刻の取得要求を発行し、現在時刻(T1)を取得する(ステップS101)。送信部102は、取得した現在時刻(T1)と、予め計測した中継装置20までの伝送路遅延時間(D1)と、を送信するフレームのデータ領域に設定する(ステップS102)。そして、送信部102は、中継装置20に対してフレームを送信する(ステップS103)。図7(a)に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   FIG. 4 is a flowchart showing an operation procedure of the communication apparatus 10-1 (transmission-side communication apparatus) in the above example. The transmission part 102 of the communication part 100-1 with which the communication apparatus 10-1 is provided issues the acquisition request of the present time to the time acquisition part 101, and acquires the present time (T1) (step S101). The transmission unit 102 sets the acquired current time (T1) and the transmission path delay time (D1) to the relay device 20 measured in advance in the data area of the frame to be transmitted (step S102). Then, the transmission unit 102 transmits a frame to the relay device 20 (step S103). FIG. 7A shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

次に、通信装置10−1からの上記フレームを通信装置10−2に転送する中継装置20の動作手順について、図5のフローチャートを参照して説明する。中継装置20が備える第1通信部200−1の受信部212は、通信装置10−1から送信されたフレームの受信を開始すると(ステップS201;YES)、第1通信部200−1の時刻取得部210に現在時刻の取得要求を発行し、現在時刻(T2)を取得し、RAMに保存する(ステップS202)。   Next, an operation procedure of the relay apparatus 20 that transfers the frame from the communication apparatus 10-1 to the communication apparatus 10-2 will be described with reference to a flowchart of FIG. When the reception unit 212 of the first communication unit 200-1 included in the relay device 20 starts to receive a frame transmitted from the communication device 10-1 (step S201; YES), the time acquisition of the first communication unit 200-1 is performed. The current time acquisition request is issued to the unit 210, the current time (T2) is acquired, and stored in the RAM (step S202).

しかる後、フレームの受信が終了すると(ステップS203;YES)、第1通信部200−1の受信部212は、受信したフレームを転送部201を介して、第2通信部200−2に送出する(ステップS204)。第2通信部200−2の送信部211は、第2通信部200−2の時刻取得部210に現在時刻の取得要求を発行し、現在時刻(T3)を取得する(ステップS205)。   Thereafter, when frame reception is completed (step S203; YES), the reception unit 212 of the first communication unit 200-1 sends the received frame to the second communication unit 200-2 via the transfer unit 201. (Step S204). The transmission unit 211 of the second communication unit 200-2 issues a current time acquisition request to the time acquisition unit 210 of the second communication unit 200-2, and acquires the current time (T3) (step S205).

第2通信部200−2の送信部211は、取得した時刻T3と、RAMに保存されている時刻T2とから、当該中継装置20において、フレームの受信開始から送信までに要した時間(フレーム転送遅延時間(D2))を算出する(ステップS206)。そして、第2通信部200−2の送信部211は、算出したフレーム転送遅延時間(D2)と、予め計測した通信装置10−2までの伝送路遅延時間(D3)との合計時間(D2+D3)を当該フレームのデータ領域に設定されている伝送路遅延時間(D1)に加算する(ステップS207)。   The transmission unit 211 of the second communication unit 200-2 determines the time (frame transfer) from the acquired time T3 and the time T2 stored in the RAM to the transmission from the start of frame reception to transmission in the relay device 20. Delay time (D2)) is calculated (step S206). The transmission unit 211 of the second communication unit 200-2 then adds the calculated frame transfer delay time (D2) and the previously measured transmission line delay time (D3) to the communication device 10-2 (D2 + D3). Is added to the transmission line delay time (D1) set in the data area of the frame (step S207).

そして、第2通信部200−2の送信部211は、通信装置10−2に対してフレームを送信する(ステップS208)。図7(b)に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   And the transmission part 211 of the 2nd communication part 200-2 transmits a flame | frame with respect to the communication apparatus 10-2 (step S208). FIG. 7B shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

次に、中継装置20からの上記フレームを受信する通信装置10−2の動作手順について、図6のフローチャートを参照して説明する。通信装置10−2が備える通信部100−2の受信部103は、中継装置20から送信されたフレームの受信を開始すると(ステップS301;YES)、時刻取得部101に現在時刻の取得要求を発行し、現在時刻(T4)を取得し、RAMに保存する(ステップS302)。   Next, an operation procedure of the communication device 10-2 that receives the frame from the relay device 20 will be described with reference to a flowchart of FIG. When the reception unit 103 of the communication unit 100-2 included in the communication device 10-2 starts receiving the frame transmitted from the relay device 20 (step S301; YES), it issues a current time acquisition request to the time acquisition unit 101. Then, the current time (T4) is acquired and stored in the RAM (step S302).

しかる後、フレームの受信が終了すると(ステップS303;YES)、受信部103は、時刻取得部101に現在時刻の取得要求を発行し、現在時刻(T5)を取得する(ステップS304)。また、受信部103は、これに同期して、受信が終了した旨を時刻同期部104に通知する。かかる通知を受けると、時刻同期部104は、受信部103が受信したフレームのデータ領域から、送信時刻(T1)と、伝送路遅延時間(D1+D2+D3)とを抽出する(ステップS305)。また、時刻同期部104は、受信部103により取得された時刻T4、T5から、当該通信装置10−2において、フレームの受信開始から終了までに要した時間(フレーム受信遅延時間(D4))を算出し(ステップS306)、これを上記抽出した伝送路遅延時間(D1+D2+D3)に加算して、合計遅延時間(D1+D2+D3+D4)を求める。   Thereafter, when frame reception ends (step S303; YES), the receiving unit 103 issues a current time acquisition request to the time acquisition unit 101, and acquires the current time (T5) (step S304). In addition, the reception unit 103 notifies the time synchronization unit 104 that the reception is completed in synchronization with this. Upon receiving such notification, the time synchronization unit 104 extracts the transmission time (T1) and the transmission path delay time (D1 + D2 + D3) from the data area of the frame received by the reception unit 103 (step S305). The time synchronization unit 104 also calculates the time (frame reception delay time (D4)) required from the start to the end of frame reception in the communication device 10-2 from the times T4 and T5 acquired by the reception unit 103. This is calculated (step S306) and added to the extracted transmission line delay time (D1 + D2 + D3) to obtain a total delay time (D1 + D2 + D3 + D4).

時刻同期部104は、上記抽出した送信時刻T1と、算出した合計遅延時間(D1+D2+D3+D4)とに基づいて、送信側の通信装置、即ち、通信装置10−1における現在時刻を算出する。そして、時刻同期部104は、算出した通信装置10−1の現在時刻に自装置の時計機能部の計時時刻を合わせる(ステップS307)。これにより、受信側である通信装置10−2の時刻を送信側である通信装置10−1に合わせることができる。   Based on the extracted transmission time T1 and the calculated total delay time (D1 + D2 + D3 + D4), the time synchronization unit 104 calculates the current time in the communication device on the transmission side, that is, the communication device 10-1. Then, the time synchronization unit 104 adjusts the time measured by the clock function unit of the own device to the calculated current time of the communication device 10-1 (step S307). Thereby, the time of the communication apparatus 10-2 which is a receiving side can be set to the communication apparatus 10-1 which is a transmitting side.

以上のように、本実施形態のネットワークシステム1では、送信側の通信装置(例えば、通信装置10−1)から中継装置20を介して受信側の通信装置(例えば、通信装置10−2)にフレームを送信する際、かかるフレームには、フレーム送信時の時刻(T1)と、通信装置10−1から中継装置20までの伝送路遅延時間(D1)が設定される。中継装置20では、フレームを受信してから送信するまでの時間(フレーム転送遅延時間(D2))が算出され、このフレーム転送遅延時間(D2)と、予め計測した通信装置10−2までの伝送路遅延時間(D3)との合計時間(D2+D3)が当該フレームのデータ領域に格納されている伝送路遅延時間(D1)に加算される。そして、かかるフレームは通信装置10−2に送信される。通信装置10−2では、フレームの受信に要した時間(フレーム受信遅延時間(D4))が算出され、当該フレームのデータ領域に設定されている時刻T1と、伝送路遅延時間(D1+D2+D3)と、算出したフレーム受信遅延時間(D4)と、に基づいて時刻合わせ(時刻同期)が行われる。   As described above, in the network system 1 according to the present embodiment, the communication device on the transmission side (for example, the communication device 10-1) transfers from the communication device on the reception side (for example, the communication device 10-2) via the relay device 20. When transmitting a frame, the frame transmission time (T1) and the transmission line delay time (D1) from the communication device 10-1 to the relay device 20 are set in the frame. The relay device 20 calculates a time from frame reception to transmission (frame transfer delay time (D2)), and the frame transfer delay time (D2) and the transmission to the communication device 10-2 measured in advance. The total time (D2 + D3) with the path delay time (D3) is added to the transmission path delay time (D1) stored in the data area of the frame. Then, the frame is transmitted to the communication device 10-2. In the communication device 10-2, the time required for frame reception (frame reception delay time (D4)) is calculated, the time T1 set in the data area of the frame, the transmission path delay time (D1 + D2 + D3), Time adjustment (time synchronization) is performed based on the calculated frame reception delay time (D4).

このように、中継装置20と受信側の通信装置(例えば、通信装置10−2)における実際の内部処理時間を加味して伝送に要した時間(送信側の通信装置がフレームを送信してから、受信側の通信装置が受信終了するまでの時間)を計測するため、時刻同期の精度を高めることが可能となる。   In this way, the time required for transmission in consideration of the actual internal processing time in the relay device 20 and the receiving communication device (for example, the communication device 10-2) (after the transmitting communication device transmits the frame) Since the time until the reception side communication device finishes receiving) is measured, it is possible to improve the accuracy of time synchronization.

ここで、補足として、通信装置10−1又は通信装置10−2が、中継装置20までの伝送路遅延時間を計測する動作手順について、図8のフローチャートを参照して説明する。なお、ここでは、通信装置10−1が、自装置と中継装置20までの伝送路遅延時間を計測するケースを例にして説明する。   Here, as a supplement, an operation procedure in which the communication device 10-1 or the communication device 10-2 measures the transmission path delay time to the relay device 20 will be described with reference to the flowchart of FIG. Here, a case where the communication apparatus 10-1 measures the transmission line delay time between the own apparatus and the relay apparatus 20 will be described as an example.

まず、所定条件が成立すると、通信装置10−1が備える通信部100−1の送信部102は、時刻取得部101に現在時刻の取得要求を発行し、現在時刻(T10)を取得し、RAMに保存する(ステップS401)。送信部102は、伝送路遅延時間を計測するためのフレーム(計測用フレーム)のデータ領域に伝送路遅延時間(0(時間))を設定する(ステップS402)。そして、送信部102は、中継装置20に対して計測用フレームを送信する(ステップS403)。ここで、計測用フレームを送信するための条件の成立(計測開始トリガ)としては、例えば、ユーザによる通信装置10−1の図示しない操作部(キーボード,マウス,キーパッド,タッチパッドやタッチパネル等から構成される。)を介した所定操作が行われることや、所定時間の経過毎などが該当する。   First, when a predetermined condition is satisfied, the transmission unit 102 of the communication unit 100-1 included in the communication device 10-1 issues a current time acquisition request to the time acquisition unit 101, acquires the current time (T10), and the RAM. (Step S401). The transmission unit 102 sets the transmission path delay time (0 (time)) in the data area of the frame (measurement frame) for measuring the transmission path delay time (step S402). Then, the transmission unit 102 transmits a measurement frame to the relay device 20 (step S403). Here, as the establishment of the condition for transmitting the measurement frame (measurement start trigger), for example, from the operation unit (keyboard, mouse, keypad, touchpad, touch panel, etc.) of the communication device 10-1 by the user (not shown). The predetermined operation is performed via the configuration), or every elapse of a predetermined time.

一方、中継装置20では、第1通信部200−1の受信部212は、通信装置10−1から送信された計測用フレームの受信を開始すると、第1通信部200−1の時刻取得部210に現在時刻の取得要求を発行し、現在時刻(T11)を取得し、RAMに保存する(ステップS404)。しかる後、計測用フレームの受信が終了すると(ステップS405;YES)、第1通信部200−1の送信部211は、第1通信部200−1の時刻取得部210に現在時刻の取得要求を発行し、現在時刻(T12)を取得する(ステップS406)。   On the other hand, in the relay device 20, when the reception unit 212 of the first communication unit 200-1 starts receiving the measurement frame transmitted from the communication device 10-1, the time acquisition unit 210 of the first communication unit 200-1. The current time acquisition request is issued to acquire the current time (T11) and stored in the RAM (step S404). Thereafter, when the reception of the measurement frame is finished (step S405; YES), the transmission unit 211 of the first communication unit 200-1 makes an acquisition request for the current time to the time acquisition unit 210 of the first communication unit 200-1. The current time (T12) is acquired (step S406).

第1通信部200−1の送信部211は、取得した時刻T12と、RAMに保存されている時刻T11とから、当該中継装置20において、計測用フレームの受信開始からフレームの返信までに要した時間(フレーム返信遅延時間(D10))を算出する(ステップS407)。そして、第1通信部200−1の送信部211は、返信するフレームのデータ領域の伝送路遅延時間に、算出したフレーム返信遅延時間(D10)を設定し(ステップS408)、当該フレーム(返信用フレーム)を通信装置10−1に送信する(ステップS409)。   The transmission unit 211 of the first communication unit 200-1 required from the acquired time T12 and the time T11 stored in the RAM from the start of reception of the measurement frame to the return of the frame in the relay device 20. Time (frame reply delay time (D10)) is calculated (step S407). Then, the transmission unit 211 of the first communication unit 200-1 sets the calculated frame return delay time (D10) as the transmission path delay time in the data area of the frame to be returned (step S408), and the frame (for reply) Frame) is transmitted to the communication device 10-1 (step S409).

通信部100−1の受信部103は、中継装置20から送信(返信)された返信用フレームの受信を開始すると、時刻取得部101に現在時刻の取得要求を発行し、現在時刻(T13)を取得し、RAMに保存する(ステップS410)。   When the reception unit 103 of the communication unit 100-1 starts receiving the reply frame transmitted (returned) from the relay device 20, the reception unit 103 issues a current time acquisition request to the time acquisition unit 101, and sets the current time (T13). It is acquired and stored in the RAM (step S410).

しかる後、返信用フレームの受信が終了すると(ステップS411;YES)、受信部103は、受信した返信用フレームのデータ領域の伝送路遅延時間からフレーム返信遅延時間(D10)を抽出する。そして、受信部103は、時刻T10、T13及びフレーム返信遅延時間(D10)から、中継装置20までの伝送路遅延時間を算出する(ステップS413)。具体的には、下記の式2により、伝送路遅延時間(Td)を算出できる。   Thereafter, when reception of the reply frame is completed (step S411; YES), the receiving unit 103 extracts the frame reply delay time (D10) from the transmission path delay time in the data area of the received reply frame. Then, the receiving unit 103 calculates a transmission line delay time to the relay device 20 from the times T10 and T13 and the frame return delay time (D10) (step S413). Specifically, the transmission line delay time (Td) can be calculated by the following equation 2.

Td=((T13−T10)−(D10))/2 (式2)   Td = ((T13−T10) − (D10)) / 2 (Formula 2)

以上のようにして、通信装置10−1(通信装置10−2も同様)は、中継装置20までの伝送路遅延時間を計測することができる。計測した伝送路遅延時間は、RAMあるいは不揮発性の読み書き可能なメモリに保存される。なお、通信装置10−1(通信装置10−2)は、以上のようにして計測した伝送路遅延時間をフレームを使用して中継装置20に送信し、中継装置20は、通信装置10−1(通信装置10−2)から受け取った伝送路遅延時間をRAMあるいは不揮発性の読み書き可能なメモリに保存するようにしてもよい。あるいは、中継装置20が、自ら、上述した動作(図8参照)のようにして(但し、計測用フレームの送受信及び返信用フレームの送受信の立場は逆になる。)、通信装置10−1(通信装置10−2)までの伝送路遅延時間を計測して、これを保持するようにしてもよい。   As described above, the communication device 10-1 (same as the communication device 10-2) can measure the transmission path delay time to the relay device 20. The measured transmission line delay time is stored in a RAM or a non-volatile readable / writable memory. The communication device 10-1 (communication device 10-2) transmits the transmission path delay time measured as described above to the relay device 20 using a frame, and the relay device 20 transmits the communication device 10-1 to the communication device 10-1. The transmission path delay time received from (communication device 10-2) may be stored in a RAM or a non-volatile readable / writable memory. Alternatively, the relay device 20 itself performs the operation described above (see FIG. 8) (however, the positions of transmission / reception of the measurement frame and transmission / reception frame are reversed), and the communication device 10-1 ( The transmission path delay time to the communication device 10-2) may be measured and held.

なお、本発明は、上記実施形態に限定されず、本発明の要旨を逸脱しない範囲での種々の変更は勿論可能である。   In addition, this invention is not limited to the said embodiment, Of course, the various change in the range which does not deviate from the summary of this invention is possible.

例えば、上記実施形態のネットワークシステム1では、中継装置20に、2つの通信装置10−1,10−2が接続される構成を示していたが、かかる構成に限定されることはなく、例えば、中継装置に3つ以上の通信装置が接続される構成にしてもよいし、中継装置にさらに中継装置が接続される構成であってもよい。   For example, in the network system 1 of the above-described embodiment, the configuration in which the two communication devices 10-1 and 10-2 are connected to the relay device 20 is shown. However, the configuration is not limited to this configuration. Three or more communication devices may be connected to the relay device, or a relay device may be further connected to the relay device.

図9は、上記実施形態の変形例に係るネットワークシステム1Aの全体構成を示す図である。このネットワークシステム1Aでは、中継装置20−1に、LANケーブル30−1,30−2,30−3を介して、それぞれ通信装置10−1,10−2、中継装置20−2が接続される。また、中継装置20−2には、LANケーブル30−4,30−5を介して、それぞれ通信装置10−3,10−4が接続される。   FIG. 9 is a diagram showing an overall configuration of a network system 1A according to a modification of the embodiment. In this network system 1A, the communication devices 10-1, 10-2 and the relay device 20-2 are connected to the relay device 20-1 via the LAN cables 30-1, 30-2, 30-3, respectively. . In addition, communication devices 10-3 and 10-4 are connected to the relay device 20-2 via LAN cables 30-4 and 30-5, respectively.

以上のように構成されるネットワークシステム1Aにおいて、通信装置10−1から通信装置10−3にフレームを送信する場合の各装置の動作について説明する。なお、各通信装置が備える通信部の構成は、上記実施形態における構成(図2参照)と同様である。また、各中継装置が備える第1〜第3通信部の構成も、実施形態1における構成(図3参照)と同様である。   In the network system 1A configured as described above, the operation of each device when a frame is transmitted from the communication device 10-1 to the communication device 10-3 will be described. In addition, the structure of the communication part with which each communication apparatus is provided is the same as the structure (refer FIG. 2) in the said embodiment. Moreover, the structure of the 1st-3rd communication part with which each relay apparatus is provided is the same as that of the structure in Embodiment 1 (refer FIG. 3).

先ず、通信装置10−1が備える通信部100−1の送信部102は、時刻取得部101から現在時刻(T1)を取得し、取得した現在時刻(T1)と、予め計測した中継装置20−1までの伝送路遅延時間(D1)を送信するフレームのデータ領域に設定する。そして、送信部102は、中継装置20−1に対してフレームを送信する。図10(a)に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   First, the transmission unit 102 of the communication unit 100-1 included in the communication device 10-1 acquires the current time (T1) from the time acquisition unit 101, the acquired current time (T1), and the relay device 20- measured in advance. The transmission line delay time (D1) up to 1 is set in the data area of the frame to be transmitted. Then, the transmission unit 102 transmits a frame to the relay device 20-1. FIG. 10A shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

中継装置20−1が備える第1通信部200−1の受信部212は、通信装置10−1から送信されたフレームの受信を開始すると、第1通信部200−1の時刻取得部210から現在時刻(T2)を取得し、RAMに保存する。しかる後、フレームの受信が終了すると、第1通信部200−1の受信部212は、受信したフレームを転送部201を介して、第3通信部200−3に送出する。第3通信部200−3の送信部211は、第3通信部200−3の時刻取得部210から現在時刻(T3)を取得する。   When the reception unit 212 of the first communication unit 200-1 included in the relay device 20-1 starts receiving the frame transmitted from the communication device 10-1, the reception unit 212 of the first communication unit 200-1 receives the current value from the time acquisition unit 210. The time (T2) is acquired and stored in the RAM. Thereafter, when reception of the frame is completed, the receiving unit 212 of the first communication unit 200-1 sends the received frame to the third communication unit 200-3 via the transfer unit 201. The transmission unit 211 of the third communication unit 200-3 acquires the current time (T3) from the time acquisition unit 210 of the third communication unit 200-3.

第3通信部200−3の送信部211は、取得した時刻T3と、RAMに保存されている時刻T2とから、当該中継装置20−1において、フレームの受信開始から送信までに要した時間(フレーム転送遅延時間(D2))を算出する。そして、第3通信部200−3の送信部211は、算出したフレーム転送遅延時間(D2)と、予め計測した次段の中継装置(即ち、中継装置20−2)までの伝送路遅延時間(D3)との合計時間(D2+D3)を当該フレームのデータ領域に格納されている伝送路遅延時間(D1)に加算する。   The transmission unit 211 of the third communication unit 200-3 determines the time required from the start of frame reception to transmission in the relay device 20-1 from the acquired time T3 and the time T2 stored in the RAM ( Frame transfer delay time (D2)) is calculated. Then, the transmission unit 211 of the third communication unit 200-3 transmits the calculated frame transfer delay time (D2) and the transmission path delay time (preliminarily measured to the next-stage relay device (ie, the relay device 20-2) ( The total time (D2 + D3) with D3) is added to the transmission path delay time (D1) stored in the data area of the frame.

そして、第3通信部200−3の送信部211は、中継装置20−2に対してフレームを送信する。図10(b)に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   Then, the transmission unit 211 of the third communication unit 200-3 transmits the frame to the relay device 20-2. FIG. 10B shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

中継装置20−2が備える第1通信部200−4の受信部212は、中継装置20−1から送信されたフレームの受信を開始すると、第1通信部200−4の時刻取得部210から現在時刻(T4)を取得し、RAMに保存する。そして、フレームの受信が終了すると、第1通信部200−4の受信部212は、受信したフレームを転送部202を介して、第2通信部200−5に送出する。第2通信部200−5の送信部211は、第2通信部200−5の時刻取得部210から現在時刻(T5)を取得する。   When the reception unit 212 of the first communication unit 200-4 included in the relay device 20-2 starts receiving the frame transmitted from the relay device 20-1, the reception unit 212 of the first communication unit 200-4 receives the current value from the time acquisition unit 210 of the first communication unit 200-4. The time (T4) is acquired and stored in the RAM. When the reception of the frame ends, the receiving unit 212 of the first communication unit 200-4 sends the received frame to the second communication unit 200-5 via the transfer unit 202. The transmission unit 211 of the second communication unit 200-5 acquires the current time (T5) from the time acquisition unit 210 of the second communication unit 200-5.

第2通信部200−5の送信部211は、取得した時刻T5と、RAMに保存されている時刻T4とから、当該中継装置20−2において、フレームの受信開始から送信までに要した時間(フレーム転送遅延時間(D4))を算出する。そして、第2通信部200−5の送信部211は、算出したフレーム転送遅延時間(D4)と、予め計測した通信装置10−3までの伝送路遅延時間(D5)との合計時間(D4+D5)を当該フレームのデータ領域に格納されている伝送路遅延時間(D1+D2+D3)に加算する。   The transmission unit 211 of the second communication unit 200-5 determines the time required from the start of frame reception to transmission in the relay device 20-2 from the acquired time T5 and the time T4 stored in the RAM ( Frame transfer delay time (D4)) is calculated. The transmission unit 211 of the second communication unit 200-5 then adds the calculated frame transfer delay time (D4) and the previously measured transmission path delay time (D5) to the communication device 10-3 (D4 + D5). Is added to the transmission line delay time (D1 + D2 + D3) stored in the data area of the frame.

そして、第2通信部200−5の送信部211は、通信装置10−3に対してフレームを送信する。図10(c)に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   And the transmission part 211 of the 2nd communication part 200-5 transmits a flame | frame with respect to the communication apparatus 10-3. FIG. 10C shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

通信装置10−3が備える通信部100−3の受信部103は、中継装置20−2から送信されたフレームの受信を開始すると、時刻取得部101から現在時刻(T6)を取得し、RAMに保存する。   When the reception unit 103 of the communication unit 100-3 included in the communication device 10-3 starts receiving the frame transmitted from the relay device 20-2, the reception unit 103 acquires the current time (T6) from the time acquisition unit 101, and stores it in the RAM. save.

しかる後、フレームの受信が終了すると、受信部103は、時刻取得部101から現在時刻(T7)を取得する。時刻同期部104は、受信部103が受信したフレームのデータ領域から、送信時刻(T1)と、伝送路遅延時間(D1+D2+D3+D4+D5)を抽出する。また、時刻同期部104は、受信部103により取得された時刻T6,T7から、当該通信装置10−3において、フレームの受信開始から終了までに要した時間(フレーム受信遅延時間(D6))を算出し、これを上記抽出した伝送路遅延時間(D1+D2+D3+D4+D5)に加算して、合計遅延時間(D1+D2+D3+D4+D5+D6)を求める。   After that, when the reception of the frame is finished, the receiving unit 103 acquires the current time (T7) from the time acquiring unit 101. The time synchronization unit 104 extracts the transmission time (T1) and the transmission path delay time (D1 + D2 + D3 + D4 + D5) from the data area of the frame received by the reception unit 103. The time synchronization unit 104 also calculates the time (frame reception delay time (D6)) required from the start to the end of frame reception in the communication device 10-3 from the times T6 and T7 acquired by the reception unit 103. The total delay time (D1 + D2 + D3 + D4 + D5 + D6) is obtained by calculating and adding this to the extracted transmission line delay time (D1 + D2 + D3 + D4 + D5).

時刻同期部104は、上記抽出した送信時刻T1と、合計遅延時間(D1+D2+D3+D4+D5+D6)とに基づいて、送信側の通信装置、即ち、通信装置10−1における現在時刻を算出する。そして、時刻同期部104は、算出した現在時刻に自装置の時計機能部の計時時刻を合わせる。   Based on the extracted transmission time T1 and the total delay time (D1 + D2 + D3 + D4 + D5 + D6), the time synchronization unit 104 calculates the current time in the communication device on the transmission side, that is, the communication device 10-1. Then, the time synchronization unit 104 adjusts the time measured by the clock function unit of the own device to the calculated current time.

以上のように、ネットワークシステム1Aにおいても、受信側である通信装置10−3の時刻を送信側である通信装置10−1に精度よく合わせることができる。   As described above, also in the network system 1A, the time of the communication device 10-3 on the reception side can be accurately adjusted to the communication device 10-1 on the transmission side.

また、本発明は、再送制御機能を有するネットワークシステムにも適用させることができる。以下、この場合の時刻同期について具体的に説明する。なお、ここでは、上記実施形態のネットワークシステム1において、中継装置20から通信装置10−2に対して、中継装置10−1からのフレームを転送する際の再送制御動作を例にして説明する。   The present invention can also be applied to a network system having a retransmission control function. Hereinafter, the time synchronization in this case will be specifically described. Here, in the network system 1 of the above embodiment, a retransmission control operation when transferring a frame from the relay device 10-1 to the communication device 10-2 from the relay device 20 will be described as an example.

中継装置20が備える第1通信部200−1の受信部212は、通信装置10−1からのフレームの受信を開始すると、第1通信部200−1の時刻取得部210から現在時刻(T2)を取得し、RAMに保存する。そして、フレームの受信が終了すると、第1通信部200−1の受信部212は、受信したフレームを転送部201を介して、第2通信部200−2に送出する。第2通信部200−2の送信部211は、第2通信部200−2の時刻取得部210から現在時刻(T3)を取得する。第2通信部200−2の送信部211は、時刻T2とT3から、フレーム転送遅延時間(D2)を算出し、算出したフレーム転送遅延時間(D2)と、予め計測した通信装置10−2までの伝送路遅延時間(D3)との合計時間(D2+D3)を当該フレームのデータ領域に格納されている伝送路遅延時間(D1)に加算する。そして、第2通信部200−2の送信部211は、通信装置10−2に対してフレームを送信する。   When the reception unit 212 of the first communication unit 200-1 included in the relay device 20 starts reception of the frame from the communication device 10-1, the current time (T2) is received from the time acquisition unit 210 of the first communication unit 200-1. Is stored in the RAM. Then, when the reception of the frame is completed, the reception unit 212 of the first communication unit 200-1 sends the received frame to the second communication unit 200-2 via the transfer unit 201. The transmission unit 211 of the second communication unit 200-2 acquires the current time (T3) from the time acquisition unit 210 of the second communication unit 200-2. The transmission unit 211 of the second communication unit 200-2 calculates the frame transfer delay time (D2) from the times T2 and T3, and calculates the calculated frame transfer delay time (D2) to the communication device 10-2 measured in advance. The total time (D2 + D3) with the transmission line delay time (D3) is added to the transmission line delay time (D1) stored in the data area of the frame. And the transmission part 211 of the 2nd communication part 200-2 transmits a flame | frame with respect to the communication apparatus 10-2.

通信装置10−2が備える通信部100−2は、中継装置20から送信されたフレームの受信を失敗すると、その旨を示すエラー応答フレームを中継装置20に返信する。   When the communication unit 100-2 included in the communication device 10-2 fails to receive the frame transmitted from the relay device 20, the communication unit 100-2 returns an error response frame indicating the fact to the relay device 20.

中継装置20では、かかるエラー応答フレームの受信が終了すると、第2通信部200−2の送信部211は、第2通信部200−2の時刻取得部210から現在時刻(T20)を取得する。第2通信部200−2の送信部211は、取得した時刻T20と、RAMに保存されている時刻T3とから、当該中継装置20において、通信装置10−2に対して、フレームを送信してから、再送までに要した時間(フレーム再送遅延時間(D20))を算出する。第2通信部200−2の送信部211は、算出したフレーム再送遅延時間(D20)を送信したフレームのデータ領域に格納されている伝送路遅延時間(D1+D2+D3)に加算する。   In the relay device 20, when the reception of the error response frame is completed, the transmission unit 211 of the second communication unit 200-2 acquires the current time (T20) from the time acquisition unit 210 of the second communication unit 200-2. The transmission unit 211 of the second communication unit 200-2 transmits a frame to the communication device 10-2 in the relay device 20 from the acquired time T20 and the time T3 stored in the RAM. From this, the time required until retransmission (frame retransmission delay time (D20)) is calculated. The transmission unit 211 of the second communication unit 200-2 adds the calculated frame retransmission delay time (D20) to the transmission path delay time (D1 + D2 + D3) stored in the data area of the transmitted frame.

そして、第2通信部200−2の送信部211は、通信装置10−2に対してフレームを再送する。図11に、この際のフレームのデータ領域に設定される送信時刻及び伝送路遅延時間の内容を示す。   Then, the transmission unit 211 of the second communication unit 200-2 retransmits the frame to the communication device 10-2. FIG. 11 shows the contents of the transmission time and transmission path delay time set in the data area of the frame at this time.

通信装置10−2が備える通信部100−2の受信部103は、中継装置20から再送されたフレームの受信を開始すると、時刻取得部101から現在時刻(T21)を取得し、RAMに保存する。そして、フレームの受信が終了すると、受信部103は、時刻取得部101から現在時刻(T22)を取得する。時刻同期部104は、受信部103が受信したフレームのデータ領域から、送信時刻(T1)と、伝送路遅延時間(D1+D2+D3+D20)を抽出する。また、時刻同期部104は、受信部103により取得された時刻T21,T22から、当該通信装置10−2において、フレームの受信開始から終了までに要した時間(フレーム受信遅延時間(D21))を算出し、これを上記抽出した伝送路遅延時間(D1+D2+D3+D20)に加算して、合計遅延時間(D1+D2+D3+D20+D21)を求める。   When the reception unit 103 of the communication unit 100-2 included in the communication device 10-2 starts receiving the frame retransmitted from the relay device 20, the reception unit 103 acquires the current time (T21) from the time acquisition unit 101 and stores it in the RAM. . When the reception of the frame is completed, the receiving unit 103 acquires the current time (T22) from the time acquisition unit 101. The time synchronization unit 104 extracts the transmission time (T1) and the transmission path delay time (D1 + D2 + D3 + D20) from the data area of the frame received by the reception unit 103. In addition, the time synchronization unit 104 calculates the time (frame reception delay time (D21)) required from the start to the end of frame reception in the communication device 10-2 from the times T21 and T22 acquired by the reception unit 103. The total delay time (D1 + D2 + D3 + D20 + D21) is obtained by calculating and adding this to the extracted transmission line delay time (D1 + D2 + D3 + D20).

時刻同期部104は、上記抽出した送信時刻T1と、合計遅延時間(D1+D2+D3+D20+D21)とに基づいて、通信装置10−1における現在時刻を算出する。そして、時刻同期部104は、算出した現在時刻に自装置の時計機能部の計時時刻を合わせる。   The time synchronization unit 104 calculates the current time in the communication device 10-1 based on the extracted transmission time T1 and the total delay time (D1 + D2 + D3 + D20 + D21). Then, the time synchronization unit 104 adjusts the time measured by the clock function unit of the own device to the calculated current time.

以上のように、本発明は、再送制御機能を有するネットワークシステムにおいても、精度のよい時刻同期を実現できる。   As described above, the present invention can realize accurate time synchronization even in a network system having a retransmission control function.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。   Various embodiments and modifications can be made to the present invention without departing from the broad spirit and scope of the present invention. Further, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.

1、1A ネットワークシステム
10−1〜10−4 通信装置
20、20−1、20−2 中継装置
30−1〜30−5 LANケーブル
100−1〜100−4 通信部
101 時刻取得部
102 送信部
103 受信部
104 時刻同期部
200−1〜200−3 第1〜第3通信部
200−4〜200−6 第1〜第3通信部
201、202 転送部
210 時刻取得部
211 送信部
212 受信部
1, 1A network system 10-1 to 10-4 communication device 20, 20-1, 20-2 relay device 30-1 to 30-5 LAN cable 100-1 to 100-4 communication unit 101 time acquisition unit 102 transmission unit DESCRIPTION OF SYMBOLS 103 Reception part 104 Time synchronization part 200-1-200-3 1st-3rd communication part 200-4-200-6 1st-3rd communication part 201,202 Transfer part 210 Time acquisition part 211 Transmission part 212 Reception part

Claims (6)

中継装置を介して通信装置間のフレーム送受信を行うネットワークシステムであって、
送信側の前記通信装置は、
前記中継装置にフレームを送信する際、送信時刻と、前記中継装置までの伝送路遅延時間とを当該フレームのデータ領域に設定し、
前記中継装置は、
前記フレームを受信側の前記通信装置に転送する際、当該フレームを受信してから現時点までの経過時間と、前記受信側の通信装置までの伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている前記伝送路遅延時間に加算し、
前記受信側の通信装置は、
前記フレームの受信を終了すると、当該フレームの受信を開始してから現時点までの経過時間と、当該フレームのデータ領域に設定されている前記送信時刻及び伝送路遅延時間と、に基づいて、自装置の時刻合わせを行う、
ことを特徴とするネットワークシステム。
A network system for transmitting and receiving frames between communication devices via a relay device,
The communication device on the transmission side is:
When transmitting a frame to the relay device, set the transmission time and the transmission path delay time to the relay device in the data area of the frame,
The relay device is
When transferring the frame to the communication device on the receiving side, the total time of the elapsed time from the reception of the frame to the present time and the transmission path delay time to the communication device on the receiving side is the data area of the frame Is added to the transmission line delay time set to
The communication device on the receiving side is
When the reception of the frame is completed, based on the elapsed time from the start of reception of the frame to the current time, and the transmission time and transmission path delay time set in the data area of the frame Set the time of
A network system characterized by this.
前記通信装置は、所定条件が成立すると、現在時刻を取得し、これを計測開始時刻として保持すると共に、前記中継装置までの伝送路遅延時間を計測するための計測用フレームを前記中継装置に送信し、
前記中継装置は、前記計測用フレームの受信を終了すると、当該計測用フレームの受信を開始してから現時点までの経過時間を返信遅延時間として当該計測用フレームのデータ領域に設定した返信用フレームを生成し、送信元の前記通信装置に送信し、
前記送信元の前記通信装置は、前記返信用フレームの受信を開始すると、現在時刻を取得して、これを返信受信時刻として保持し、前記返信用フレームの受信を終了すると、前記計測開始時刻と、前記返信受信時刻と、当該返信用フレームのデータ領域に設定されている前記返信遅延時間と、に基づいて、前記伝送路遅延時間を算出する、
ことを特徴とする請求項1に記載のネットワークシステム。
When the predetermined condition is satisfied, the communication device acquires the current time, holds it as a measurement start time, and transmits a measurement frame for measuring a transmission line delay time to the relay device to the relay device. And
When the relay device finishes receiving the measurement frame, the relay device sets the return frame set in the data area of the measurement frame as a return delay time from the start of reception of the measurement frame to the current time. Generate and send to the source communication device,
When the transmission source communication apparatus starts receiving the reply frame, it acquires the current time, holds it as a reply reception time, and ends the reception of the reply frame. The transmission path delay time is calculated based on the reply reception time and the reply delay time set in the data area of the reply frame.
The network system according to claim 1.
前記中継装置は、所定条件が成立すると、現在時刻を取得し、これを計測開始時刻として保持すると共に、接続する一の前記通信装置までの伝送路遅延時間を計測するための計測用フレームを前記通信装置に送信し、
前記通信装置は、前記計測用フレームの受信を終了すると、当該計測用フレームの受信を開始してから現時点までの経過時間を返信遅延時間として当該計測用フレームのデータ領域に設定した返信用フレームを生成し、前記中継装置に送信し、
前記中継装置は、前記返信用フレームの受信を開始すると、現在時刻を取得して、これを返信受信時刻として保持し、前記返信用フレームの受信を終了すると、前記計測開始時刻と、前記返信受信時刻と、当該返信用フレームのデータ領域に設定されている前記返信遅延時間と、に基づいて、前記伝送路遅延時間を算出する、
ことを特徴とする請求項1に記載のネットワークシステム。
The relay device acquires a current time when a predetermined condition is satisfied, holds the current time as a measurement start time, and includes a measurement frame for measuring a transmission line delay time to the one communication device to be connected. To the communication device,
When the communication device finishes receiving the measurement frame, the communication device sets a return frame set in the data area of the measurement frame as a return delay time from the start of reception of the measurement frame to the current time. Generate and send to the relay device,
When the relay device starts receiving the reply frame, the relay device acquires the current time and holds it as a reply reception time. When the relay device finishes receiving the reply frame, the measurement start time and the reply reception Calculating the transmission path delay time based on the time and the reply delay time set in the data area of the reply frame;
The network system according to claim 1.
前記送信側の通信装置から送信されたフレームが複数の前記中継装置を経由して前記受信側の通信装置に転送される場合、
最終段以外の前記中継装置は、前記フレームを次段の前記中継装置に転送する際、当該フレームを受信してから現時点までの経過時間と、前記次段の中継装置までの伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている前記伝送路遅延時間に加算する、
ことを特徴とする請求項1に記載のネットワークシステム。
When a frame transmitted from the transmission-side communication device is transferred to the reception-side communication device via the plurality of relay devices,
When the relay device other than the final stage transfers the frame to the relay device at the next stage, an elapsed time from the reception of the frame to the present time, a transmission path delay time to the relay device at the next stage, and Is added to the transmission line delay time set in the data area of the frame,
The network system according to claim 1.
前記受信側の通信装置は、前記フレームの受信を失敗すると、その旨を示すエラー応答フレームを前記中継装置に対して送信し、
前記中継装置は、前記エラー応答フレームの受信を終了すると、前記フレームを送信してから現時点までの経過時間を、送信したフレームのデータ領域に設定されている前記伝送路遅延時間に加算した後、当該フレームを前記受信側の通信装置に再送する、
ことを特徴とする請求項1に記載のネットワークシステム。
When the communication device on the receiving side fails to receive the frame, it transmits an error response frame to that effect to the relay device,
When the relay device finishes receiving the error response frame, after adding the elapsed time from the transmission of the frame to the present time to the transmission path delay time set in the data area of the transmitted frame, Resend the frame to the receiving communication device;
The network system according to claim 1.
中継装置を介して通信装置間のフレーム送受信を行うネットワークシステムにおける時刻同期方法であって、
送信側の前記通信装置が、前記中継装置にフレームを送信する際、送信時刻と、前記中継装置までの伝送路遅延時間とを当該フレームのデータ領域に設定し、
前記中継装置が、前記フレームを受信側の前記通信装置に転送する際、当該フレームを受信してから現時点までの経過時間と、前記受信側の通信装置までの伝送路遅延時間との合計時間を当該フレームのデータ領域に設定されている前記伝送路遅延時間に加算し、
前記受信側の通信装置が、前記フレームの受信を終了すると、当該フレームの受信を開始してから現時点までの経過時間と、当該フレームのデータ領域に設定されている前記送信時刻及び伝送路遅延時間と、に基づいて、自装置の時刻合わせを行う、
ことを特徴とする時刻同期方法。
A time synchronization method in a network system that performs frame transmission / reception between communication devices via a relay device,
When the communication device on the transmission side transmits a frame to the relay device, the transmission time and the transmission path delay time to the relay device are set in the data area of the frame,
When the relay device transfers the frame to the communication device on the receiving side, the total time of the elapsed time from the reception of the frame to the current time and the transmission path delay time to the communication device on the receiving side Add to the transmission line delay time set in the data area of the frame,
When the receiving communication apparatus finishes receiving the frame, the elapsed time from the start of receiving the frame to the present time, the transmission time and the transmission path delay time set in the data area of the frame And the time of the device is adjusted based on
A time synchronization method characterized by the above.
JP2012031059A 2012-02-15 2012-02-15 Network system and time synchronization method Pending JP2013168811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012031059A JP2013168811A (en) 2012-02-15 2012-02-15 Network system and time synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012031059A JP2013168811A (en) 2012-02-15 2012-02-15 Network system and time synchronization method

Publications (1)

Publication Number Publication Date
JP2013168811A true JP2013168811A (en) 2013-08-29

Family

ID=49178901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012031059A Pending JP2013168811A (en) 2012-02-15 2012-02-15 Network system and time synchronization method

Country Status (1)

Country Link
JP (1) JP2013168811A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015171014A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Time synchronization method, network system, cpu, relay apparatus, and user apparatus
WO2016056609A1 (en) * 2014-10-10 2016-04-14 株式会社テイエルブイ Time synchronized communication system
JP2016119548A (en) * 2014-12-19 2016-06-30 ファナック株式会社 Time synchronization system for communication devices
JP2016208183A (en) * 2015-04-20 2016-12-08 サクサ株式会社 Telephone system, radio telephone terminal, and communication system
JP2017126864A (en) * 2016-01-13 2017-07-20 エヌ・ティ・ティ・コミュニケーションズ株式会社 Communication system, communication device, second device, communication method and computer program
JP2020524935A (en) * 2017-06-22 2020-08-20 ヴァレンス セミコンダクター リミテッド Display of the delay added to a packet due to a retransmission
US10931434B2 (en) 2015-08-27 2021-02-23 Nec Corporation Relay apparatus, communication system, and failure detection method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003298630A (en) * 2002-04-01 2003-10-17 Mitsubishi Electric Corp Time synchronization method
JP2005253033A (en) * 2004-02-06 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Network synchronization device, clock transmission method, and clock transmission packet network
JP2008109268A (en) * 2006-10-24 2008-05-08 Yaskawa Electric Corp Synchronization communication method of communication apparatus and its synchronization device
JP2010062729A (en) * 2008-09-02 2010-03-18 Fujitsu Ltd Time synchronization method and relay apparatus
JP2011091624A (en) * 2009-10-22 2011-05-06 Mitsubishi Electric Corp Mesh network system and time synchronizing method thereof
JP2011211673A (en) * 2010-03-31 2011-10-20 Mitsubishi Electric Corp Master device, slave device, method of synchronizing time, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003298630A (en) * 2002-04-01 2003-10-17 Mitsubishi Electric Corp Time synchronization method
JP2005253033A (en) * 2004-02-06 2005-09-15 Nippon Telegr & Teleph Corp <Ntt> Network synchronization device, clock transmission method, and clock transmission packet network
JP2008109268A (en) * 2006-10-24 2008-05-08 Yaskawa Electric Corp Synchronization communication method of communication apparatus and its synchronization device
JP2010062729A (en) * 2008-09-02 2010-03-18 Fujitsu Ltd Time synchronization method and relay apparatus
JP2011091624A (en) * 2009-10-22 2011-05-06 Mitsubishi Electric Corp Mesh network system and time synchronizing method thereof
JP2011211673A (en) * 2010-03-31 2011-10-20 Mitsubishi Electric Corp Master device, slave device, method of synchronizing time, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015171014A (en) * 2014-03-07 2015-09-28 日本電気株式会社 Time synchronization method, network system, cpu, relay apparatus, and user apparatus
WO2016056609A1 (en) * 2014-10-10 2016-04-14 株式会社テイエルブイ Time synchronized communication system
JP5908196B1 (en) * 2014-10-10 2016-04-26 株式会社テイエルブイ Time synchronization communication system
JP2016119548A (en) * 2014-12-19 2016-06-30 ファナック株式会社 Time synchronization system for communication devices
JP2016208183A (en) * 2015-04-20 2016-12-08 サクサ株式会社 Telephone system, radio telephone terminal, and communication system
US10931434B2 (en) 2015-08-27 2021-02-23 Nec Corporation Relay apparatus, communication system, and failure detection method
JP2017126864A (en) * 2016-01-13 2017-07-20 エヌ・ティ・ティ・コミュニケーションズ株式会社 Communication system, communication device, second device, communication method and computer program
JP2020524935A (en) * 2017-06-22 2020-08-20 ヴァレンス セミコンダクター リミテッド Display of the delay added to a packet due to a retransmission

Similar Documents

Publication Publication Date Title
JP2013168811A (en) Network system and time synchronization method
US11038609B2 (en) Sensing system and time synchronization method
US8081663B2 (en) Time synchronization method and relay apparatus
JP5377663B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TIME SYNCHRONIZATION METHOD
JP6192995B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMPUTER PROGRAM
JP5518191B2 (en) Method and system for optical transmission network carrying time synchronization protocol
JP5911584B2 (en) Correction parameter calculation apparatus and system, correction parameter calculation method, and computer program
JP5636093B2 (en) Method and apparatus for performing clock synchronization between devices
JP2018505576A (en) Techniques for synchronizing the timing of wireless streaming transmissions to multiple sink devices
EP3284244A1 (en) Methods, systems, and computer readable media for emulating network devices with different clocks
JP2009182659A (en) Timing synchronizing method, synchronization device, synchronization system, and synchronization program
CN104243079A (en) Microsecond clock synchronization method for real-time Ethernet
CN105281885A (en) Time synchronization method and device used for network equipment and time synchronization server
US9331803B2 (en) System and method of synchronization among a control apparatus and a plurality of terminals
JP6254028B2 (en) Slave node and time synchronization method
JP2013098788A (en) Time synchronization system and time synchronization method
JP6951172B2 (en) Wireless communication system, communication device and data integration method
TW201715860A (en) Network device, time synchronization method and network system using the same
JP2018088644A (en) Time synchronization method and time synchronization system between wirelessly-connected terminals
JP2012175567A (en) Synchronization system, and synchronization method of synchronization system
JP2015216438A (en) Time synchronization system, master unit and slave unit, and time synchronization method
JP2006309513A (en) Telephone terminal, telephone terminal managing device, and telephone communication system
JP2015117941A (en) Communication system and time synchronization method
KR101344596B1 (en) Clock synchronization method of single ring network based on hsr(high-availability seamless redundancy) protocol
JP6310758B2 (en) Time synchronization apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151006