Time-sensitive network synchronization mechanism test system, method, device and medium

Through the time-sensitive network synchronization mechanism test system, the time synchronization accuracy test board and the oscilloscope are used to compare the PPS signal, and the main control board and Ethernet forwarding tools are combined to monitor the synchronization messages to solve the IEEE 802.1AS protocol clock synchronization accuracy test in the vehicle environment. solve the difficult problem, achieve effective evaluation and fault location of vehicle network node clock synchronization, and promote the application of vehicle time-sensitive networks.

CN118740674APending Publication Date: 2024-10-01UNITED AUTOMOTIVE ELECTRONICS SYST
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410959909.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology lacks a time synchronization mechanism testing method for the IEEE 802.1AS protocol in a vehicle environment, which cannot effectively evaluate the clock synchronization accuracy between nodes in the vehicle network, affecting the real-time and certainty of time-sensitive networks.

Method used

Provide a time-sensitive network synchronization mechanism test system, including a time synchronization accuracy test board, an oscilloscope and a host computer. The node under test is connected through multiple PPS signal input ports and output ports. The oscilloscope compares the PPS signals to obtain the clock synchronization accuracy test value. , and monitor the synchronization process interaction messages through the main control board and Ethernet forwarding tool to ensure that the synchronization process complies with the IEEE 802.1AS protocol.

Benefits of technology

It realizes the test of clock synchronization accuracy between any two network nodes, ensuring that the synchronization accuracy complies with the IEEE 802.1AS protocol standard, assists in time-sensitive network design and performance evaluation, quickly locates faulty nodes, and promotes the application of vehicle-mounted time-sensitive network technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740674A_ABST
    Figure CN118740674A_ABST
Patent Text Reader

Abstract

The invention provides a time-sensitive network synchronization mechanism test system and method, electronic equipment and a readable storage medium. The system comprises a time synchronization precision test board card, an oscilloscope and an upper computer, the time synchronization precision test board card comprises a plurality of PPS signal input ports and two PPS signal output ports. The upper computer is configured to control the time synchronization precision test board card to gate PPS signals of two tested nodes belonging to the same tested node group after the multiple tested nodes finish time synchronization; and the oscilloscope is configured to compare the PPS signals of the two tested nodes belonging to the same tested node group so as to obtain a clock synchronization precision test value of the tested node group, and upload the clock synchronization precision test value to the upper computer. According to the invention, the clock synchronization precision between any two network nodes in the to-be-tested time-sensitive network can be tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network testing technology, and in particular to a time-sensitive network synchronization mechanism testing system, method, electronic equipment and readable storage medium. Background Art

[0002] With the development of intelligent and networked automobiles, the automobile communication architecture is developing towards Ethernet. In order to improve the real-time and reliability of data transmission in traditional Ethernet, time-sensitive networking (TSN) has become the development direction of the next generation of vehicle networks. The deterministic and real-time advantages of TSN are based on precise time synchronization. In the vehicle network, if each sensor, controller, and switch are timed according to the local crystal oscillator, due to the inconsistency of crystal oscillator accuracy, power-on time, and startup time, a certain clock offset will inevitably occur between each node, resulting in different local times for each sensor, controller, and switch in the network. Accurate time synchronization is a prerequisite for the application of certain TSN protocols such as IEEE 802.1Qbv in vehicle networks.

[0003] The protocol used to achieve precise time synchronization in TSN is IEEE 802.1AS. This protocol is the generalized Precise Time Protocol (gPTP), which is based on the IEEE Std 1588 protocol and defines the time synchronization mechanism of the entire network to ensure that the clocks of all nodes in the network are synchronized. The protocol clearly points out the requirements for the synchronization accuracy of nodes in the network. Therefore, it is of great significance to test and evaluate the implementation of the synchronization mechanism of network nodes in the networking situation.

[0004] However, the existing technology for testing the IEEE 802.1AS protocol suitable for vehicle environments mainly focuses on using a tester to test the time synchronization performance of a single TSN switch device and verify the protocol consistency, but does not propose a test method for the implementation of the time synchronization mechanism of TSN network nodes in actual networking conditions.

[0005] It should be noted that the information disclosed in the background technology section of the invention is only intended to deepen the understanding of the general background technology of the invention, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0006] The object of the present invention is to provide a time-sensitive network synchronization mechanism testing system, method, electronic device and readable storage medium, which can realize the test of the clock synchronization accuracy between any two network nodes in the time-sensitive network to be tested.

[0007] To achieve the above-mentioned object, the present invention provides a time-sensitive network synchronization mechanism test system, comprising a time synchronization accuracy test board, an oscilloscope and a host computer, wherein the time synchronization accuracy test board and the oscilloscope are both communicatively connected to the host computer; the time synchronization accuracy test board comprises a plurality of PPS signal input ports and two PPS signal output ports, the plurality of PPS signal input ports are configured to be connected one-to-one with a plurality of tested nodes in a time-sensitive network to be tested, and the two PPS signal output ports are configured to be connected one-to-one with two input ends of the oscilloscope; the host computer is configured to control the time synchronization accuracy test board to select the PPS signals of two tested nodes belonging to the same tested node group after the plurality of tested nodes complete time synchronization; the oscilloscope is configured to compare the PPS signals of the two tested nodes belonging to the same tested node group to obtain a clock synchronization accuracy test value of the tested node group, and upload the clock synchronization accuracy test value to the host computer.

[0008] Optionally, the time synchronization accuracy test board includes two relay groups, the two relay groups are connected to the two PPS signal output ports in a one-to-one correspondence, and the two relay groups are both connected to the multiple PPS signal input ports.

[0009] Optionally, the time-sensitive network synchronization mechanism test system further includes a reset control board communicatively connected to the host computer, and the reset control board is configured to perform a reset operation on the multiple nodes under test under the control of the host computer.

[0010] Optionally, the host computer is configured to control the time synchronization accuracy test board to perform multiple selections on the PPS signals of two tested nodes belonging to the same tested node group; the oscilloscope is configured to perform multiple comparisons on the PPS signals of two tested nodes belonging to the same tested node group to obtain multiple clock synchronization accuracy test values ​​of the tested node group; the host computer is configured to determine that the tested node group has passed the clock synchronization accuracy test when the multiple clock synchronization accuracy test values ​​of the tested node group are all less than a preset clock synchronization accuracy threshold.

[0011] Optionally, the time-sensitive network synchronization mechanism test system also includes a main control board, an Ethernet forwarding tool and multiple listening nodes, and the main control board is communicatively connected to the host computer through the Ethernet forwarding tool; each of the listening nodes is respectively connected in series between two of the nodes under test to form a link respectively; the main control board includes multiple listening interfaces, and the multiple listening interfaces are connected one-to-one with the multiple listening nodes, and the main control board is configured to control the mapping relationship between the listening nodes and the listening interfaces and the Ethernet ports of the Ethernet forwarding tool; the Ethernet forwarding tool is configured to enter the link under test in series from the corresponding listening node through the main control board to obtain the synchronization process interaction message passing through the link under test and upload it to the host computer; the host computer is configured to parse and detect the synchronization process interaction message to obtain the synchronization process interaction message test result of the link under test.

[0012] Optionally, the host computer is configured to detect the sending period, sending order and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message.

[0013] Optionally, the time-sensitive network synchronization mechanism test system also includes a test board, which is communicatively connected to the host computer via the Ethernet forwarding tool, and the time synchronization accuracy test board and the main control board are both communicatively connected to the test board.

[0014] To achieve the above object, the present invention also provides a time-sensitive network synchronization mechanism testing method, comprising:

[0015] Initialize and configure multiple nodes under test in the time-sensitive network under test;

[0016] Configuring a preset time synchronization protocol for the multiple nodes under test, and controlling the multiple nodes under test to perform time synchronization according to the preset time synchronization protocol;

[0017] After the multiple nodes under test complete time synchronization, control the time synchronization accuracy test board to gate the PPS signals of two nodes under test belonging to the same node under test group;

[0018] The oscilloscope is controlled to compare the PPS signals of two nodes under test belonging to the same node under test group to obtain a clock synchronization accuracy test value of the node under test group.

[0019] Optionally, the initializing configuration of multiple nodes under test in the time-sensitive network under test includes:

[0020] The control reset control board performs a reset operation on a plurality of nodes under test in the time-sensitive network under test.

[0021] Optionally, in the process of controlling the multiple measured nodes to perform time synchronization according to the preset time synchronization protocol, the method further includes:

[0022] Control the main control board to connect the Ethernet forwarding tool from the corresponding monitoring node in series to the tested link composed of two tested nodes;

[0023] Receiving a synchronization process interaction message passed on the tested link acquired by the Ethernet forwarding tool;

[0024] The synchronization process interaction message is parsed and detected to obtain the synchronization process interaction message test result of the tested link.

[0025] Optionally, the detecting the synchronization process interaction message includes:

[0026] The sending period, sending sequence and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message are detected.

[0027] To achieve the above object, the present invention also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the time-sensitive network synchronization mechanism testing method described above is implemented.

[0028] To achieve the above object, the present invention further provides a readable storage medium, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the time-sensitive network synchronization mechanism testing method described above is implemented.

[0029] Compared with the prior art, the time-sensitive network synchronization mechanism test system, method, electronic device and readable storage medium provided by the present invention have the following beneficial effects:

[0030] The time-sensitive network synchronization mechanism test system provided by the present invention comprises a time synchronization accuracy test board, an oscilloscope and a host computer, wherein the time synchronization accuracy test board and the oscilloscope are both communicatively connected to the host computer; the time synchronization accuracy test board comprises a plurality of PPS signal input ports and two PPS signal output ports, the plurality of PPS signal input ports are configured to be connected to a plurality of tested nodes in a time-sensitive network to be tested in a one-to-one correspondence, and the two PPS signal output ports are configured to be connected to two input ends of the oscilloscope in a one-to-one correspondence; the host computer is configured to control the time synchronization accuracy test board to select the PPS signals of two tested nodes belonging to the same tested node group after the plurality of tested nodes complete time synchronization; the oscilloscope is configured to compare the PPS signals of the two tested nodes belonging to the same tested node group to obtain a clock synchronization accuracy test value of the tested node group, and upload the clock synchronization accuracy test value to the host computer. Therefore, by adopting the time-sensitive network synchronization mechanism test system provided by the present invention, after the time-sensitive network to be tested completes time synchronization, the self-time signals of any two tested nodes can be input into the oscilloscope in the form of second pulses through the time synchronization accuracy test board. By comparing the phase difference of the self-time signals (PPS signals) of the two on the oscilloscope, the clock synchronization accuracy between the two tested nodes can be obtained, so that it can be tested whether the clock synchronization accuracy between the two tested nodes meets the preset time synchronization protocol (IEEE802.1AS protocol) standard, which can help to assist the design of the time-sensitive network and realize the performance evaluation and verification of the network, promote the practical application of vehicle-mounted time-sensitive network technology, and accelerate the implementation of vehicle-mounted time-sensitive network applications. In addition, when the network has problems such as synchronization failure, the time-sensitive network synchronization mechanism test system provided by the present invention can quickly locate the specific faulty network node, so as to troubleshoot the problem, thereby ensuring that the application of other time-sensitive network protocol mechanisms such as IEEE 802.1Qbv time-sharing scheduling mechanism is realized on the basis of accurate time synchronization.

[0031] Since the time-sensitive network synchronization mechanism test method provided by the present invention and the time-sensitive network synchronization mechanism test system provided by the present invention belong to the same inventive concept, the time-sensitive network synchronization mechanism test method provided by the present invention at least has the beneficial effects of the time-sensitive network synchronization mechanism test system provided by the present invention. Furthermore, since the electronic device and the readable storage medium provided by the present invention and the time-sensitive network synchronization mechanism test method provided by the present invention belong to the same inventive concept, the electronic device and the readable storage medium provided by the present invention also have the beneficial effects of the time-sensitive network synchronization mechanism test system provided by the present invention. Therefore, for the beneficial effects of the time-sensitive network synchronization mechanism test method, the electronic device and the readable storage medium provided by the present invention, reference can be made to the relevant description of the beneficial effects of the time-sensitive network synchronization mechanism test system provided by the present invention in the above text, and they will not be repeated here one by one. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of the block structure of a time-sensitive network synchronization mechanism testing system provided by one embodiment of the present invention;

[0033] Figure 2 A schematic diagram of a clock synchronization accuracy test system for a time-sensitive network synchronization mechanism test system provided by an embodiment of the present invention;

[0034] Figure 3 A schematic diagram of the working principle of a reset control board provided in one embodiment of the present invention;

[0035] Figure 4 A schematic diagram of a clock synchronization accuracy test flow of a time-sensitive network synchronization mechanism test system provided by an embodiment of the present invention;

[0036] Figure 5 A schematic diagram of a synchronization process interaction message test of a time-sensitive network synchronization mechanism test system provided in one embodiment of the present invention;

[0037] Figure 6 A schematic diagram of a synchronization process interaction message test flow of a time-sensitive network synchronization mechanism test system provided in one embodiment of the present invention;

[0038] Figure 7 A schematic diagram of a flow chart of a method for testing a time-sensitive network synchronization mechanism provided by an embodiment of the present invention;

[0039] Figure 8 A schematic diagram of the block structure of an electronic device provided in one embodiment of the present invention.

[0040] The reference numerals are as follows:

[0041] Time synchronization accuracy test board-110; oscilloscope-120; probe-121, 122; host computer-130; PPS signal input port-IN1~IN-8; PPS signal output port-PPS1, PPS2; relay group-111, 112; reset control board-140; main control board-150; monitoring interface-SUB1~SUB12; output port-CANoe1~CANoe6; Ethernet forwarding tool-160; Ethernet interface-EHT Port3~EHT Port8; test board-170;

[0042] Processor-210; communication interface-220; memory-230; communication bus-240. DETAILED DESCRIPTION

[0043] The following is a further detailed description of the time-sensitive network synchronization mechanism test system, method, electronic device and readable storage medium proposed in the present invention in combination with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose provided by the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention. Any structural modification, change in proportional relationship or adjustment of size, under the condition that the effects and purposes that can be achieved by the present invention are the same or similar, should still fall within the scope of the technical content disclosed by the present invention.

[0044] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The singular forms "a", "an" and "the" include plural objects, the term "or" is generally used in a sense including "and / or", the term "several" is generally used in a sense including "at least one", and the term "at least two" is generally used in a sense including "two or more". In addition, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be understood as indicating or suggesting relative importance or implicitly indicating the number of the indicated technical features.

[0045] In addition, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0046] The core idea of ​​the present invention is to provide a time-sensitive network synchronization mechanism test system, method, electronic device and readable storage medium, which can realize the test of the clock synchronization accuracy between any two network nodes in the time-sensitive network to be tested.

[0047] It should be noted that the time-sensitive network synchronization mechanism testing method provided by the present invention can be applied to the time-sensitive network synchronization mechanism testing system and electronic equipment provided by the present invention, wherein the electronic device can be a personal computer, a mobile terminal, etc., the mobile terminal can be a mobile phone, a tablet computer, and other hardware devices with various operating systems, and the electronic device can be used as a host computer in the time-sensitive network synchronization mechanism testing system provided by the present invention.

[0048] To realize the above idea, the present invention provides a time-sensitive network synchronization mechanism test system, please refer to Figure 1 and Figure 2 ,in, Figure 1 A schematic diagram of the block structure of a time-sensitive network synchronization mechanism testing system provided by one embodiment of the present invention; Figure 2 This is a schematic diagram of the clock synchronization accuracy test principle of a time-sensitive network synchronization mechanism test system provided by one embodiment of the present invention. Figure 1 and Figure 2 As shown, the time-sensitive network synchronization mechanism test system provided by the present invention includes a time synchronization accuracy test board 110, an oscilloscope 120 and a host computer 130, wherein the time synchronization accuracy test board 110 and the oscilloscope 120 are both communicatively connected to the host computer 130; the time synchronization accuracy test board 110 includes a plurality of PPS signal input ports IN-1 to IN-8 and two PPS signal output ports PPS1 and PPS2, wherein the plurality of PPS signal input ports IN-1 to IN-8 are configured to be connected one-to-one with a plurality of nodes under test in the time-sensitive network to be tested, and the two PPS signal output ports PPS1 and PPS2 are configured to be connected with two input ports (i.e., Figure 2 The probes 121 and 122 in the test board are connected one by one; the host computer 130 is configured to control the time synchronization accuracy test board 110 to select the PPS signals of two tested nodes belonging to the same tested node group after the multiple tested nodes complete time synchronization; the oscilloscope 120 is configured to compare the PPS signals of two tested nodes belonging to the same tested node group to obtain the clock synchronization accuracy test value of the tested node group, and upload the clock synchronization accuracy test value to the host computer 130.

[0049] Therefore, by adopting the time-sensitive network synchronization mechanism test system provided by the present invention, after the time-sensitive network to be tested completes time synchronization, the time signals of any two tested nodes can be input into the oscilloscope 120 in the form of second pulses (PPS signals) through the time synchronization accuracy test board 110, and the clock synchronization accuracy between the two tested nodes can be obtained by comparing the phase difference of the two self-time signals on the oscilloscope 120, so as to test whether the clock synchronization accuracy between the two tested nodes meets the preset time synchronization protocol (IEEE 802.1AS protocol) standard, and then it can be helpful to assist the design of the time-sensitive network and implement the performance evaluation and verification of the network, promote the practical application of vehicle-mounted time-sensitive network technology, and accelerate the implementation of vehicle-mounted time-sensitive network applications. In addition, when the network has synchronization failure and other problems, the time-sensitive network synchronization mechanism test system provided by the present invention can quickly locate the specific faulty network node, so as to facilitate troubleshooting, thereby ensuring that the application of other time-sensitive network protocol mechanisms such as IEEE 802.1Qbv time-sharing scheduling mechanism is realized on the basis of accurate time synchronization.

[0050] Specifically, the time synchronization accuracy test board 110 receives the command of the host computer 130 and selects the connection between the tested node and the oscilloscope 120, thereby testing the time synchronization accuracy between any two tested nodes. The reset control board 140 also receives the control command of the host computer 130, and performs a reset action on any tested node connected thereto, thereby assisting in realizing the automation of the test. The oscilloscope 120, through the time synchronization accuracy test board 110, tests and compares the PPS signals of any two tested nodes under the control of the host computer 130 to obtain a time synchronization accuracy test value, and uploads it to the host computer 130.

[0051] It should be noted that, as those skilled in the art can understand, one of the multiple tested nodes is a master clock node (GM node), and the remaining tested nodes are slave clock nodes (SM nodes). The master clock node and each slave clock node can be respectively formed into a tested node group for clock synchronization accuracy test. It should also be noted that, as those skilled in the art can understand, the host computer 130 can automatically obtain the screenshot of the oscilloscope 120 and the clock synchronization accuracy test value obtained by each test by calling the .dll file in the test script. In addition, it should be noted that, as those skilled in the art can understand, the time-sensitive network to be tested can add or reduce network nodes (tested nodes) according to the user's own needs, and connect the network nodes (tested nodes) into a specified network topology. It should also be noted that, as those skilled in the art can understand, the host computer 130 can be developed based on the CAPL scripting language, and by calling the API interface provided by Vector, the configuration of the preset time synchronization protocol (such as IEEE 802.1AS) of the entire time-sensitive network to be tested and the output management of the test report and other functions can be realized.

[0052] Please continue to refer to Figure 2 ,like Figure 2 As shown, in some exemplary embodiments, the time synchronization accuracy test board 110 includes two relay groups 111 and 112, and the two relay groups 111 and 112 are connected to the two PPS signal output ports PPS1 and PPS2 one by one, and the two relay groups 111 and 112 are both connected to the multiple PPS signal input ports IN-1 to IN-8. Thus, the multi-channel PPS signals output by the multiple nodes under test are connected to the PPS signal output port PPS1 through the relay group 111, but at most only one PPS signal is allowed to be selected at a time (i.e., at most only one PPS signal is allowed to be transmitted to the PPS signal output port PPS1 at a time, specifically, the time synchronization accuracy test card selects one PPS signal to be transmitted to the PPS signal output port PPS1 under the control of the host computer 130); the multi-channel PPS signals output by the multiple nodes under test are connected to the PPS signal output port PPS2 through the relay group 112, but at most only one PPS signal is allowed to be selected at a time (i.e., at most only one PPS signal is allowed to be transmitted to the PPS signal output port PPS2 at a time, specifically, the time synchronization accuracy test card selects one PPS signal to be transmitted to the PPS signal output port PPS2 under the control of the host computer 130), so that the PPS signals of two nodes under test belonging to the same node group under test can be selected through the two relay groups 111 and 112.

[0053] It should be noted that although Figure 2The time synchronization accuracy test board 110 includes 8 PPS signal input ports IN-1 to IN-8 (PPS signals of 8 nodes under test can be connected to them simultaneously and share a common ground) as an example for explanation. However, as those skilled in the art can understand, this does not constitute a limitation to the present invention. The specific number of PPS signal input ports on the time synchronization accuracy test board 110 can be set according to the number of nodes under test in the time-sensitive network to be tested, as long as the number of PPS signal input ports on the time synchronization accuracy test board 110 is greater than or equal to the number of nodes under test in the time-sensitive network to be tested (that is, as long as each node under test has a PPS signal input port connected to it).

[0054] Please continue to refer to Figure 1 and Figure 2 ,like Figure 1 and Figure 2 As shown, in some exemplary embodiments, the time-sensitive network synchronization mechanism test system provided by the present invention also includes a reset control board 140 that is communicatively connected to the host computer 130, and the reset control board 140 is configured to perform a reset operation on the multiple nodes under test under the control of the host computer 130. Thus, through the reset control board 140, each node under test in the time-sensitive network to be tested can be automatically reset before each test to complete the initialization configuration of the time-sensitive network to be tested, which is more convenient for operation. Specifically, the reset control board 140 can receive a specific CAN message and perform a reset action on any node under test connected thereto.

[0055] Please continue to refer to Figure 3 , which is a schematic diagram of the working principle of the reset control board 140 provided in one embodiment of the present invention. Figure 3 As shown, the reset principle of the reset control board 140 is: through the action of the relay, the rest (reset) port of the chip to be reset (i.e. the node under test) is briefly connected to the GND (ground) port of the chip to be reset (i.e. the node under test) itself to generate a specific low-level signal, thereby completing the external reset. This design can isolate the electrical connection between the chips to be reset (i.e. the nodes under test), avoiding interference and even the risk of current backflow caused by different ground levels and different power supply voltages between chips (i.e. the nodes under test).

[0056] In some exemplary embodiments, the host computer 130 is configured to control the time synchronization accuracy test board 110 to gate the PPS signals of the two tested nodes belonging to the same tested node group multiple times; the oscilloscope 120 is configured to compare the PPS signals of the two tested nodes belonging to the same tested node group multiple times to obtain multiple clock synchronization accuracy test values ​​of the tested node group; the host computer 130 is configured to determine that the tested node group passes the clock synchronization accuracy test when the multiple clock synchronization accuracy test values ​​of the tested node group are all less than the preset clock synchronization accuracy threshold. Thus, by testing the clock synchronization accuracy between the two tested nodes in each tested node group multiple times, and when the test results of each time of the tested node group (i.e., each clock synchronization accuracy test value) are all less than the preset clock synchronization accuracy threshold, it is determined that the tested node group passes the clock synchronization accuracy test, thereby effectively improving the accuracy of the clock synchronization accuracy test. It should be noted that, as can be understood by those skilled in the art, the preset clock synchronization accuracy threshold is determined according to the preset time synchronization protocol (e.g., IEEE 802.1AS protocol) standard.

[0057] Please continue to refer to Figure 4 , which is a schematic diagram of a clock synchronization accuracy test flow of a time-sensitive network synchronization mechanism test system provided by an embodiment of the present invention. Figure 4As shown, the clock synchronization accuracy test process includes: first, the test system is initialized, including initializing the parameters such as the channel parameters, horizontal parameters and trigger parameters of the oscilloscope 120. Then the time-sensitive network to be tested is connected to the test system, and then the network nodes (tested nodes) in the time-sensitive network to be tested are initialized and configured, including resetting all network nodes (tested nodes) in the time-sensitive network to be tested. Then all network nodes (tested nodes) in the time-sensitive network to be tested are configured with a preset time synchronization protocol (such as IEEE 802.1AS protocol). After the time-sensitive network to be tested completes time synchronization, it is determined whether all the tested node groups (each group of tested node groups includes a master clock node and a slave clock node) in the time-sensitive network to be tested have completed traversal. If the traversal is completed, the test ends. If the traversal is not completed, the time synchronization accuracy test card is configured according to the tested node group that has not been traversed, so that the time synchronization accuracy test card selects the PPS signals of the two tested nodes in the corresponding tested node group, thereby performing a clock synchronization accuracy test on the tested node group. Each group of tested nodes is tested m times, and the time interval between two adjacent tests is equal. The specific number of tests and time interval can be set by oneself. Further, the oscilloscope 120 screenshot and the synchronization accuracy test value obtained by each test can be automatically obtained by calling the .dll file in the test script. If each test result is less than the test standard (i.e., the preset clock synchronization accuracy threshold), the test passes, otherwise the test fails.

[0058] Please continue to refer to Figure 1 and Figure 5 ,in, Figure 5 This is a schematic diagram of a synchronization process interaction message test of a time-sensitive network synchronization mechanism test system provided by an embodiment of the present invention. Figure 1 and Figure 5As shown, in some exemplary embodiments, the time-sensitive network synchronization mechanism test system provided by the present invention also includes a main control board 150, an Ethernet forwarding tool 160 and a plurality of monitoring nodes, the main control board 150 is connected to the host computer 130 through the Ethernet forwarding tool 160; each of the monitoring nodes is connected in series between two of the nodes under test to form a link respectively; the main control board 150 includes a plurality of monitoring interfaces, the plurality of monitoring interfaces are connected to the plurality of monitoring nodes in a one-to-one correspondence, and the main control board 150 is configured to control the monitoring nodes and the monitoring interfaces SUB1~SUB12 and the Ethernet ports -EHT Port3~EHT Port3 of the Ethernet forwarding tool 160. The mapping relationship between the host computer 130 and the host computer 130 is as follows: the ... It can be seen that the time-sensitive network synchronization mechanism test system provided by the present invention can, under networking conditions, control the main control board 150 to connect the Ethernet forwarding tool 160 to different links, capture the synchronization process interaction messages during the synchronization process, parse the message content, and analyze whether these messages in the synchronization process comply with the message interaction process specified by the preset time synchronization protocol (such as the IEEE 802.1AS protocol), thereby realizing the test of the synchronization process interaction messages on any link in the time-sensitive network to be tested.

[0059] Specifically, each listening node has two 1000Base-T1 Ethernet interfaces to connect to two Ethernet nodes (tested nodes) in the time-sensitive network being tested, that is, to be connected in series into a link. In addition, each listening node also has a control port for connecting to the main control board 150, for transmitting control signals and messages passing through the tested link. Each listening node has two working states, direct connection mode and monitoring mode. Taking the listening node connected in series between the tested node 1 and the tested node 2 as an example, when the working mode of the listening node is the direct connection mode, the tested node 1 and the tested node 2 will be directly connected inside; when the working mode of the listening node is the monitoring mode, the path of its internal connection can be abstracted as: tested node 1-Ethernet forwarding tool 160-tested node 2, to realize monitoring of the messages passing through the link. Furthermore, the main control board 150 also includes a plurality of output ports CANoe1 to CANoe6 for connecting to the Ethernet forwarding tool 160. The Ethernet forwarding tool 160 is a serial node, and the internal link is configured in link mode. The main control board 150 is serially connected from the monitoring node to the time-sensitive network to be tested, and is used to capture the message passing through any link in the time-sensitive network to be tested. When a link in the time-sensitive network to be tested is monitored for synchronization process interaction messages, the monitoring node works in the monitoring mode, and the corresponding monitoring interface is mapped to a pair of Ethernet ports of the Ethernet forwarding tool 160 through the relay layer inside the main control board 150 to achieve monitoring.

[0060] It should be noted that, as those skilled in the art can understand, the present invention does not limit the specific type of the Ethernet forwarding tool 160, and the Ethernet forwarding tool 160 can be but is not limited to VN560 (vehicle Ethernet hardware interface). It should also be noted that, as those skilled in the art can understand, although Figure 5 The main control board 150 includes 12 monitoring interfaces SUB1~SUB12 (which can support the connection of 12 monitoring nodes at most) as an example for explanation, but as those skilled in the art can understand, this does not constitute a limitation of the present invention, and the specific number of monitoring interfaces on the main control board 150 can be set according to the number of monitoring nodes, as long as the number of monitoring interfaces on the main control board 150 is greater than or equal to the number of monitoring nodes (that is, as long as each monitoring node is guaranteed to have a monitoring interface connected to it). In addition, it should be noted that, as those skilled in the art can understand, a monitoring node can be connected in series between the master clock node and each slave clock node, or a monitoring node can be connected in series between any two adjacent nodes. The specific series connection method can be set according to actual needs, and the present invention does not limit this.

[0061] In some exemplary embodiments, the host computer 130 is configured to detect the sending period, sending order and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message. Specifically, the synchronization message includes the Sync message and the Follow_Up message, and the delay measurement message includes the Pdelay_Req message, the Pdelay_Resp message and the Pdelay_Resp_Follow_Up message. Among them, the message fields that need to be detected in the synchronization message include: detecting whether the domainNumber (domain address) is consistent with the target value, detecting whether the correctionField (correction field) is normal, detecting whether the sequenceId (sequence number) is incremented and whether the sequence number of the Sync message and the sequence number of the Follow_Up message during the synchronization process are consistent, and detecting whether the logMessagePeriod (message period) is consistent with the message sending period. The message fields that need to be detected in the delay measurement message include: checking whether the domainNumber (domain address) is consistent with the target value, whether the correctionField (correction field) is normal, whether the sequenceId (sequence number) is incremented, whether the sequence numbers of the three frames of messages (Pdelay_Req message, Pdelay_Resp message, and Pdelay_Resp_Follow_Up message) during the synchronization process are consistent, and whether the logMessagePeriod (message period) is consistent with the message sending period.

[0062] Furthermore, CANoe can be used to parse and detect messages. CANoe provides an event handler onethernetPacket ethernetPort:: <channelname> :: <portname>*, can be used to monitor the packets passing through the specified link. For the captured packets, the keyword this can be used to call, and the event handler will also record the timestamp when it is triggered.

[0063] Please continue to refer to Figure 6 , which is a schematic diagram of the synchronization process interaction message test flow of the time-sensitive network synchronization mechanism test system provided by one embodiment of the present invention. Figure 6 As shown, the synchronization process interaction message test process includes: first, the test system and the time-sensitive network to be tested are initialized and a preset time synchronization protocol (such as IEEE 802.1AS protocol) is configured. Then, the link to be monitored in the time-sensitive network to be tested is selected through the main control board 150, and the AS message (synchronization process interaction message) passing through the link is continuously monitored, and the message is parsed through CANoe, the key fields of the message are read, and the sending cycle of the Sync message and the Pdelay_Req message is recorded, and the sending order and message fields of the synchronization message and the delay measurement message are judged to be correct. If correct, the test passes, and if incorrect, the test fails.

[0064] Please continue to refer to Figure 1 ,like Figure 1 As shown, in some exemplary embodiments, the time-sensitive network synchronization mechanism test system provided by the present invention further includes a test board 170, the test board 170 is communicatively connected to the host computer 130 through the Ethernet forwarding tool 160, and the time synchronization accuracy test board 110, the reset control board 140 and the main control board 150 are all communicatively connected to the test board 170. Specifically, the test board 170 has a CAN interface, and can send CAN messages according to the instructions of the host computer 130 to realize the control of the main control board 150, the time synchronization accuracy test board 110 and the reset control board 140, so as to meet the requirements of automated testing.

[0065] Based on the same inventive concept, the present invention provides a time-sensitive network synchronization mechanism testing method, which is applied to the time-sensitive network synchronization mechanism testing system described above. Figure 7 , which is a flow chart of a method for testing a time-sensitive network synchronization mechanism provided by an embodiment of the present invention. Figure 7 As shown, the time-sensitive network synchronization mechanism testing method provided by the present invention includes the following steps:

[0066] Step S100: Initialize and configure multiple nodes under test in a time-sensitive network under test.

[0067] Step S200: configure a preset time synchronization protocol for the multiple nodes under test, and control the multiple nodes under test to perform time synchronization according to the preset time synchronization protocol.

[0068] Step S300: After the multiple nodes under test complete time synchronization, control the time synchronization accuracy test board 110 to select the PPS signals of two nodes under test belonging to the same node under test group.

[0069] Step S400 : Control the oscilloscope 120 to compare the PPS signals of two nodes under test belonging to the same node under test group to obtain a clock synchronization accuracy test value of the node under test group.

[0070] It can be seen that the time-sensitive network synchronization mechanism testing method provided by the present invention can input the self-time signals of any two nodes under test in the form of second pulses into the oscilloscope 120 by using the time synchronization accuracy test board 110 after the time-sensitive network under test completes the time synchronization. By comparing the phase difference of their own time signals (PPS signals) on the oscilloscope 120, the clock synchronization accuracy between the two nodes under test can be obtained, thereby testing whether the clock synchronization accuracy between the two nodes under test meets the preset time synchronization protocol (IEEE 802.1AS protocol) standard.

[0071] In some exemplary implementations, in the process of controlling the multiple nodes under test to perform time synchronization according to the preset time synchronization protocol, the time-sensitive network synchronization mechanism testing method provided by the present invention further includes:

[0072] Control the main control board 150 to connect the Ethernet forwarding tool 160 from the corresponding monitoring node in series to the tested link composed of two tested nodes;

[0073] Receiving the synchronization process interaction message passed on the tested link obtained by the Ethernet forwarding tool 160;

[0074] The synchronization process interaction message is parsed and detected to obtain the synchronization process interaction message test result of the tested link.

[0075] In some exemplary implementations, the detecting the synchronization process interaction message includes:

[0076] The sending period, sending sequence and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message are detected.

[0077] Based on the same inventive concept, the present invention also provides an electronic device, please refer to Figure 8 , which is a schematic diagram of a block structure of an electronic device provided by an embodiment of the present invention. Figure 8 As shown, the electronic device provided by the present invention includes a processor 210 and a memory 230, and a computer program is stored on the memory 230. When the computer program is executed by the processor 210, the time-sensitive network synchronization mechanism test method described above is implemented. Since the electronic device provided by the present invention and the time-sensitive network synchronization mechanism test method provided by the present invention belong to the same inventive concept, the electronic device provided by the present invention at least has all the beneficial effects of the time-sensitive network synchronization mechanism test method provided by the present invention. For details, please refer to the relevant description above, so the beneficial effects of the electronic device provided by the present invention will not be repeated here.

[0078] like Figure 8 As shown, the electronic device provided by the present invention also includes a communication interface 220 and a communication bus 240, wherein the processor 210, the communication interface 220, and the memory 230 communicate with each other through the communication bus 240. The communication bus 240 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 240 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface 220 is used for communication between the above-mentioned electronic device and other devices.

[0079] The processor 210 referred to in the present invention may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 210 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0080] The memory 230 can be used to store the computer program, and the processor 210 implements various functions of the electronic device by running or executing the computer program stored in the memory 230 and calling the data stored in the memory 230. The memory 230 may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable memory (PROM), electrically programmable memory (EPROM), electrically erasable programmable memory (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, random access memory is available in a variety of forms, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous random access memory (SDRAM), double data rate synchronous random access memory (DDRSDRAM), enhanced synchronous random access memory (ESDRAM), synchronous link (Synchlink) dynamic random access memory (SLDRAM), memory bus (Rambus) direct random access memory (RDRAM), direct memory bus dynamic random access memory (DRDRAM), and memory bus dynamic random access memory (RDRAM), etc.

[0081] The present invention also provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the time-sensitive network synchronization mechanism test method described above can be implemented. Since the readable storage medium provided by the present invention and the time-sensitive network synchronization mechanism test method provided by the present invention belong to the same inventive concept, the readable storage medium provided by the present invention at least has all the beneficial effects of the time-sensitive network synchronization mechanism test method provided by the present invention. For details, please refer to the relevant description above, so the beneficial effects of the readable storage medium provided by the present invention will not be repeated here.

[0082] The readable storage medium provided by the present invention can adopt any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared or semiconductor, or any combination of the above. More specific examples (non-exhaustive enumeration) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer hard disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this article, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0083] Further, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0084] In summary, compared with the prior art, the time-sensitive network synchronization mechanism test system, method, electronic device and readable storage medium provided by the present invention have the following beneficial effects:

[0085] (1) After the time-sensitive network to be tested completes time synchronization, the present invention uses the time synchronization accuracy test board 110 to input the self-time signals of any two nodes under test into the oscilloscope 120 in the form of second pulses. By comparing the phase difference of the self-time signals (PPS signals) of the two nodes on the oscilloscope 120, the clock synchronization accuracy between the two nodes under test can be obtained, thereby testing whether the clock synchronization accuracy between the two nodes under test meets the preset time synchronization protocol (IEEE 802.1AS protocol) standard, which can help to assist the design of the time-sensitive network and implement the performance evaluation and verification of the network, promote the practical application of the vehicle-mounted time-sensitive network technology, and accelerate the implementation of the vehicle-mounted time-sensitive network application.

[0086] (2) When problems such as synchronization failure occur in the network, the time-sensitive network synchronization mechanism test system provided by the present invention can quickly locate the specific faulty network node to facilitate troubleshooting, thereby ensuring that other time-sensitive network protocol mechanisms such as the IEEE 802.1Qbv time-sharing scheduling mechanism can be applied on the basis of accurate time synchronization.

[0087] It should be noted that the computer program code for performing the operation of the present invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional procedural programming languages-such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network-including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0088] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0089] It should also be noted that the above description is only a description of the preferred embodiment of the present invention, and is not any limitation on the scope of the present invention. Any changes and modifications made by a person skilled in the art in the field of the present invention based on the above disclosure are within the scope of protection of the present invention. Obviously, a person skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations fall within the scope of the present invention and its equivalents, the present invention is also intended to include these modifications and variations.< / portname> < / channelname>

Claims

1. A time-sensitive network synchronization mechanism testing system, characterized in that: It includes a time synchronization accuracy test board, an oscilloscope and a host computer, wherein the time synchronization accuracy test board and the oscilloscope are both communicatively connected with the host computer; The time synchronization accuracy test board includes a plurality of PPS signal input ports and two PPS signal output ports, wherein the plurality of PPS signal input ports are configured to be connected to a plurality of nodes under test in a time-sensitive network to be tested in a one-to-one correspondence, and the two PPS signal output ports are configured to be connected to two input terminals of the oscilloscope in a one-to-one correspondence; The host computer is configured to control the time synchronization accuracy test board to gate the PPS signals of two nodes under test belonging to the same node under test group after the multiple nodes under test complete time synchronization; The oscilloscope is configured to compare the PPS signals of two tested nodes belonging to the same tested node group to obtain a clock synchronization accuracy test value of the tested node group, and upload the clock synchronization accuracy test value to the host computer.

2. The time-sensitive network synchronization mechanism testing system according to claim 1, characterized in that: The time synchronization accuracy test board includes two relay groups, the two relay groups are connected to the two PPS signal output ports in a one-to-one correspondence, and the two relay groups are both connected to the multiple PPS signal input ports.

3. The time-sensitive network synchronization mechanism testing system according to claim 1, characterized in that: It also includes a reset control board connected to the host computer for communication, and the reset control board is configured to perform a reset operation on the multiple nodes under test under the control of the host computer.

