CN118250205A - TTE node synchronization and communication function testing device and method - Google Patents
TTE node synchronization and communication function testing device and method Download PDFInfo
- Publication number
- CN118250205A CN118250205A CN202410201148.5A CN202410201148A CN118250205A CN 118250205 A CN118250205 A CN 118250205A CN 202410201148 A CN202410201148 A CN 202410201148A CN 118250205 A CN118250205 A CN 118250205A
- Authority
- CN
- China
- Prior art keywords
- node
- tested
- synchronization
- tte
- super
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004891 communication Methods 0.000 title claims abstract description 30
- 230000006870 function Effects 0.000 claims abstract description 32
- 230000008569 process Effects 0.000 claims abstract description 25
- 230000001360 synchronised effect Effects 0.000 claims abstract description 22
- 230000006399 behavior Effects 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000002347 injection Methods 0.000 claims description 8
- 239000007924 injection Substances 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000000737 periodic effect Effects 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000011056 performance test Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000003989 dielectric material Substances 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention belongs to the technical field of avionics, and discloses a device and a method for testing TTE node synchronization and communication functions, wherein the method comprises the following steps: TTE super node, super node control host and node master controller to be tested; the super node control host is connected to the TTE super node through an internal bus, a plurality of ports are arranged on the TTE super node and connected to the node to be tested, the node to be tested main controller is connected to the node to be tested through the internal bus, the node to be tested supports AS6802 protocol, the synchronous role is SM or SC, and any combination of time triggering, rate limitation and maximum effort application is supported; the node master controller to be tested is of an embedded architecture and is controlled by the super node control host, has the advantages of low cost and convenience, and solves the problems of complex testing environment and testing process of the traditional TTE node.
Description
Technical Field
The invention belongs to the technical field of avionics, and particularly relates to a device and a method for testing TTE node synchronization and communication functions.
Background
The Time Triggered Ethernet (TTE) conforms to the SAE AS6802 protocol, realizes the synchronization of a distributed network with fault tolerance capability, further ensures that the traditional Ethernet has strong real-time performance and mixed service triggering capability, and is very suitable for constructing an open, high-reliability and high-performance aviation mixed key system.
Unlike the point-to-point test of traditional network nodes, TTE nodes conforming to SAE AS6802 synchronous protocol must reach synchronous state with network before receiving and transmitting time-triggered service, and multiple SM and CM are required to construct synchronous network, and multi-channel exchanger is required to construct complete test environment under redundancy test scene. The test architecture, management and configuration are complex, the cost is high, and the high-efficiency low-cost test of TTE node synchronization and data receiving and transmitting functions cannot be realized.
Disclosure of Invention
The invention solves the technical problems that: the invention provides a device and a method for testing TTE node synchronization and communication functions, which have the advantages of low cost and convenience and are used for solving the problems of complex testing environment and complex testing process of the traditional TTE node.
The technical scheme of the invention is as follows:
in a first aspect, the present invention provides a device for testing a TTE node synchronization and communication function, where the device includes: TTE super node, super node control host and node master controller to be tested;
The super node control host is connected to the TTE super node through an internal bus and is used for defining the behavior mode of the TTE super node and carrying out independent function configuration on each port of the TTE super node;
A plurality of ports are arranged on the TTE super node and connected to the node to be tested, and are used for simulating roles of a multi-synchronization master SM and a synchronization slave CM in an SAE AS6802 communication protocol;
The node to be tested master controller is connected to the node to be tested through an internal bus and is used for generating the sending data of the node to be tested and monitoring the data receiving and sending behaviors of the node to be tested;
the node to be tested supports AS6802 protocol, the synchronous role is SM or SC, and any combination of time triggering, rate limitation and maximum effort application is supported;
The node master controller to be tested is of an embedded architecture and is controlled by the super node control host.
Further, a ticket Zhang Banka is used as a TTE super node;
the method comprises the steps that a plurality of ports are arranged on a single Zhang Banka and connected to a node to be tested, so that redundant application scenes of the node to be tested are tested;
the method is used for simultaneously testing a plurality of nodes to be tested by arranging a plurality of ports on a single Zhang Banka and connecting the ports to the plurality of nodes to be tested.
In a second aspect, the present invention further provides a method for testing a TTE node synchronization and communication function, where the testing method is implemented based on the testing device according to the first aspect, and the testing method includes:
s1, analyzing a configuration table of a node to be tested, and generating a configuration table of a super node;
s2, loading the configuration table of the super node into the super node, and loading the configuration tables with different redundancy by different ports of the super node, so as to simulate redundant application scenes of the node to be tested;
s3, starting a flow sending function of the super node;
S4, determining whether the synchronization and communication functions of the nodes to be tested are normal according to the synchronization and communication flow of the nodes to be tested.
Further, S1 is specifically:
analyzing the configuration table of the node to BE tested to obtain network global parameters, synchronization parameters and planned TT/RC/BE flow information, and generating a configuration table of the super node based on the information, wherein the network global parameters and the synchronization parameters in the configuration table of the super node are consistent with the network global parameters and the synchronization parameters in the configuration table of the node to BE tested, and the TT/RC/BE flow in the configuration table of the super node and the TT/RC/BE flow in the configuration table of the node to BE tested are in a receiving-transmitting relationship.
Further, after S1, and before S2, the method further includes:
And performing fault injection in the configuration table of the super node.
Further, S3 is specifically:
if the node to be tested is SM, a pcf frame containing a specific number of member variables is generated according to the test outline and the configuration parameters, and synchronous response and data packet receiving and transmitting behaviors of the node to be tested are observed;
If the node to be tested is SC, a pcf frame containing enough member variables is generated according to the test outline and the configuration parameters, and the data packet receiving and transmitting behavior of the node to be tested under the network synchronization condition is observed.
Furthermore, when the synchronization process test is performed, the super node does not need to implement the synchronization process of SM and CM defined by SAE AS6802 protocol, and only needs to define a behavior state machine according to the synchronization response process of the node to be tested.
Further, if the node to be measured is SM:
in the cold start process, the super node monitors whether the sending frame format and period of the cold start CS frame of the node to be detected are correct;
After confirming that the CS frame is correct, the super node replies the CS in the protocol and synchronous parameter definition time;
After the fact that the cold start confirmation CA frame replies in a specific window is monitored, the super node replies the CA in the protocol and synchronous parameter definition time;
and then enter the synchronous process;
After the synchronization process, the super node only needs to detect the format and the period of the synchronization IN frame sent by the node to BE detected, and periodically replies the IN frame to realize the periodic synchronization process, so as to further transmit and receive network traffic of TT, RC and BE.
Further, if the node to be measured is SC:
The super node can test the network traffic transmission function of the node to be tested only by periodically transmitting the IN frame.
Further, in S3, only a data transmission mode is defined at the super node control host, and the TTE super node automatically generates transmission data according to the data transmission mode, and transmits the data to the node to be tested according to the time trigger requirement or the event trigger requirement according to the requirement of the configuration table.
The method uses the single Zhang Banka to simulate the multi-port TTE super node, the scheme is simple and clear, and the realization difficulty is low; normal synchronization and communication test are supported, fault injection is supported, and complete functional performance test coverage can be realized; the physical layer interface can be realized by using a commercial SFP/SFP+ module, supports an electric interface and an optical interface, supports rate expansion, and has strong reusability.
Drawings
FIG. 1 is a schematic diagram of a test apparatus for TTE node synchronization and communication function according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of an operation flow of using a super node to test a TTE node according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is described in detail below with reference to the accompanying drawings.
The invention provides a TTE node testing scheme which is low in cost and convenient and fast, and is used for solving the problems of complex testing environment and testing process of the traditional TTE node.
As shown in fig. 1, a device for testing a TTE node synchronization and communication function according to an embodiment of the present invention includes: the control host 1, the TTE super node, the node to be tested and the control host 2;
The control host 1 controls the TTE super node through an internal bus such as PCIe x4, and is used for defining the behavior mode of the super node and carrying out independent function configuration on each port of the super node;
a typical control host 1 is a PC;
The TTE super node comprises a plurality of ports and is used for being interconnected with the ports of the node to be tested to simulate an redundancy test scene;
the TTE port of the TTE super node supports optical media and dielectrics, is realized by selecting pluggable modules, and selects corresponding commercial SFP/SFP+ types according to the port types of the nodes to be tested;
the typical TTE super node is a PCIe board card with a golden finger and is interconnected with the node to be tested through a TTE interface;
the node to be tested supports AS6802 protocol, the synchronous role is SM or SC, and any combination of time triggering, rate limitation and maximum effort application is supported;
The node to be tested is controlled by the control host 2 through an internal bus such as PCIe x 4;
the typical control host 2 is an embedded architecture and is controlled by the control host 1 through a network port and a serial port.
The super node can simulate a plurality of SM and CM roles in AS6802 protocol, is used for synchronous function test of SM/SC nodes in TTE network, generates various network excitation according to the requirement of the control host 1, and simulates redundant communication test scene through multi-port interconnection with the node to be tested.
The invention provides a method for testing the synchronization and communication functions of TTE nodes to be tested by using a single Zhang Banka as a TTE super node.
The connection relation between the TTE node to be tested and the super node is shown in fig. 1, and the redundancy interconnection condition of the node to be tested is simulated through the connection of a plurality of ports. The interconnection of the control host and the TTE node is not limited to a PCIe bus, but may be a parallel interface, rapidIO, or other internal bus.
Multiple SM and CM roles in SAE AS6802 are simulated using a single Zhang Banka AS a TTE super node. If the node to be tested is SM, pcf frames containing a specific number of member variables can be generated according to the test outline and the configuration parameters, and synchronous response and data packet receiving and transmitting behaviors of the SM node to be tested are observed. If the node to be tested is SC, pcf frames containing enough member variables can be generated according to the test outline and the configuration parameters, and the data packet receiving and transmitting behaviors of the SC node to be tested under the network synchronization condition are observed.
Multiple ports are designed on the single Zhang Banka and connected to the tested node, so that redundancy scenes can be simulated and used for testing and verifying redundancy application scenes of TTE nodes. Multiple nodes can be tested simultaneously by designing multiple ports on a single Zhang Banka and connecting to multiple nodes.
The behavior of each port of the supernode depends on the configuration table. To simulate the redundancy situation, different configuration tables are loaded through a plurality of ports to output different flow simulation redundancy situations. In order to realize fault injection, synchronous parameters and flow planning contents of different port configuration tables of the super node can be edited on a GUI or a text file, and various fault injections can be carried out according to the outline requirements of the test.
When the synchronization process test is carried out, the super node does not need to realize the synchronization process of SM and CM defined by SAE AS6802 protocol, and only needs to define a behavior state machine according to the synchronization response process of the node to be tested.
The following are illustrated: if the node to be detected is SM, the super node can monitor whether the frame format and period of the CS frame sending frame of the cold start frame of the node to be detected are correct in the cold start process; after confirming that the CS frame is correct, the super node can reply to the CS at the protocol and synchronous parameter definition time; after monitoring that the CA frame of the cold start confirmation frame replies in a specific window, the super node can reply CA in the protocol and synchronous parameter definition time; and then enter the synchronous process; after the synchronization process, the super node only needs to detect the format and the period of the synchronization frame IN frame sent by the node to BE detected, and periodically replies the IN frame to realize the periodic synchronization process, so as to further transmit and receive network traffic of TT, RC and BE. And, for example: if the node to be tested is an SC, the super node can test the network traffic transmission capability function of the SC only by periodically transmitting an IN frame. That is, the implementation of the synchronization process does not need to follow the SAE AS6802 protocol, only a request/response control mechanism needs to be implemented, and the complexity of test logic is greatly simplified.
In order to simplify the data transmission process, only a data transmission mode can be defined at the software end of the control host 1, the data area is continuously increased, decreased, fixed, and the like, the logic of the super node automatically generates transmission data, and the data service is transmitted to the node to be tested according to the requirement of the configuration table and the time triggering requirement or the event triggering requirement.
And after each port of the super node receives the data from the node to be tested, checking the time integrity and the data integrity according to TTE protocol requirements, and generating flow statistics based on the ports for reading and analyzing by a user. The received data may all be written into memory for display, parsing, searching, filtering, analysis and statistics in accordance with a pcapng format of commercial software such as Wireshark.
The operation flow of using the TTE super node to test the TTE node is as shown in FIG. 2:
(1) Analyzing a configuration table of the node to BE tested, wherein the configuration table comprises network global parameters, synchronization parameters and planned TT/RC/BE flow information, generating a configuration table of the super node based on the information, and requiring the network global parameters and the synchronization parameters to BE consistent with the node to BE tested, wherein the TT/RC/BE flow and the node to BE tested are in a transceiving relationship.
(2) The fault injection function is an optional step. And editing synchronous parameters and flow planning contents of the super node configuration table on the GUI, and performing fault injection according to the outline requirement of the test.
(3) And loading configuration tables for the super nodes, and loading configuration tables with different redundancy for different ports to simulate redundancy situations. And starting a flow sending function after the configuration loading is completed.
(4) And observing the synchronization and communication functions of the nodes to be tested by analyzing the synchronization and communication flow from the nodes to be tested.
(5) And generating a synchronization and communication analysis report under the condition of redundancy of the node to be tested.
The method uses the single Zhang Banka to simulate the multi-port TTE super node, the scheme is simple and clear, and the realization difficulty is low; normal synchronization and communication test are supported, fault injection is supported, and complete functional performance test coverage can be realized; the physical layer interface can be realized by using a commercial SFP/SFP+ module, supports an electric interface and an optical interface, supports rate expansion, and has strong reusability.
Claims (10)
1. A device for testing a TTE node synchronization and communication function, the device comprising: TTE super node, super node control host and node master controller to be tested;
The super node control host is connected to the TTE super node through an internal bus and is used for defining the behavior mode of the TTE super node and carrying out independent function configuration on each port of the TTE super node;
A plurality of ports are arranged on the TTE super node and connected to the node to be tested, and are used for simulating roles of a multi-synchronization master SM and a synchronization slave CM in an SAE AS6802 communication protocol;
The node to be tested master controller is connected to the node to be tested through an internal bus and is used for generating the sending data of the node to be tested and monitoring the data receiving and sending behaviors of the node to be tested;
the node to be tested supports AS6802 protocol, the synchronous role is SM or SC, and any combination of time triggering, rate limitation and maximum effort application is supported;
The node master controller to be tested is of an embedded architecture and is controlled by the super node control host.
2. The device for testing the synchronization and communication functions of a TTE node of claim 1 wherein a ticket Zhang Banka is used as a TTE super node;
the method comprises the steps that a plurality of ports are arranged on a single Zhang Banka and connected to a node to be tested, so that redundant application scenes of the node to be tested are tested;
the method is used for simultaneously testing a plurality of nodes to be tested by arranging a plurality of ports on a single Zhang Banka and connecting the ports to the plurality of nodes to be tested.
3. A method for testing a TTE node synchronization and communication function, wherein the method is implemented based on the testing device according to any one of claims 1-2, the method comprising:
s1, analyzing a configuration table of a node to be tested, and generating a configuration table of a super node;
s2, loading the configuration table of the super node into the super node, and loading the configuration tables with different redundancy by different ports of the super node, so as to simulate redundant application scenes of the node to be tested;
s3, starting a flow sending function of the super node;
S4, determining whether the synchronization and communication functions of the nodes to be tested are normal according to the synchronization and communication flow of the nodes to be tested.
4. The method for testing a TTE node synchronization and communication function according to claim 3, wherein S1 specifically comprises:
analyzing the configuration table of the node to BE tested to obtain network global parameters, synchronization parameters and planned TT/RC/BE flow information, and generating a configuration table of the super node based on the information, wherein the network global parameters and the synchronization parameters in the configuration table of the super node are consistent with the network global parameters and the synchronization parameters in the configuration table of the node to BE tested, and the TT/RC/BE flow in the configuration table of the super node and the TT/RC/BE flow in the configuration table of the node to BE tested are in a receiving-transmitting relationship.
5. The method of claim 3 wherein after S1 and before S2, the method further comprises:
And performing fault injection in the configuration table of the super node.
6. The method for testing a TTE node synchronization and communication function according to claim 3, wherein S3 specifically comprises:
if the node to be tested is SM, a pcf frame containing a specific number of member variables is generated according to the test outline and the configuration parameters, and synchronous response and data packet receiving and transmitting behaviors of the node to be tested are observed;
If the node to be tested is SC, a pcf frame containing enough member variables is generated according to the test outline and the configuration parameters, and the data packet receiving and transmitting behavior of the node to be tested under the network synchronization condition is observed.
7. The method of claim 6, wherein the super node does not need to implement the synchronization process of the SM and the CM defined by the SAE AS6802 protocol when performing the synchronization process test, and only needs to define the behavior state machine according to the synchronization response process of the node to be tested.
8. The method for testing the synchronization and communication functions of a TTE node of claim 7 wherein if the node to be tested is SM:
in the cold start process, the super node monitors whether the sending frame format and period of the cold start CS frame of the node to be detected are correct;
After confirming that the CS frame is correct, the super node replies the CS in the protocol and synchronous parameter definition time;
After the fact that the cold start confirmation CA frame replies in a specific window is monitored, the super node replies the CA in the protocol and synchronous parameter definition time;
and then enter the synchronous process;
After the synchronization process, the super node only needs to detect the format and the period of the synchronization IN frame sent by the node to BE detected, and periodically replies the IN frame to realize the periodic synchronization process, so as to further transmit and receive network traffic of TT, RC and BE.
9. The device for testing the synchronization and communication functions of a TTE node of claim 7 wherein if the node under test is SC:
The super node can test the network traffic transmission function of the node to be tested only by periodically transmitting the IN frame.
10. The device for testing the synchronization and communication functions of the TTE node according to claim 7, wherein in S3, only a data transmission mode is defined at the control host side of the super node, the TTE super node automatically generates transmission data according to the data transmission mode, and transmits the data to the node to be tested according to a time trigger requirement or an event trigger requirement according to a requirement of the configuration table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410201148.5A CN118250205A (en) | 2024-02-23 | 2024-02-23 | TTE node synchronization and communication function testing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410201148.5A CN118250205A (en) | 2024-02-23 | 2024-02-23 | TTE node synchronization and communication function testing device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118250205A true CN118250205A (en) | 2024-06-25 |
Family
ID=91553808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410201148.5A Pending CN118250205A (en) | 2024-02-23 | 2024-02-23 | TTE node synchronization and communication function testing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118250205A (en) |
-
2024
- 2024-02-23 CN CN202410201148.5A patent/CN118250205A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109388530B (en) | Blade server-oriented automatic test platform and test method | |
US6507923B1 (en) | Integrated multi-channel fiber channel analyzer | |
CN100546262C (en) | A kind of broadband aviation electronic bus testing apparatus and method of operation thereof | |
US6915466B2 (en) | Method and system for multi-user channel allocation for a multi-channel analyzer | |
CN110048761B (en) | Batch-production-oriented satellite data transmission ground automatic rapid data processing and analyzing system | |
CN110138624A (en) | Vehicle-mounted ethernet test equipment, system and test method | |
CN109743301A (en) | A kind of data receiving-transmitting system and method based on Modbus agreement | |
CN106685733A (en) | FC-AE-1553 network rapid configuration and automatic testing method | |
CN105530220B (en) | The interface method of two kinds of different agreement system communications is realized based on OPC | |
CN113067745A (en) | Aircraft 1394B bus communication simulation test platform | |
CN105553885A (en) | FC switch priority testing method | |
CN101800672B (en) | Equipment detection method and equipment | |
CN111970166A (en) | Test method, device, equipment, system and computer readable storage medium | |
CN201072431Y (en) | Broadband aviation electronic bus testing device | |
CN102638306A (en) | 1394b optical bus monitor and monitoring method thereof | |
CN102665237A (en) | Simulative Ir interface protocol conformance testing device and interoperability testing method | |
CN118250205A (en) | TTE node synchronization and communication function testing device and method | |
CN115657646B (en) | Test method and device of CAN controller | |
CN209264906U (en) | CVC-200T hardware intelligent test system | |
CN111865551A (en) | Device and method for coordinated management of multistage system based on fast bus | |
Depari et al. | A new instrument for real-time Ethernet performance measurement | |
CN114443488A (en) | ARINC664 network configuration testing framework construction method | |
CN111221265B (en) | Bus information extraction device of rudder system in loop and semi-physical simulation method | |
Su et al. | Design of data communication and monitoring system based on aviation ARINC825 bus | |
Pallierer et al. | A generic tool for systematic tests in embedded automotive communication systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication |