JPWO2021123040A5 - - Google Patents

Download PDF

Info

Publication number
JPWO2021123040A5
JPWO2021123040A5 JP2022537049A JP2022537049A JPWO2021123040A5 JP WO2021123040 A5 JPWO2021123040 A5 JP WO2021123040A5 JP 2022537049 A JP2022537049 A JP 2022537049A JP 2022537049 A JP2022537049 A JP 2022537049A JP WO2021123040 A5 JPWO2021123040 A5 JP WO2021123040A5
Authority
JP
Japan
Prior art keywords
time synchronization
clock
time
grandmaster clock
message
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
JP2022537049A
Other languages
Japanese (ja)
Other versions
JP2023507143A (en
Publication date
Priority claimed from DE102019220498.8A external-priority patent/DE102019220498B4/en
Application filed filed Critical
Publication of JP2023507143A publication Critical patent/JP2023507143A/en
Publication of JPWO2021123040A5 publication Critical patent/JPWO2021123040A5/ja
Pending legal-status Critical Current

Links

Images

Description

時刻同期規格に従って時刻同期が行われるサーバECUにおいて時刻同期を確保するための方法は、サーバECUのコンポーネントの時刻同期を初期化すること、以前に決定されたグランドマスタークロックを提供しないサーバECUのコンポーネントのそれぞれにおいて、初期化中に決定されたグランドマスタークロックの一意クロック識別子を格納すること、サーバECUのコンポーネントから選択されるシャドウコントローラを識別すること、同期メッセージを送信すること、シャドウコントローラに送信時刻を照会すること、グランドマスタークロックを形成するコントローラによってフォローアップメッセージに時刻を挿入し、且つ時刻を再送信すること、以前に決定されたグランドマスタークロックを提供しない選択されたネットワークデバイスにより、時刻同期に関連する追加メッセージを送信すること(206)を含み、時刻同期に関連する追加メッセージで送信された時刻情報並びにまたBMCAによってベストクロックを決定することに関連するクロックパラメータ及びドメイン番号は、以前に決定されたグランドマスタークロックのものと一致するか又はそれらと同等であり、時刻同期に関連する追加メッセージは、それぞれの選択されたネットワークデバイスの識別子に対応する一意クロック識別子を含む。 A method for ensuring time synchronization in a server ECU whose time synchronization is performed according to a time synchronization standard is to initialize time synchronization of components of the server ECU, components of the server ECU that do not provide a previously determined grandmaster clock. storing a unique clock identifier of the grandmaster clock determined during initialization; identifying a shadow controller selected from the components of the server ECU; transmitting a synchronization message; querying the grandmaster clock, inserting the time in a follow-up message by the controller forming the grandmaster clock, and retransmitting the time, time synchronization by selected network devices that do not provide a previously determined grandmaster clock. sending (206) an additional message related to time synchronization, the time information sent in the additional message related to time synchronization as well as clock parameters and domain numbers related to determining the best clock by BMC A ; Additional messages that match or are equivalent to those of the previously determined grandmaster clock and that are related to time synchronization include unique clock identifiers that correspond to the identifiers of the respective selected network devices.

本発明による方法は、以前に決定されたグランドマスタークロックを提供しない選択されたネットワークデバイスにより、時刻同期に関連する追加メッセージを送信することも含み、時刻同期に関連する追加メッセージで送信された時刻情報並びにまたBMCAによってベストクロックを決定することに関連するクロックパラメータ及びドメイン番号は、以前に決定されたグランドマスタークロックのものと一致するか又はそれらと同等である。しかし、時刻同期に関連する追加メッセージは、それぞれの選択されたネットワークデバイスの識別子に対応する一意クロック識別子を含む。BMCAの実行に関連するクロックパラメータは、特に、IEEE802.1AS規格による変数priority1、priority2、clockClass、clockAccuracy、offsetScaledLogVariance及びtimeSourceの値を含む。したがって、ネットワークトラフィックを盗聴する者には、選択されたネットワークデバイスによって送信される、時刻同期に関連する追加メッセージのそれぞれが、初期化中に決定されたグランドマスタークロックからの時刻同期に関連するメッセージと同様に、グランドマスタークロックから到来するメッセージに見え、すなわち観測者には複数のグランドマスタークロックがネットワークに存在するように見える。 The method according to the invention also includes transmitting an additional message related to time synchronization by the selected network device that does not provide a previously determined grandmaster clock, the time synchronization transmitted in the additional message related to time synchronization. The information and also the clock parameters and domain numbers associated with determining the best clock by BMC A match or are equivalent to those of the previously determined grandmaster clock. However, additional messages related to time synchronization include unique clock identifiers corresponding to the respective selected network device identifiers. Clock parameters related to the execution of BMCA include, among others, the values of the variables priority1, priority2, clockClass, clockAccuracy, offsetScaledLogVariance and timeSource according to the IEEE 802.1AS standard. Therefore, anyone eavesdropping on network traffic will notice that each additional message related to time synchronization sent by a selected network device is a message related to time synchronization from the grandmaster clock determined during initialization. Similarly, the message appears to come from the grandmaster clock, ie, it appears to the observer that there are multiple grandmaster clocks in the network.

図6は、本発明による方法200の一態様の概略フローチャートを示す。ステップ202において、時刻同期が基本的に既知の方法、例えばベストマスタークロックアルゴリズムの実行により初期化され、続いてステップ204において、初期化中に決定されたグランドマスタークロックの一意クロック識別子が格納される。シャドウコントローラが識別される。ステップ204は、サーバECUの各コントローラにおいて実行され得る。ステップ206において、本発明によれば、以前に決定されたグランドマスタークロックを提供しないサーバECUの選択されたコンポーネントは、時刻同期に関連する追加メッセージを送信する。 FIG. 6 shows a schematic flowchart of one aspect of a method 200 according to the invention. In step 202, time synchronization is initialized in a manner known in principle, such as by executing a best master clock algorithm, and then in step 204, a unique clock identifier of the grandmaster clock determined during initialization is stored. . A shadow controller is identified. Step 204 may be executed in each controller of the server ECU. In step 206, according to the invention, selected components of the server ECU that do not provide the previously determined grandmaster clock send additional messages related to time synchronization.

この時点において、本方法は、様々な方法で続行され得る。通常、初期化中に決定されたグランドマスタークロックからの時刻同期に関連するメッセージと、ステップ206で選択されたコンポーネントによって送信される時刻同期に関連する追加メッセージとは、ステップ208においてほとんどすべてのコンポーネントによって受信される。論理的に、自らが時刻同期に関連するメッセージを送信するコントローラ及びスイッチは、時刻同期に関連する自らのメッセージを受信しない。ステップ210において、各ネットワークデバイスは、時刻同期に関連する受信されたメッセージが、スイッチ108と記される、初期化中に決定されたグランドマスタークロックから発信されているかどうかをチェックする。到来しており、ステップ210の「はい」分岐である場合、コントローラは、ステップ214で受信接続の遅延を事前に補正した後、ステップ212で自らのタイマを同期させる。ステップ213において、同期メッセージが送信される。ステップ215において、送信時刻がシャドウコントローラ(スイッチ)に照会され、時刻がフォローアップメッセージに挿入され、シャドウコントローラ又はスイッチ102が再送信する。 At this point, the method may continue in a variety of ways. Typically, messages related to time synchronization from the grandmaster clock determined during initialization, and additional messages related to time synchronization sent by the components selected in step 206, are sent by almost all components in step 208. received by. Logically, controllers and switches that themselves send messages related to time synchronization do not receive their own messages related to time synchronization. At step 210, each network device checks whether the received message related to time synchronization originates from the grandmaster clock determined during initialization, noted switch 108. If so, the "yes" branch of step 210, the controller synchronizes its timers in step 212 after precompensating for the delay of the incoming connection in step 214. In step 213, a synchronization message is sent. In step 215, the transmission time is queried to the shadow controller (switch) and the time is inserted into the follow-up message, which the shadow controller or switch 102 retransmits.

更なるコンポーネントがコントローラに直接接続されている場合、コントローラは、ステップ214で内部遅延時間を補正した可能性のある時刻情報を含む時刻同期に関連するメッセージを、図8による設定内容のために、近隣のネットワークデバイスに送信する。 If the further component is directly connected to the controller, the controller sends a message related to time synchronization containing time information, possibly corrected for the internal delay time, in step 214 for the settings according to FIG. , to nearby network devices.

時刻同期に関連するメッセージが、初期化中に決定されたグランドマスタークロックから発信されていない場合、コントローラは、ステップ214で受信された時刻情報を受信接続時の遅延及び既知の内部遅延について補正し、ステップ216において、補正された時刻情報を含む、時刻同期に関連するメッセージを近隣のコンポーネントに送信する。 If time synchronization-related messages are not originating from the grandmaster clock determined during initialization, the controller corrects the time information received in step 214 ' for delays in receiving connections and known internal delays. Then, in step 216 ' , a message related to time synchronization containing the corrected time information is sent to the neighboring components.

加えて、ステップ220において、時刻同期に関連する追加メッセージで受信された時刻情報が、初期化中に決定されたグランドマスタークロックのクロック識別子を含む、時刻同期に関連するメッセージで送信された時刻情報と異なるかどうかをチェックすることが可能である。異なっていない場合、これ以上何も行う必要はない。しかしながら、同期中の避けられない許容誤差によって説明できない差分が検出された場合、ステップ222において時刻同期に関連する追加メッセージの転送がブロックされ得る。代替的に、シャドウコントローラに対して、初期化中に決定されたグランドマスタークロックに同期された内部クロックの時刻情報に基づいて、ステップ224において異なる差分時刻を補正した後、遅延時間及び遅延を補正した後に再送信することも可能である。代替的又は追加的に、ステップ226において、メッセージは、保護手段を開始及び/又は制御するように構成される、ネットワークの以前に定義されたスイッチ又はコントローラに送信され得る。 Additionally, in step 220 ' , the time information received in the additional message related to time synchronization includes the clock identifier of the grandmaster clock determined during initialization; It is possible to check whether the information is different. If they are not different, you do not need to do anything further. However, if unexplained differences are detected due to unavoidable tolerances during synchronization, the transfer of additional messages related to time synchronization may be blocked in step 222 ' . Alternatively, for the shadow controller, the delay time and the delay are calculated after correcting the different time differences in step 224 ' based on the time information of the internal clock synchronized to the grandmaster clock determined during initialization. It is also possible to retransmit after correction. Alternatively or additionally, in step 226 ' , the message may be sent to a previously defined switch or controller of the network configured to initiate and/or control the protection measures.

Claims (7)

時刻同期規格に従って時刻同期が行われるサーバECU(100)において時刻同期を確保するための方法(200)であって、
- 前記サーバECU(100)のネットワークデバイス(102、104、106、108、110、112)の前記時刻同期を初期化すること(202)、
- 以前に決定されたグランドマスタークロックを提供しない前記サーバECU(100)の前記ネットワークデバイス(102、104、106、108、110、112)のそれぞれにおいて、前記初期化(202)中に決定されたグランドマスタークロックの一意クロック識別子を格納すること(204)、
前記以前に決定されたグランドマスタークロックを提供しないネットワークデバイスが、前記サーバECU(100)の前記ネットワークデバイス(102、104、106、108、110、112)から選択されるシャドウコントローラを識別すること、
前記シャドウコントローラが、同期メッセージを送信すること(213)、
前記以前に決定されたグランドマスタークロックを提供しないネットワークデバイスが、前記シャドウコントローラに送信時刻を照会すること(215)、
- 前記グランドマスタークロックを形成する前記シャドウコントローラによってフォローアップメッセージに時刻を挿入し、且つ前記時刻を再送信すること、
- 前記以前に決定されたグランドマスタークロックを提供しない選択されたネットワークデバイスにより、時刻同期に関連する追加メッセージを送信すること(206)
を含み、
時刻同期に関連する前記追加メッセージで送信された時刻情報並びにまたBMCAによってベストクロックを決定することに関連するクロックパラメータ及びドメイン番号は、前記以前に決定されたグランドマスタークロックのものと一致するか又はそれらと同等であり、
時刻同期に関連する前記追加メッセージは、それぞれの前記選択されたネットワークデバイスの識別子に対応する一意クロック識別子を含む、
方法(200)。
A method (200) for ensuring time synchronization in a server ECU (100) in which time synchronization is performed according to a time synchronization standard, comprising:
- initializing the time synchronization of the network devices (102, 104, 106, 108, 110, 112) of the server ECU (100) (202);
- in each of said network devices (102, 104, 106, 108, 110, 112) of said server ECU (100) that do not provide a previously determined grandmaster clock determined during said initialization (202); storing a unique clock identifier of a grandmaster clock (204);
- identifying a shadow controller selected from the network devices (102, 104, 106, 108, 110, 112) of the server ECU (100) , the network device not providing the previously determined grandmaster clock; ,
- the shadow controller transmits (213) a synchronization message;
- the network device not providing the previously determined grandmaster clock queries the shadow controller for transmission times (215);
- inserting a time in a follow-up message by the shadow controller forming the grandmaster clock and retransmitting the time ;
- sending (206) an additional message related to time synchronization by the selected network device that does not provide the previously determined grandmaster clock;
including;
The time information sent in the additional message related to time synchronization and also the clock parameters and domain number related to determining the best clock by BMC A match those of the previously determined grandmaster clock. or equivalent thereto;
the additional message related to time synchronization includes a unique clock identifier corresponding to an identifier of each of the selected network devices;
Method (200).
前記初期化(202)中に決定された前記グランドマスタークロックを提供しないネットワークデバイスにおいて、
- 第1のネットワークインターフェースにおいて、時刻同期に関連するメッセージを受信すること(208)、
- 時刻同期に関連する前記メッセージで送信された前記クロック識別子が、前記初期化(202)中に決定された前記グランドマスタークロックの前記格納されたクロック識別子と一致するかどうかをチェックし(210)、及び一致する場合、IEEE802.1ASに従って決定された遅延時間に従い、時刻同期に関連する前記メッセージで受信された前記時刻情報を補正し(214a)、且つ時刻同期に関連する前記メッセージで受信された前記時刻情報を使用することにより、ローカルクロックを同期すること(212)
も含む、請求項1に記載の方法(200)。
In a network device that does not provide the grandmaster clock determined during the initialization (202),
- receiving (208) a message related to time synchronization at the first network interface;
- checking (210) whether the clock identifier sent in the message related to time synchronization matches the stored clock identifier of the grandmaster clock determined during the initialization (202); , and if matched, correcting (214a) the time information received in the message related to time synchronization according to a delay time determined according to IEEE 802.1AS; synchronizing local clocks by using the time information (212);
The method (200) of claim 1, further comprising:
前記ネットワークデバイスが、更なるネットワークデバイスが接続される2つ以上のインターフェースを有する場合、
- IEEE802.1ASに従って決定された前記遅延時間及び/又はデバイス内部遅延に従い、時刻同期に関連する前記メッセージで受信された前記時刻情報を補正すること(214a、214b)と、
- 1つ又は複数の第2のネットワークインターフェースを介して、時刻同期に関連する、それに応じて補正されたメッセージを送信することと
を追加的に含む、請求項2に記載の方法(200)。
If said network device has two or more interfaces to which further network devices are connected,
- correcting the time information received in the message related to time synchronization according to the delay time and/or device internal delay determined according to IEEE 802.1AS (214a, 214b);
- sending, via the one or more second network interfaces, messages related to time synchronization and adjusted accordingly ;
3. The method (200) of claim 2, additionally comprising:
前記以前に決定されたグランドマスタークロックを提供しないネットワークデバイスの第1のネットワークインターフェースにおいて、時刻同期に関連するメッセージを受信すること(208)と、
前記シャドウコントローラが、前記初期化(202)中に決定された前記グランドマスタークロックの前記クロック識別子を含む、時刻同期に関連するメッセージで送信された時刻情報に対する差分について、時刻同期に関連する追加メッセージで送信された前記時刻情報を監視すること(220)と、
前記シャドウコントローラが、差分が検出された前記ネットワークデバイスの前記クロック識別子を含む、時刻同期に関連する追加メッセージをブロックすること(222)、又は
前記シャドウコントローラが、転送前の、前記初期化中に決定された前記グランドマスタークロックから受信された時刻情報に基づいて、異なる時刻情報を補正すること(224)、及び/又は
前記シャドウコントローラが、保護手段を開始及び/又は制御するように構成される、ネットワークの前記以前に決定されたグランドマスタークロックを提供しないネットワークデバイスにメッセージを送信すること(226)と
を追加的に含む、請求項1~3のいずれか一項に記載の方法(200)。
- receiving (208) a message related to time synchronization at a first network interface of a network device that does not provide the previously determined grandmaster clock ;
- said shadow controller makes additions related to time synchronization regarding the difference to time information sent in messages related to time synchronization, including said clock identifier of said grandmaster clock determined during said initialization (202); monitoring (220 ' ) the time information sent in a message;
- the shadow controller blocks (222 ' ) additional messages related to time synchronization containing the clock identifier of the network device in which the difference has been detected; or - the shadow controller blocks the initial message before the transfer. correcting (224 ' ) different time information based on time information received from said grandmaster clock determined during the process; and/or - said shadow controller initiating and/or controlling protection measures. 4. Sending (226 ' ) a message to a network device that does not provide the previously determined grandmaster clock of a network, configured to: The method described (200).
前記初期化(202)中に決定された前記グランドマスタークロックは、前記時刻情報が実際の時刻と異なる、時刻同期に関連するメッセージを散発的又は周期的に送信し、前記初期化(202)中に決定された前記グランドマスタークロックを提供する前記シャドウコントローラは、他のネットワークデバイスによって送信される、時刻同期に関連する追加メッセージを、時刻同期に関連する前記追加メッセージが前記時刻情報の差分を適宜反映するかどうかについて監視し(220)、反映しない場合、前記初期化中に決定された前記グランドマスタークロックを提供する前記シャドウコントローラは、対応するメッセージを、保護手段を開始及び/又は制御するように構成される、ネットワークの前記以前に決定されたグランドマスタークロックを提供しないネットワークデバイスに送信する(226)、請求項1~4のいずれか一項に記載の方法(200)。 The grandmaster clock determined during the initialization (202) sporadically or periodically sends messages related to time synchronization, in which the time information differs from the actual time, and during the initialization (202) The shadow controller , which provides the grandmaster clock determined as above, sends an additional message related to time synchronization sent by another network device, and the additional message related to time synchronization calculates the difference in the time information as appropriate. monitor (220) whether to propagate, and if not, the shadow controller providing the grandmaster clock determined during the initialization sends a corresponding message to initiate and/or control protection measures. 5. The method (200) according to any one of claims 1 to 4, further comprising transmitting (226) the previously determined grandmaster clock of a network to a network device that does not provide the previously determined grandmaster clock. 命令を含むコンピュータプログラムであって、前記命令は、プログラムがコンピュータによって実行されると、前記コンピュータに、請求項1~4のいずれか一項に記載の方法(200)を実行させる、コンピュータプログラム。 A computer program comprising instructions, said instructions causing said computer to perform the method (200) according to any one of claims 1 to 4, when the program is executed by a computer. Mu. 請求項6に記載のコンピュータプログラムが格納されるコンピュータ可読媒体。 A computer readable medium on which the computer program according to claim 6 is stored.
JP2022537049A 2019-12-20 2020-12-17 METHOD FOR ENSURE TIME SYNCHRONIZATION IN SERVER ECU Pending JP2023507143A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE102019220498.8A DE102019220498B4 (en) 2019-12-20 2019-12-20 Method for safeguarding the time synchronization in a server ECU
DE102019220498.8 2019-12-20
PCT/EP2020/086854 WO2021123040A1 (en) 2019-12-20 2020-12-17 Method for securing the time synchronization in a server ecu

Publications (2)

Publication Number Publication Date
JP2023507143A JP2023507143A (en) 2023-02-21
JPWO2021123040A5 true JPWO2021123040A5 (en) 2024-01-09

Family

ID=74141498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022537049A Pending JP2023507143A (en) 2019-12-20 2020-12-17 METHOD FOR ENSURE TIME SYNCHRONIZATION IN SERVER ECU

Country Status (6)

Country Link
US (1) US20230019699A1 (en)
EP (1) EP4078862A1 (en)
JP (1) JP2023507143A (en)
CN (1) CN114830565A (en)
DE (1) DE102019220498B4 (en)
WO (1) WO2021123040A1 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012216689B4 (en) 2012-09-18 2017-05-04 Continental Automotive Gmbh Method for monitoring an Ethernet-based communication network in a motor vehicle
US9973601B2 (en) 2013-03-15 2018-05-15 Avago Technologies General Ip (Singapore) Pte. Ltd. Fault tolerant clock network
CN104284258B (en) * 2013-07-12 2017-10-27 上海贝尔股份有限公司 ONU is configured in pon as the method and apparatus of IEEE1588 master clocks
DE102014200558A1 (en) 2014-01-15 2015-07-16 Bayerische Motoren Werke Aktiengesellschaft Secure network access protection via authenticated timekeeping
JP2015179999A (en) * 2014-03-19 2015-10-08 セイコーエプソン株式会社 Time synchronization device, backup device therefor and time synchronization system
KR101596759B1 (en) 2014-11-26 2016-03-07 현대자동차주식회사 Method and apparatus for providing time synchronization in in-vehicle Ethernet communication
KR102361920B1 (en) * 2016-02-26 2022-02-10 현대자동차주식회사 Method for time synchronization of domain based on time information of vehicle
JP6820586B2 (en) * 2016-08-31 2021-01-27 株式会社メディアリンクス Time synchronization system
KR102223563B1 (en) * 2016-09-23 2021-03-04 애플 인크. Network timing synchronization
DE102017219209A1 (en) 2017-10-26 2019-05-02 Continental Automotive Gmbh Method for detecting a faulty time stamp of an Ethernet message and control unit for a motor vehicle
US11233594B2 (en) * 2017-12-19 2022-01-25 Qualcomm Incorporated Time synchronization for wireless communications

Similar Documents

Publication Publication Date Title
JP6690758B2 (en) Communication system, management node, normal node, counter synchronization method, count value distribution method, count value initialization method, program, recording medium
EP2080300B1 (en) Network and method for setting a time-base of a node in the network
US10897710B2 (en) Disjoint security in wireless networks with multiple managers or access points
WO2016004644A1 (en) Method and apparatus for monitoring ethernet clock synchronization
CA2447821A1 (en) Synchronization of database data
JP2018529292A (en) Network node
WO2009071029A1 (en) Synchronization system and method of time information and related equipment
JP6452427B2 (en) Time synchronization monitoring method, communication system, and master device
JP2007529163A (en) Network node
US10104657B2 (en) Communication system, wireless communication apparatus, and wireless communication method
CN104092528A (en) Clock synchronization method and device
US20230006751A1 (en) Method for securing the time synchronization of an ethernet on-board network
CN104243079A (en) Microsecond clock synchronization method for real-time Ethernet
US20100195565A1 (en) Apparatus and method for timing synchronization in a communication system
JP5509914B2 (en) Information communication system and time synchronization method
JP2001358766A (en) System and method for packet communication and computer readable recording medium with program for making computer perform the method recorded thereon
CN107070573A (en) Monitor the clock synchronous regime in the network based on Ethernet
JP2012520591A (en) Method for synchronizing clocks by separately transmitting first data and second data by at least one timing distribution protocol, and related systems and modules
CN110601786B (en) Time synchronization method, relay equipment and device
JPWO2021123040A5 (en)
JP2012114815A (en) Phase synchronization device and phase synchronization method
KR101361061B1 (en) Method for transmitting effectively information in server/client network and server/client apparatus using the same
JP2014032055A (en) Communication system
CN102404104A (en) Self-adaptive synchronizing method and system based on different time delay mechanisms
JP2017147695A (en) Ethernet switch device