4. The time-sensitive network synchronization mechanism testing system according to claim 1, characterized in that: The host computer is configured to control the time synchronization accuracy test board to perform multiple gating on the PPS signals of two tested nodes belonging to the same tested node group; the oscilloscope is configured to perform multiple comparisons on the PPS signals of two tested nodes belonging to the same tested node group to obtain multiple clock synchronization accuracy test values ​​of the tested node group; the host computer is configured to determine that the tested node group has passed the clock synchronization accuracy test when the multiple clock synchronization accuracy test values ​​of the tested node group are all less than a preset clock synchronization accuracy threshold.

5. The time-sensitive network synchronization mechanism testing system according to claim 1, characterized in that: It also includes a main control board, an Ethernet forwarding tool and a plurality of monitoring nodes, wherein the main control board is connected to the host computer through the Ethernet forwarding tool; each of the monitoring nodes is connected in series between two of the nodes under test to form a link respectively; the main control board includes a plurality of monitoring interfaces, the plurality of monitoring interfaces are connected to the plurality of monitoring nodes in a one-to-one correspondence, and the main control board is configured to control the mapping relationship between the monitoring nodes and the monitoring interfaces and the Ethernet port of the Ethernet forwarding tool; The Ethernet forwarding tool is configured to enter the link under test in series from the corresponding listening node through the main control board to obtain the synchronization process interaction message passing through the link under test and upload it to the host computer; the host computer is configured to parse and detect the synchronization process interaction message to obtain the synchronization process interaction message test result of the link under test.

