A method and apparatus for time-triggered network synchronization priority reconfiguration

CN122969980APending Publication Date: 2026-10-23XIAN FLIGHT SELF CONTROL INST OF AVIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510487055.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2026-10-23

AI Technical Summary

Technical Problem

同时,支持不同优先级的网络节点混合组网运行,但在实际应用中,当节点同步完好性正常时,不同优先级的网络节点,在某一特定优先级网络环境下保持同步运行;当节点同步完好性故障时,因时钟同步算法执行同步恢复,存在瞬态失步风险以及优先级切换鲁棒性等实现问题

Benefits of technology

[0031]提出一种时间触发网络同步优先级重构方法,时间触发网络实现同步运行后,网络节点周期地接收并缓存不同优先级的PCF,用于进行网络同步(步骤1);时间触发网络中的网络节点,针对所接收的不同优先级的PCF,分别进行同步前处理,并识别不同优先级同步完好性(步骤2);网络根据PCF接收情况,以及所识别不同优先级同步完好性,判断是否需要对同步优先级进行重构,生成网络同步优先级(步骤3);时间触发网络中的网络节点,根据网络同步优先级,设置节点当前优先级(步骤4);时间触发网络中的网络节点,通过时间触发网络规定的时钟同步算法,根据节点当前优先级进行网络同步(步骤5)。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122969980A_ABST
    Figure CN122969980A_ABST
Patent Text Reader

Abstract

The application provides a time-triggered network synchronization priority reconstruction method and device, comprising the following steps: 1, after the time-triggered network is implemented to run synchronously, the network nodes in the time-triggered network periodically receive and buffer PCFs of different priorities for network synchronization; 2, the network nodes respectively perform pre-synchronization processing on the PCFs of different priorities and identify the synchronization integrity of the PCFs of different priorities; 3, the network nodes judge whether the synchronization priority needs to be reconstructed according to the PCF receiving condition and the synchronization integrity of the PCFs of different priorities and generate network synchronization priority; 4, the network nodes set the current priority of the nodes according to the network synchronization priority; and 5, the network nodes perform network synchronization according to the current priority of the nodes through a clock synchronization algorithm defined by the time-triggered network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention pertains to time-triggered network fault reconstruction technology, and proposes a method and apparatus for time-triggered network synchronization priority reconstruction. Background Technology

[0002] Network nodes in a time-triggered network include end nodes and switches. Network nodes share network node clock information by periodically transmitting PCF (Programmable Clock Function). Through a masterless negotiation mechanism, a unified network clock is established, enabling network nodes to operate synchronously. Based on the same clock synchronization algorithm, synchronization nodes maintain synchronized operation. Simultaneously, by combining the information carried by the PCF, the integrity of node synchronization is monitored in real time. When a synchronization integrity failure is detected, the node possesses synchronization self-recovery capabilities and a certain degree of fault isolation capability.

[0003] Time-triggered networks support configuring network node synchronization priorities. Synchronization priority represents the difference in priority among network nodes participating in time-triggered network synchronization; higher-priority network nodes are given priority as clock information providers and participate in network synchronization. Simultaneously, it supports mixed network operation of network nodes with different priorities. However, in practical applications, when node synchronization is intact, network nodes of different priorities maintain synchronized operation in a specific priority network environment. When node synchronization fails, the clock synchronization algorithm's synchronization recovery process presents implementation issues such as transient loss of synchronization risk and the robustness of priority switching. Summary of the Invention

[0004] This invention proposes a time-triggered network synchronization priority reconstruction method, which can accurately determine the synchronization priority status and priority adjustment needs of network nodes when a time-triggered network with multiple priority network nodes is running. By designing a network node priority management strategy, it solves the transient problem of priority switching when the synchronization integrity of network nodes fails, as well as the priority recovery problem after the network failure is recovered, and realizes the reconstruction of network node synchronization priority.

[0005] The technical solution of this invention is:

[0006] Firstly, this application provides a time-triggered network synchronization priority reconfiguration method, including:

[0007] Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization.

[0008] Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities.

[0009] Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority.

[0010] Step 4: The network node sets its current priority according to the network synchronization priority.

[0011] Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

[0012] Furthermore, the network nodes perform pre-synchronization processing for PCFs of different priorities, including:

[0013] Using the clock synchronization algorithm specified by the time-triggered network, before the PCF participates in the synchronization clock calculation and clock calibration of the end nodes, the PCF undergoes a process including hardening and compression, ultimately generating time deviation information for clock calibration.

[0014] Furthermore, network nodes identify synchronization integrity at different priorities, including:

[0015] If the sum of the number of network end nodes in all PCFs of each synchronization priority is greater than or equal to the minimum threshold for the number of network synchronization members, then the synchronization integrity of that priority PCF is normal; otherwise, the synchronization integrity of that priority PCF is faulty.

[0016] Furthermore, step 3 includes:

[0017] Step 31: The network node sorts the received PCFs of different priorities from high to low, and performs synchronization integrity checks on them sequentially.

[0018] Step 32: If the current PCF synchronization integrity is judged to be normal, then no synchronization priority reconstruction is performed, and the network synchronization priority is the current PCF priority.

[0019] If the current PCF synchronization integrity is determined to be faulty, the synchronization priority is reconstructed, and step 31 is repeated according to the PCF priority order until the network synchronization priority is obtained.

[0020] If no PCF or all priority PCFs are received, the synchronization integrity is considered a fault. The network synchronization priority is the node's preset priority.

[0021] Furthermore, the method for setting the current priority of a node is as follows:

[0022] If the node's preset priority is lower than the network synchronization priority, set the node's current priority to the network synchronization priority.

[0023] If the node's preset priority is not lower than the network synchronization priority, set the node's current priority to the node's preset priority.

[0024] Furthermore, during the time-triggered network synchronization operation, each network node in the time-triggered network maintains three parameters related to synchronization priority locally: the node's preset priority, the node's current priority, and the network priority.

[0025] The node's preset priority is the offline configuration constant before the network is triggered by time.

[0026] The current priority of a node and the network priority are dynamically updated over time, triggering the network's operation.

[0027] After the time-triggered network achieves synchronous operation, the priority of the PCF transmitted in the network is the preset priority of the node that generated the corresponding PCF.

[0028] Furthermore, when the time-triggered network performs network synchronization, the network node only responds to PCFs with the same priority as the current priority. The response includes: the end node can only send PCFs with the node's preset priority; the network node only performs pre-synchronization processing on PCFs with the node's preset priority.

[0029] Secondly, this application provides a time-triggered network synchronization priority reconstruction device, characterized in that the device is used to implement the above-mentioned time-triggered network synchronization priority reconstruction method.

[0030] Technical effects of the present invention:

[0031] A time-triggered network synchronization priority reconstruction method is proposed. After the time-triggered network achieves synchronized operation, network nodes periodically receive and cache PCFs of different priorities for network synchronization (step 1). Network nodes in the time-triggered network perform pre-synchronization processing on the received PCFs of different priorities and identify the synchronization integrity of different priorities (step 2). Based on the PCF reception status and the identified synchronization integrity of different priorities, the network determines whether the synchronization priority needs to be reconstructed and generates a network synchronization priority (step 3). Network nodes in the time-triggered network set their current priority according to the network synchronization priority (step 4). Network nodes in the time-triggered network perform network synchronization according to their current priority using the clock synchronization algorithm specified by the time-triggered network (step 5). Attached Figure Description

[0032] Figure 1 This is a schematic diagram of a time-triggered network synchronization priority reconstruction method provided in this application.

[0033] Figure 2This is a typical time-triggered network architecture diagram used in Embodiments 1, 2, and 3 of the present invention.

[0034] Figure 3 This is a schematic diagram showing the final state of the network and the current priority of nodes after applying the present invention in Embodiment 1.

[0035] Figure 4 This is a schematic diagram showing the final state of the network and the current priority of nodes after applying the present invention in Embodiment 2.

[0036] Figure 5 This is a schematic diagram showing the final state of the network and the current priority of nodes after applying the present invention in Embodiment 3. Detailed Implementation

[0037] like Figure 1 As shown, this application provides a time-triggered network synchronization priority reconfiguration method, including:

[0038] Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization.

[0039] In a time-triggered network, network nodes include switches and end nodes.

[0040] Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities.

[0041] It should be noted that different synchronization preprocessing is performed on the received PCFs of different priorities. The execution of the synchronization preprocessing function should be independent of each other, and the same synchronization preprocessing method should be used.

[0042] Specifically, the pre-synchronization processing performed by network nodes for PCFs of different priorities includes:

[0043] Using the clock synchronization algorithm specified by the time-triggered network, before the PCF participates in the synchronization clock calculation and clock calibration of the end nodes, the PCF undergoes a process including hardening and compression, ultimately generating time deviation information for clock calibration.

[0044] Specifically, network nodes identify synchronization integrity at different priorities, including:

[0045] If the sum of the number of network end nodes in all PCFs of each synchronization priority is greater than or equal to the minimum threshold for the number of network synchronization members, then the synchronization integrity of that priority PCF is normal; otherwise, the synchronization integrity of that priority PCF is faulty.

[0046] It should be noted that the minimum network synchronization member number threshold is set according to the number of end nodes required for the network to operate synchronously, and represents the minimum network size required to achieve synchronous operation.

[0047] Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority.

[0048] Specifically, step 3 includes:

[0049] Step 31: The network node sorts the received PCFs of different priorities from high to low, and performs synchronization integrity checks on them sequentially.

[0050] Step 32: If the current PCF synchronization integrity is judged to be normal, then no synchronization priority reconstruction is performed, and the network synchronization priority is the current PCF priority.

[0051] If the current PCF synchronization integrity is determined to be faulty, the synchronization priority is reconstructed, and step 31 is repeated according to the PCF priority order until the network synchronization priority is obtained.

[0052] If no PCF or all priority PCFs are received, the synchronization integrity is considered a fault. The network synchronization priority is the node's preset priority.

[0053] Step 4: The network node sets its current priority according to the network synchronization priority.

[0054] Specifically, the method for setting the current priority of a node is as follows:

[0055] 1) If the node's preset priority is lower than the network synchronization priority, set the node's current priority to the network synchronization priority;

[0056] 2) If the node's preset priority is not lower than the network synchronization priority, set the node's current priority to the node's preset priority.

[0057] Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

[0058] When the time-triggered network synchronization is running, each network node in the time-triggered network maintains three parameters related to synchronization priority locally: the node's preset priority, the node's current priority, and the network priority. Among these:

[0059] 1) The node's preset priority is the offline configuration constant before the network is triggered by time;

[0060] 2) The current priority of the node and the network priority are dynamically updated over time to trigger the operation of the network.

[0061] After the time-triggered network achieves synchronous operation, the priority of the PCF transmitted in the network is the preset priority of the node that generated the corresponding PCF.

[0062] Specifically, when the time-triggered network performs network synchronization, the network node only responds to PCFs with the same priority as the current priority. The response includes: the end node can only send PCFs with the node's preset priority; the network node only performs pre-synchronization processing on PCFs with the node's preset priority.

[0063] This application proposes a time-triggered network synchronization priority reconstruction method, which can accurately determine the network synchronization priority status and priority adjustment requirements when a time-triggered network with multiple priority network nodes is running. By designing a network node priority management strategy, it solves the transient problem of priority switching when node synchronization integrity fails, as well as the priority recovery problem after network failure recovery, and realizes network synchronization priority reconstruction.

[0064] Example 1

[0065] For example Figure 2 The invention will be described in detail below, taking the process of reconstructing the synchronization priority after the failure of end node 1 in a typical time-triggered network as an example.

[0066] When the network is fault-free, the current priority of the network node is the highest priority, i.e., priority 1. Based on this, if the end node 1 fails, it will no longer send PCF with priority 1.

[0067] Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization.

[0068] In practice, after the time-triggered network achieves synchronous operation, the network nodes in the time-triggered network receive PCFs of priority 1 and priority 2 respectively, and cache them respectively.

[0069] Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities.

[0070] In practice, pre-synchronization processing is performed separately for PCFs of priority 1 and priority 2:

[0071] 1) If the number of network end nodes participating in priority 1 synchronization is 2 (end node 2 and end node 3), which is not less than the minimum number threshold requirement of 2, then the integrity of priority 1 synchronization is normal.

[0072] 2) If the number of network end nodes participating in priority 2 synchronization is 3 (end node 4, end node 5, end node 6), which is not less than the minimum threshold requirement of 2, then the priority 2 synchronization integrity is normal.

[0073] Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority.