6. The time-sensitive network synchronization mechanism testing system according to claim 5, characterized in that: The host computer is configured to detect the sending period, sending order and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message.

7. The time-sensitive network synchronization mechanism testing system according to claim 5, characterized in that: It also includes a test board, which is communicatively connected to the host computer via the Ethernet forwarding tool, and the time synchronization accuracy test board and the main control board are both communicatively connected to the test board.

8. A method for testing a time-sensitive network synchronization mechanism, characterized in that: include: Initialize and configure multiple nodes under test in the time-sensitive network under test; Configuring a preset time synchronization protocol for the multiple nodes under test, and controlling the multiple nodes under test to perform time synchronization according to the preset time synchronization protocol; After the multiple nodes under test complete time synchronization, control the time synchronization accuracy test board to gate the PPS signals of two nodes under test belonging to the same node under test group; The oscilloscope is controlled to compare the PPS signals of two nodes under test belonging to the same node under test group to obtain a clock synchronization accuracy test value of the node under test group.

9. The time-sensitive network synchronization mechanism testing method according to claim 8, characterized in that: The initializing configuration of multiple nodes under test in the time-sensitive network under test includes: The control reset control board performs a reset operation on a plurality of nodes under test in the time-sensitive network under test.

10. The time-sensitive network synchronization mechanism testing method according to claim 8, characterized in that: In the process of controlling the multiple measured nodes to perform time synchronization according to the preset time synchronization protocol, the method further includes: Control the main control board to connect the Ethernet forwarding tool from the corresponding monitoring node in series to the tested link composed of two tested nodes; Receiving a synchronization process interaction message passed on the tested link acquired by the Ethernet forwarding tool; The synchronization process interaction message is parsed and detected to obtain the synchronization process interaction message test result of the tested link.

11. The time-sensitive network synchronization mechanism testing method according to claim 10, characterized in that: The detecting of the synchronization process interaction message includes: The sending period, sending sequence and message fields of the synchronization message and the delay measurement message in the synchronization process interaction message are detected.

12. An electronic device, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the time-sensitive network synchronization mechanism testing method described in any one of claims 8 to 11 is implemented.

13. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the time-sensitive network synchronization mechanism testing method according to any one of claims 8 to 11 is implemented.

Citation Information

Cited By

  • Automatic test system and method for time synchronization precision of TSN equipment

    CN121357048A

  • Automated testing system and method for time synchronization accuracy of tsn devices

    CN121357048B