[0074] In practice, the synchronization is sorted according to PCF priority, with priority 1 being higher than priority 2. If the synchronization integrity of priority 1 is deemed normal, no synchronization priority reconstruction is performed, and the network synchronization priority is set to priority 1.

[0075] Step 4: The network node sets its current priority according to the network synchronization priority.

[0076] In practice:

[0077] The preset priority of End Node 1, End Node 2, End Node 3, and Switch 1 is Priority 1, which is no lower than the network synchronization priority (Priority 1). Therefore, the current priority of the above nodes is set to Priority 1.

[0078] End node 4, end node 5, end node 6, and switch 2 have a preset priority of priority 2, which is lower than the network synchronization priority (priority 1). Therefore, the current priority of the above nodes is set to priority 1.

[0079] Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

[0080] In practice, network nodes trigger the network's predefined clock synchronization algorithm based on time, and synchronize the network according to the node's current priority set in step 4. The final state of the network and the current node priorities are as follows: Figure 3 As shown.

[0081] Example 2

[0082] For example Figure 2 The invention will be described in detail below, taking the typical time-triggered network shown as an example, from the network running without faults to the synchronization priority reconstruction process after the failure of end node 1 and end node 2.

[0083] When the network is fault-free, the current priority of the network node is the highest priority, i.e., priority 1. Based on this, if end node 1 and end node 2 fail, neither will send a PCF with priority 1.

[0084] Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization.

[0085] In practice, after the time-triggered network achieves synchronous operation, the network nodes in the time-triggered network receive PCFs of priority 1 and priority 2 respectively, and cache them respectively.

[0086] Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities.

[0087] In practice, pre-synchronization processing is performed separately for PCFs of priority 1 and priority 2:

[0088] 1) If the number of network end nodes participating in priority 1 synchronization is 1 (end node 3), which is lower than the minimum number threshold requirement of 2, then the integrity of priority 1 synchronization is a failure.

[0089] 2) If the number of network end nodes participating in priority 2 synchronization is 3 (end node 4, end node 5, end node 6), which is not less than the minimum threshold requirement of 2, then the priority 2 synchronization integrity is normal.

[0090] Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority.

[0091] In practice, the synchronization is sorted according to PCF priority, i.e., priority 1 is greater than priority 2. First, if the synchronization integrity of priority 1 is determined to be faulty, the synchronization priority is reconstructed; then the determined synchronization priority is lowered, and if the synchronization integrity of priority 2 is determined to be normal, the synchronization priority is not reconstructed, and the network synchronization priority is set to priority 2.

[0092] Step 4: The network node sets its current priority according to the network synchronization priority.

[0093] In practice:

[0094] The preset priority of End Node 1, End Node 2, End Node 3, and Switch 1 is Priority 1, which is not lower than the network synchronization priority (Priority 2). Therefore, the current priority of the above nodes is set to Priority 1.

[0095] The preset priority of end node 4, end node 5, end node 6, and switch 2 is priority 2, which is not lower than the network synchronization priority (priority 2). Therefore, the current priority of the above nodes is set to priority 2.

[0096] Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

[0097] In practice, network nodes trigger the network's clock synchronization algorithm based on time, and synchronize the network according to the node's current priority set in step 4. After the synchronization priority is reconfigured, switch 1 and end node 3, because their current priority is priority 1, will no longer respond to the priority 2 PCF. The final network state and node current priorities are as follows: Figure 4 As shown.

[0098] Example 3

[0099] For example Figure 2 The invention will be described in detail below, taking the typical time-triggered network shown as an example, from the network running without faults to the synchronization priority reconstruction process after the failure of end node 1, end node 2, and end node 3.

[0100] When the network is fault-free, the current priority of the network node is the highest priority, i.e., priority 1. Based on this, if end node 1, end node 2, and end node 3 fail, they will no longer send PCF with priority 1.

[0101] Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization.

[0102] In practice, after the time-triggered network achieves synchronous operation, the network nodes in the time-triggered network receive PCFs of priority 1 and priority 2 respectively, and cache them respectively.

[0103] Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities.

[0104] In practice, pre-synchronization processing is performed on PCFs with priority 2:

[0105] If the number of network end nodes participating in priority 2 synchronization is 3 (end node 4, end node 5, end node 6), which is not less than the minimum threshold requirement of 2, then the priority 2 synchronization integrity is normal.

[0106] Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority.

[0107] In practice, PCF priority is only 2. If the synchronization integrity of priority 2 is determined to be normal, no synchronization priority reconstruction is performed, and the network synchronization priority is set to priority 2.

[0108] Step 4: The network node sets its current priority based on the network synchronization priority.

[0109] In practice:

[0110] The preset priority of End Node 1, End Node 2, End Node 3, and Switch 1 is Priority 1, which is not lower than the network synchronization priority (Priority 2). Therefore, the current priority of the above nodes is set to Priority 1.

[0111] The preset priority of end node 4, end node 5, end node 6, and switch 2 is priority 2, which is not lower than the network synchronization priority (priority 2). Therefore, the current priority of the above nodes is set to priority 2.

[0112] Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

[0113] In practice, network nodes trigger the network's clock synchronization algorithm based on time, and synchronize the network according to the node's current priority set in step 4. After the synchronization priority is reconfigured, switch 1, because its node's current priority is priority 1, no longer responds to the PCF for priority 2. The final state of the network and the node's current priority are as follows: Figure 5 As shown.

Claims

1. A time-triggered network synchronization priority reconfiguration method, characterized in that, include: Step 1: After the time-triggered network achieves synchronized operation, the network nodes in the time-triggered network periodically receive and cache PCFs of different priorities for network synchronization. Step 2: Network nodes perform pre-synchronization processing for PCFs of different priorities and identify the synchronization integrity of PCFs of different priorities. Step 3: Based on the PCF reception status and the synchronization integrity of PCFs with different priorities, the network node determines whether the synchronization priority needs to be reconstructed and generates the network synchronization priority. Step 4: The network node sets its current priority according to the network synchronization priority; Step 5: The network node triggers the clock synchronization algorithm specified by the network through time, and performs network synchronization according to the current priority of the node.

2. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, Network nodes perform pre-synchronization processing for PCFs of different priorities, including: Using the clock synchronization algorithm specified by the time-triggered network, before the PCF participates in the synchronization clock calculation and clock calibration of the end nodes, the PCF undergoes a process including hardening and compression, ultimately generating time deviation information for clock calibration.

3. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, Network nodes identify synchronization integrity at different priorities, including: If the sum of the number of network end nodes in all PCFs of each synchronization priority is greater than or equal to the minimum threshold for the number of network synchronization members, then the synchronization integrity of that priority PCF is normal; otherwise, the synchronization integrity of that priority PCF is faulty.

4. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, Step 3 includes: Step 31: The network node sorts the received PCFs of different priorities from high to low, and performs synchronization integrity checks on them sequentially. Step 32: If the current PCF synchronization integrity is judged to be normal, then no synchronization priority reconstruction is performed, and the network synchronization priority is the current PCF priority. If the current PCF synchronization integrity is determined to be faulty, the synchronization priority is reconstructed, and step 31 is repeated according to the PCF priority order until the network synchronization priority is obtained. If no PCF or all priority PCFs are received, the synchronization integrity is considered a fault. The network synchronization priority is the node's preset priority.

5. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, The method to set the current priority of a node is as follows: If the node's preset priority is lower than the network synchronization priority, set the node's current priority to the network synchronization priority. If the node's preset priority is not lower than the network synchronization priority, set the node's current priority to the node's preset priority.

6. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, When the time-triggered network synchronization is running, each network node in the time-triggered network maintains three parameters related to synchronization priority locally: node preset priority, node current priority, and network priority. The node's preset priority is the offline configuration constant before the network is triggered by time. The node's current priority and network priority are dynamically updated over time, triggering network operation. After the time-triggered network achieves synchronous operation, the priority of the PCF transmitted in the network is the preset priority of the node that generated the corresponding PCF.

7. The time-triggered network synchronization priority reconfiguration method according to claim 1, characterized in that, When time-triggered network synchronization is performed, network nodes only respond to PCFs with the same priority as the current priority. The response includes: end nodes can only send PCFs with the node's preset priority; network nodes only perform pre-synchronization processing on PCFs with the node's preset priority.

8. A time-triggered network synchronization priority reconfiguration device, characterized in that, The device is used to implement the time-triggered network synchronization priority reconstruction method as described in claim 1.